HP 3100 Series Configuration Manual page 104

Table of Contents

Advertisement

[DeviceC] stp vlan 40 root primary
# Enable the spanning tree feature globally and for VLANs 10, 20, and 40.
[DeviceC] stp enable
[DeviceC] stp vlan 10 20 40 enable
Configure Device D:
5.
# Set the spanning tree mode to PVST.
<DeviceD> system-view
[DeviceD] stp mode pvst
# Enable the spanning tree feature globally and for VLANs 20, 30, and 40.
[DeviceD] stp enable
[DeviceD] stp vlan 20 30 40 enable
Verify the configurations:
6.
You can use the display stp brief command to display brief spanning tree information on each
device after the network is stable.
# Display brief spanning tree information on Device A.
[DeviceA] display stp brief
VLAN
Port
10
Ethernet1/0/1
10
Ethernet1/0/3
20
Ethernet1/0/1
20
Ethernet1/0/2
20
Ethernet1/0/3
30
Ethernet1/0/2
30
Ethernet1/0/3
# Display brief spanning tree information on Device B.
[DeviceB] display stp brief
VLAN
Port
10
Ethernet1/0/2
10
Ethernet1/0/3
20
Ethernet1/0/1
20
Ethernet1/0/2
20
Ethernet1/0/3
30
Ethernet1/0/1
30
Ethernet1/0/3
# Display brief spanning tree information on Device C.
[DeviceC] display stp brief
VLAN
Port
10
Ethernet1/0/1
10
Ethernet1/0/2
20
Ethernet1/0/1
20
Ethernet1/0/2
20
Ethernet1/0/3
40
Ethernet1/0/3
# Display brief spanning tree information on Device D.
[DeviceD] display stp brief
VLAN
Port
20
Ethernet1/0/1
20
Ethernet1/0/2
Role
STP State
DESI
DISCARDING
DESI
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
ROOT
FORWARDING
Role
STP State
DESI
FORWARDING
ROOT
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
ROOT
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
Role
STP State
ROOT
FORWARDING
ALTE
FORWARDING
ROOT
FORWARDING
ALTE
FORWARDING
DESI
DISCARDING
DESI
FORWARDING
Role
STP State
ALTE
FORWARDING
ROOT
DISCARDING
95
Protection
NONE
NONE
NONE
NONE
NONE
NONE
NONE
Protection
NONE
NONE
NONE
NONE
NONE
NONE
NONE
Protection
NONE
NONE
NONE
NONE
NONE
NONE
Protection
NONE
NONE

Advertisement

Table of Contents
loading

Table of Contents