Configuring Aggregated Ethernet Interfaces

url:http://www.juniper.net/techpubs/software/junos-security/junos-security10.2/junos-security-swconfig-interfaces-and-routing/config-aggregated-ethernet-interfaces-section.html#config-aggregated-ethernet-interfaces-section

Configuring Aggregated Ethernet Interfaces

You configure an aggregated Ethernet virtual link by specifying the link number as a physical device and then associating a set of ports that have the same speed and are in full-duplex mode. The physical ports can be 100-Megabit Ethernet, 1-Gigabit Ethernet, and 10-Gigabit Ethernet.

Note the following support details for the SRX3000 and SRX5000 lines:

  • The devices support a maximum of 16 physical interfaces per single aggregated Ethernet bundle.
  • Aggregated Ethernet interfaces can use interfaces from the same or different Flexible PIC Concentrators (FPCs) and PICs.
  • On the aggregated bundle, capabilities such as MAC accounting, VLAN rewrites, and VLAN queuing are available.

Aggregated Ethernet interfaces can be either VLAN-tagged or untagged, with LACP enabled or disabled. Aggregated Ethernet interfaces on the SRX3000 and SRX5000 lines support the configuration of native-vlan-id, which consists of the following configuration statements:

  • inner-tag-protocol-id
  • inner-vlan-id
  • pop-pop
  • pop-swap
  • push-push
  • swap-push
  • swap-swap

Note: You can enable promiscuous mode on aggregated Ethernet interfaces. When promiscuous mode is enabled on a Layer 3 Ethernet interface, all packets received on the interface are sent to the central point or Services Processing Unit regardless of the destination MAC address of the packet. If you enable promiscuous mode on an aggregated Ethernet interface, promiscuous mode is then enabled on all member interfaces.

You must set the number of aggregated Ethernet interfaces on the chassis. You can also set the member link speed and the minimum links in a bundle.

Configuring the Number of Aggregated Ethernet Interfaces on the Device

By default, no aggregated Ethernet interfaces are created. You must set the number of aggregated Ethernet interfaces on the routing device before you can configure them.

Once the device-count statement is specified, the system creates that number of empty aggregated Ethernet interfaces. A globally unique MAC address is assigned to every aggregated Ethernet interface. More aggregated Ethernet interfaces can be created by increasing the parameter.

The maximum number of aggregated devices you can configure is 128. The aggregated interfaces are numbered from ae0 through ae127.

To set the number of aggregated Ethernet interfaces to 2:

user@host# set chassis aggregated-devices ethernet device-count 2

Associating Physical Interfaces with Aggregated Ethernet Interfaces

You associate a physical interface with an aggregated Ethernet interface. Doing so associates the physical child links with the logical aggregated parent interface to form a link aggregation group (LAG). You must also specify the constituent physical links by including the 802.3ad statement.

A physical interface can be added to any aggregated Ethernet interface as long as all member links have the same link speed and the maximum number of member links does not exceed 16. The aggregated Ethernet interface instance number aex can be from 0 through 127, for a total of 128 aggregated interfaces.

To associate physical interfaces with ae0 and ae1, respectively:

user@host# set interfaces ge-1/0/0 gigether-options 802.3ad ae0 user@host# set interfaces ge-2/0/0 gigether-options 802.3ad ae0 user@host# set interfaces ge-3/0/0 gigether-options 802.3ad ae1 user@host# set interfaces ge-3/0/1 gigether-options 802.3ad ae1 user@host# set interfaces ge-4/0/0 gigether-options 802.3ad ae1

Note: If you specify (on purpose or accidentally) that a link already associated with an aggregated Ethernet interface be associated with another aggregated Ethernet interface, the link is removed from the previous interface (there is no need for you to explicitly delete it) and it is added to the other one.

Configuring Aggregated Ethernet Link Speed

On aggregated Ethernet interfaces, you can set the required link speed for all interfaces included in the bundle. All interfaces that make up a bundle must be the same speed. If you include in the aggregated Ethernet interface an individual link that has a speed different from the speed you specify in the link-speed parameter, an error message will be logged.

The speed value is specified in bits per second either as a complete decimal number or as a decimal number followed by the abbreviation k (1000), m (1,000,000), or g (1,000,000,000).

Aggregated Ethernet interfaces on SRX3000 and SRX5000 line devices can have one of the following speed values:

  • 100m—Links are 100 Mbps.
  • 10g—Links are 10 Gbps.
  • 1g—Links are 1 Gbps.

To set the required link speed for all interfaces included in the bundle to 10 Gbps:

user@host# set interfaces ae0 aggregated-ether-options link-speed 10g

Configuring Aggregated Ethernet Minimum Links

On aggregated Ethernet interfaces, you can configure the minimum number of links that must be up for the bundle as a whole to be labeled as up. By default, only one link must be up for the bundle to be labeled as up.

On SRX3000 and SRX5000 line devices, the valid range for the minimum links number is 1 through 16. When the maximum value (16) is specified, all configured links of a bundle must be up for the bundle to be labeled as up.

To set the minimum number of links to 8:

user@host# set interfaces ae0 aggregated-ether-options minimum-links 8

If the number of links configured in an aggregated Ethernet interface is less than the minimum-links value configured in the minimum-links statement, the configuration commit fails and an error message is displayed.

Deleting Aggregated Ethernet Interfaces

There are two approaches to deleting an aggregated Ethernet interface:

  • You can delete an aggregated Ethernet interface from the interface configuration. The JUNOS Software removes the configuration statements related to aex and sets this interface to the down state. The deleted aggregated Ethernet interface still exists, but it becomes an empty interface.

    To delete aggregated Ethernet interface ae4:

    user@host# delete interfaces ae4
  • You can also permanently remove the aggregated Ethernet interface from the device configuration by deleting it from the device-count on the routing device.

    Warning: Be aware that this approach deletes the aggregated Ethernet interface objects from the device configuration. The following command deletes all the interface objects.

    To delete all aggregated Ethernet interfaces from the device count:

    user@host# delete chassis aggregated-devices ethernet device-count

    If you reduce the device-count, only the aggregated Ethernet interface objects at the end of the list are removed, leaving the newly specified number of interfaces. That is, if you configure the device- count as 10 and then reduce it to 6, the system removes the last 4 interface objects from the list.

    To reduce the number of aggregated Ethernet interfaces to 6:

    user@host# delete chassis aggregated-devices ethernet device-count 6

Related Topics

  • Aggregated Ethernet Overview
  • Understanding Chassis Cluster Redundant Ethernet Interface Link Aggregation Groups
  • Verifying Aggregated Ethernet Interfaces

你可能感兴趣的:(interfaces,juniper,ethernet,configuring,Aggregated)