EasyManua.ls Logo

Edge-Core ES3528MV2 - Show Port Monitor

Edge-Core ES3528MV2
1480 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
C
HAPTER
29
| Port Mirroring Commands
Local Port Mirroring Commands
– 1019
ACL-based mirroring is only used for ingress traffic. To mirror an ACL,
follow these steps:
1. Use the access-list command (page 951) to add an ACL.
2. Use the access-group command to add a mirrored port to access
control list.
3. Use the port monitor access-list command to specify the
destination port to which traffic matching the ACL will be mirrored.
EXAMPLE
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 example configures port 2 to monitor packets matching the MAC
address 00-12-CF-XX-XX-XX received by port 1:
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)#
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 - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
vlan-id - VLAN ID (Range: 1-4094)
mac-address - MAC address in the form of xx-xx-xx-xx-xx-xx or
xxxxxxxxxxxx.
DEFAULT SETTING
Shows all sessions.
COMMAND MODE
Privileged Exec

Table of Contents

Related product manuals