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

show bgp routes

show bgp routes—List the router's BGP neighbors (on vEdge routers only).

Command Syntax

show bgp routes [prefix/length] [vpn vpn-id] [detail]

Options

None
List all BGP neighbors.
Detailed Information
detail
Show detailed information.
Route Prefix
prefix/length
prefix
vpn vpn-id
Show the BGP route information for the specified route prefix. If you omit the prefix length, you must specify a VPN identifier so that the Viptela software can find the route that best matches the prefix.
VPN
vpn vpn-id
List the BGP routes for the specified VPN.

Output Fields

The output fields are self-explanatory.

Example Output

vEdge# show bgp routes vpn 1

                        INFO                       LOCAL                      AS                               
VPN  PREFIX             ID    NEXTHOP      METRIC  PREF   WEIGHT  ORIGIN      PATH   PATH STATUS          TAG  
---------------------------------------------------------------------------------------------------------------
1    10.2.2.0/24        0     0.0.0.0      1000    50     0       incomplete  Local  valid,best           0    
1    10.2.3.0/24        0     0.0.0.0      1000    50     0       incomplete  Local  valid,best           0    
1    10.20.24.0/24      0     0.0.0.0      1000    50     0       incomplete  Local  valid,best           0    
1    56.0.1.0/24        0     0.0.0.0      1000    50     0       incomplete  Local  valid,best           0    
1    172.16.255.112/32  0     0.0.0.0      1000    50     0       incomplete  Local  valid,best           0    
1    172.16.255.117/32  0     0.0.0.0      1000    50     0       incomplete  Local  valid,best           0    
1    172.16.255.118/32  0     10.20.25.18  0       -      0       incomplete  2      valid,best,external  0    

vEdge# show bgp routes vpn 1 detail 
bgp routes-table vpn 1 10.2.2.0/24
 best-path 1
 advertised-peers 0
  peer-addr 10.20.25.18
 info 0
  nexthop       0.0.0.0
  metric        1000
  local-pref    50
  weight        0
  origin        incomplete
  as-path       Local
  ri-peer       0.0.0.0
  ri-routerid   172.16.255.16
  local         true
  sourced       true
  ext-community SoO:0:600
  path-status   valid,best
  tag           0
bgp routes-table vpn 1 10.2.3.0/24
 best-path 1
 advertised-peers 0
  peer-addr 10.20.25.18
 info 0
  nexthop       0.0.0.0
  metric        1000
  local-pref    50
  weight        0
  origin        incomplete
  as-path       Local
  ri-peer       0.0.0.0
  ri-routerid   172.16.255.16
  local         true
  sourced       true
  ext-community SoO:0:600
  path-status   valid,best
  tag           0
bgp routes-table vpn 1 10.20.24.0/24
 best-path 1
 advertised-peers 0
  peer-addr 10.20.25.18
 info 0
  nexthop       0.0.0.0
  metric        1000
  local-pref    50
  weight        0
  origin        incomplete
  as-path       Local
  ri-peer       0.0.0.0
  ri-routerid   172.16.255.16
  local         true
  sourced       true
  ext-community SoO:0:600
  path-status   valid,best
  tag           0
bgp routes-table vpn 1 56.0.1.0/24
 best-path 1
 advertised-peers 0
  peer-addr 10.20.25.18
 info 0
  nexthop       0.0.0.0
  metric        1000
  local-pref    50
  weight        0
  origin        incomplete
  as-path       Local
  ri-peer       0.0.0.0
  ri-routerid   172.16.255.16
  local         true
  sourced       true
  ext-community SoO:0:600
  path-status   valid,best
  tag           0
bgp routes-table vpn 1 172.16.255.112/32
 best-path 1
 advertised-peers 0
  peer-addr 10.20.25.18
 info 0
  nexthop       0.0.0.0
  metric        1000
  local-pref    50
  weight        0
  origin        incomplete
  as-path       Local
  ri-peer       0.0.0.0
  ri-routerid   172.16.255.16
  local         true
  sourced       true
  ext-community SoO:0:600
  path-status   valid,best
  tag           0
bgp routes-table vpn 1 172.16.255.117/32
 best-path 1
 advertised-peers 0
  peer-addr 10.20.25.18
 info 0
  nexthop       0.0.0.0
  metric        1000
  local-pref    50
  weight        0
  origin        incomplete
  as-path       Local
  ri-peer       0.0.0.0
  ri-routerid   172.16.255.16
  local         true
  sourced       true
  ext-community SoO:0:600
  path-status   valid,best
  tag           0
bgp routes-table vpn 1 172.16.255.118/32
 best-path 1
 info 0
  nexthop     10.20.25.18
  metric      0
  weight      0
  origin      incomplete
  as-path     2
  ri-peer     10.20.25.18
  ri-routerid 172.16.255.18
  path-status valid,best,external
  tag         0

Release Information

Command introduced in Viptela Software Release 14.1.

Additional Information

show bgp neighbor
show bgp summary

  • Was this article helpful?