HP 3100 Series Configuration Manual page 212

Table of Contents

Advertisement

# Configure port Ethernet 1/0/1 as a trunk port, and configure it to permit all VLANs.
[DeviceC] interface ethernet 1/0/1
[DeviceC-Ethernet1/0/1] port link-type trunk
[DeviceC-Ethernet1/0/1] port trunk permit vlan all
# Enable MVRP on port Ethernet 1/0/1.
[DeviceC-Ethernet1/0/1] mvrp enable
[DeviceC-Ethernet1/0/1] quit
# Configure port Ethernet1/0/2 as a trunk port, and configure it to permit all VLANs.
[DeviceC] interface ethernet 1/0/2
[DeviceC-Ethernet1/0/2] port link-type trunk
[DeviceC-Ethernet1/0/2] port trunk permit vlan all
# Enable MVRP on port Ethernet1/0/2.
[DeviceC-Ethernet1/0/2] mvrp enable
[DeviceC-Ethernet1/0/2] quit
Configuring Device D
# Enter MST region view.
<DeviceD> system-view
[DeviceD] stp region-configuration
# Configure the MST region name, VLAN-to-instance mappings, and revision level.
[DeviceD-mst-region] region-name example
[DeviceD-mst-region] instance 1 vlan 10
[DeviceD-mst-region] instance 2 vlan 20
[DeviceD-mst-region] revision-level 0
# Manually activate the MST region configuration.
[DeviceD-mst-region] active region-configuration
[DeviceD-mst-region] quit
# Globally enable the spanning tree feature.
[DeviceD] stp enable
# Globally enable MVRP.
[DeviceD] mvrp global enable
# Configure port Ethernet 1/0/1 as a trunk port, and configure it to permit VLANs 20 and 40.
[DeviceD] interface ethernet 1/0/1
[DeviceD-Ethernet1/0/1] port link-type trunk
[DeviceD-Ethernet1/0/1] port trunk permit vlan 20 40
# Enable MVRP on port Ethernet 1/0/1.
[DeviceD-Ethernet1/0/1] mvrp enable
[DeviceD-Ethernet1/0/1] quit
# Configure port Ethernet1/0/2 as a trunk port, and configure it to permit VLAN 40.
[DeviceD] interface ethernet 1/0/2
[DeviceD-Ethernet1/0/2] port link-type trunk
[DeviceD-Ethernet1/0/2] port trunk permit vlan 40
# Enable MVRP on port Ethernet1/0/2.
[DeviceD-Ethernet1/0/2] mvrp enable
[DeviceD-Ethernet1/0/2] quit
203

Advertisement

Table of Contents
loading

Table of Contents