R3303-HP HSR6800 Routers High Availability Configuration Guide

134
# 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-group1] flush enable control-vlan 10
[RouterC-smlk-group1] 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
# Enable CFD and create an MD of level 5.
[RouterC] cfd enable
[RouterC] cfd md MD level 5
# Create MA MA_A for the MD and configure the MA to serve VLAN 10. Create service instance
1 for the MD and MA.
[RouterC] cfd ma MA_A md MD vlan 10
[RouterC] cfd service-instance 1 md MD ma MA_A
# Create a MEP list in service instance 1. Create and enable outward-facing MEP 1001, and
enable CCM sending in service instance 1 on GigabitEthernet 3/0/1.
[RouterC] cfd meplist 1001 1002 service-instance 1
[RouterC] interface gigabitethernet 3/0/1
[RouterC-GigabitEthernet3/0/1] cfd mep 1001 service-instance 1 outbound
[RouterC-GigabitEthernet3/0/1] cfd mep service-instance 1 mep 1001 enable
[RouterC-GigabitEthernet3/0/1] cfd cc service-instance 1 mep 1001 enable
[RouterC-GigabitEthernet3/0/1] quit
# Create MA MA_B for the MD and configure the MA to serve VLAN 110. Create service instance
2 for the MD and MA.
[RouterC] cfd ma MA_B md MD vlan 110
[RouterC] cfd service-instance 2 md MD ma MA_B
# Create a MEP list in service instance 2. Create and enable outward-facing MEP 2001. Enable
CCM sending in service instance 2 on GigabitEthernet 3/0/2.
[RouterC] cfd meplist 2001 2002 service-instance 2
[RouterC] interface gigabitethernet 3/0/2
[RouterC-GigabitEthernet3/0/2] cfd mep 2001 service-instance 2 outbound
[RouterC-GigabitEthernet3/0/2] cfd mep service-instance 2 mep 2001 enable
[RouterC-GigabitEthernet3/0/2] cfd cc service-instance 2 mep 2001 enable
[RouterC-GigabitEthernet3/0/2] quit
# Configure the collaboration between the primary port GigabitEthernet 3/0/1 of smart link
group 1 and the CC function of CFD, and bring up the port.