beautypg.com

Commands available under lag once it is deployed, Configuring acl-based mirroring, Disabling ports within a lag – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 179

background image

Multi-Service IronWare Switching Configuration Guide

149

53-1003036-02

Deploying a LAG

6

Commands available under LAG once it is deployed

Once a LAG has been deployed, the following configurations can be performed:

Configuring ACL-based Mirroring

Disabling Ports within a LAG

Enabling Ports within a LAG

Monitoring and Individual LAG Port

Assigning a name to a port within a LAG

Enabling sFlow Forwarding on a port within a LAG

Setting the sFlow Sampling Rate for a port within a LAG

Configuring ACL-based mirroring

To configure ACL-based mirroring for all ports in a LAG, configure it on the primary port of the LAG at
the interface configuration level (see Configuring IP Chapter). ACL-based mirroring can be
configured for an individual member port within a LAG by using the acl-mirror-port command.

Brocade(config)# lag blue static

Brocade(config-lag-blue)# deploy

Brocade(config-lag-blue)# acl-mirror-port ethe-port-monitored 3/1 ethernet 3/2

In this example, traffic on Ethernet port 3/1 (a secondary member port of LAG “blue”) will be
mirrored to Ethernet port 3/2.

Syntax: [no] acl-mirror-port {ethe-port-monitored slot/port | named-port-monitored name }

ethernet slot/port

Use the ethe-port-monitored option with the appropriate slot/port variable to specify an Ethernet
port for which you want to provide ACL mirroring.

Use the named-port-monitored option with the appropriate slot/port variable to specify a named
port for which you want to provide ACL mirroring.

The ethernet keyword precedes the slot/port variable, identifying the port which will receive the
mirrored packets.

A port with ACL-based mirroring already configured cannot be added to a LAG, and a LAG cannot be
deployed if any member ports are configured for ACL-based mirroring. To use ACL-based mirroring
on a LAG member port, deploy the LAG, then configure mirroring on the member port. If a port is
removed from a LAG, ACL-based mirroring is removed from that port, and if a LAG is deleted
mirroring is removed from all member ports.

Disabling ports within a LAG

You can disable an individual port within a LAG using the disable command within the LAG
configuration.

Brocade(config)# lag blue static

Brocade(config-lag-blue)# deploy

Brocade(config-lag-blue)# disable ethernet 3/1

Syntax: [no] disable ethernet [slot/port] | named name

Use the ethernet option with the appropriate slot/port variable to specify a Ethernet port within the
LAG that you want to disable.