Document No. 10-300077, Issue 2 23-17
Using RMON and Ethernet Statistics to Analyze Network Performance
CLI Command Use the following CLI commands to configure Fabric mode 2 port
mirroring. You must be in Global Configuration command mode to enter
these commands.
To set up port mirroring, use the following CL I command:
(configure)# set port mirror Fabric_mode2 source-po rt <mod-
port-range> mirror-port <mod-port-spec> channel <channel> direction
{tx | rx | both | sa | da} sampling {always | disable | periodic} [sa <MAC-
address>] [da <MAC-address>] [max-packets-sec <max-packets-sec-
value>]
Direction/Filter The direction of traffic that you want to mirror and the
filter that you want to set up, if any. Options are:
Receive/None-Mirrors all receive traffic.
Transmit/None-Mirrors all transmit traffic.
Both/None-Mirrors all transmit and receive
traffic.
Receive/SA Filter-Mirrors receive traffic that
has the source MAC address that you specify in
the Source MAC (SA) field.
Transmit/DA Filter-Mirrors transmit traffic that
has the destination MAC address that you
specify in the Destination MAC (DA) field.
Sampler Type Specifies how often you want the mirror port to
receive traffic samples. Options are:
• Disable
• Always
• Periodic
Max Packets per
Second The maximum number of packets per second that you
want the mirror port to receive.
Enter a number in this field only if you selected
Periodic in the Sampler Type field.
Channel Filter Displays the channel number.
Source MAC (SA) The source MAC address that you want to mirror
traffic for.
Enter a MAC address in this field only if you selected
Receive/SA Filter in the Direction/Filter field.
Destination MAC
(DA) The destination MAC address that you want to mirror
traffic for.
Enter a MAC address in this field only if you selected
Transmit/DA Filter in the Direction/Filter field.
Table 23-5. Port Mirroring Information Web Page Parameters
Parameter Definition
2 of 2