HP 6208M-SX User Manual

Page 4

Advertising
background image

4

"Enabling or Disabling Spanning Tree Protocol (STP)" on page 8-31 in Book 1: Installation and Getting
Started

, that was shipped with your device

Book 2: Advanced Configuration and Management

(included on the Product Documentation CD-ROM

shipped with your device):

"Spanning Tree Protocol" on page 17-7

"Enable Spanning Tree on a VLAN" on page 17-19

"spanning-tree" on page B-153

Configuring Single-Instance Spanning Tree Protocol (STP)

Beginning with software release 05.2.14, you can configure either single-instance or multiple-instance spanning tree
on the HP 9304M, 9308M, and 6308M-SX routing switches, and the HP 6208M-SX Switch. When single-instance STP is
enabled, all VLANS on the device belong to the same spanning tree VLAN—with a shared STP VLAN ID of 4094. When
multi-instance STP is used, each VLAN has a unique spanning tree ID.

To enable single-instance STP:

1.

Enable single-instance STP globally.

2.

Enable STP on each interface on which you want STP to operate.

On the 9304M, 9308M, and 6308M-SX routing switches, you can enable STP on a per port or per VLAN
basis.

On the 6208M switch, enabling single-instance STP initially applies to all VLANs in the switch. You can
use the

no spanning tree command to disable STP on individual VLANs in the switch.

Example of Single-Instance STP Configuration:

Beginning at the User EXEC level of the CLI, execute the

following:

After executing the above commands, the

show config command will list the following VLAN/STP information:

HP9308>enable
HP9308#configure terminal
HP9308(config)#spanning-tree single
HP9308#wr mem

Enables single-instance STP globally.
Saves the configuration change to memory.

Single instance STP must be enabled for each VLAN that participates in the
spanning-tree algorithm. The configuration file will show whether STP is enabled
for a specific VLAN. In the following example, VLAN 100 is configured for STP
(participating in the STP algorithm), while VLAN 101 is not.

HP9308(config)#vlan 100
HP9308(config-vlan-100)#span

HP9308(config)#wr mem

Continuing from above, this command enables single-instance STP on VLAN 100.
("100" is the <vlan ID>.)
Saves the configuration change to memory.

ver 05.2.1x
!
span single
!
vlan 100 by port
tagged ethe 3/1 to 3/2
span
!
vlan 101 by port
tagged ethe 3/1 to 3/2
no span

Shows the software version number for the device.

Indicates single-instance STP is enabled on the device.

"span" indicates single-instance STP is configured on VLAN 100.
(Note: on the 6208M-XS switch, the word "span" does not appear, even though the
device has been enabled for that VLAN.)

"no span" indicates that STP is not configured on VLAN 101.

Advertising
This manual is related to the following products: