HP 9304m Installation And Getting Started Manual page 216

Procurve routing switches
Table of Contents

Advertisement

NOTE: When port-based VLANs are not operating on the system, STP is set on a system-wide level at the
global CONFIG level of the CLI.
USING THE CLI
1.
Access the global CONFIG level of the CLI on 9308-A by entering the following commands:
HP9308-A> enable
No password has been assigned yet...
HP9308-A# configure terminal
HP9308-A(config)#
2.
Access the level of the CLI for configuring port-based VLAN 3 by entering the following command:
HP9308-A(config)#
HP9308-A(config)# vlan 3
HP9308-A(config-vlan-3)#
3.
From VLAN 3's configuration level of the CLI, enter the following command to enable STP on all tagged and
untagged ports associated with VLAN 3.
HP9308-B(config-vlan-3)#
HP9308-B(config-vlan-3)# spanning-tree
HP9308-B(config-vlan-3)#
4.
Enter the following commands to exit the VLAN CONFIG mode and save the configuration to the system-
config file on flash memory:
HP9308-B(config-vlan-3)#
HP9308-B(config-vlan-3)# end
HP9308-B# write memory
HP9308-B#
5.
Repeat steps 1 – 4 on 9308-B.
NOTE: You do not need to configure values for the STP parameters. All parameters have default values as
noted below. Additionally, all values will be globally applied to all ports on the system or on the port-based VLAN
for which they are defined.
To configure a specific path-cost or priority value for a given port, enter those values using the key words in the
brackets [ ] shown in the syntax summary below. If you do not want to specify values for any given port, this
portion of the command is not required.
Syntax: vlan <vlan-id> by port
Syntax: [no] spanning-tree
Syntax: spanning-tree [ethernet <portnum> path-cost <value> priority <value>] forward-delay <value>
hello-time <value> maximum-age <time> priority <value>
Bridge STP Parameters (applied to all ports within a VLAN)
Forward Delay – the period of time a bridge will wait (the listen and learn period) before forwarding data
packets. Possible values: 4 – 30 seconds. Default is 15.
Maximum Age – the interval a bridge will wait for receipt of a hello packet before initiating a topology change.
Possible values: 6 – 40 seconds. Default is 20.
Hello Time – the interval of time between each configuration BPDU sent by the root bridge. Possible values:
1 – 10 seconds. Default is 2.
Priority – a parameter used to identify the root bridge in a network. The bridge with the lowest value has the
highest priority and is the root. Possible values: 1 – 65,535. Default is 32,678.
Port Parameters (applied to a specified port within a VLAN)
Path Cost – a parameter used to assign a higher or lower path cost to a port. Possible values: 1 – 65535.
Configuring Virtual LANs (VLANs)
7 - 19

Advertisement

Table of Contents
loading

This manual is also suitable for:

9315m

Table of Contents