< Home

vrrp virtual-ip route-advertise disable

Function

The vrrp virtual-ip route-advertise disable command disables a dynamic routing protocol from advertising routes generated by the virtual IP address of a VRRP group.

The undo vrrp virtual-ip route-advertise disable command enables a dynamic routing protocol to advertise routes generated by the virtual IP address of a VRRP group.

By default, a dynamic routing protocol is enabled to advertise routes generated by the virtual IP address of a VRRP group.

Format

vrrp virtual-ip route-advertise disable [ isis | ospf | rip ] *

undo vrrp virtual-ip route-advertise disable

Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support isis.

Parameters

Parameter Description Value
isis Disables IS-IS from advertising the routes generated by the virtual IP address of a VRRP group. -
ospf Disables OSPF from advertising the routes generated by the virtual IP address of a VRRP group. -
rip Disables RIP from advertising the routes generated by the virtual IP address of a VRRP group. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Direct routes generated by the virtual IP address of a VRRP group can be imported to a dynamic routing protocol. By default, these routes are advertised by a dynamic routing protocol to neighbors. In practice, a large number of routes may be generated by the virtual IP address of a VRRP group. If a dynamic routing protocol imports theses routes and advertises them to neighbors, there is a heavy burden on network devices and network performance deteriorates. You can run the vrrp virtual-ip route-advertise disable command to disable a dynamic routing protocol from advertising routes generated by the virtual IP address of a VRRP group.

Prerequisites

  • A virtual IP address has been configured for a VRRP group.
  • A dynamic routing protocol has imported routes generated by the virtual IP address of the VRRP group.

Precautions

After the vrrp virtual-ip route-advertise disable command is executed, routes generated by virtual IP addresses of all VRRP groups cannot be advertised by a dynamic routing protocol.

The vrrp virtual-ip route-advertise disable command is only valid for OSPF and IS-IS.

If routes generated by the virtual IP address of a VRRP group must be advertised by a dynamic routing protocol, do not run the vrrp virtual-ip route-advertise disable command.

Example

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

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