IPI-VRRP
Configure disable virtual router mac address
Use this attribute to enable or disable Virtual MAC (VMAC). This affects all VRRP groups in a router. On a single network segment, multiple VRRP groups can be configured, each using a different VMAC. The use of VMAC addressing allows for faster switchover when a backup router assumes the master role. When this attribute is used to enable a VMAC, the virtual router forwards packets with a special-purpose multicast VMAC address (0:0:5e:0:01:VR_ID). Otherwise, it forwards with interface physical address.The VMAC address is assigned to a router interface at the time the VRRP group is enabled in the router.
Attribute Name: disable-virtual-router-mac-address
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<global>
<config>
</disable-virtual-router-mac-address><!-- operation="delete"-->
</config>
</global>
</vrrp>
Command Syntax
vrrp vmac disable
Configure vrrp v2 compatible
Use this attribute to enable or disable backward-compatibility feature. When enabled, both VRRPv3 and VRRPv2 interoperation are supported.
Attribute Name: vrrp-v2-compatible
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<global>
<config>
</vrrp-v2-compatible><!-- operation="delete"-->
</config>
</global>
</vrrp>
Command Syntax
vrrp compatible-v2 enable
Configure ipv4 exclude pseudo header
This command excludes the pseudo-header in IPv4 VRRPv3 checksum calculation on the VRRP group
Attribute Name: ipv4-exclude-pseudo-header
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<global>
<config>
</ipv4-exclude-pseudo-header><!-- operation="delete"-->
</config>
</global>
</vrrp>
Command Syntax
vrrp ipv4-exclude-pseudo-header enable
Configure options
use this attribute to specify debugging options for VRRP
Attribute Name: options
Attribute Type: bits (all|packet|events|packet send|packet recv)
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<debug>
<config>
<options>14</options> <!-- operation="delete"-->
</config>
</debug>
</vrrp>
Command Syntax
debug vrrp
Configure interface name
Use this attribute to configure an VRRP routing process for an interface.
Attribute Name: interface-name
Attribute Type: string
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface> <!-- operation="delete"-->
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
router vrrp <1-255> IFNAME
Configure disable preempt mode
Use this attribute to configure preempt mode. If set to true, the highest priority backup is always the master when the default master is unavailable. If set to false, a higher priority backup does not preempt a lower priority backup which is acting as master
Attribute Name: disable-preempt-mode
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
</disable-preempt-mode><!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
preempt-mode false
Configure disable accept mode
Use this attribute to enable accept mode for the session
Attribute Name: disable-accept-mode
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
</disable-accept-mode><!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
accept-mode false
Configure virtual router id
Use this attribute to enable or disable the backward-compatibility feature
Attribute Name: vrrp-v2-compatible
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
</vrrp-v2-compatible><!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
v2-compatible
Configure authentication data
Use this attribute to include authentication simple text
Attribute Name: authentication-data
Attribute Type: string
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<authentication-data>TEXT-STRING</authentication-data> <!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
authentication text TEXT-STRING
Configure primary ip address
Use this attribute to set the operational-ip address for the virtual router
Attribute Name: primary-ip-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<primary-ip-address>A.B.C.D</primary-ip-address> <!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
operational-ip A.B.C.D
Configure mlag active standby
Use this attribute to set active-standby mlag mode
Attribute Name: mlag-active-standby
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
</mlag-active-standby><!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
mlag active-standby
Configure priority
Use this attribute to configure the VRRP router priority within the virtual router. Priority determines the role that each VRRP router plays and what happens if the master virtual router fails. If a VRRP router owns the IP address of the virtual router and the IP address of the physical interface, this router functions as the master virtual router
Attribute Name: priority
Attribute Type: uint8
Attribute Range: 1-254
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<priority>1</priority> <!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
priority <1-254>
Configure preempt delay
Use this attribute to set a switch-back delay timer for the master VRRP router. This feature prevents the original master VRRP router from transitioning back to the master state after coming back online until the configured delay timer has expired.
Attribute Name: preempt-delay
Attribute Type: uint32
Attribute Range: 1-500000
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<preempt-delay>1</preempt-delay> <!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
switch-back-delay <1-500000>
Configure advertisement interval
Use this attribute to configure the advertisement interval of a virtual router. This is the length of time, in seconds, between each advertisement sent from the master to its backup(s). The master virtual router sends VRRP advertisements to other VRRP routers in the same group. The advertisements communicate the priority and state of the master virtual router. The VRRP advertisements are encapsulated in IP packets and sent to the multicast address assigned to the VRRP group (224.0.0.18). Advertisements are sent every second by default.
Attribute Name: advertisement-interval
Attribute Type: uint16
Default Value: 100
Attribute Range: 5-4095
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<advertisement-interval>5</advertisement-interval> <!-- operation="delete"-->
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
advertisement-interval <5-4095>
Configure enable
Use this attribute to enable a VRRP session on the router (to make it participate in virtual routing). To make any changes to the VRRP configuration, first disable the router from participating in virtual routing using the disable command
Attribute Name: enable
Attribute Type: empty
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<protocol-enable>
<config>
</enable><!-- operation="delete"-->
</config>
</protocol-enable>
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
enable
Configure ip address owner
Use this attribute to set the virtual IP address for the VRRP virtual router as VRRP Owner. This is the IP address used by end hosts to address their default gateway.
Attribute Name: ip-address-owner
Attribute Type: boolean
Attribute Name: virtual-ip-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<virtual-ip>
<config>
<virtual-ip-address>A.B.C.D</virtual-ip-address>
<ip-address-owner>true</ip-address-owner>
</config>
</virtual-ip>
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
virtual-ip A.B.C.D (owner|)
Configure interface tracking name
Use this command to enable the VRRP circuit failover feature.
Attribute Name: interface-tracking-name
Attribute Type: string
Attribute Name: priority-decrement
Attribute Type: uint8
Attribute Range: 1-253
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<interfaces-tracking>
<interface-tracking> <!-- operation="delete"-->
<interface-tracking-name>IFNAME</interface-tracking-name>
<config>
<interface-tracking-name>WORD</interface-tracking-name>
<priority-decrement>1</priority-decrement>
</config>
</interface-tracking>
</interfaces-tracking>
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
circuit-failover IFNAME <1-253>
Configure tracking id
Use this command to enable the VRRP object tracking feature.
This command is supported when following feature are enabled HAVE_OBJ_TRACKING
Attribute Name: tracking-id
Attribute Type: uint16
Attribute Name: decrement
Attribute Type: uint8
Attribute Range: 1-253
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv4-instances>
<ipv4-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<objects-tracking>
<object-tracking> <!-- operation="delete"-->
<tracking-id>0</tracking-id>
<config>
<tracking-id>1</tracking-id>
<decrement>1</decrement>
</config>
</object-tracking>
</objects-tracking>
</interface>
</interfaces>
</ipv4-instance>
</ipv4-instances>
</vrrp>
Command Syntax
track <0-65535> decrement <1-253>
Configure virtual ip address
VRRP Virtual IPV6 address
This command is supported when following feature are enabled IPV6 feature
Attribute Name: virtual-ip-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv6-instances>
<ipv6-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<virtual-ip-addresses>
<virtual-ip-address> <!-- operation="delete"-->
<virtual-ip-address>X:X::X:X</virtual-ip-address>
<config>
<virtual-ip-address>X:X::X:X</virtual-ip-address>
</config>
</virtual-ip-address>
</virtual-ip-addresses>
</interface>
</interfaces>
</ipv6-instance>
</ipv6-instances>
</vrrp>
Command Syntax
virtual-ipv6 X:X::X:X
Configure priority decrement
Use this command to enable the VRRP circuit failover feature.
Attribute Name: interface-tracking-name
Attribute Type: string
Attribute Name: priority-decrement
Attribute Type: uint8
Attribute Range: 1-253
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv6-instances>
<ipv6-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<interfaces-tracking>
<interface-tracking> <!-- operation="delete"-->
<interface-tracking-name>IFNAME</interface-tracking-name>
<config>
<interface-tracking-name>WORD</interface-tracking-name>
<priority-decrement>1</priority-decrement>
</config>
</interface-tracking>
</interfaces-tracking>
</interface>
</interfaces>
</ipv6-instance>
</ipv6-instances>
</vrrp>
Command Syntax
circuit-failover IFNAME <1-253>
Configure decrement
Use this command to enable the VRRP object tracking feature.
This command is supported when following feature are enabled HAVE_OBJ_TRACKING
Attribute Name: tracking-id
Attribute Type: uint16
Attribute Name: decrement
Attribute Type: uint8
Attribute Range: 1-253
Netconf edit-config payload
<vrrp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<ipv6-instances>
<ipv6-instance>
<virtual-router-id>1</virtual-router-id>
<config>
<virtual-router-id>1</virtual-router-id>
</config>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
<objects-tracking>
<object-tracking> <!-- operation="delete"-->
<tracking-id>0</tracking-id>
<config>
<tracking-id>1</tracking-id>
<decrement>1</decrement>
</config>
</object-tracking>
</objects-tracking>
</interface>
</interfaces>
</ipv6-instance>
</ipv6-instances>
</vrrp>
Command Syntax
track <0-65535> decrement <1-253>
snmp restart vrrp
Netconf RPC payload
<vrrp-snmp-restart xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp"/>
Command Syntax
snmp restart vrrp
clear vrrp global statistics
Netconf RPC payload
<vrrp-clear-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp"/>
Command Syntax
clear vrrp global statistics
clear vrrp ipv4 statistics
Netconf RPC payload
<vrrp-clear-ipv4-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp"/>
Command Syntax
clear vrrp ipv4 statistics
clear vrrp ipv6 statistics
Netconf RPC payload
<vrrp-clear-ipv6-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp"/>
Command Syntax
clear vrrp ipv6 statistics
clear vrrp ipv4 statistics <1-255> IFNAME
Attribute Name: vrrp-id
Attribute Type: uint8
Attribute Range: 1-255
Attribute Name: interface-name
Attribute Type: string
Netconf RPC payload
<vrrp-clear-session-ipv4-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<vrrp-id>1</vrrp-id>
<interface-name>IFNAME</interface-name>
</vrrp-clear-session-ipv4-statistics>
Command Syntax
clear vrrp ipv4 statistics <1-255> IFNAME
clear vrrp ipv6 statistics <1-255> IFNAME
Attribute Name: vrrp-id
Attribute Type: uint8
Attribute Range: 1-255
Attribute Name: interface-name
Attribute Type: string
Netconf RPC payload
<vrrp-clear-session-ipv6-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<vrrp-id>1</vrrp-id>
<interface-name>IFNAME</interface-name>
</vrrp-clear-session-ipv6-statistics>
Command Syntax
clear vrrp ipv6 statistics <1-255> IFNAME
debug vrrp
Netconf RPC payload
<vrrp-terminal-debug-all-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp"/>
Command Syntax
debug vrrp
no debug vrrp
Netconf RPC payload
<vrrp-terminal-debug-all-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp"/>
Command Syntax
no debug vrrp
debug vrrp (all|packet|events|packet send|packet recv)
Attribute Name: terminal-debug-options
Attribute Type: bits (all|packet|events|packet send|packet recv)
Netconf RPC payload
<vrrp-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<terminal-debug-options>all</terminal-debug-options>
</vrrp-terminal-debug-on>
Command Syntax
debug vrrp (all|packet|events|packet send|packet recv)
no debug vrrp (all|packet|events|packet send|packet recv)
Attribute Name: terminal-debug-options
Attribute Type: bits (all|packet|events|packet send|packet recv)
Netconf RPC payload
<vrrp-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrrp">
<terminal-debug-options>all</terminal-debug-options>
</vrrp-terminal-debug-off>
Command Syntax
no debug vrrp (all|packet|events|packet send|packet recv)
Last modified date: 08/24/2023