Creating a link aggregation group (lag), Configuration considerations – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 140

Advertising
background image

Creating a Link Aggregation Group (LAG)

Before setting-up ports or configuring any other aspects of a LAG, you must create it as shown in the
following:

device(config)# lag blue static

device(config-lag-blue)#

Syntax: [no] lag lag-name { static | dynamic | keep-alive }

The static option specifies that the LAG with the name specified by the lag-name variable will be
configured as a static LAG.

The dynamic option specifies that the LAG with the name specified by the lag-name variable will be
configured as a dynamic LAG.

The keep-alive option specifies that the LAG with the name specified by the lag-name variable will be
configured as a keep-alive LAG. The keep-alive LAG configuration is a new configuration option to
configure a LAG for use in keep alive applications similar to the UDLD feature.

Creating a Link Aggregation Group (LAG) using the LAG ID option

Before setting-up ports or configuring any other aspects of a LAG, you must create it first.

You can either assign a LAG ID explicitly or it will be automatically generated by the system. The LAG
ID remains the same across system reload and hitless upgrade.

The command to configure LAGs allows explicit configuration of the LAG ID for static and dynamic
LAGs.

To create a LAG with the LAG ID option, enter a command such as the following.

device(config)# lag blue static id 1

device(config-lag-blue)#

Syntax: [no] lag lag-name [ { static | dynamic } [ id number ] ]

The lag-name is an ASCII string and can have a maximum of 64 characters.

The id parameter is optional. The value of the id parameter that you can enter is from 1 to 2047. If you
do not enter a LAG ID , the system will generate one automatically. Once the LAG ID is generated the
system will save it in the configuration file along with the LAG name, therefore the value will stay the
same across system reload.

NOTE
The LAG id parameter is for static and dynamic LAGs only. No explicit configuration of a LAG ID is
allowed on keepalive LAGs.

The static parameter specifies that the LAG with the name specified by the lag-name variable will be
configured as a static LAG.

The dynamic option specifies that the LAG with the name specified by the lag-name variable will be
configured as a dynamic LAG.

Configuration considerations

LAG IDs are unique for each LAG in the system. The same LAG ID cannot be assigned to two or more
different LAGs. If a LAG ID is already used, the CLI will reject the new LAG configuration and display
an error message that suggests the next available LAG ID that can be used.

Creating a Link Aggregation Group (LAG)

140

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04

Advertising