BGP address-family parameters
  
  
    
      
        IPv4 BGP settings
      
      
        
          
            BGP aggregate network
            
              ipv4net
              BGP aggregate network
            
            
              
            
          
          
            #include 
          
        
        
          
            Administrative distances for BGP routes
          
          
            
              
                eBGP routes administrative distance
                
                  u32:1-255
                  eBGP routes administrative distance
                
                
                  
                
              
            
            
              
                iBGP routes administrative distance
                
                  u32:1-255
                  iBGP routes administrative distance
                
                
                  
                
              
            
            
              
                Locally originated BGP routes administrative distance
                
                  u32:1-255
                  Locally originated BGP routes administrative distance
                
                
                  
                
              
            
            
              
                Administrative distance for a specific BGP prefix
                
                  ipv4net
                  Administrative distance for a specific BGP prefix
                
                
                  
                
              
              
                
                  
                    Administrative distance for prefix
                    
                      u32:1-255
                      Administrative distance for external BGP routes
                    
                    
                      
                    
                  
                
              
            
          
        
        #include 
        #include 
        #include 
        
          
            BGP network
            
              ipv4net
              BGP network
            
            
              
            
          
          
            
              
                Network as a backdoor route
                
              
            
            #include 
          
        
        #include 
        #include 
        #include 
        
          
            Redistribute routes from other protocols into BGP
          
          
            
              
                Redistribute connected routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute IS-IS routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute kernel routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute OSPF routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute RIP routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute Babel routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute static routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute non-main Kernel Routing Table
              
            
          
        
      
    
    
      
        Multicast IPv4 BGP settings
      
      
        
          
            BGP aggregate network/prefix
            
              ipv4net
              BGP aggregate network/prefix
            
            
              
            
          
          
            #include 
          
        
        
          
            Administrative distances for BGP routes
          
          
            
              
                eBGP routes administrative distance
                
                  u32:1-255
                  eBGP routes administrative distance
                
                
                  
                
              
            
            
              
                iBGP routes administrative distance
                
                  u32:1-255
                  iBGP routes administrative distance
                
                
                  
                
              
            
            
              
                Locally originated BGP routes administrative distance
                
                  u32:1-255
                  Locally originated BGP routes administrative distance
                
                
                  
                
              
            
            
              
                Administrative distance for a specific BGP prefix
                
                  ipv4net
                  Administrative distance for a specific BGP prefix
                
                
                  
                
              
              
                
                  
                    Administrative distance for prefix
                    
                      u32:1-255
                      Administrative distance for external BGP routes
                    
                    
                      
                    
                  
                
              
            
          
        
        
          
            Import BGP network/prefix into multicast IPv4 RIB
            
              ipv4net
              Multicast IPv4 BGP network/prefix
            
            
              
            
          
          
            
              
                Use BGP network/prefix as a backdoor route
                
              
            
            #include 
          
        
      
    
    
      
        Labeled Unicast IPv4 BGP settings
      
      
        
          
            BGP aggregate network/prefix
            
              ipv4net
              BGP aggregate network/prefix
            
            
              
            
          
          
            #include 
          
        
        
          
            Import BGP network/prefix into labeled unicast IPv4 RIB
            
              ipv4net
              Labeled Unicast IPv4 BGP network/prefix
            
            
              
            
          
          
            
              
                Use BGP network/prefix as a backdoor route
                
              
            
            #include 
          
        
          #include 
      
    
    
      
        Flowspec IPv4 BGP settings
      
      
        
          
            Apply local policy routing to interface
          
          
            #include 
          
        
      
    
    
      
        Unicast VPN IPv4 BGP settings
      
      
        
          
            Import BGP network/prefix into unicast VPN IPv4 RIB
            
              ipv4net
              Unicast VPN IPv4 BGP network/prefix
            
            
              
            
          
          
            #include 
            #include 
          
        
      
    
    
      
        IPv6 BGP settings
      
      
        
          
            BGP aggregate network
            
              ipv6net
              Aggregate network
            
            
              
            
          
          
            #include 
          
        
        
          
            Administrative distances for BGP routes
          
          
            
              
                eBGP routes administrative distance
                
                  u32:1-255
                  eBGP routes administrative distance
                
                
                  
                
              
            
            
              
                iBGP routes administrative distance
                
                  u32:1-255
                  iBGP routes administrative distance
                
                
                  
                
              
            
            
              
                Locally originated BGP routes administrative distance
                
                  u32:1-255
                  Locally originated BGP routes administrative distance
                
                
                  
                
              
            
            
              
                Administrative distance for a specific BGP prefix
                
                  ipv6net
                  Administrative distance for a specific BGP prefix
                
                
                  
                
              
              
                
                  
                    Administrative distance for prefix
                    
                      u32:1-255
                      Administrative distance for external BGP routes
                    
                    
                      
                    
                  
                
              
            
          
        
        #include 
        #include 
        #include 
        
          
            BGP network
            
              ipv6net
              Aggregate network
            
            
              
            
          
          
            #include 
            #include 
          
        
        #include 
        #include 
        #include 
        
          
            Redistribute routes from other protocols into BGP
          
          
            
              
                Redistribute connected routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute kernel routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute OSPFv3 routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute RIPng routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute Babel routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute static routes into BGP
              
              
                #include 
              
            
            
              
                Redistribute non-main Kernel Routing Table
              
            
          
        
      
    
    
      
        Multicast IPv6 BGP settings
      
      
        
          
            BGP aggregate network/prefix
            
              ipv6net
              BGP aggregate network/prefix
            
            
              
            
          
          
            #include 
          
        
        
          
            Administrative distances for BGP routes
          
          
            
              
                eBGP routes administrative distance
                
                  u32:1-255
                  eBGP routes administrative distance
                
                
                  
                
              
            
            
              
                iBGP routes administrative distance
                
                  u32:1-255
                  iBGP routes administrative distance
                
                
                  
                
              
            
            
              
                Locally originated BGP routes administrative distance
                
                  u32:1-255
                  Locally originated BGP routes administrative distance
                
                
                  
                
              
            
            
              
                Administrative distance for a specific BGP prefix
                
                  ipv6net
                  Administrative distance for a specific BGP prefix
                
                
                  
                
              
              
                
                  
                    Administrative distance for prefix
                    
                      u32:1-255
                      Administrative distance for external BGP routes
                    
                    
                      
                    
                  
                
              
            
          
        
        
          
            Import BGP network/prefix into multicast IPv6 RIB
            
              ipv6net
              Multicast IPv6 BGP network/prefix
            
            
              
            
          
          
            #include 
            #include 
          
        
      
    
    
      
        Labeled Unicast IPv6 BGP settings
      
      
        
          
            BGP aggregate network/prefix
            
              ipv6net
              BGP aggregate network/prefix
            
            
              
            
          
          
            #include 
          
        
        
          
            Import BGP network/prefix into labeled unicast IPv6 RIB
            
              ipv6net
              Labeled Unicast IPv6 BGP network/prefix
            
            
              
            
          
          
            
              
                Use BGP network/prefix as a backdoor route
                
              
            
            #include 
          
        
      
    
    
      
        Flowspec IPv6 BGP settings
      
      
        
          
            Apply local policy routing to interface
          
          
            
              
                Interface
                
                  
                
                
              
            
          
        
      
    
    
      
        Unicast VPN IPv6 BGP settings
      
      
        
          
            Import BGP network/prefix into unicast VPN IPv6 RIB
            
              ipv6net
              Unicast VPN IPv6 BGP network/prefix
            
            
              
            
          
          
            #include 
            #include 
          
        
      
    
    
      
        L2VPN EVPN BGP settings
      
      
        
          
            Advertise prefix routes
          
          
            
              
                IPv4 address family
              
              
                #include 
              
            
            
              
                IPv6 address family
              
              
                #include 
              
            
          
        
        
          
            Advertise All local VNIs
            
          
        
        #include 
        
          
            EVPN system primary IP
            
              ipv4
              IP address
            
            
              
            
          
        
        
          
            Auto derivation of Route Target (RFC8365)
            
          
        
        
          
            Originate a default route
          
          
            
              
                IPv4 address family
                
              
            
            
              
                IPv6 address family
                
              
            
          
        
        
          
            Activate PE on EAD-ES even if EAD-EVI is not received
            
          
        
        
          
            Do not advertise EAD-EVI for local ESs
            
          
        
        
          
            EAD ES fragment config
          
          
            
              
                EVIs per-fragment
                
                  u32:1-1000
                  limit
                
                
                  
                
              
            
          
        
        
          
            EAD ES Route Target
          
          
            
              
                Route Target export
                
                  txt
                  Route target (A.B.C.D:MN|EF:OPQR|GHJK:MN)
                
                
                  
                
                
              
            
          
        
        
          
            Specify handling for BUM packets
          
          
            #include 
            
              
                Flood BUM packets using head-end replication
                
              
            
          
        
        
          
            VXLAN Network Identifier
            
              u32:1-16777215
              VNI number
            
            
              
            
          
          
            #include 
          
        
      
    
  
  
    Configure interface related parameters, e.g. MPLS
    
      
    
    
      txt
      Interface name
    
    
      #include 
    
  
  
    
      
        MPLS options
      
      
        
          
            Enable MPLS forwarding for eBGP directly connected peers
            
          
        
      
    
  
  
    Listen for and accept BGP dynamic neighbors from range
  
  
    
      
        Maximum number of dynamic neighbors that can be created
        
          u32:1-5000
          BGP neighbor limit
        
        
          
        
      
    
    
      
        BGP dynamic neighbors listen range
        
          ipv4net
          IPv4 dynamic neighbors listen range
        
        
          ipv6net
          IPv6 dynamic neighbors listen range
        
        
          
          
        
      
      
        #include 
      
    
  
  
    Autonomous System Number (ASN)
    
      u32:1-4294967294
      Autonomous System Number
    
    
      
    
  
  
    BGP neighbor
    
      ipv4
      BGP neighbor IP address
    
    
      ipv6
      BGP neighbor IPv6 address
    
    
      txt
      Interface name
    
    
      
      #include 
    
  
  
    
      
        Address-family parameters
      
      
        #include 
        #include 
        #include 
        #include 
        #include 
        #include 
        #include 
        #include 
        #include 
        #include 
        #include 
      
    
    
      
        Minimum interval for sending routing updates
        
          u32:0-600
          Advertisement interval in seconds
        
        
          
        
      
    
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    
      
        Interface parameters
      
      
        #include 
        #include 
        #include 
        
          
            Enable BGP with v6 link-local only
          
          
            #include 
            #include 
          
        
      
    
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    
      
        Do not send back prefixes learned from the neighbor
        
      
    
    
      
        Ensure the first AS in the AS path matches the peer AS
        
      
    
    
      
        Enable strict capability negotiation
        
      
    
    
      
        Neighbor timers
      
      
        
          
            BGP connect timer for this neighbor
            
              u32:1-65535
              Connect timer in seconds
            
            
              0
              Disable connect timer
            
            
              
            
          
        
        #include 
        #include 
      
    
    #include 
    #include 
    #include 
  
  
    BGP parameters
  
  
    
      
        Always compare MEDs from different neighbors
        
      
    
    
      
        Default bestpath selection mechanism
      
      
        
          
            AS-path attribute comparison parameters
          
          
            
              
                Compare AS-path lengths including confederation sets and sequences
                
              
            
            
              
                Ignore AS-path length in selecting a route
                
              
            
            
              
                Allow load sharing across routes that have different AS paths (but same length)
                
              
            
          
        
        
          
            Link Bandwidth attribute
            
              default-weight-for-missing ignore skip-missing
default-weight-for-missing
              Assign low default weight (1) to paths not having link bandwidth
            
            
              ignore
              Ignore link bandwidth (do regular ECMP, not weighted)
            
            
              skip-missing
              Ignore paths without link bandwidth for ECMP (if other paths have it)
            
            
              (default-weight-for-missing|ignore|skip-missing)
            
          
        
        
          
            Compare the router-id for identical EBGP paths
            
          
        
        
          
            MED attribute comparison parametersconfed missing-as-worst
confed
              Compare MEDs among confederation paths
            
            
              missing-as-worst
              Treat missing route as a MED as the least preferred one
            
            
              (confed|missing-as-worst)
            
            
          
        
        
          
            Peer type
          
          
            
              
                Allow load sharing across routes learned from different peer types
                
              
            
          
        
      
    
    
      
        Route-reflector cluster-id
        
          ipv4
          Route-reflector cluster-id
        
        
          
        
      
    
    
      
        AS confederation parameters
      
      
        
          
            Confederation AS identifier
            
              u32:1-4294967294
              Confederation AS id
            
            
              
            
          
        
        
          
            Peer ASs in the BGP confederation
            
              u32:1-4294967294
              Peer AS number
            
            
              
            
            
          
        
      
    
    
      
        Conditional advertisement settings
      
      
        
          
            Set period to rescan BGP table to check if condition is met
            
              u32:5-240
              Period to rerun the conditional advertisement scanner process
            
            
              
            
          
          60
        
      
    
    
      
        Enable route-flap dampening
      
      
        
          
            Half-life time for dampening
            
              u32:1-45
              Half-life penalty in minutes
            
            
              
            
          
        
        
          
            Maximum duration to suppress a stable route
            
              u32:1-255
              Maximum suppress duration in minutes
            
            
              
            
          
        
        
          
            Threshold to start reusing a route
            
              u32:1-20000
              Re-use penalty points
            
            
              
            
          
        
        
          
            When to start suppressing a route
            
              u32:1-20000
              Start-suppress penalty points
            
            
              
            
          
        
      
    
    
      
        BGP defaults
      
      
        
          
            Default local preference
            
              u32
              Local preference
            
            
              
            
          
        
      
    
    
      
        Compare MEDs between different peers in the same AS
        
      
    
    
      
        Administratives distances for BGP routes
      
      
        
          
            Global administratives distances for BGP routes
          
          
            
              
                Administrative distance for external BGP routes
                
                  u32:1-255
                  Administrative distance for external BGP routes
                
                
                  
                
              
            
            
              
                Administrative distance for internal BGP routes
                
                  u32:1-255
                  Administrative distance for internal BGP routes
                
                
                  
                
              
            
            
              
                Administrative distance for local BGP routes
                
                  u32:1-255
                  Administrative distance for internal BGP routes
                
                
                  
                
              
            
          
        
        
          
            Administrative distance for a specific BGP prefix
            
              ipv4net
              Administrative distance for a specific BGP prefix
            
            
              
            
          
          
            
              
                Administrative distance for prefix
                
                  u32:1-255
                  Administrative distance for external BGP routes
                
                
                  
                
              
            
          
        
      
    
    
      
        Require in and out policy for eBGP peers (RFC8212)
        
      
    
    
      
        Teardown sessions immediately whenever peer becomes unreachable
        
      
    
    
      
        Graceful restart capability parameters
      
      
        
          
            Maximum time to hold onto restarting neighbors stale paths
            
              u32:1-3600
              Hold time in seconds
            
            
              
            
          
        
      
    
    
      
        Graceful shutdown
        
      
    
    
      
        Log neighbor up/down changes and reset reason
        
      
    
    
      
        BGP minimum holdtime
        
          u32:1-65535
          Minimum holdtime in seconds
        
        
          
        
      
    
    
      
        Enable IGP route check for network statements
        
      
    
    
      
        Route reflector client allow policy outbound
        
      
    
    
      
        Disable client to client route reflection
        
      
    
    
      
        Disable immediate session reset on peer link down event
        
      
    
    
      
        Disable suppress duplicate updates if the route actually not changed
        
      
    
    
      
        Reject routes with AS_SET or AS_CONFED_SET flag
        
      
    
    
      
        Administrative shutdown of the BGP instance
        
      
    
    
      
        Advertise only routes that are programmed in kernel to peers
        
      
    
    #include 
    
      
        TCP keepalive parameters
      
      
        
          
            TCP keepalive idle time
            
              u32:1-65535
              Idle time in seconds
            
            
              
            
          
        
        
          
            TCP keepalive interval
            
              u32:1-65535
              Interval in seconds
            
            
              
            
          
        
        
          
            TCP keepalive maximum probes
            
              u32:1-30
              Maximum probes
            
            
              
            
          
        
      
    
  
  
    Name of peer-group
    
      #include 
    
  
  
    
      
        Address-family parameters
      
      
        #include 
        #include 
        #include 
        #include 
        #include 
      
    
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
  
  
    BGP protocol timers
  
  
    #include 
    #include