Command syntax for port mirroring and monitoring, Monitoring a port, Monitoring an individual lag port – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual
Page 238

device(config-if-e1000-1/1/3)# acl-mirror-port ethernet 2/1/48
device(config-if-e1000-1/1/3)# ip access-group 102 in
• Because of hardware limitations on the SX-FI48GPP interface module, if the monitored port is on
the SX-FI48GPP module, mirrored packets vary slightly from original (monitored) packets,
depending on the type of management or interface module on which the mirror port (analyzer) is
configured:
‐
When ingress or egress mirroring is enabled between a monitored port on an SX-FI48GPP
interface module and a mirror port on an IPv4 interface module, mirrored packets contain
CRC errors. All other data in the original and mirrored packets is the same.
‐
When ingress or egress mirroring is enabled between a monitored port on an SX-FI48GPP
interface module and a mirror port on a 0 port XL, SX-FIZMR-XL/XL-PREM6 management
modules, IPv6 interface module, or SX-FI48GPP module, mirrored packets are larger than
the original packet by 4 bytes, but do not contain CRC errors. All other data in the original
and mirrored packets is the same.
Command syntax for port mirroring and monitoring
This section describes how to configure port mirroring and monitoring.
Monitoring a port
To configure port monitoring on an individual port on a Brocade device, enter commands similar to the
following.
device(config)#mirror-port ethernet 1/2/4
device(config)#interface ethernet 1/2/11
device(config-if-e1000-11)#monitor ethernet 1/2/4 both
Syntax: [no] mirror-port ethernet port [ input | output ]
Syntax:[no] monitor ethernet port both | in | out
The port variable for mirror-port ethernet specifies the port to which the monitored traffic is copied.
The port variable for monitor ethernet specifies the port on which traffic is monitored.
The input and output parameters configure the mirror port exclusively for ingress or egress traffic. If
you do not specify one, both types of traffic apply.
The both , in , and out parameters specify the traffic direction you want to monitor on the mirror port.
There is no default.
To display the port monitoring configuration, enter the show monitor and show mirror commands.
Monitoring an individual LAG port
You can monitor the traffic on an individual port of a static LAG group, and on an individual port of an
LACP LAG group.
By default, when you monitor the primary port in a LAG group, aggregated traffic for all the ports in the
LAG group is copied to the mirror port. You can configure the device to monitor individual ports in a
LAG group. You can monitor the primary port or a secondary port individually.
To configure port monitoring on an individual port in a LAG group, enter commands such as the
following.
device(config)#lag automation static id 1
device(config-lag-automation)#ports e 1/1/2 to 1/1/9
device(config-lag-automation)#primary-port 1/1/2
device(config-lag-automation)#deploy
Command syntax for port mirroring and monitoring
238
FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide
53-1003086-04