Monitoring an individual lag port, Assigning a name to a port within a lag – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual
Page 147

NOTE
In an operational dynamic LAG, removing an operational port causes port flapping for all LAG ports.
This may cause loss of traffic.
Monitoring an individual LAG port
By default, when you monitor the primary port in a LAG group, aggregated traffic for all the ports in the
LAG is copied to the mirror port. You can configure the device to monitor individual ports in a LAG
including Ethernet, or named ports. You can monitor the primary port or another member port
individually. Once a LAG is deployed and a primary port is specified using the primary-port command,
monitoring across all ports of the LAG can be configured at the primary port. If a new port is added to a
deployed LAG and if the entire LAG is monitored, the new port will also be mirrored by the same port
monitoring traffic across the entire LAG.
NOTE
You can use only one mirror port for each monitored LAG port. You cannot configure mirroring on an
undeployed LAG.
To monitor traffic on an individual port in a LAG group, run the following commands.
device(config)# lag blue static
device(config-lag-blue)# ports ethernet 1/1/1 ethernet 1/1/47
device(config-lag-blue)# primary-port 1/1/1
device(config-lag-blue)# deploy
device(config-lag-blue)# monitor ethe-port-monitored 1/1/47 ethernet 1/1/15 output
Syntax: [no] monitor { ethe-port-monitored stack/ slot / port | named-port-monitored name } [
ethernet [ stack/ slot / port ] ] { input | output | both }
Use the ethe-port-monitored option with the appropriate [stack/slot/port] variable to specify a Ethernet
port within the LAG that you want to monitor.
Use the named-port-monitored option with the appropriate name variable to specify a named port
within the LAG that you want monitor.
The ethernet stack/slot/port parameter specifies the port to which the traffic analyzer is attached.
The input, output, and both parameters specify the traffic direction to be monitored.
Assigning a name to a port within a LAG
You can assign a name to an individual port within a LAG using the port-name command within the
LAG configuration as shown in the following.
device(config)#lag "test" dynamic id 1
device(config-lag-test)#ports ethernet 1/1/1 to 1/1/3
device(config-lag-test)#port-name "Brocade lag" ethernet 1/1/1
device(config-lag-test)#primary-port 1/1/1
device(config-lag-test)#deploy
Syntax: [no] port-name name ethernet stack/slot/port
The name variable specifies the port name. The name can be up to 255 characters long.
Use the ethernet option with the appropriate stack/slot/port variable to apply the specified name to an
Ethernet port within the LAG.
Monitoring an individual LAG port
FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide
147
53-1003086-04