DGS-6604
m
monitor session destination remote vlan
CLI Reference Guide
433
monitor session destination remote vlan
Use the command to configure the RSPAN VLAN and destination port for a
RSPAN source session. Use the no form of the command to remove
configuration of the RSPAN VLAN.
monitor session
SESSION-NUMBER
destination remote vlan
VLAN-ID
interface
INTERFACE-
ID
no monitor session
SESSION-NUMBER
destination remote vlan
Default
Not configured
Command Mode
Global configuration mode
Usage Guideline
Use the command on the source switch of a RSPAN session.
The monitor session destination remote vlan command configures the
destination port used to transmit the monitor packets and the RSPAN VLAN used
to tunnel the monitored packets to the remote site. The destination port does not
need to be the member port of the RSPAN VLAN. The destination port can be
either a physical port or a port channel.
Use the monitor session source interface command to configure the source ports
whose packets will be monitored.
Use the remote-span command in vlan config mode to specify a VLAN as a
RSPAN VLAN. When a VLAN is specified as a RSPAN VLAN, the access
member port of the VLAN will become inactive. The monitor packet will be
tunneled over the trunk member port of the RSPAN VLAN.
The RSPAN VLAN is a tunnel VLAN. The source port does not need to be
member ports of the RSPAN VLAN.
Example
This example shows how to create a RSPAN session on the source switch. It
assigns VLAN 100 as the RSPAN VLAN with destination interface eth3.6 and
three source ports (eth 2.2, eth 2.3 and eth 2.4) as the port being monitored:
Syntax Description
SESSION-NUMBER
Specify the session number for the port monitor session. The valid range is 1 to
80.
remote vlan
VLAN-ID
Specify the RSPAN VLAN used to tunnel the monitored packets to the remote
site. The valid range is 2 to 4094.
interface
INTERFACE-ID
Specify the interface to transmit the monitored packets to the remote site.