Chapter 52 commands for rspan configuration, 1 remote-span, 2 monitor session remote vlan – PLANET XGS3-24040 User Manual

Page 803: 3 monitor session reflector-port, Remote, Span, Monitor session remote vlan, Monitor session reflector, Port

Advertising
background image

52-1

Chapter 52 Commands for RSPAN

Configuration

52.1 remote-span

Command: remote-span

no remote-span

Function: To configure VLAN to RSPAN VLAN. The no form of this command will delete the RSPAN

VLAN.

Parameter: None.

Command Mode: VLAN Configuration Mode.

Default: Not configured.

Usage Guide: This command is used to configure the existing VLAN as RSPAN VLAN. Dedicated

RSPAN VLAN should be configured before RSPAN can function. When configuring RSPAN VLAN, it

should be made sure that specialized VLAN, such as the default VLAN, dynamic VLAN, private VLAN,

multicast VLAN, and layer 3 interface enabled VLAN, should not be configured as RSPAN VLAN. If any

existing sessions are still working when RSPAN is disabled, these sessions will be still working

regardless the configuration change. However, if any layer 3 interface is configure in the VLAN after

RSPAN is disable, the existing RSPAN session will be stopped.

Example:

Switch(Config-Vlan5)#remote-span

52.2 monitor session remote vlan

Command: monitor session <session> remote vlan <vid>

no monitor session <.session> remote vlan

Function: To configure local mirror session to RSPAN. The no form of this command will restore the

RSPAN to local mirror.

Parameter: <session>: session ID ,range between 1 to 4. <vid>: The id of RSPAN VLAN.

Command Mode: Global Mode.

Default: Not configured.

Usage Guide: To configure local mirror session to RSPAN. The VLAN id is the RSPAN VLAN. The

mirrored data grams will be attached with RSPAN tags.

Example:

Switch(config)#monitor session 1 remote vlan 5

52.3 monitor session reflector-port

Command: monitor session <session> reflector-port <interface-number>

no monitor session <session> reflector-port <interface-number>

Function: To configure reflector port, the no form of this command will delete the reflector port.

Parameter: <session>: Session ID, range between 1 to 4, <interface-number>: Interface number.

Command Mode: Global Mode.

Advertising