HP 3100 Series Configuration Manual page 210

Table of Contents

Advertisement

# Configure Device A as the primary root bridge of MSTI 1.
[DeviceA] stp instance 1 root primary
# Globally enable the spanning tree feature.
[DeviceA] stp enable
# Globally enable MVRP.
[DeviceA] mvrp global enable
# Configure port Ethernet 1/0/1 as a trunk port, and configure it to permit all VLANs.
[DeviceA] interface ethernet 1/0/1
[DeviceA-Ethernet1/0/1] port link-type trunk
[DeviceA-Ethernet1/0/1] port trunk permit vlan all
# Enable MVRP on port Ethernet 1/0/1.
[DeviceA-Ethernet1/0/1] mvrp enable
[DeviceA-Ethernet1/0/1] quit
# Configure port Ethernet1/0/2 as a trunk port, and configure it to permit VLAN 40.
[DeviceA] interface ethernet 1/0/2
[DeviceA-Ethernet1/0/2] port link-type trunk
[DeviceA-Ethernet1/0/2] port trunk permit vlan 40
# Enable MVRP on port Ethernet1/0/2.
[DeviceA-Ethernet1/0/2] mvrp enable
[DeviceA-Ethernet1/0/2] quit
# Configure port Ethernet 1/0/3 as a trunk port, and configure it to permit all VLANs.
[DeviceA] interface ethernet 1/0/3
[DeviceA-Ethernet1/0/3] port link-type trunk
[DeviceA-Ethernet1/0/3] port trunk permit vlan all
# Enable MVRP on port Ethernet 1/0/3.
[DeviceA-Ethernet1/0/3] mvrp enable
[DeviceA-Ethernet1/0/3] quit
# Create VLAN 10.
[DeviceA] vlan 10
[DeviceA-vlan10] quit
Configuring Device B
# Enter MST region view.
<DeviceB> system-view
[DeviceB] stp region-configuration
# Configure the MST region name, VLAN-to-instance mappings, and revision level.
[DeviceB-mst-region] region-name example
[DeviceB-mst-region] instance 1 vlan 10
[DeviceB-mst-region] instance 2 vlan 20
[DeviceB-mst-region] revision-level 0
# Manually activate the MST region configuration.
[DeviceB-mst-region] active region-configuration
[DeviceB-mst-region] quit
# Configure Device B as the primary root bridge of MSTI 2.
[DeviceB] stp instance 2 root primary
# Globally enable the spanning tree feature.
201

Advertisement

Table of Contents
loading

Table of Contents