GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
216
<1-4094>
Specify the mirrored VLAN ID
IF_NMLPORT
Specify the SPAN destination. A destination must be a physical port
allow-ingress
Enable ingress traffic forwarding.
Mode:
Global Configuration
Usage Guide:
Use the monitor session global configuration command to start a new Switched Port Analyzer (SPAN) source or
destination session
Use the no form of this command to remove the SPAN session or to remove source or destination interfaces or filters
from the SPAN session
You can verify your setting by entering the show mirror Privileged EXEC command
Example:
This example shows how to create a local SPAN session 1 to monitor both sent and received traffic on source port
gi1.
Switch(config)# mirror session 1 source interface gi2-5 both
Switch(config)# mirror session 1 destination interface gi1
Switch(config)# show mirror session 1
Session 1 Configuration
Source RX Port : gi2-5
Source TX Port : gi2-5
Destination port : gi1
Ingress State: disabled
Switch(config)# mirror session 2 source vlan 100
Switch(config)# mirror session 2 destination interface gi1 allow-ingress
Switch(config)# show mirror session 2
Session 2 Configuration
Mirrored VLAN: 100
Destination port : gi1
Ingress State: enable
4.16.2 show mirror
Command: