Verifying The Configuration - HP 6125XLG Configuration Manual

Blade switch layer 2 lan switching
Table of Contents

Advertisement

# Configure the device as the root bridge of VLAN 40.
[DeviceC] stp vlan 40 root primary
# Enable the spanning tree feature globally and in VLAN 10, VLAN 20, and VLAN 40.
[DeviceC] stp global enable
[DeviceC] stp vlan 10 20 40 enable
5.
Configure Device D:
# Set the spanning tree mode to PVST.
<DeviceD> system-view
[DeviceD] stp mode pvst
# Enable the spanning tree feature globally and in VLAN 20, VLAN 30, and VLAN 40.
[DeviceD] stp global enable
[DeviceD] stp vlan 20 30 40 enable

Verifying the configuration

When the network is stable, you can use the display stp brief command to display brief spanning tree
information on each device.
# Display brief spanning tree information on Device A.
[DeviceA] display stp brief
VLAN ID
10
10
20
20
20
30
30
# Display brief spanning tree information on Device B.
[DeviceB] display stp brief
VLAN ID
10
10
20
20
20
30
30
# Display brief spanning tree information on Device C.
[DeviceC] display stp brief
VLAN ID
10
10
20
20
20
40
Port
Ten-GigabitEthernet1/1/5
Ten-GigabitEthernet1/1/7
Ten-GigabitEthernet1/1/5
Ten-GigabitEthernet1/1/6
Ten-GigabitEthernet1/1/7
Ten-GigabitEthernet1/1/6
Ten-GigabitEthernet1/1/7
Port
Ten-GigabitEthernet1/1/6
Ten-GigabitEthernet1/1/7
Ten-GigabitEthernet1/1/5
Ten-GigabitEthernet1/1/6
Ten-GigabitEthernet1/1/7
Ten-GigabitEthernet1/1/5
Ten-GigabitEthernet1/1/7
Port
Ten-GigabitEthernet1/1/5
Ten-GigabitEthernet1/1/6
Ten-GigabitEthernet1/1/5
Ten-GigabitEthernet1/1/6
Ten-GigabitEthernet1/1/7
Ten-GigabitEthernet1/1/7
Role
DESI
DESI
DESI
DESI
DESI
DESI
ROOT
Role
DESI
ROOT
DESI
DESI
ROOT
DESI
DESI
Role
ROOT
ALTE
ROOT
ALTE
DESI
DESI
123
STP State
Protection
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
STP State
Protection
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
FORWARDING
NONE
STP State
Protection
FORWARDING
NONE
DISCARDING
NONE
FORWARDING
NONE
DISCARDING
NONE
FORWARDING
NONE
FORWARDING
NONE

Advertisement

Table of Contents
loading

Table of Contents