VRRPv3
NX-OSVRRPv3 (Virtual Router Redundancy Protocol version 3) provides first-hop gateway redundancy for IPv4 and IPv6 networks on NX-OS. VRRPv3 groups are configured per interface and address family on VLAN, Ethernet and port-channel interfaces as well as Ethernet/port-channel subinterfaces, and support primary and secondary virtual addresses, priority-based election, preemption with a minimum delay, millisecond advertisement timers, VRRPv2 compatibility, secondary address matching, object tracking with priority decrement and VRRS leader tags. The interface-level settings fhrp_delay_minimum and fhrp_delay_reload delay the start of the VRRPv3 state machine after an interface comes up or after a reload, and vrrs_pathways define VRRS pathways that follow the state of a VRRS leader group. VRRPv3 requires feature.vrrpv3 and is mutually exclusive with VRRP version 2 (feature.vrrp).
Diagram
Section titled “Diagram”Classes
Section titled “Classes”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| devices | List | devices | No | |
| device_groups | List | device_groups | No | |
| global | Class | global | No | |
| templates | List | templates | No | |
| interface_ | List | interface_ | No |
devices (nxos)
Section titled “devices (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
device_groups (nxos)
Section titled “device_groups (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
global (nxos)
Section titled “global (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
templates (nxos)
Section titled “templates (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
interface_groups (nxos)
Section titled “interface_groups (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
configuration (nxos.devices)
Section titled “configuration (nxos.devices)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| interfaces | Class | interfaces | No |
configuration (nxos.interface_groups)
Section titled “configuration (nxos.interface_groups)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| subinterfaces | List | subinterfaces | No | |
| vrrpv3_groups | List | vrrpv3_groups | No | |
| vrrs_pathways | List | vrrs_pathways | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No |
interfaces (nxos.devices.configuration)
Section titled “interfaces (nxos.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| vlans | List | vlans | No | |
| ethernets | List | ethernets | No | |
| port_channels | List | port_channels | No |
ethernets (nxos.devices.configuration.interfaces)
Section titled “ethernets (nxos.devices.configuration.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| subinterfaces | List | subinterfaces | No | |
| vrrpv3_groups | List | vrrpv3_groups | No | |
| vrrs_pathways | List | vrrs_pathways | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No |
port_channels (nxos.devices.configuration.interfaces)
Section titled “port_channels (nxos.devices.configuration.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| subinterfaces | List | subinterfaces | No | |
| vrrpv3_groups | List | vrrpv3_groups | No | |
| vrrs_pathways | List | vrrs_pathways | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No |
vlans (nxos.devices.configuration.interfaces)
Section titled “vlans (nxos.devices.configuration.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| vrrpv3_groups | List | vrrpv3_groups | No | |
| vrrs_pathways | List | vrrs_pathways | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No |
subinterfaces (nxos.devices.configuration.interfaces.ethernets)
Section titled “subinterfaces (nxos.devices.configuration.interfaces.ethernets)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| vrrpv3_groups | List | vrrpv3_groups | No | |
| vrrs_pathways | List | vrrs_pathways | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No | |
| fhrp_ | Integer | min: 0, max: 3600 | No |
vrrpv3_groups (nxos.devices.configuration.interfaces.vlans)
Section titled “vrrpv3_groups (nxos.devices.configuration.interfaces.vlans)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| id | Integer | min: 1, max: 255 | Yes | |
| address_family | Choice | ipv4, ipv6 | Yes | |
| shutdown | Boolean | true, false | No | |
| description | String | No | ||
| address | IP | No | ||
| secondary_ | List | IP | No | |
| match_address | Boolean | true, false | No | |
| preempt | Boolean | true, false | No | |
| preempt_ | Integer | min: 0, max: 3600 | No | |
| priority | Integer | min: 1, max: 254 | No | |
| timers_ | Integer | min: 100, max: 40950 | No | |
| vrrpv2 | Boolean | true, false | No | |
| vrrs_leaders | List | String | No | |
| object_tracks | List | object_tracks | No |
vrrs_pathways (nxos.devices.configuration.interfaces.vlans)
Section titled “vrrs_pathways (nxos.devices.configuration.interfaces.vlans)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| shutdown | Boolean | true, false | No | |
| description | String | No | ||
| mac_address | MAC | No | ||
| mac_ | Integer | min: 1, max: 300 | No | |
| addresses | List | IP | No |
object_tracks (nxos.devices.configuration.interfaces.vlans.vrrpv3_groups)
Section titled “object_tracks (nxos.devices.configuration.interfaces.vlans.vrrpv3_groups)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| id | Integer | min: 1, max: 512 | Yes | |
| decrement | Integer | min: 1, max: 254 | No |
Examples
Section titled “Examples”Example 1: Dual-stack VRRPv3 groups on a tenant SVI
nxos: devices: - name: LEAF1 configuration: feature: interface_vlan: true vrrpv3: true interfaces: vlans: - id: 1010 vrf: BLUE ip: address: 192.168.10.2/24 ipv6: addresses: - address: 2001:db8:10::2/64 vrrpv3_groups: - id: 10 address_family: ipv4 address: 192.168.10.1 priority: 110 preempt: true - id: 10 address_family: ipv6 address: fe80::1 secondary_addresses: - 2001:db8:10::1 priority: 110 preempt: trueExample 2: VRRPv3 with tuned timers, preempt delay, interface delays and object tracking
nxos: devices: - name: LEAF1 configuration: feature: interface_vlan: true vrrpv3: true tracks: - id: 10 interface_type: ethernet interface_id: 1/49 interface_line_protocol: true interfaces: vlans: - id: 1020 vrf: GREEN ip: address: 192.168.20.2/24 fhrp_delay_minimum: 5 fhrp_delay_reload: 30 vrrpv3_groups: - id: 20 address_family: ipv4 description: GREEN-GW address: 192.168.20.1 secondary_addresses: - 192.168.20.3 priority: 120 preempt: true preempt_delay_minimum: 60 timers_advertise: 500 vrrpv2: true object_tracks: - id: 10 decrement: 30Example 3: VRRS leader group with a VRRS pathway
nxos: devices: - name: LEAF1 configuration: feature: interface_vlan: true vrrpv3: true interfaces: vlans: - id: 1030 ip: address: 192.168.30.2/24 vrrpv3_groups: - id: 30 address_family: ipv4 address: 192.168.30.1 vrrs_leaders: - VRRS-30 vrrs_pathways: - name: VRRS-30 description: Pathway following group 30 mac_address: "00:00:11:11:22:22" mac_advert_interval: 20 addresses: - 192.168.30.20 shutdown: false