BGP
Diagram
Classes
routing (nxos.devices.configuration)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
bgp | Class | [bgp] | No |
bgp (nxos.devices.configuration.routing)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
asn | String | No | ||
enhanced_error_handling | Boolean | true , false | No | |
peer_templates | List | [peer_templates] | No | |
vrfs | List | [vrfs] | No |
peer_templates (nxos.devices.configuration.routing.bgp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
asn | String | No | ||
description | String | No | ||
peer_type | Choice | fabric-internal , fabric-external , fabric-border-leaf | No | |
source_interface | String | No | ||
address_families | List | [address_families] | No |
vrfs (nxos.devices.configuration.routing.bgp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
vrf | String | Yes | ||
router_id | String | No | ||
log_neighbor_changes | Boolean | true , false | No | |
graceful_restart_stalepath_time | Integer | min: 1 , max: 3600 | No | |
graceful_restart_restart_time | Integer | min: 1 , max: 3600 | No | |
neighbors | List | [neighbors] | No | |
address_families | List | [address_families] | No |
address_families (nxos.devices.configuration.routing.bgp.peer_templates)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
address_family | Choice | ipv4_unicast , ipv6_unicast , l2vpn_evpn | Yes | |
send_community_standard | Boolean | true , false | No | |
send_community_extended | Boolean | true , false | No | |
route_reflector_client | Boolean | true , false | No |
neighbors (nxos.devices.configuration.routing.bgp.vrfs)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip | IP | Yes | ||
asn | String | No | ||
peer_template | String | No | ||
description | String | No | ||
peer_type | Choice | fabric-internal , fabric-external , fabric-border-leaf | No | |
source_interface | String | No | ||
address_families | List | [address_families] | No |
address_families (nxos.devices.configuration.routing.bgp.vrfs)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
address_family | Choice | ipv4_unicast , ipv6_unicast | Yes | |
advertise_l2vpn_evpn | Boolean | true , false | No | |
advertise_only_active_routes | Boolean | true , false | No | |
advertise_physical_ip_for_type5_routes | Boolean | true , false | No | |
critical_nexthop_timeout | Integer | min: 1 , max: 4294967295 | No | |
default_information_originate | Boolean | true , false | No | |
max_ecmp_paths | Integer | min: 1 , max: 128 | No | |
max_external_ecmp_paths | Integer | min: 1 , max: 128 | No | |
max_external_internal_ecmp_paths | Integer | min: 1 , max: 128 | No | |
max_local_ecmp_paths | Integer | min: 1 , max: 128 | No | |
max_mixed_ecmp_paths | Integer | min: 1 , max: 128 | No | |
next_hop_route_map_name | String | No | ||
non_critical_nexthop_timeout | Integer | min: 1 , max: 4294967295 | No | |
prefix_priority | Choice | none , high | No | |
retain_rt_all | Boolean | true , false | No | |
table_map_route_map_name | String | No | ||
vni_ethernet_tag | Boolean | true , false | No | |
wait_igp_converged | Boolean | true , false | No | |
networks | List | [networks] | No | |
redistributions | List | [redistributions] | No |
address_families (nxos.devices.configuration.routing.bgp.vrfs.neighbors)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
address_family | Choice | ipv4_unicast , ipv6_unicast , l2vpn_evpn | Yes | |
send_community_standard | Boolean | true , false | No | |
send_community_extended | Boolean | true , false | No | |
route_reflector_client | Boolean | true , false | No | |
route_map_in | String | No | ||
route_map_out | String | No |
networks (nxos.devices.configuration.routing.bgp.vrfs.address_families)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
prefix | String | Yes | ||
evpn | Boolean | true , false | No | |
route_map | String | No |
redistributions (nxos.devices.configuration.routing.bgp.vrfs.address_families)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
protocol | Choice | srv6 , unspecified , static , direct , bgp , isis , ospf , ospfv3 , eigrp , host , rip , amt , lisp , hmm , am | Yes | |
protocol_instance | String | No | ||
route_map | String | No | ||
scope | Choice | intra , inter , defrt | No | |
srv6_prefix_type | Choice | unspecified , locator | No |
Examples
nxos:
devices:
- name: Device1
configuration:
routing:
bgp:
asn: 65000
peer_templates:
- name: Peers
asn: 65001
address_families:
- address_family: ipv4_unicast
send_community_standard: true
send_community_extended: true
vrfs:
- name: default
neighbors:
- ip: 2.3.4.5
peer_template: Peers