Configuring Trunk Groups and Dynamic Link Aggregation
December 2005 © Foundry Networks, Inc. 10 - 17
Command Syntax
By default, link aggregation is disabled on all ports. To enable link aggregation on a set of ports, enter commands
such as the following at the interface configuration level of the CLI.
NOTE: Configuration commands for link aggregation differ depending on whether you are using the default link
aggregation key automatically assigned by the software, or if you are assigning a different, unique key. Follow the
commands below, according to the type of key you are using. For more information about keys, see “Key” on
page 10-18.
Using the Default Key Assigned by the Software
FastIron SuperX Router(config)# interface ethernet 1/1
FastIron SuperX Router(config-if-e1000-1/1)# link-aggregate active
FastIron SuperX Router(config)# interface ethernet 1/2
FastIron SuperX Router(config-if-e1000-1/2)# link-aggregate active
The commands in this example enable the active mode of link aggregation on ports 1/1 and 1/2. The ports can
send and receive LACPDU messages. Note that these ports will use the default key, since one has not been
explicitly configured.
NOTE: In conformance with the 802.3ad specification, the default key assigned to an aggregate link is based on
the port type (1-Gigabit port or 10-Gigabit port). The Foundry device assigns different keys to 10-Gigabit ports
than 1-Gigabit ports, so that ports with different physical capabilities will not be able to form a trunk.
Assigning a Unique Key
FastIron SuperX Router(config)# interface ethernet 1/1
FastIron SuperX Router(config-if-e1000-1/1)# link-aggregate configure key 10000
FastIron SuperX Router(config-if-e1000-1/1)# link-aggregate active
FastIron SuperX Router(config)# interface ethernet 1/2
FastIron SuperX Router(config-if-e1000-1/2)# link-aggregate configure key 10000
FastIron SuperX Router(config-if-e1000-1/2)# link-aggregate active
The commands in this example assign the key 10000 and enable the active mode of link aggregation on ports 1/1
and 1/2. The ports can send and receive LACPDU messages.
NOTE: As shown in this example, when configuring a key, it is pertinent that you assign the key prior to enabling
link aggregation.
The following commands enable passive link aggregation on ports 1/5 – 1/8:
FastIron SuperX Router(config)# interface ethernet 1/5 to 1/8
FastIron SuperX Router(config-mif-1/5-1/8)# link-aggregate passive
The commands in this example enable the passive mode of link aggregation on ports 1/5 – 1/8. These ports wait
for the other end of the link to contact them. After this occurs, the ports can send and receive LACPDU messages.
To disable link aggregation on a port, enter a command such as the following:
FastIron SuperX Router(config-if-e1000-1/8)# link-aggregate off
Syntax: [no] link-aggregate active | passive | off
Syntax: [no] link-aggregate configure [system-priority <num>] | [port-priority <num>] | [key <num>] |
[type server | switch]
NOTE: For more information about keys, including details about the syntax shown above, see “Key” on page 10-
18.