Skip to main content

BGP

Diagram

Classes

routing (nxos.devices.configuration)

NameTypeConstraintMandatoryDefault Value
bgpClass[bgp]No

bgp (nxos.devices.configuration.routing)

NameTypeConstraintMandatoryDefault Value
asnStringNo
enhanced_error_handlingBooleantrue, falseNo
peer_templatesList[peer_templates]No
vrfsList[vrfs]No

peer_templates (nxos.devices.configuration.routing.bgp)

NameTypeConstraintMandatoryDefault Value
nameStringYes
asnStringNo
descriptionStringNo
peer_typeChoicefabric-internal, fabric-external, fabric-border-leafNo
source_interfaceStringNo
address_familiesList[address_families]No

vrfs (nxos.devices.configuration.routing.bgp)

NameTypeConstraintMandatoryDefault Value
vrfStringYes
router_idStringNo
log_neighbor_changesBooleantrue, falseNo
graceful_restart_stalepath_timeIntegermin: 1, max: 3600No
graceful_restart_restart_timeIntegermin: 1, max: 3600No
neighborsList[neighbors]No

address_families (nxos.devices.configuration.routing.bgp.peer_templates)

NameTypeConstraintMandatoryDefault Value
address_familyChoiceipv4_unicast, ipv6_unicast, l2vpn_evpnYes
send_community_standardBooleantrue, falseNo
send_community_extendedBooleantrue, falseNo
route_reflector_clientBooleantrue, falseNo

neighbors (nxos.devices.configuration.routing.bgp.vrfs)

NameTypeConstraintMandatoryDefault Value
ipIPYes
asnStringNo
peer_templateStringNo
descriptionStringNo
peer_typeChoicefabric-internal, fabric-external, fabric-border-leafNo
source_interfaceStringNo
address_familiesList[address_families]No

address_families (nxos.devices.configuration.routing.bgp.vrfs.neighbors)

NameTypeConstraintMandatoryDefault Value
address_familyChoiceipv4_unicast, ipv6_unicast, l2vpn_evpnYes
send_community_standardBooleantrue, falseNo
send_community_extendedBooleantrue, falseNo
route_reflector_clientBooleantrue, falseNo

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