Mirror Port Commands
4-261
4
• When mirroring traffic from a port, the mirror port and monitor port speeds
should match, otherwise traffic may be dropped from the monitor port. When
mirroring traffic from a VLAN, traffic may also be dropped under heavy loads.
• When VLAN mirroring and port mirroring are both enabled, the target port can
receive a mirrored packet twice; once from the source mirror port and again
from the source mirror VLAN.
• When mirroring traffic from a MAC address, ingress traffic with the specified
source address entering any port in the switch, other than the target port, will
be mirrored to the destination port.
• Spanning Tree BPDU packets are not mirrored to the target port.
• You can create multiple mirror sessions, but all sessions must share the same
destination port.
Example
The following example configures the switch to mirror received packets from port 6
to 11:
show port monitor
This command displays mirror information.
Syntax
show port monitor
[
interface |
vlan
vlan-id |
mac-address
mac-address
]
•
interface
-
ethernet
unit
/
port
(source port)
-
unit
- Stack unit. (Range: 1)
-
port
- Port number. (Range: 1-28/52)
•
vlan-id
- VLAN ID (Range: 1-4094)
•
mac-address
- MAC address in the form of x-x-x-x-x-x or xxxxxxxxxxxx.
Default Setting
Shows all sessions.
Command Mode
Privileged Exec
Command Usage
When the source is a port, this command displays the destination port, source
port, and mirror mode (i.e., RX, TX, RX/TX). When the source is a VLAN, only
the destination port and source VLAN are displayed. When the source is a
MAC address, only the destination port and MAC address are displayed.
Console(config)#interface ethernet 1/11
Console(config-if)#port monitor ethernet 1/6 rx
Console(config-if)#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......