R3303-HP HSR6800 Routers High Availability Configuration Guide

128
[RouterC] stp region-configuration
[RouterC-mst-region] instance 1 vlan 1 to 100
[RouterC-mst-region] instance 2 vlan 101 to 200
[RouterC-mst-region] active region-configuration
[RouterC-mst-region] quit
# Shut down GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2, disable the spanning tree
feature on them, configure them as trunk ports, and assign them to VLAN 1 through VLAN 200.
[RouterC] interface gigabitethernet 3/0/1
[RouterC-GigabitEthernet3/0/1] shutdown
[RouterC-GigabitEthernet3/0/1] undo stp enable
[RouterC-GigabitEthernet3/0/1] port link-type trunk
[RouterC-GigabitEthernet3/0/1] port trunk permit vlan 1 to 200
[RouterC-GigabitEthernet3/0/1] quit
[RouterC] interface gigabitethernet 3/0/2
[RouterC-GigabitEthernet3/0/2] shutdown
[RouterC-GigabitEthernet3/0/2] undo stp enable
[RouterC-GigabitEthernet3/0/2] port link-type trunk
[RouterC-GigabitEthernet3/0/2] port trunk permit vlan 1 to 200
[RouterC-GigabitEthernet3/0/2] quit
# Create smart link group 1, and configure all VLANs mapped to MSTI 1 as the protected VLANs
for smart link group 1.
[RouterC] smart-link group 1
[RouterC-smlk-group1] protected-vlan reference-instance 1
# Configure GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/0/2 as the
secondary port for smart link group 1.
[RouterC-smlk-group1] port gigabitethernet3/0/1 master
[RouterC-smlk-group1] port gigabitethernet3/0/2 slave
# Enable role preemption in smart link group 1, enable flush message sending, and configure
VLAN 10 as the transmit control VLAN.
[RouterC-smlk-group1] preemption mode role
[RouterC-smlk-group-1] flush enable control-vlan 10
[RouterC-smlk-group-1] quit
# Create smart link group 2, and configure all VLANs mapped to MSTI 2 as the protected VLANs
for smart link group 2.
[RouterC] smart-link group 2
[RouterC-smlk-group2] protected-vlan reference-instance 2
# Configure GigabitEthernet 3/0/1 as the secondary port and GigabitEthernet 3/0/2 as the
primary port for smart link group 2.
[RouterC-smlk-group2] port gigabitethernet3/0/2 master
[RouterC-smlk-group2] port gigabitethernet3/0/1 slave
# Enable role preemption in smart link group 2, enable flush message sending, and configure
VLAN 110 as the transmit control VLAN.
[RouterC-smlk-group2] preemption mode role
[RouterC-smlk-group2] flush enable control-vlan 110
[RouterC-smlk-group2] quit
# Bring up GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2.
[RouterC] interface gigabitethernet 3/0/1