VRR
The nv unset
commands remove the configuration you set with the equivalent nv set
commands. This guide only describes an nv unset
command if it differs from the nv set
command.
nv set interface <interface-id> ip vrr
Configures Virtual Router Redundancy (VRR) for an interface. VRR enables hosts to communicate with any redundant switch without reconfiguration by running dynamic router protocols or router redundancy protocols. Redundant switches respond to ARP requests from hosts. The switches respond in an identical manner, but if one fails, the other redundant switches continue to respond. You use VRR with MLAG.
nv set interface <interface-id> ip vrr address <ip-prefix-id>
Configures the VRR virtual address and prefix.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
<ip-prefix-id> |
The IPv4 or IPv6 address and route prefix in CIDR notation. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set interface vlan10 ip vrr address 10.1.10.1/24
nv set interface <interface-id> ip vrr enable
Turns VRR on or off on the interface. The default setting is off
.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set interface vlan10 ip vrr enable on
nv set interface <interface-id> ip vrr mac-address <mac-address>
Configures anycast MAC override on the interface.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
<mac-address> |
The anycast MAC address. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set interface vlan10 ip vrr mac-address 00:00:5E:00:01:00
nv set interface <interface-id> ip vrr mac-id <fabric-id>
Configures the fabric ID override on the interface.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
<fabric-id> |
The fabric ID. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set interface vlan10 ip vrr mac-id 1
nv set interface <interface-id> ip vrr state
Configures the state of the interface: up or down. The default setting is down
.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set interface vlan10 ip vrr state up
nv set router vrr
Configures VRR globally on the switch.
nv set router vrr enable
Turns VRR on or off. The default setting is off
.
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set router vrr enable on