No rspan session – Microsens MS453490M Management Guide User Manual

Page 734

Advertising
background image

C

HAPTER

29

| Port Mirroring Commands

RSPAN Mirroring Commands

– 734 –

C

OMMAND

U

SAGE

Only 802.1Q trunk or hybrid (i.e., general use) ports can be configured

as an RSPAN uplink port – access ports are not allowed (see

switchport

mode

).

Only one uplink port can be configured on a source switch, but there is

no limitation on the number of uplink ports configured on an

intermediate or destination switch.

Only destination and uplink ports will be assigned by the switch as

members of this VLAN. Ports cannot be manually assigned to an RSPAN

VLAN with the

switchport allowed vlan

command. Nor can GVRP

dynamically add port members to an RSPAN VLAN. Also, note that the

show vlan

command will not display any members for an RSPAN VLAN,

but will only show configured RSPAN VLAN identifiers.

E

XAMPLE

The following example enables RSPAN on VLAN 2, specifies this device as

an RSPAN destination switch, and the uplink interface as port 3:

Console(config)#rspan session 1 remote vlan 2 destination uplink ethernet 1/3

Console(config)#

no rspan session

Use this command to delete a configured RSPAN session.

S

YNTAX

no rspan session session-id

session-id – A number identifying this RSPAN session.

(Range: 1-2)
Only two mirror sessions are allowed, including both local and

remote mirroring. If local mirroring is enabled with the

port monitor

command, then there is only one session available for RSPAN.

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

The no rspan session command must be used to disable an RSPAN VLAN

before it can be deleted from the VLAN database (see the

vlan

command).

E

XAMPLE

Console(config)#no rspan session 1

Console(config)#

Advertising