3 monitor session source vlan – CANOGA PERKINS 9175 Command Reference User Manual
Page 740
CanogaOS Command Reference
41-2
tx: monitor transmitted traffic only on that interface
Command Mode
Global configuration
Usage
None
Examples
This example shows how to set the mirror source port to eth-0-11 in session 1.
Switch(config)# monitor session 1 source interface eth-0-11
This example shows how to remove this setting.
Switch(config)# no monitor session 1 source interface eth-0-11
Related Commands
monitor session destination
show monitor
41.3 monitor session source vlan
Use this command to set mirror source vlan.
To remove this setting, use the no form of this command.
Command Syntax
monitor session < session > source vlan < vlan > [both | tx |rx]
no monitor session < session > source vlan < vlan > [both | tx |rx]
session: <1-4> mirror session number
vlan : <1-4094> the source vlan id to be mirrored
both: monitor received and transmitted traffic on that vlan
rx: monitor received traffic only on that vlan
tx: monitor transmitted traffic only on that vlan
Command Mode
Global configuration
Usage
System monitor received and transmitted traffic both by default.
Examples
This example shows how to set the mirror source to vlan2 in session 1.
Switch(config)# monitor session 1 source vlan 2 both
This example shows how to set the mirror source to vlan2 in session 1 to monitor received traffic only.
Switch(config)# monitor session 1 source vlan 2 rx
This example shows how to cancel the mirror source vlan 2 in session 1.
Switch(config)# no monitor session 1 source vlan 2 both