HP (Hewlett-Packard) 6308M-SX Switch User Manual


 
Configuring Spanning Tree Protocol (STP)
Enabling or Disabling the Spanning Tree Protocol (STP)
You can enable or disable STP on the following levels:
Globally Affects all ports on the device.
Port-based VLAN Affects all ports within the specified port-based VLAN. When you enable or disable STP
within a port-based VLAN, the setting overrides the global setting. Thus, you can enable STP for the ports
within a port-based VLAN even when STP is globally disabled, or disable the ports within a port-based VLAN
when STP is globally enabled.
Enabling or Disabling STP Globally
Use the following methods to enable or disable STP on a device on which you have not configured port-based
VLANs.
NOTE: When you configure a VLAN, the VLAN inherits the global STP settings. However, once you begin to
define a VLAN, you can no longer configure standard STP parameters globally using the CLI. From that point on,
you can configure STP only within individual VLANs.
USING THE CLI
To enable STP for all ports on a device, enter the following command:
HP9300(config)# spanning-tree
Syntax: [no] spanning-tree
USING THE WEB MANAGEMENT INTERFACE
1. Log on to the device using a valid user name and password for read-write access. The System configuration
panel is displayed.
2. Select Enable next to Spanning Tree.
NOTE: For information about the Single and Fast checkboxes, see Single Spanning Tree on page 5-17
and Fast Uplink Span on page 5-15.
3. Click Apply to save the changes to the devices running-config file.
4. Select the Save link at the bottom of the dialog. Select Yes when prompted to save the configuration change
to the startup-config file on the devices flash memory.
Enabling or Disabling STP in a Port-Based VLAN
Use the following procedure to disable or enable STP on a device on which you have configured a port-based
VLAN.
USING THE CLI
To enable STP for all ports in a port-based VLAN, enter commands such as the following:
HP9300(config)# vlan 10
HP9300(config-vlan-10)# spanning-tree
Syntax: [no] spanning-tree
USING THE WEB MANAGEMENT INTERFACE
You cannot enable or disable STP on individual VLANs using the Web management interface. Use the procedure
in
Enabling or Disabling STP Globally on page 5-3 to enable or disable STP on all the VLANs. If you need STP
to be enabled on some VLANs but disabled in other VLANs, use the CLI method above.
5 - 3