Mirror port commands, Port monitor, Table 4-63 – LevelOne FGL-2870 User Manual
Page 626

Command Line Interface
4-260
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] | vlan vlan-id |
mac-address mac-address}
no port monitor interface
• interface - ethernet unit/port (source port)
- unit - Stack unit. (Range: 1)
- port - Port number. (Range: 1-28/52)
• rx - Mirror received packets.
• tx - Mirror transmitted packets.
• both - Mirror both received and transmitted packets.
• 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
• No mirror session is defined.
• When enabled for an interface, default mirroring is for both received and
transmitted packets.
• When enabled for a VLAN or a MAC address, mirroring is restricted to
received packets.
Command Mode
Interface Configuration (Ethernet, destination port)
Command Usage
• You can mirror traffic 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.
Table 4-63 Mirror Port Commands
Command
Function
Mode
Page
port monitor
Configures a mirror session
IC
show port monitor
Shows the configuration for a mirror port
PE