69
Related commands
•
display
vrrp
•
vrrp
vrid
track
vrrp vrid shutdown
Use
vrrp vrid shutdown
to disable an IPv4 VRRP group.
Use
undo vrrp vrid shutdown
to restore the default.
Syntax
vrrp vrid
virtual-router-id
shutdown
undo vrrp vrid
virtual-router-id
shutdown
Default
An IPv4 VRRP group is enabled.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
virtual-router-id
: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
Usage guidelines
You can use this command to temporarily disable an IPv4 VRRP group. After this command is
configured, the VRRP group stays in initialized state, and its configurations remain unchanged. You
can change its configuration and your changes take effect when you enable the VRRP group again.
Examples
# Disable IPv4 VRRP group 1.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 shutdown
vrrp vrid source-interface
Use
vrrp vrid source-interface
to specify the source interface for an IPv4 VRRP group. This
interface, instead of the interface where the VRRP group resides, sends and receives VRRP
packets.
Use
undo vrrp source-interface
to cancel the specified source interface.
Syntax
vrrp vrid
virtual-router-id
source-interface
interface-type
interface-number
undo vrrp vrid
virtual-router-id
source-interface
Default
No source interface is specified for a VRRP group. The interface where the VRRP group resides
sends and receives VRRP packets.