Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols vrrp interface vrid disable command is used to enable or disable the VRRP function.

NOTE:

This command applies to both VRRPv2 and VRRPv3 configuration.


Command Syntax

set protocols vrrp interface <interface-namevrid <virtual-router-id> disable <true | false>


Parameter

 

Parameter

Description

interface <interface-name>

Specifies the Layer 3 interface name of VRRP device. The value is a string.

vrid <virtual-router-id>

Specifies the VRID of a VRRP group. The value is an integer that ranges from 1 to 254.

disable <true | false>

Enables or disables the VRRP function. The value is true or false.

  • true: disables the VRRP function.
  • false: enables the VRRP function.

By default, VRRP function is enabled.

     

Example

  •  Disable the VRRP function.      
admin@Xorplus# set protocols vrrp interface vlan100 vrid 2 disable true
admin@Xorplus# commit
  • Enable the VRRP function.
admin@Xorplus# set protocols vrrp interface vlan100 vrid 2 disable false
admin@Xorplus# commit
  • No labels