< Free Open Study > |
14-4 show ip bgp include lineSyntax Description:
Purpose: To display the contents of the local BGP routing table. Cisco IOS Software Release: 10.0 Example: Display the BGP Routing TableThe 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 i *> 200.1.2.0/23 0.0.0.0 32768 i *s 200.1.3.0 0.0.0.0 0 32768 i *> 200.1.4.0 0.0.0.0 0 32768 i *>i156.26.1.0 10.1.1.2 0 0 i The following list describes the various fields displayed when using the show ip bgp command:
List the 199 prefixes in the BGP routing table: rtrA# show ip bgp include 199 BGP table version is 90, local router ID is 199.172.15.1 *> 199.172.1.0 0.0.0.0 0 32768 i s> 199.172.2.0 0.0.0.0 0 32768 i *> 199.172.2.0/23 0.0.0.0 32768 i s> 199.172.3.0 0.0.0.0 0 32768 i *> 199.172.4.0 0.0.0.0 0 32768 I List everything but the 199 prefixes in the BGP routing table: ce2red# show ip bgp exclude 199 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 *> 200.1.1.0 172.17.1.1 0 0 2 i *> 200.1.2.0 172.17.1.1 0 0 2 i *> 200.1.3.0 172.17.1.1 0 0 2 i *> 200.1.4.0 172.17.1.1 0 0 2 I |
< Free Open Study > |