Edge-Core ECS4660-28F Management Manual page 1230

Layer 3
Hide thumbs Also See for ECS4660-28F:
Table of Contents

Advertisement

| Port Mirroring Commands
C
33
HAPTER
Local Port Mirroring Commands
show port monitor
D
S
EFAULT
ETTING
No mirror session is defined.
When enabled for an interface, default mirroring is for both received
and transmitted packets.
C
M
OMMAND
ODE
Interface Configuration (Ethernet, destination port)
C
U
OMMAND
SAGE
You can mirror traffic from any source port to a destination port for
real-time analysis. You can then attach a logic analyzer or RMON probe
to the destination port and study the traffic crossing the source port in
a completely unobtrusive manner.
Set the destination port by specifying an Ethernet interface with the
interface
configuration command, and then use the port monitor
command to specify the source of the traffic to mirror.
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.
Note that 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.
The destination port cannot be a trunk or trunk member port.
E
XAMPLE
The following example configures the switch to mirror all packets from port
6 to 5:
Console(config)#interface ethernet 1/5
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#
This command displays mirror information.
S
YNTAX
show port monitor [interface | vlan vlan-id |
mac-address mac-address]
interface - ethernet unit/port (source port)
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
vlan-id - VLAN ID (Range: 1-4094)
– 1230 –

Advertisement

Table of Contents
loading

Table of Contents