14-5. show ip bgp prefix

Syntax Description:

  • prefix— IP address of the prefix to display.

Purpose: To display the contents of the local BGP routing table for a specific prefix.

Cisco IOS Software Release: 10.0

Example: Display a Specific Prefix from the BGP Routing Table

The following is some sample output from the show ip bgp prefix command:

rtrA#show ip bgp 199.172.1.0
BGP routing table entry for 199.172.1.0/24, version 6
Paths: (1 available, best #1)
  Advertised to non peer-group peers:
    172.17.1.1
  Local
    0.0.0.0 from 0.0.0.0 (199.172.15.1)
      Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local,
best, ref 2

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.