Mirror Port Commands
4-157
4
Mirror Port Commands
This section describes how to mirror traffic from a source port to a target port.
port monitor
This command configures a mirror session. Use the no form to clear a mirror
session.
Syntax
port monitor interface [rx | tx | both]
no port monitor interface
• interface - ethernet unit/port (source port)
- unit - Stack unit. (Always unit 1)
- port - Port number. (Range: 1-24)
• rx - Mirror received packets.
• tx - Mirror transmitted packets.
• both - Mirror both received and transmitted packets.
Console#show lacp 1 sysid
Channel group System Priority System MAC Address
-------------------------------------------------------------------
1 32768 00-30-F1-8F-2C-A7
2 32768 00-30-F1-8F-2C-A7
3 32768 00-30-F1-8F-2C-A7
4 32768 00-30-F1-8F-2C-A7
5 32768 00-30-F1-8F-2C-A7
6 32768 00-30-F1-8F-2C-A7
7 32768 00-30-F1-D4-73-A0
8 32768 00-30-F1-D4-73-A0
9 32768 00-30-F1-D4-73-A0
10 32768 00-30-F1-D4-73-A0
11 32768 00-30-F1-D4-73-A0
12 32768 00-30-F1-D4-73-A0
.
.
.
Table 4-8 show lacp sysid - display description
Field Description
Channel group A link aggregation group configured on this switch.
System Priority
*
LACP system priority for this channel group.
System MAC Address
*
System MAC address.
* The LACP system priority and system MAC address are concatenated to form the LAG system ID.
Table 4-9 Mirror Port Commands
Command Function Mode Page
port monitor Configures a mirror session IC 4-157
show port monitor Shows the configuration for a mirror port PE 4-158