NEC N8406-022 manual Spanning Tree configuration, spanning-treestp <1-32>vlan, <1-4095>, enable

Models: N8406-022

1 102
Download 102 pages 22.4 Kb
Page 78
Image 78
Spanning Tree configuration

Spanning Tree configuration

The switch supports the IEEE 802.1d Spanning Tree Protocol (STP) and Cisco proprietary PVST and PVST+ protocols. You can configure up to 31 spanning tree groups on the switch (STG 32 is reserved for switch management). Spanning Tree is turned on by default.

NOTE: When RSTP is turned on, only STP group 1 can be configured.

The following table describes the Spanning Tree Configuration commands.

Table 83 Spanning Tree Configuration commands

Command

Description

spanning-tree stp {<1-32>} vlan

Associates a VLAN with a spanning tree and requires an external

{<1-4095>}

VLAN ID as a parameter.

 

Command mode: Global configuration

no spanning-tree stp {<1-32>} vlan

Breaks the association between a VLAN and a spanning tree and

{<1-4095>}

requires an external VLAN ID as a parameter.

 

Command mode: Global configuration

no spanning-tree stp {<1-32>} vlan

Removes all VLANs from a spanning tree.

all

Command mode: Global configuration

spanning-tree stp {<1-32>} enable

Globally enables Spanning Tree Protocol.

 

Command mode: Global configuration

no spanning-tree stp {<1-32>}

Globally disables Spanning Tree Protocol.

enable

Command mode: Global configuration

default spanning-tree <1-32>

Restores a spanning tree instance to its default configuration.

 

Command mode: Global configuration

show spanning-tree stp {<1-32>}

Displays current Spanning Tree Protocol parameters.

 

Command mode: All

Configuration Commands 78

Page 78
Image 78
NEC N8406-022 Spanning Tree configuration, <1-4095>, no spanning-treestp <1-32>vlan, spanning-treestp <1-32>enable