The vrrp virtual-ip route-advertise disable command disables a dynamic routing protocol from advertising the routes generated by the virtual IP address in a Virtual Router Redundancy Protocol (VRRP) backup group.
The undo vrrp virtual-ip route-advertise disable command enables a dynamic routing protocol to advertise the routes generated by the virtual IP address in a VRRP backup group.
By default, a dynamic routing protocol advertises the routes generated by the virtual IP address in a VRRP backup group.
vrrp virtual-ip route-advertise disable
vrrp virtual-ip route-advertise disable { isis | ospf | rip } *
undo vrrp virtual-ip route-advertise disable
| Parameter | Description | Value |
|---|---|---|
| isis | Set IS-IS protocol from advertising the routes generated by the virtual IP address in a Virtual Router Redundancy Protocol (VRRP) backup group. | - |
| ospf | Set OSPF protocol from advertising the routes generated by the virtual IP address in a Virtual Router Redundancy Protocol (VRRP) backup group. | - |
| rip | Set RIP protocol from advertising the routes generated by the virtual IP address in a Virtual Router Redundancy Protocol (VRRP) backup group. | - |
Usage Scenario
The direct routes generated by the virtual IP address in a VRRP backup group can be imported by a dynamic routing protocol. By default, this kind of route can be advertised by the IGP to the neighboring devices. On actual networks, it is possible that there are a large number of routes generated by the virtual IP address in a VRRP backup group; if all of the routes are imported and advertised to the neighboring devices by a dynamic routing protocol, it will bring a heavy load to some devices on the networks and affect the network performance. In this situation, you can use the vrrp virtual-ip route-advertise disable command to disable the IGP from advertising the routes generated by the virtual IP address in the VRRP backup group.
Prerequisites
Configuration Impact
After the vrrp virtual-ip route-advertise disable command has been configured, none of the routes generated by the virtual IP address in the VRRP backup group can be advertised by dynamic routing protocols.
On a network where MPLS LDP is configured, the peer device cannot generate an LSP to the virtual IP address in the local VRRP backup group because the peer device cannot receive the routes generated by the virtual IP address in the local VRRP backup group.