E
The following example configures the switch to mirror all packets from port
6 to 11:
This command displays mirror information.
show port monitor
S
D
Shows all sessions.
C
Privileged Exec
C
This command displays the currently configured source port, destination
port, and mirror mode (i.e., RX, TX, RX/TX).
E
The following shows mirroring configured from port 6 to port 11:
XAMPLE
Console(config)#interface ethernet 1/11
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#
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-26)
vlan-id - VLAN ID (Range: 1-4093)
mac-address - MAC address in the form of xx-xx-xx-xx-xx-xx or
xxxxxxxxxxxx.
S
EFAULT
ETTING
M
OMMAND
ODE
U
OMMAND
SAGE
XAMPLE
Console(config)#interface ethernet 1/11
Console(config-if)#port monitor ethernet 1/6
Console(config-if)#end
Console#show port monitor
Port Mirroring
-------------------------------------
Destination Port (listen port): Eth1/11
Source Port (monitored port)
Mode
Console#
– 763 –
| Port Mirroring Commands
C
28
HAPTER
Local Port Mirroring Commands
: Eth1/ 6
:RX/TX