Creating a keepalive lag, Adding ports to a lag or deleting ports from a lag, Configuring the primary port for a lag – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 142

Advertising
background image

Trunk Type: hash-based

Hardware failover mode: all-ports

Creating a keepalive LAG

To create a keep-alive LAG, enter the following.

device(config)# lag lag1 keep-alive

Syntax: [no] lag lag-name [ keep-alive ]

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

Adding Ports to a LAG or Deleting Ports from a LAG

A static or dynamic LAG can consist of from 1 to 8 or 1 to 12 ports (depending on the device you are
using) of the same type and speed that are on any interface module within the Brocade chassis. A
keep alive LAG consists of only one port.

To configure the static LAG named "blue" with two ports, use the following command:

device(config)# lag blue static

device(config-lag-blue)# ports ethernet 1/3/1 ethernet 1/3/2

Syntax: [no] ports ethernet stack/slot/port [ to stack/slot/port ] [ ethernet stack/slot/port ]

The ports added to a LAG can be of type ethernet as specified for thestack/slot/port where they
reside. The ports can be added to the LAG sequentially as shown in the following example:

device(config-lag-blue)# ports ethernet 1/3/1 ethernet 1/7/2 ethernet 1/4/3 ethernet

1/3/4

A range of ports from a single interface module can be specified. In the following example, Ethernet
ports 1, 2, 3 and 4 on the interface module in slot 3 are configured in a single LAG:

device(config-lag-blue)# ports ethernet 1/3/1 to 1/3/4

Additionally, you can mix a range of ports from one interface module with individual ports from other
interface modules to form a LAG as shown in the following:

device(config-lag-blue)# ports ethernet 1/3/1 to 1/3/4 ethernet 1/2/2

Using the no option allows you to remove ports from a LAG. For example, you can remove port 1/3/4
from the LAG created above, as shown in the following:

device(config-lag-blue)# no ports ethernet 1/3/4

Ports can be added to an undeployed LAG or to currently deployed LAG using the commands
described. For special considerations when adding ports to or deleting ports from a currently deployed
LAG, refer to the following sections:

Adding a Port to Currently Deployed LAG

on page 146

Deleting a Port from a Currently Deployed LAG

on page 146

Configuring the primary port for a LAG

The primary port must be explicitly assigned using the primary-port command.

Creating a keepalive LAG

142

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04

Advertising