Celestica Documentation Portal

Find your product documents here

show bgp <Prefix>

Displays FRR BGP Route Table corresponding to the Network/IP Prefix given.

Syntaxshow bgp [<afi>] [<safi>] [ <A.B.C.D> | <A.B.C.D/Mask> | <A:B::C:D> | <A:B::C:D/Mask> ] [ best-path [json] | multipath [json] | json ]
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.

  • A.B.C.D – IPv4 Network Address.

  • A.B.C.D/Mask – IPv4 Prefix with Mask.

  • A:B::C:D – IPv6 Network Address.

  • A:B::C:D/Mask – IPv6 Prefix with Mask.

  • best-path – Keyword best-path lets user to display only best-path.

  • multi-path – Keyword multi-path lets user to display multi-paths.

Usage None
Supported Releases 1.0.0 or later
Click command None
Example
sonic# show bgp 2010::/64
BGP routing table entry for 2010::/64
Paths: (1 available, best #1, table default)
  Not advertised to any peer
  Local
    :: from :: (1.1.1.1)
      Origin incomplete, metric 0, weight 32768, valid, sourced, best (First path received)
      Last update: Mon Aug 21 17:35:40 2023