Celestica Documentation Portal

Find your product documents here

show bgp cidr-only

Displays all BGP routes with non-natural netmasks.

Syntaxshow bgp [<afi>] [<safi>] cidr-only
Command mode EXEC
Parameters
  • afi – Address Family Indicator it could take either a value of ipv4 or ipv6.

  • safi – Subsequent Address Family Indicator, it could be either unicast/multicast/labeled-unicast/vpn.

Usage None
Supported Releases 1.0.0 or later
Click command None
Example
sonic# show bgp cidr-only
BGP table version is 7, local router ID is 1.1.1.1, vrf id 0
Default local pref 100, local AS 1
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 2010::/64        ::                       0         32768 ?

Displayed  1 routes and 1 total paths