Border Gateway Protocol (BGP) is the de facto standard path-vector protocol used to exchange routing information between autonomous systems, supporting multi-address-family deployments including IPv4 unicast, IPv6 unicast, and L2VPN EVPN on NX-OS. It provides extensive policy control through peer templates, route maps, prefix lists, and per-neighbor address-family configuration with granular route filtering, community manipulation, and next-hop processing for both eBGP and iBGP sessions. BGP supports advanced features including enhanced error handling, graceful restart, route reflector functionality, maximum prefix limits, policy batching control, and fabric SOO for VXLAN EVPN deployments.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value routing Class routing No
Name Type Constraint Mandatory Default Value bgp Class bgp No
Name Type Constraint Mandatory Default Value asn Any String or Integer[min: 0, max: 4294967295] No shutdown Boolean true, falseNo disable_ policy_ batching Boolean true, falseNo disable_ policy_ batching_ nexthop Boolean true, falseNo disable_ policy_ batching_ ipv4_ prefix_ list String No disable_ policy_ batching_ ipv6_ prefix_ list String No fabric_soo String No flush_routes Boolean true, falseNo isolate Choice enabled, disabled, include-local, customNo isolate_ route_ map String No med_ dampening_ interval Integer min: 60, max: 4294967295 No mvpn_vri_id Integer min: 1, max: 65535 No nexthop_ suppress_ default_ resolution Boolean true, falseNo rd_dual Boolean true, falseNo rd_dual_id Integer min: 1, max: 65535 No peer_templates List peer_templates No peer_ session_ templates List peer_ session_ templates No peer_ policy_ templates List peer_ policy_ templates No router_id IP No allocate_index Integer min: 1, max: 8000 No bestpath_ limit_ always Boolean true, falseNo bestpath_limit Integer min: 1, max: 3600 No reference_ bandwidth Integer min: 0, max: 4294967295 No reference_ bandwidth_ unit Choice mbps, gbpsNo cluster_id Any IP or Integer[min: 0, max: 4294967295] or String[Regex: ^.*[$%]\{.*$] No hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No local_as Any String or Integer[min: 0, max: 4294967295] No maxas_limit Integer min: 1, max: 512 No mode Choice fabric, external, proxyNo prefix_ peer_ timeout Integer min: 0, max: 1200 No prefix_ peer_ wait Integer min: 0, max: 1200 No reconnect_ interval Integer min: 1, max: 60 No router_id_auto Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo enforce_ first_ as Boolean true, falseNo neighbor_ down_ fib_ accelerate Boolean true, falseNo suppress_ fib_ pending Boolean true, falseNo graceful_ restart Choice helper, completeNo graceful_ restart_ restart_ time Integer min: 1, max: 3600 No graceful_ restart_ stalepath_ time Integer min: 1, max: 3600 No bestpath Class bestpath No neighbors List neighbors No address_ families List address_ families No vrfs List vrfs No
Name Type Constraint Mandatory Default Value asn Any String or Integer[min: 0, max: 4294967295] No shutdown Boolean true, falseNo disable_ policy_ batching Boolean true, falseNo disable_ policy_ batching_ nexthop Boolean true, falseNo disable_ policy_ batching_ ipv4_ prefix_ list String No disable_ policy_ batching_ ipv6_ prefix_ list String No fabric_soo String No flush_routes Boolean true, falseNo isolate Choice enabled, disabled, include-local, customNo isolate_ route_ map String No med_ dampening_ interval Integer min: 60, max: 4294967295 No nexthop_ suppress_ default_ resolution Boolean true, falseNo rd_dual Boolean true, falseNo rd_dual_id Integer min: 1, max: 65535 No peer_templates List peer_templates No router_id IP No allocate_index Integer min: 1, max: 8000 No bestpath_ limit_ always Boolean true, falseNo bestpath_limit Integer min: 1, max: 3600 No bandwidth_ reference Integer min: 0, max: 4294967295 No bandwidth_ reference_ unit Choice mbps, gbpsNo cluster_id Any IP or Integer[min: 0, max: 4294967295] or String[Regex: ^.*[$%]\{.*$] No hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No local_as Any String or Integer[min: 0, max: 4294967295] No maxas_limit Integer min: 1, max: 512 No mode Choice fabric, external, proxyNo prefix_ peer_ timeout Integer min: 0, max: 1200 No prefix_ peer_ wait Integer min: 0, max: 1200 No reconnect_ interval Integer min: 1, max: 60 No router_id_auto Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo enforce_ first_ as Boolean true, falseNo neighbor_ down_ fib_ accelerate Boolean true, falseNo suppress_ fib_ pending Boolean true, falseNo graceful_ restart Choice helper, completeNo graceful_ restart_ restart_ time Integer min: 1, max: 3600 No graceful_ restart_ stalepath_ time Integer min: 1, max: 3600 No neighbors List neighbors No address_ families List address_ families No vrfs List vrfs No
Name Type Constraint Mandatory Default Value name String Yes remote_as Any String or Integer[min: 0, max: 4294967295] No description String No peer_type Choice fabric-internal, fabric-external, fabric-border-leafNo update_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo update_ source_ interface_ id Any String or Integer[min: 0] No shutdown Boolean true, falseNo affinity_group Integer min: 0, max: 65535 No bfd_multihop Boolean true, falseNo bmp_ activate_ server_ 1 Boolean true, falseNo bmp_ activate_ server_ 2 Boolean true, falseNo capability_ suppress_ 4_ byte_ as Boolean true, falseNo transport_ connection_ mode Choice passiveNo bfd Boolean true, falseNo disable_ connected_ check Boolean true, falseNo dont_ capability_ negotiate Boolean true, falseNo dynamic_ capability Boolean true, falseNo hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No log_ neighbor_ changes Boolean true, falseNo low_ memory_ exempt Boolean true, falseNo maximum_peers Integer min: 1, max: 1000 No password_type Choice 0, 3, line, 6, 7No password String No remove_ private_ as Choice none, enabled, all, replace-asNo inherit_ peer_ session String No ebgp_ multihop_ ttl Integer min: 2, max: 255 No ttl_ security_ hops Integer min: 1, max: 254 No address_ families List address_ families No
Name Type Constraint Mandatory Default Value name String Yes remote_as Any String or Integer[min: 0, max: 4294967295] No description String No peer_type Choice fabric-internal, fabric-external, fabric-border-leafNo update_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo update_ source_ interface_ id Any String or Integer[min: 0] No shutdown Boolean true, falseNo affinity_group Integer min: 0, max: 65535 No bfd_multihop Boolean true, falseNo bmp_ activate_ server_ 1 Boolean true, falseNo bmp_ activate_ server_ 2 Boolean true, falseNo capability_ suppress_ 4_ byte_ as Boolean true, falseNo connection_mode Choice passiveNo bfd Boolean true, falseNo disable_ connected_ check Boolean true, falseNo dont_ capability_ negotiate Boolean true, falseNo dynamic_ capability Boolean true, falseNo hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No log_ neighbor_ changes Boolean true, falseNo low_ memory_ exempt Boolean true, falseNo maximum_peers Integer min: 1, max: 1000 No password_type Choice 0, 3, line, 6, 7No password String No remove_ private_ as Choice none, enabled, all, replace-asNo inherit_ peer_ session String No ebgp_ multihop_ ttl Integer min: 2, max: 255 No ttl_ security_ hops Integer min: 1, max: 254 No address_ families List address_ families No
Name Type Constraint Mandatory Default Value name String Yes remote_as Any String or Integer[min: 0, max: 4294967295] No description String No peer_type Choice fabric-internal, fabric-external, fabric-border-leafNo update_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo update_ source_ interface_ id Any String or Integer[min: 0] No shutdown Boolean true, falseNo affinity_group Integer min: 0, max: 65535 No bfd Boolean true, falseNo bfd_multihop Boolean true, falseNo bmp_ activate_ server_ 1 Boolean true, falseNo bmp_ activate_ server_ 2 Boolean true, falseNo capability_ suppress_ 4_ byte_ as Boolean true, falseNo transport_ connection_ mode Choice passiveNo disable_ connected_ check Boolean true, falseNo dont_ capability_ negotiate Boolean true, falseNo dynamic_ capability Boolean true, falseNo hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No log_ neighbor_ changes Boolean true, falseNo low_ memory_ exempt Boolean true, falseNo maximum_peers Integer min: 1, max: 1000 No password_type Choice 0, 3, line, 6, 7No password String No remove_ private_ as Choice none, enabled, all, replace-asNo inherit_ peer_ session String No ebgp_ multihop_ ttl Integer min: 2, max: 255 No ttl_ security_ hops Integer min: 1, max: 254 No local_as Any String or Integer[min: 0, max: 4294967295] No local_ as_ propagation Choice none, no-prepend, replace-as, dual-asNo dscp Integer min: 0, max: 63 No internal_ vpn_ client Boolean true, falseNo
Name Type Constraint Mandatory Default Value name String Yes send_ community_ standard Boolean true, falseNo send_ community_ extended Boolean true, falseNo route_ reflector_ client Boolean true, falseNo next_hop_self Boolean true, falseNo next_ hop_ self_ all Boolean true, falseNo disable_ peer_ as_ check Boolean true, falseNo allowas_in Boolean true, falseNo allowas_ in_ count Integer min: 0, max: 10 No default_ originate Boolean true, falseNo default_ originate_ route_ map String No suppress_ inactive Boolean true, falseNo advertisement_ interval Integer min: 1, max: 600 No advertise_ local_ labeled_ route Boolean true, falseNo aigp Boolean true, falseNo as_override Boolean true, falseNo capability_ additional_ paths_ send Boolean true, falseNo capability_ additional_ paths_ receive Boolean true, falseNo dmz_ link_ bandwidth Boolean true, falseNo link_ bandwidth_ cumulative Boolean true, falseNo next_ hop_ third_ party Boolean true, falseNo soft_ reconfiguration_ inbound Choice none, inbound, inbound-alwaysNo soo String No unsuppress_map String No weight Integer min: 0, max: 65535 No maximum_prefix Class maximum_prefix No route_map_in String No route_map_out String No prefix_list_in String No prefix_list_out String No filter_list_in String No filter_list_out String No inherit_ peer_ policies List inherit_ peer_ policies No
Name Type Constraint Mandatory Default Value always_ compare_ med Boolean true, falseNo compare_ routerid Boolean true, falseNo compare_ neighborid Boolean true, falseNo as_path_ignore Boolean true, falseNo as_ path_ multipath_ relax Boolean true, falseNo aigp_ignore Boolean true, falseNo cost_ community_ ignore Boolean true, falseNo igp_ metric_ ignore Boolean true, falseNo med_confed Boolean true, falseNo med_ missing_ as_ worst Boolean true, falseNo med_ non_ deterministic Boolean true, falseNo
Name Type Constraint Mandatory Default Value ip IP No interface_type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo interface_id Any String or Integer[min: 0] No remote_as Any String or Integer[min: 0, max: 4294967295] No description String No inherit_peer String No peer_type Choice fabric-internal, fabric-external, fabric-border-leafNo update_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo update_ source_ interface_ id Any String or Integer[min: 0] No hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No ebgp_ multihop_ ttl Integer min: 2, max: 255 No bfd Boolean true, falseNo disable_ connected_ check Boolean true, falseNo dont_ capability_ negotiate Boolean true, falseNo dynamic_ capability Boolean true, falseNo password_type Choice 0, 3, line, 6, 7No password String No shutdown Boolean true, falseNo affinity_group Integer min: 0, max: 65535 No bfd_multihop Boolean true, falseNo bmp_ activate_ server_ 1 Boolean true, falseNo bmp_ activate_ server_ 2 Boolean true, falseNo capability_ suppress_ 4_ byte_ as Boolean true, falseNo transport_ connection_ mode Choice passiveNo log_ neighbor_ changes Boolean true, falseNo low_ memory_ exempt Boolean true, falseNo maximum_peers Integer min: 1, max: 1000 No remove_ private_ as Choice none, enabled, all, replace-asNo inherit_ peer_ session String No ttl_ security_ hops Integer min: 1, max: 254 No local_as Any String or Integer[min: 0, max: 4294967295] No local_ as_ propagation Choice none, no-prepend, replace-as, dual-asNo dscp Integer min: 0, max: 63 No dynamic_ route_ map String No egress_ engineering Boolean true, falseNo egress_ engineering_ peer_ set String No internal_ vpn_ client Boolean true, falseNo address_ families List address_ families No
Name Type Constraint Mandatory Default Value address_family Choice ipv4-unicast, ipv4-multicast, vpnv4-unicast, ipv6-unicast, ipv6-multicast, vpnv6-unicast, vpnv6-multicast, l2vpn-evpn, ipv4-lucast, ipv6-lucast, link-state, ipv4-mvpn, ipv6-mvpn, l2vpn-vpls, ipv4-mdtYes advertise_ l2vpn_ evpn Boolean true, falseNo advertise_ only_ active_ routes Boolean true, falseNo advertise_pip Boolean true, falseNo advertise_ system_ mac Boolean true, falseNo allocate_ label_ all Boolean true, falseNo allocate_ label_ option_ b Boolean true, falseNo allocate_ label_ route_ map String No bestpath_ origin_ as_ allow_ invalid Boolean true, falseNo bestpath_ origin_ as_ use_ validity Boolean true, falseNo client_ to_ client_ reflection Boolean true, falseNo nexthop_ trigger_ delay_ critical Integer min: 1, max: 4294967295 No default_ information_ originate Boolean true, falseNo default_ information_ originate_ always_ rd String No default_ information_ originate_ always_ route_ target String No default_metric Integer min: 0, max: 4294967295 No export_ gateway_ ip Boolean true, falseNo dampen_ igp_ metric Integer min: 0, max: 3600 No label_ allocation_ mode Boolean true, falseNo load_ balance_ egress_ filter_ policy_ route_ map String No load_ balance_ egress_ multipath_ auto_ policy_ route_ map String No maximum_paths Integer min: 1, max: 512 No maximum_ paths_ eibgp Integer min: 1, max: 512 No maximum_ paths_ ibgp Integer min: 1, max: 512 No maximum_ paths_ local Integer min: 1, max: 512 No maximum_ paths_ mixed Integer min: 1, max: 512 No maximum_ paths_ unequal_ cost Boolean true, falseNo nexthop_ route_ map String No nexthop_ load_ balance_ egress_ multisite Boolean true, falseNo nexthop_ trigger_ delay_ non_ critical Integer min: 1, max: 4294967295 No originate_map String No origin_ as_ validate Boolean true, falseNo origin_ as_ validate_ signal_ ibgp Boolean true, falseNo prefix_priority Choice none, highNo retain_ route_ target_ all Boolean true, falseNo retain_ route_ target_ route_ map String No table_map String No table_ map_ filter Boolean true, falseNo timers_ bestpath_ defer Integer min: 100, max: 3000 No timers_ bestpath_ defer_ maximum Integer min: 300, max: 300000 No allow_ vni_ in_ ethertag Boolean true, falseNo wait_ igp_ convergence Boolean true, falseNo additional_ paths_ send Boolean true, falseNo additional_ paths_ receive Boolean true, falseNo additional_ paths_ install_ backup Boolean true, falseNo additional_ paths_ selection_ route_ map String No networks List networks No redistributions List redistributions No aggregate_ addresses List aggregate_ addresses No
Name Type Constraint Mandatory Default Value vrf String Yes router_id IP No allocate_index Integer min: 1, max: 8000 No bestpath_ limit_ always Boolean true, falseNo bestpath_limit Integer min: 1, max: 3600 No reference_ bandwidth Integer min: 0, max: 4294967295 No reference_ bandwidth_ unit Choice mbps, gbpsNo cluster_id Any IP or Integer[min: 0, max: 4294967295] or String[Regex: ^.*[$%]\{.*$] No hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No local_as Any String or Integer[min: 0, max: 4294967295] No maxas_limit Integer min: 1, max: 512 No mode Choice fabric, external, proxyNo prefix_ peer_ timeout Integer min: 0, max: 1200 No prefix_ peer_ wait Integer min: 0, max: 1200 No reconnect_ interval Integer min: 1, max: 60 No router_id_auto Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo enforce_ first_ as Boolean true, falseNo neighbor_ down_ fib_ accelerate Boolean true, falseNo suppress_ fib_ pending Boolean true, falseNo graceful_ restart Choice helper, completeNo graceful_ restart_ restart_ time Integer min: 1, max: 3600 No graceful_ restart_ stalepath_ time Integer min: 1, max: 3600 No bestpath Class bestpath No neighbors List neighbors No address_ families List address_ families No
Name Type Constraint Mandatory Default Value vrf String Yes router_id IP No allocate_index Integer min: 1, max: 8000 No bestpath_ limit_ always Boolean true, falseNo bestpath_limit Integer min: 1, max: 3600 No reference_ bandwidth Integer min: 0, max: 4294967295 No reference_ bandwidth_ unit Choice mbps, gbpsNo cluster_id Any IP or Integer[min: 0, max: 4294967295] or String[Regex: ^.*[$%]\{.*$] No hold_time Integer min: 3, max: 3600 No keepalive_ interval Integer min: 0, max: 3600 No local_as Any String or Integer[min: 0, max: 4294967295] No maxas_limit Integer min: 1, max: 512 No mode Choice fabric, external, proxyNo prefix_ peer_ timeout Integer min: 0, max: 1200 No prefix_ peer_ wait Integer min: 0, max: 1200 No reconnect_ interval Integer min: 1, max: 60 No router_id_auto Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo enforce_ first_ as Boolean true, falseNo neighbor_ down_ fib_ accelerate Boolean true, falseNo suppress_ fib_ pending Boolean true, falseNo graceful_ restart Choice helper, completeNo graceful_ restart_ restart_ time Integer min: 1, max: 3600 No graceful_ restart_ stalepath_ time Integer min: 1, max: 3600 No neighbors List neighbors No address_ families List address_ families No
Name Type Constraint Mandatory Default Value address_family Choice ipv4-unicast, ipv6-unicast, vpnv4-unicast, vpnv6-unicast, l2vpn-evpn, link-stateYes send_ community_ standard Boolean true, falseNo send_ community_ extended Boolean true, falseNo route_ reflector_ client Boolean true, falseNo next_hop_self Boolean true, falseNo next_ hop_ self_ all Boolean true, falseNo disable_ peer_ as_ check Boolean true, falseNo allowas_in Boolean true, falseNo default_ originate Boolean true, falseNo suppress_ inactive Boolean true, falseNo advertisement_ interval Integer min: 1, max: 600 No advertise_ gateway_ ip Boolean true, falseNo advertise_ local_ labeled_ route Boolean true, falseNo aigp Boolean true, falseNo allowas_ in_ count Integer min: 0, max: 10 No as_override Boolean true, falseNo default_ originate_ route_ map String No dmz_ link_ bandwidth Boolean true, falseNo encapsulation_ mpls Boolean true, falseNo link_ bandwidth_ cumulative Boolean true, falseNo next_ hop_ third_ party Boolean true, falseNo rewrite_ evpn_ rt_ asn Boolean true, falseNo soft_ reconfiguration_ inbound Choice none, inbound, inbound-alwaysNo soo String No unsuppress_map String No weight Integer min: 0, max: 65535 No maximum_prefix Class maximum_prefix No route_map_in String No route_map_out String No prefix_list_in String No prefix_list_out String No inherit_ peer_ policies List inherit_ peer_ policies No
Name Type Constraint Mandatory Default Value address_family Choice ipv4-unicast, ipv6-unicast, vpnv4-unicast, vpnv6-unicast, l2vpn-evpn, link-stateYes send_ community_ standard Boolean true, falseNo send_ community_ extended Boolean true, falseNo route_ reflector_ client Boolean true, falseNo next_hop_self Boolean true, falseNo next_ hop_ self_ all Boolean true, falseNo disable_ peer_ as_ check Boolean true, falseNo allowas_in Boolean true, falseNo default_ originate Boolean true, falseNo suppress_ inactive Boolean true, falseNo advertisement_ interval Integer min: 1, max: 600 No advertise_ gateway_ ip Boolean true, falseNo advertise_ local_ labeled_ route Boolean true, falseNo aigp Boolean true, falseNo allowas_ in_ count Integer min: 0, max: 10 No as_override Boolean true, falseNo default_ originate_ route_ map String No dmz_ link_ bandwidth Boolean true, falseNo encapsulation_ mpls Boolean true, falseNo link_ bandwidth_ cumulative Boolean true, falseNo next_ hop_ third_ party Boolean true, falseNo rewrite_ evpn_ rt_ asn Boolean true, falseNo soft_ reconfiguration_ inbound Choice none, inbound, inbound-alwaysNo soo String No unsuppress_map String No weight Integer min: 0, max: 65535 No maximum_prefix Class maximum_prefix No
Name Type Constraint Mandatory Default Value number Integer min: 0, max: 4294967295 No action Choice log, shut, restartNo restart_time Integer min: 1, max: 65535 No threshold Integer min: 1, max: 100 No
Name Type Constraint Mandatory Default Value name String Yes sequence Integer min: 1, max: 65535 Yes
Name Type Constraint Mandatory Default Value address_family Choice ipv4-unicast, ipv4-mvpn, vpnv4-unicast, ipv6-unicast, vpnv6-unicast, l2vpn-evpn, link-stateYes send_ community_ standard Boolean true, falseNo send_ community_ extended Boolean true, falseNo route_ reflector_ client Boolean true, falseNo next_hop_self Boolean true, falseNo next_ hop_ self_ all Boolean true, falseNo disable_ peer_ as_ check Boolean true, falseNo allowas_in Boolean true, falseNo default_ originate Boolean true, falseNo suppress_ inactive Boolean true, falseNo advertisement_ interval Integer min: 1, max: 600 No advertise_ gateway_ ip Boolean true, falseNo advertise_ local_ labeled_ route Boolean true, falseNo aigp Boolean true, falseNo allowas_ in_ count Integer min: 0, max: 10 No as_override Boolean true, falseNo default_ originate_ route_ map String No dmz_ link_ bandwidth Boolean true, falseNo encapsulation_ mpls Boolean true, falseNo link_ bandwidth_ cumulative Boolean true, falseNo next_ hop_ third_ party Boolean true, falseNo rewrite_ evpn_ rt_ asn Boolean true, falseNo soft_ reconfiguration_ inbound Choice none, inbound, inbound-alwaysNo soo String No unsuppress_map String No weight Integer min: 0, max: 65535 No maximum_prefix Class maximum_prefix No route_map_in String No route_map_out String No prefix_list_in String No prefix_list_out String No inherit_ peer_ policies List inherit_ peer_ policies No
Name Type Constraint Mandatory Default Value address_family Choice ipv4-unicast, ipv4-mvpn, vpnv4-unicast, ipv6-unicast, vpnv6-unicast, l2vpn-evpn, link-stateYes send_ community_ standard Boolean true, falseNo send_ community_ extended Boolean true, falseNo route_ reflector_ client Boolean true, falseNo next_hop_self Boolean true, falseNo next_ hop_ self_ all Boolean true, falseNo disable_ peer_ as_ check Boolean true, falseNo allowas_in Boolean true, falseNo default_ originate Boolean true, falseNo suppress_ inactive Boolean true, falseNo advertisement_ interval Integer min: 1, max: 600 No advertise_ gateway_ ip Boolean true, falseNo advertise_ local_ labeled_ route Boolean true, falseNo aigp Boolean true, falseNo allowas_ in_ count Integer min: 0, max: 10 No as_override Boolean true, falseNo default_ originate_ route_ map String No dmz_ link_ bandwidth Boolean true, falseNo encapsulation_ mpls Boolean true, falseNo link_ bandwidth_ cumulative Boolean true, falseNo next_ hop_ third_ party Boolean true, falseNo rewrite_ evpn_ rt_ asn Boolean true, falseNo soft_ reconfiguration_ inbound Choice none, inbound, inbound-alwaysNo soo String No unsuppress_map String No weight Integer min: 0, max: 65535 No maximum_prefix Class maximum_prefix No route_map_in String No route_map_out String No prefix_list_in String No prefix_list_out String No
Name Type Constraint Mandatory Default Value prefix IP Yes evpn Boolean true, falseNo route_map String No
Name Type Constraint Mandatory Default Value prefix String Yes evpn Boolean true, falseNo route_map String No
Name Type Constraint Mandatory Default Value protocol Choice srv6, unspecified, static, direct, bgp, isis, ospf, ospfv3, eigrp, host, rip, amt, lisp, hmm, am, dhcpv6, icmpv6Yes protocol_ instance String No route_map String No asn Any String or Integer[min: 0, max: 4294967295] No
Name Type Constraint Mandatory Default Value prefix IP Yes as_set Boolean true, falseNo summary_only Boolean true, falseNo advertise_map String No attribute_map String No suppress_map String No
Name Type Constraint Mandatory Default Value prefix String Yes as_set Boolean true, falseNo summary_only Boolean true, falseNo advertise_map String No attribute_map String No suppress_map String No
Name Type Constraint Mandatory Default Value number Integer min: 0, max: 4294967295 No action Choice log, shut, restartNo restart_time Integer min: 1, max: 65535 No threshold Integer min: 1, max: 100 No
Example 1: Basic iBGP spine-leaf peering with peer template for underlay
update_source_interface_type : loopback
update_source_interface_id : " 0 "
- address_family : ipv4-unicast
send_community_standard : true
send_community_extended : true
route_reflector_client : true
Example 2: EVPN address family on a leaf switch peering to spines
update_source_interface_type : loopback
update_source_interface_id : " 0 "
- address_family : l2vpn-evpn
send_community_standard : true
send_community_extended : true
inherit_peer : SPINE-PEERS
inherit_peer : SPINE-PEERS
Example 3: VRF-aware BGP with route targets for tenant routing
log_neighbor_changes : true
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : PERMIT-CONNECTED
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : PERMIT-CONNECTED
Example 4: Advanced peer template with route maps, BFD, and prefix limits
update_source_interface_type : loopback
update_source_interface_id : " 0 "
log_neighbor_changes : true
- address_family : l2vpn-evpn
send_community_standard : true
send_community_extended : true
peer_type : fabric-external
- address_family : ipv4-unicast
send_community_standard : true
inherit_peer : SPINE-PEERS
inherit_peer : SPINE-PEERS
inherit_peer : EXTERNAL-PEERS
description : " DC-Interconnect-Router "
- address_family : ipv4-unicast
route_map_in : INBOUND-FILTER
route_map_out : OUTBOUND-FILTER
Example 5: Full multi-VRF leaf with EVPN overlay, redistribute, graceful restart, and bestpath tuning
update_source_interface_type : loopback
update_source_interface_id : " 0 "
- address_family : l2vpn-evpn
send_community_standard : true
send_community_extended : true
graceful_restart : complete
graceful_restart_restart_time : 120
graceful_restart_stalepath_time : 300
as_path_multipath_relax : true
med_missing_as_worst : true
log_neighbor_changes : true
inherit_peer : SPINE-PEERS
inherit_peer : SPINE-PEERS
- address_family : l2vpn-evpn
retain_route_target_all : true
as_path_multipath_relax : true
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : REDISTRIBUTE-STATIC
route_map : PERMIT-CONNECTED
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : PERMIT-CONNECTED
- address_family : ipv6-unicast
advertise_l2vpn_evpn : true
- prefix : 2001:db8:2::/64
Example 6: BGP address family with load-balance egress policies and default-information originate RD/RT
- address_family : ipv4-unicast
default_information_originate : true
default_information_originate_always_rd : " rd:as2-nn2:1:1 "
default_information_originate_always_route_target : " route-target:as2-nn2:1:1 "
load_balance_egress_filter_policy_route_map : LB-EGRESS-FILTER
load_balance_egress_multipath_auto_policy_route_map : LB-EGRESS-MPATH
Example 7: BGP additional paths and aggregate addresses
- address_family : ipv4-unicast
additional_paths_send : true
additional_paths_receive : true
additional_paths_install_backup : true
additional_paths_selection_route_map : ADD-PATH-SELECT
advertise_map : AGG-ADV-MAP
attribute_map : AGG-ATTR-MAP
suppress_map : AGG-SUPPR-MAP
Example 8: BGP interface peers for unnumbered peering
- interface_type : ethernet
inherit_peer : SPINE-PEERS
description : " Spine1-Uplink "
- interface_type : ethernet
inherit_peer : SPINE-PEERS
description : " Spine2-Uplink "
- interface_type : ethernet
Example 9: Peer-session and peer-policy templates inherited by neighbors and peer templates
update_source_interface_type : loopback
update_source_interface_id : " 0 "
log_neighbor_changes : true
inherit_peer_session : BASE-SESSION
description : " External transit peers "
local_as_propagation : no-prepend
send_community_standard : true
send_community_extended : true
soft_reconfiguration_inbound : inbound-always
route_map_in : RM-TRANSIT-IN
route_map_out : RM-TRANSIT-OUT
prefix_list_in : PL-TRANSIT-IN
filter_list_out : AS-PATH-LOCAL
inherit_peer_session : EBGP-SESSION
- address_family : ipv4-unicast
route_map_in : RM-TRANSIT-IN
prefix_list_out : PL-TRANSIT-OUT
inherit_peer : TRANSIT-PEERS
inherit_peer_session : EBGP-SESSION
- address_family : ipv4-unicast
Example 10: BGP MVPN VRI ID for Tenant Routed Multicast (TRM)
Example 1: Basic iBGP spine-leaf peering with peer template for underlay
update_source_interface_type : loopback
update_source_interface_id : " 0 "
- address_family : ipv4-unicast
send_community_standard : true
send_community_extended : true
route_reflector_client : true
Example 2: EVPN address family on a leaf switch peering to spines
update_source_interface_type : loopback
update_source_interface_id : " 0 "
- address_family : l2vpn-evpn
send_community_standard : true
send_community_extended : true
inherit_peer : SPINE-PEERS
inherit_peer : SPINE-PEERS
Example 3: VRF-aware BGP with route targets for tenant routing
log_neighbor_changes : true
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : PERMIT-CONNECTED
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : PERMIT-CONNECTED
Example 4: Advanced peer template with route maps, BFD, and prefix limits
update_source_interface_type : loopback
update_source_interface_id : " 0 "
log_neighbor_changes : true
- address_family : l2vpn-evpn
send_community_standard : true
send_community_extended : true
peer_type : fabric-external
- address_family : ipv4-unicast
send_community_standard : true
inherit_peer : SPINE-PEERS
inherit_peer : SPINE-PEERS
inherit_peer : EXTERNAL-PEERS
description : " DC-Interconnect-Router "
- address_family : ipv4-unicast
route_map_in : INBOUND-FILTER
route_map_out : OUTBOUND-FILTER
Example 5: Full multi-VRF leaf with EVPN overlay, redistribute, and graceful restart
update_source_interface_type : loopback
update_source_interface_id : " 0 "
- address_family : l2vpn-evpn
send_community_standard : true
send_community_extended : true
graceful_restart : complete
graceful_restart_restart_time : 120
graceful_restart_stalepath_time : 300
log_neighbor_changes : true
inherit_peer : SPINE-PEERS
inherit_peer : SPINE-PEERS
- address_family : l2vpn-evpn
retain_route_target_all : true
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : REDISTRIBUTE-STATIC
route_map : PERMIT-CONNECTED
- address_family : ipv4-unicast
advertise_l2vpn_evpn : true
route_map : PERMIT-CONNECTED
- address_family : ipv6-unicast
advertise_l2vpn_evpn : true
- prefix : 2001:db8:2::/64
Example 6: BGP address family with load-balance egress policies and default-information originate RD/RT
- address_family : ipv4-unicast
default_information_originate : true
default_information_originate_always_rd : " rd:as2-nn2:1:1 "
default_information_originate_always_route_target : " route-target:as2-nn2:1:1 "
load_balance_egress_filter_policy_route_map : LB-EGRESS-FILTER
load_balance_egress_multipath_auto_policy_route_map : LB-EGRESS-MPATH
Example 7: BGP additional paths and aggregate addresses
- address_family : ipv4-unicast
additional_paths_send : true
additional_paths_receive : true
additional_paths_install_backup : true
additional_paths_selection_route_map : ADD-PATH-SELECT
advertise_map : AGG-ADV-MAP
attribute_map : AGG-ATTR-MAP
suppress_map : AGG-SUPPR-MAP
Example 8: BGP interface peers for unnumbered peering
- interface_type : ethernet
inherit_peer : SPINE-PEERS
description : " Spine1-Uplink "
- interface_type : ethernet
inherit_peer : SPINE-PEERS
description : " Spine2-Uplink "
- interface_type : ethernet