< Home

vrrp virtual-ip route-advertise disable

Function

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.

Format

vrrp virtual-ip route-advertise disable

vrrp virtual-ip route-advertise disable { isis | ospf | rip } *

undo vrrp virtual-ip route-advertise disable

Parameters

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. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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

  • A virtual IP address in a VRRP backup group has been configured.
  • The routes generated by the virtual IP address in the VRRP backup 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 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.

Example

# Disable a dynamic routing protocol from advertising the routes generated by the virtual IP address in a VRRP backup group.

<sysname> system-view
[sysname] vrrp virtual-ip route-advertise disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic