Example of configuring a dot1Q termination sub-interface on an AR router to support VRRP

1

An example of configuring a dot1Q termination sub-interface on an AR router to support VRRP is as follows:
The roadmap of configuring a dot1Q termination sub-interface to support VRRP and implement gateway redundancy is as follows:
1. Configure IP addresses and routing protocols for different device interfaces to enable network-layer routers to be reachable.
2. Configure a VRRP group on sub-interfaces of Router A and Router B, respectively. Configure a high priority and set preemption delay to 20s on Router A and configure Router A as a master device to bear and forward traffic. Configure a low priority and configure Router B as a backup device to implement redundancy.
For details about the configuration, see the URL: Example for Configuring VRRP on a Dot1q Termination Sub-interface.

Other related questions:
How to configure VLAN termination on an AR router
Dot1Q termination: Create a sub-interface on the CE interface of the device, and run the dot1q termination vid pe-vid command to configure a termination VLAN for the sub-interface. QinQ termination: Create a sub-interface on the CE interface of the device, and run the qinq termination pe-vid pe-vid ce-vid ce-vid1 command to configure the two-tag termination feature for the sub-interface.

VID meaning of dot1Q sub-interface
It indicates the VLAN ID in a user packet.

How do AR routers support sub-interfaces
AR routers support sub-interfaces as follows: Only Layer-3 Ethernet interfaces support the configuration of sub-interfaces. AR routers of different models and versions have no differences in the support of sub-interfaces.

Example of configuring association between VRRP and the interface status to monitor uplink interfaces on an AR router
An example of configuring association between VRRP and the interface status to monitor uplink interfaces on an AR router is as follows: Associate VRRP with the interface status to detect faults of uplink interfaces and switch over between the master and backup gateways. For details about the configuration, see the URL: Example for Configuring Association Between VRRP and the Interface Status.

Example of configuring VRRP active/standby backup on an AR router
The roadmap of configuring VRRP active/standby backup on an AR router to implement gateway redundancy is as follows: 1. Configure IP addresses and routing protocols for different device interfaces to enable network-layer connection among different devices. 2. Configure a VRRP group on Router A and Router B, respectively. Configure a high priority and set preemption delay to 20s on Router A and configure Router A as a master device to bear and forward traffic. Configure a low priority and configure Router B as a backup device to implement gateway redundancy. Configure a VRRP group. # Create VRRP 1 on Router A, set its priority to 120, and set the preemption delay to 20s. [RouterA] interface gigabitethernet 2/0/0 [RouterA-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111 //Configure a virtual IP address. [RouterA-GigabitEthernet2/0/0] vrrp vrid 1 priority 120 //Set priority to 120. [RouterA-GigabitEthernet2/0/0] vrrp vrid 1 preempt-mode timer delay 20 //Set the preemption delay to 20s. [RouterA-GigabitEthernet2/0/0] quit # Create VRRP 1 on Router B, and set its priority to a default value 100. [RouterB] interface gigabitethernet 2/0/0 [RouterB-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111 [RouterB-GigabitEthernet2/0/0] quit For details about the configuration, see the URL: Example for Configuring a VRRP Group in Active/Standby Mode.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top