14-4. show ip bgp | include line

Syntax Description:

  • line— Regular expression. See Appendix B, “Regular Expressions.”

Purpose: To display the contents of the local BGP routing table.

Cisco IOS Software Release: 10.0

Example: Display the BGP Routing Table

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

rtrA#show ip bgp BGP table version is 9, local router ID is 200.1.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 199.172.1.0 172.17.1.2 0 0 1 i *> 199.172.2.0 172.17.1.2 0 0 1 i *> 199.172.3.0 172.17.1.2 0 0 1 i *> 199.172.4.0 172.17.1.2 0 0 1 i *> 200.1.1.0 0.0.0.0 0 32768 i *s 200.1.2.0 0.0.0.0 0 32768 ...

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.