Usage Scenario
The direct routes generated by the virtual IP address of a VRRP group can be imported by a dynamic routing protocol. By default, this kind of route can be advertised by an IGP to the neighboring devices. On actual networks, there may be a large number of routes generated by the virtual IP address of a VRRP group. If all of the routes are imported and advertised to the neighboring devices by a dynamic routing protocol, heavy loads are imposed on some devices on the networks, which affects network performance. To resolve this issue, run the vrrp virtual-ip route-advertise disable command to disable an IGP from advertising the routes generated by the virtual IP address of the VRRP group.
You can specify a dynamic routing protocol as required.
- If you specify isis, a device disables IS-IS from advertising the routes generated by the virtual IP address of a VRRP group.
- If you specify ospf, a device disables OSPF from advertising the routes generated by the virtual IP address of a VRRP group.
- If you specify rip, a device disables RIP from advertising the routes generated by the virtual IP address of a VRRP group.
Prerequisites
- A virtual IP address has been configured for a VRRP group.
- The routes generated by the virtual IP address of the VRRP group have been imported by a dynamic routing protocol.
Configuration Impact
After the vrrp virtual-ip route-advertise disable command has been configured, none of the routes generated by the virtual IP address of the VRRP 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 of the local VRRP group because it cannot receive the routes generated by the virtual IP address of the local VRRP group.
Precautions
Currently, the vrrp virtual-ip route-advertise disable command is valid only for OSPF, IS-IS, and RIP.
If a dynamic routing protocol needs to advertise the routes generated by the virtual IP address of a VRRP group, do not run the
vrrp virtual-ip route-advertise disable command.