#configure terminal | Enter the Configure mode. |
(config)#router vrrp 1 xe1 | Create a VRRP instance for interface xe1. |
(config-router)#virtual-ip 10.10.10.81 owner | Set the virtual IP address for the VRRP session. Define the default state (owner) of the VRRP router within the virtual router. |
(config-router)#preempt-mode true | Set the preempt mode to specify that the highest priority will function as a backup to master when master is unavailable. |
(config-router)#advertisement-interval 100 | Configure the advertisement interval to 100 centi seconds (value must be a multiple of 5). |
(config-router)# v2-compatible | Enable the v2-compatible |
(config-router)#authentication text abcd | Configure the authentication text to specify that as simple text for vrrpv2 packets, accept only 8 characters |
(config-router)#enable | Enable the VRRP session 1 on the router. |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
(config-router)#exit | Exit Router mode and enter the Configure mode. |
(config)#router vrrp 2 xe1 | Create a VRRP instance for interface xe1. |
(config-router)#virtual-ip 10.10.10.82 | Set the virtual IP address for the VRRP session. |
(config-router)#priority 200 | Configure the priority to 200 (less than 255), because R2 is the Backup router. |
(config-router)#preempt-mode true | Set the preempt mode to specify that the highest priority will function as a backup to master when master is unavailable. |
(config-router)#advertisement-interval 100 | Configure the advertisement interval to 100 centi seconds (value must be a multiple of 5). |
(config-router)# v2-compatible | Enable the v2-compatible |
(config-router)#authentication text abcd | Configure the authentication text to specify that as simple text for vrrpv2 packets, accept only 8 characters |
(config-router)#enable | Enable the VRRP session two on the router. |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
(config-router)#exit | Exit Router mode. |
#configure terminal | Enter the Configure mode. |
(config)#router vrrp 1 xe1 | Create a VRRP instance for interface xe1. |
(config-router)#virtual-ip 10.10.10.81 | Set the virtual IP address for the VRRP session. |
(config-router)#priority 200 | Configure the priority to 200 (less than 255), because R2 is the Backup router. |
(config-router)#preempt-mode true | Set the preempt mode to specify that the highest priority will function as a backup to master when master is unavailable. |
(config-router)#advertisement-interval 100 | Configure the advertisement interval to 100 centi seconds (value must be a multiple of 5). |
(config-router)# v2-compatible | Enable the v2-compatible |
(config-router)#authentication text abcd | Configure the authentication text to specify that as simple text for vrrpv2 packets, accept only 8 characters |
(config-router)#enable | Enable the VRRP session 1 on the router. |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
(config-router)#exit | Exit the Router mode and enter the Configure mode. |
(config)#router vrrp 2 xe1 | Create a VRRP instance for interface xe1 |
(config-router)#virtual-ip 10.10.10.82 owner | Set the virtual IP address for the VRRP session. Define the default state (owner) of the VRRP router within the virtual router. |
(config-router)#preempt-mode true | Set the preempt mode to specify that the highest priority will function as a backup to master when master is unavailable. |
(config-router)#advertisement-interval 100 | Configure the advertisement interval to 100 centi seconds (value must be a multiple of 5). |
(config-router)# v2-compatible | Enable the v2-compatible |
(config-router)#authentication text abcd | Configure the authentication text to specify that as simple text for vrrpv2 packets, accept only 8 characters |
(config-router)#enable | Enable the VRRP session two on the router. |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
(config-router)#exit | Exit Router mode. |