Configure VLAN SPAN
The VLAN SPAN session is used to analyze the data flow of the specified VLAN.
Configuration Condition
None
Configure VLAN SPAN Session
VLAN SPAN is similar to Local SPAN. VLAN SPAN session copies the packet received or forwarded by one or multiple source VLANs, and forwards from the destination port. Meanwhile, it does not affect the normal service forwarding of the source VLAN.
Table 5-7 Configure the VLAN SPAN session
Step
|
Command
|
Description
|
Enter the global configuration mode
|
config terminal
|
-
|
Configure the source VLAN of the VLAN SPAN session
|
monitor session session-number source vlan [ both | tx | rx ]
|
Mandatory
By default, do not configure the source VLAN of the VLAN SPAN session.
|
Configure the destination of the VLAN SPAN session
|
monitor session session-number destination interface interface-list
|
Mandatory
By default, do not configure the destination of the VLAN SPAN session.
|
-
The destination port of the VLAN SPAN session cannot be the member port of the VLAN SPAN session source VLAN.
- The destination port of the VLAN SPAN session can only be the general port, but cannot be the aggregation group.
- The member port of the VLAN SPAN session source VLAN cannot be in multiple sessions at the same time.
- When configuring the source VLAN of the VLAN SPAN session and if the member ports of the source VLAN already belongs to other sessions, these sessions will actively delete the ports.
- The system only supports one VLAN SPAN session.