VRF-Lite
Diagram
Classes
overlay_extensions (vxlan)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
vrf_lites | List | [vrf_lites] | No |
vrf_lites (vxlan.overlay_extensions)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
vrf | String | Yes | ||
ospf | Class | [ospf] | No | |
bgp | Class | [bgp] | No | |
redistribution | List | [redistribution] | No | |
switches | List | [switches] | No |
ospf (vxlan.overlay_extensions.vrf_lites)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
process | String | Regex: ^[A-Za-z0-9-_]{1,20}$ | Yes | |
default_area | Any | Integer[min: 0 , max: 4294967295 ] or IP | No | 0 |
areas | List | [areas] | No | |
distance | Integer | min: 1 , max: 255 | No | 110 |
bfd | Class | [bfd] | No |
bgp (vxlan.overlay_extensions.vrf_lites)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
best_path_as_path_relax | Boolean | true , false | No | false |
graceful_restart | Boolean | true , false | No | true |
graceful_restart_helper | Boolean | true , false | No | false |
local_as | Integer | min: 1 , max: 4294967295 | No | |
address_family_ipv4_unicast | Class | [address_family_ipv4_unicast] | No | |
address_family_ipv6_unicast | Class | [address_family_ipv6_unicast] | No |
redistribution (vxlan.overlay_extensions.vrf_lites)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
source | Choice | bgp , ospf , static , direct | No | |
protocol_tag | String | No | ||
route_map_ipv4 | String | No | ||
route_map_ipv6 | String | No |
switches (vxlan.overlay_extensions.vrf_lites)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
router_id | IP | No | ||
loopback_id | Integer | min: 0 , max: 1023 | No | |
static_routes | List | [static_routes] | No | |
interfaces | List | [interfaces] | No | |
bgp | Class | [bgp] | No | |
ospf | Class | [ospf] | No | |
bgp_peers | List | [bgp_peers] | No | |
redistribution | List | [redistribution] | No |
areas (vxlan.overlay_extensions.vrf_lites.ospf)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
id | Any | Integer[min: 0 , max: 4294967295 ] or IP | No | |
area_type | Choice | standard , stub , nssa , totally_stub | No | standard |
area_cost | Integer | min: 1 , max: 16777215 | No | |
nssa | Class | [nssa] | No | |
default_information_originate | Class | [default_information_originate] | No |
bfd (vxlan.overlay_extensions.vrf_lites.ospf)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
enabled | Boolean | true , false | No | false |
address_family_ipv4_unicast (vxlan.overlay_extensions.vrf_lites.bgp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
additional_paths_send | Boolean | true , false | No | false |
additional_paths_receive | Boolean | true , false | No | false |
additional_paths_selection_route_map | String | No | ||
default_originate | Boolean | true , false | No | false |
ebgp_distance | Integer | min: 1 , max: 255 | No | 20 |
ibgp_distance | Integer | min: 1 , max: 255 | No | 200 |
local_distance | Integer | min: 1 , max: 255 | No | 220 |
static_routes (vxlan.overlay_extensions.vrf_lites.switches)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
prefix | IP | No | ||
route_tag | Integer | min: 0 , max: 4294967295 | No | |
next_hops | List | [next_hops] | No |
interfaces (vxlan.overlay_extensions.vrf_lites.switches)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | Any | String[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 | |
ospf | Class | [ospf] | No |
bgp_peers (vxlan.overlay_extensions.vrf_lites.switches)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
address | IP | Yes | ||
remote_as | Integer | min: 1 , max: 4294967295 | No | |
local_as | Integer | min: 1 , max: 4294967295 | No | |
update_source | String | No | ||
description | String | No | ||
password | String | No | ||
bfd | Class | [bfd] | No | |
disable_connected_check | Boolean | true , false | No | false |
remove_private_as | Boolean | true , false | No | false |
remove_private_as_all | Boolean | true , false | No | false |
ebgp_multihop | Integer | min: 2 , max: 255 | No | 2 |
address_family_ipv4_unicast | Class | [address_family_ipv4_unicast] | No | |
address_family_ipv6_unicast | Class | [address_family_ipv6_unicast] | No |
nssa (vxlan.overlay_extensions.vrf_lites.ospf.areas)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
default_information_originate | Boolean | true , false | No | |
route_map | String | No | ||
no_redistribution | Boolean | true , false | No | |
no_summary | Boolean | true , false | No | |
translate | Class | [translate] | No |
default_information_originate (vxlan.overlay_extensions.vrf_lites.ospf.areas)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
always | Boolean | true , false | No | |
route_map | String | No |
next_hops (vxlan.overlay_extensions.vrf_lites.switches.static_routes)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip | IP | No |
ospf (vxlan.overlay_extensions.vrf_lites.switches.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
area | Any | Integer[min: 0 , max: 4294967295 ] or IP | No | |
auth_type | Choice | none , simple , md5 | No | none |
auth_key_id | Integer | min: 0 , max: 255 | No | 0 |
auth_key | String | No | ||
cost | Integer | min: 1 , max: 65535 | No | 1 |
passive_interface | Boolean | true , false | No | false |
mtu_ignore | Boolean | true , false | No | false |
advertise_subnet | Boolean | true , false | No | false |
bfd | Class | [bfd] | No | |
hello_interval | Integer | min: 1 , max: 65535 | No | 10 |
dead_interval | Integer | min: 1 , max: 65535 | No | 40 |
network_type | Choice | point-to-point , broadcast | No | broadcast |
priority | Integer | min: 0 , max: 255 | No | 1 |
lsa_retransmit_interval | Integer | min: 1 , max: 65535 | No | 5 |
lsa_transmit_delay | Integer | min: 1 , max: 65535 | No | 1 |
address_family_ipv4_unicast (vxlan.overlay_extensions.vrf_lites.switches.bgp_peers)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
send_community | Boolean | true , false | No | false |
send_ext_community | Boolean | true , false | No | false |
allow_as_in | Boolean | true , false | No | false |
allow_as_in_number | Integer | min: 1 , max: 10 | No | 3 |
as_override | Boolean | true , false | No | false |
default_originate | Boolean | true , false | No | false |
next_hop_self | Boolean | true , false | No | false |
route_reflector_client | Boolean | true , false | No | false |
weight | Integer | min: 0 , max: 65535 | No | |
route_map_in | String | No | ||
route_map_out | String | No |
translate (vxlan.overlay_extensions.vrf_lites.ospf.areas.nssa)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
always | Boolean | true , false | No | |
never | Boolean | true , false | No | |
supress_fa | Boolean | true , false | No |
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