Show Port Monitor - Edge-Core ECS3510-28T Management Manual

Edge-core 28/52-port fast ethernet layer 2 switch
Table of Contents

Advertisement

E
The following example configures the switch to mirror all packets from port
6 to 5:
This example configures port 2 to monitor packets matching the MAC
address 00-12-CF-XX-XX-XX received by port 1:
This command displays mirror information.

show port monitor

S
D
Shows all sessions.
C
Privileged Exec
ACL-based mirroring is only used for ingress traffic. To mirror an ACL,
follow these steps:
Use the access-list command
1.
Use the access-group command to add a mirrored port to access
2.
control list.
Use the port monitor access-list command to specify the
3.
destination port to which traffic matching the ACL will be mirrored.
XAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#
Console(config)#access-list mac m1
Console(config-mac-acl)#permit 00-12-cf-00-00-00 ff-ff-ff-00-00-00 any
Console(config-mac-acl)#exit
Console(config)#interface ethernet 1/1
Console(config-if)#mac access-group m1 in
Console(config-if)#interface ethernet 1/2
Console(config-if)#port monitor access-list m1
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-28/52)
vlan-id - VLAN ID (Range: 1-4094)
mac-address - MAC address in the form of xx-xx-xx-xx-xx-xx or
xxxxxxxxxxxx.
S
EFAULT
ETTING
M
OMMAND
ODE
– 1011 –
| Port Mirroring Commands
C
28
HAPTER
Local Port Mirroring Commands
(page
943) to add an ACL.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecs3510-52t

Table of Contents