Skip to main content

VRF-Lite

Diagram

Classes

overlay_extensions (vxlan)

NameTypeConstraintMandatoryDefault Value
vrf_litesList[vrf_lites]No

vrf_lites (vxlan.overlay_extensions)

NameTypeConstraintMandatoryDefault Value
nameStringYes
vrfStringYes
ospfClass[ospf]No
bgpClass[bgp]No
redistributionList[redistribution]No
switchesList[switches]No

ospf (vxlan.overlay_extensions.vrf_lites)

NameTypeConstraintMandatoryDefault Value
processStringRegex: ^[A-Za-z0-9-_]{1,20}$Yes
default_areaAnyInteger[min: 0, max: 4294967295] or IPNo0
areasList[areas]No
distanceIntegermin: 1, max: 255No110
bfdClass[bfd]No

bgp (vxlan.overlay_extensions.vrf_lites)

NameTypeConstraintMandatoryDefault Value
best_path_as_path_relaxBooleantrue, falseNofalse
graceful_restartBooleantrue, falseNotrue
graceful_restart_helperBooleantrue, falseNofalse
local_asIntegermin: 1, max: 4294967295No
address_family_ipv4_unicastClass[address_family_ipv4_unicast]No
address_family_ipv6_unicastClass[address_family_ipv6_unicast]No

redistribution (vxlan.overlay_extensions.vrf_lites)

NameTypeConstraintMandatoryDefault Value
sourceChoicebgp, ospf, static, directNo
protocol_tagStringNo
route_map_ipv4StringNo
route_map_ipv6StringNo

switches (vxlan.overlay_extensions.vrf_lites)

NameTypeConstraintMandatoryDefault Value
nameStringYes
router_idIPNo
loopback_idIntegermin: 0, max: 1023No
static_routesList[static_routes]No
interfacesList[interfaces]No
bgpClass[bgp]No
ospfClass[ospf]No
bgp_peersList[bgp_peers]No
redistributionList[redistribution]No

areas (vxlan.overlay_extensions.vrf_lites.ospf)

NameTypeConstraintMandatoryDefault Value
idAnyInteger[min: 0, max: 4294967295] or IPNo
area_typeChoicestandard, stub, nssa, totally_stubNostandard
area_costIntegermin: 1, max: 16777215No
nssaClass[nssa]No
default_information_originateClass[default_information_originate]No

bfd (vxlan.overlay_extensions.vrf_lites.ospf)

NameTypeConstraintMandatoryDefault Value
enabledBooleantrue, falseNofalse

address_family_ipv4_unicast (vxlan.overlay_extensions.vrf_lites.bgp)

NameTypeConstraintMandatoryDefault Value
additional_paths_sendBooleantrue, falseNofalse
additional_paths_receiveBooleantrue, falseNofalse
additional_paths_selection_route_mapStringNo
default_originateBooleantrue, falseNofalse
ebgp_distanceIntegermin: 1, max: 255No20
ibgp_distanceIntegermin: 1, max: 255No200
local_distanceIntegermin: 1, max: 255No220

static_routes (vxlan.overlay_extensions.vrf_lites.switches)

NameTypeConstraintMandatoryDefault Value
prefixIPNo
route_tagIntegermin: 0, max: 4294967295No
next_hopsList[next_hops]No

interfaces (vxlan.overlay_extensions.vrf_lites.switches)

NameTypeConstraintMandatoryDefault Value
nameAnyString[Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$] or String[Regex: (?i)^(po|port-channel)([1-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|40[0-8][0-9]|409[0-6])$] or String[Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}\.\d{1,4}$] or String[Regex: (?i)^(?:po|port-channel:?)((?:[1-9]|[1-9]\d{1,2}|[1-3]\d{3}|40[0-8]\d|409[0-6]:?)\.(?:[1-9]|[1-9]\d{1,2}|[1-3]\d{3}|40[0-8]\d|409[0-3]:?))$] or String[Regex: (?i)^(lo|loopback)([0-9]|[1-9][0-9]{1,2}|10[0-1][0-9]|102[0-3])$]Yes
ospfClass[ospf]No

bgp_peers (vxlan.overlay_extensions.vrf_lites.switches)

NameTypeConstraintMandatoryDefault Value
addressIPYes
remote_asIntegermin: 1, max: 4294967295No
local_asIntegermin: 1, max: 4294967295No
update_sourceStringNo
descriptionStringNo
passwordStringNo
bfdClass[bfd]No
disable_connected_checkBooleantrue, falseNofalse
remove_private_asBooleantrue, falseNofalse
remove_private_as_allBooleantrue, falseNofalse
ebgp_multihopIntegermin: 2, max: 255No2
address_family_ipv4_unicastClass[address_family_ipv4_unicast]No
address_family_ipv6_unicastClass[address_family_ipv6_unicast]No

nssa (vxlan.overlay_extensions.vrf_lites.ospf.areas)

NameTypeConstraintMandatoryDefault Value
default_information_originateBooleantrue, falseNo
route_mapStringNo
no_redistributionBooleantrue, falseNo
no_summaryBooleantrue, falseNo
translateClass[translate]No

default_information_originate (vxlan.overlay_extensions.vrf_lites.ospf.areas)

NameTypeConstraintMandatoryDefault Value
alwaysBooleantrue, falseNo
route_mapStringNo

next_hops (vxlan.overlay_extensions.vrf_lites.switches.static_routes)

NameTypeConstraintMandatoryDefault Value
ipIPNo

ospf (vxlan.overlay_extensions.vrf_lites.switches.interfaces)

NameTypeConstraintMandatoryDefault Value
areaAnyInteger[min: 0, max: 4294967295] or IPNo
auth_typeChoicenone, simple, md5Nonone
auth_key_idIntegermin: 0, max: 255No0
auth_keyStringNo
costIntegermin: 1, max: 65535No1
passive_interfaceBooleantrue, falseNofalse
mtu_ignoreBooleantrue, falseNofalse
advertise_subnetBooleantrue, falseNofalse
bfdClass[bfd]No
hello_intervalIntegermin: 1, max: 65535No10
dead_intervalIntegermin: 1, max: 65535No40
network_typeChoicepoint-to-point, broadcastNobroadcast
priorityIntegermin: 0, max: 255No1
lsa_retransmit_intervalIntegermin: 1, max: 65535No5
lsa_transmit_delayIntegermin: 1, max: 65535No1

address_family_ipv4_unicast (vxlan.overlay_extensions.vrf_lites.switches.bgp_peers)

NameTypeConstraintMandatoryDefault Value
send_communityBooleantrue, falseNofalse
send_ext_communityBooleantrue, falseNofalse
allow_as_inBooleantrue, falseNofalse
allow_as_in_numberIntegermin: 1, max: 10No3
as_overrideBooleantrue, falseNofalse
default_originateBooleantrue, falseNofalse
next_hop_selfBooleantrue, falseNofalse
route_reflector_clientBooleantrue, falseNofalse
weightIntegermin: 0, max: 65535No
route_map_inStringNo
route_map_outStringNo

translate (vxlan.overlay_extensions.vrf_lites.ospf.areas.nssa)

NameTypeConstraintMandatoryDefault Value
alwaysBooleantrue, falseNo
neverBooleantrue, falseNo
supress_faBooleantrue, falseNo

Examples

vxlan:
overlay_extensions:
vrf_lites:
- name: ospf_vrf_red_vrf_lite
vrf: vrf_red
ospf:
process: EXTERNAL
default_area: 0
areas:
- id: 0
area_type: standard
area_cost: 1
distance: 120
bfd:
enabled: true
redistribution:
- source: bgp
route_map: fabric-rmp-redist-bgp
- source: ospf
route_map: fabric-rmp-redist-ospf
- source: direct
route_map: fabric-rmp-redist-direct
- source: static
route_map: fabric-rmp-redist-static
switches:
- name: dc-border1
router_id: 1.1.1.1
loopback_id: 101
static_routes:
- prefix: 10.1.1.0/24
route_tag: 12345
next_hops:
- ip: 192.168.10.1
- ip: 192.168.20.1
interfaces:
- name: ethernet1/1
ospf:
area: 1
auth_type: simple
auth_key_id: 0
auth_key: a667d47acc18ea6b # 3DES encrypted
cost: 40
passive_interface: true
mtu_ignore: true
bfd:
enabled: true
hello_interval: 30
dead_interval: 180
network_type: point-to-point
priority: 100
lsa_retransmit_interval: 6
lsa_transmit_delay: 2
- name: dc-border2
router_id: 2.2.2.2
loopback_id: 101
static_routes:
- prefix: 10.1.1.0/24
route_tag: 12345
next_hops:
- ip: 192.168.10.1
- ip: 192.168.20.1
interfaces:
- name: ethernet1/1
ospf:
area: 1
- name: bgp_vrf_red_vrf_lite
vrf: vrf_red
bgp:
best_path_as_path_relax: true
graceful_restart: false
graceful_restart_helper: true
local_as: 1101
address_family_ipv4_unicast:
additional_paths_receive: true
additional_paths_send: true
additional_paths_selection_route_map:
default_originate: true
ebgp_distance: 25
ibgp_distance: 180
local_distance: 200
address_family_ipv6_unicast:
ebgp_distance: 25
ibgp_distance: 180
local_distance: 200
redistribution:
- source: bgp
route_map: fabric-rmp-redist-bgp
- source: ospf
route_map: fabric-rmp-redist-ospf
- source: direct
route_map: fabric-rmp-redist-direct
- source: static
route_map: fabric-rmp-redist-static
switches:
- name: dc-border1
router_id: 1.1.1.1
loopback_id: 101
static_routes:
- prefix: 10.1.1.0/24
route_tag: 12345
next_hops:
- ip: 192.168.10.1
- ip: 192.168.20.1
interfaces:
- name: eth1/2.100
bgp_peers:
- address: 10.1.1.1
remote_as: 65010
local_as: 1234
description: BGP Peer 1
update_source: Loopback101
bfd:
enabled: true
disable_connected_check: true
remove_private_as: true
remove_private_as_all: true
password: 014903c077689077e5b4548432c3d91d # 3DES encrypted password
- name: dc-border2
router_id: 2.2.2.2
loopback_id: 101
static_routes:
- prefix: 10.1.1.0/24
route_tag: 12345
next_hops:
- ip: 192.168.10.1
- ip: 192.168.20.1
interfaces:
- name: ethernet1/2
bgp:
best_path_as_path_relax: true
local_as: 1102
address_family_ipv4_unicast:
additional_paths_receive: true
additional_paths_send: true
additional_paths_selection_route_map: addtionalpath_route_map
redistribution:
- source: direct
route_map: fabric-rmp-redist-direct
- source: static
route_map: fabric-rmp-redist-static
bgp_peers:
- address: 192.168.1.0/24
remote_as: 65010
description: k8s nodes
ebgp_multihop: 5
address_family_ipv4_unicast:
route_map_out: route-map-k8s-node-out
weight: 100
- address: 2002::1
remote_as: 4876387
address_family_ipv4_unicast:
send_community: true
send_ext_community: true
as_override: true
next_hop_self: true
default_originate: true
route_map_in: route-map-isp-ipv4-in
route_map_out: route-map-isp-ipv4-out
address_family_ipv6_unicast:
send_community: true
send_ext_community: true
route_map_in: route-map-isp-ipv6-in
route_map_out: route-map-isp-ipv6-out