11.11.11.11/32 3.3.3.3 3.3.3.3 Unreachable
11.11.11.11/32 4.4.4.4 4.4.4.4 Unreachable
22.22.22.22/32 3.3.3.3 3.3.3.3 Unreachable
22.22.22.22/32 4.4.4.4 4.4.4.4 Unreachable
33.33.33.33/32 3.3.3.3 3.3.3.3 Unreachable
44.44.44.44/32 4.4.4.4 4.4.4.4 Unreachable
55.55.55.55/32 0.0.0.0 0.0.0.0 0
66.66.66.66/32 6.6.6.6 6.6.6.6 Unreachable
77.77.77.77/32 57.57.57.7 57.57.57.7 1
88.88.88.88/32 57.57.57.7 57.57.57.7 1
To display filtered information about routes that are stale due to peer restart:
host1:pe1#show ip bgp fields best peer next-hop stale
Prefix Stale Peer Next-hop
10.22.22.1/32 stale 10.12.12.2 10.12.12.2
10.22.22.2/32 stale 10.12.12.2 10.12.12.2
10.22.22.3/32 stale 10.12.12.2 10.12.12.2
10.33.33.1/32 10.13.13.3 10.13.13.3
10.33.33.2/32 10.13.13.3 10.13.13.3
10.33.33.3/32 10.13.13.3 10.13.13.3
To display introductory information about BGP attributes:
host1:pe1#show ip bgp 0.0.0.0 /0 fields intro
Local BGP identifier 192.168.254.79, local AS 6730
201058 routes (12063492 bytes)
201540 destinations (15317040 bytes) of which 201058 have a route
193909 routes selected for route tables installation
0 unicast/multicast routes selected for route table installation
0 unicast/multicast tunnel-usable routes selected for route table
installation
0 tunnel-only routes selected for tunnel-route table installation
35097 path attribute entries (5334744 bytes)
Local-RIB version 20969483. FIB version 20969483.
Statistics baseline set WED JUL 12 2006 10:31:53 METDST
...
To display all routes with a prefix that is equal to or more specific than the specified
prefix:
host1#show ip bgp 12.2.0.0 255.255.0.0 longer-prefixes
Local router ID 192.168.1.153, local AS 100
72074 paths, 72074 distinct prefixes (5189328 bytes used)
72074 paths selected for route table installation
21685 path attribute entries (2965327 bytes used)
Prefix Peer Next-hop MED CalPrf Weight Origin
> 12.2.6.0/24 10.5.0.48 10.5.0.48 100 100 IGP
> 12.2.7.0/24 10.5.0.48 10.5.0.48 100 100 IGP
> 12.2.76.0/24 10.5.0.48 10.5.0.48 100 100 IGP
> 12.2.88.0/22 10.5.0.48 10.5.0.48 100 100 IGP
> 12.2.97.0/24 10.5.0.48 10.5.0.48 100 100 IGP
> 12.2.99.0/24 10.5.0.48 10.5.0.48 100 100 IGP
> 12.2.109.0/24 10.5.0.48 10.5.0.48 100 100 IGP
> 12.2.169.0/24 10.5.0.48 10.5.0.48 100 100 IGP
Meaning Table 25 on page 166 lists the show ip bgp command output fields.
165Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Monitoring BGP