Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

bgp

vpn router bgp— Configure BGP within a VPN on a vEdge router.

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► BGP

Command Hierarchy

vpn vpn-id  
  router
    bgp local-as-number
      address-family ipv4-unicast
        aggregate-address prefix/length [as-set] [summary-only]
        maximum-paths paths number
        network prefix/length 
        redistribute (connected | nat | natpool-outside | omp | ospf | static) [route-policy policy-name]
      best-path
        as-path multipath-relax
        compare-router-id
        med (always-compare | deterministic | missing-as-worst)
      distance
        external number
        internal number
        local number
      neighbor ip-address        
        address-family ipv4-unicast
          maximum-prefixes number [threshold] [restart minutes | warning-only]
          route-policy policy-name (in | out)
        capability-negotiate
        description text        
        ebgp-multihop ttl        
        next-hop-self
        password md5-digest-string 
        remote-as remote-as-number        
        send-community
        send-ext-community
        [no] shutdown
        timers
          advertisement-interval number          
          connect-retry seconds          
          holdtime seconds        
          keepalive seconds        
        update-source ip-address
      ! end neighbor configuration
      propagate-aspath
      router-id ip-address
      [no] shutdown
      timers
        holdtime seconds       
        keepalive seconds

Options

Local AS Number
local-as-number
AS number of the local BGP site. You can specify the AS number in 2-byte asdot notation (1 through 65535) or in 4-byte asdot notation (1.0 through 65535.65535).

Example

Configure BGP in VPN 1:

vpn 1
  router
    bgp 123
      address-family ipv4_unicast
      redistribute omp
       neighbor 10.0.19.17
         no shutdown
         remote-as 456

Release Information

Command introduced in Viptela Software Release 14.1.​

Additional Information

See the Overlay Unicast Routing Overview, Configuring Overlay Unicast Routing, and Routing Configuration Example articles for your software release.

  • Was this article helpful?