host1#show ip bgp neighbors 192.168.1.158 received prefix-filter
ip prefix-list filter 192.168.1.158 for address family ipv4:unicast
seq 5 permit 10.1.1.1/32
seq 10 permit 10.1.1.2/32
seq 15 permit 10.1.1.3/32
â– See show ip bgp neighbors received prefix-filter.
show ip bgp neighbors received-routes
show bgp ipv6 neighbors received-routes
â– Use to display routes originating from the specified BGP neighbor before inbound
policy is applied.
â– Reports whether the indirect next hop of a route is unreachable; if not, displays
the IGP cost to the indirect next hop.
â– If you filter the display with field options, the usual introductory information
about BGP attributes is displayed only if you issue the intro fields option. See
show ip bgp for descriptions of the fields displayed by this keyword.
â– Field descriptions
■Prefix—Prefix for the routing table entry
■Peer—IP address of BGP peer
■Next-hop—IP address of the next hop
■MED—Multiexit discriminator for the route
■LocPrf—Local preference for the route
■Weight—Assigned path weight
■Origin—Origin of the route
â– Example
host1#show ip bgp neighbors 192.168.1.158 received-routes
Local BGP identifier 111.111.111.111, local AS 444
0 routes (0 bytes used), 0 distinct destinations (0 bytes used)
0 routes selected for route table installation
0 path attribute entries (0 bytes used)
Status codes: > best, * invalid, s suppressed, d dampened, r rejected
Prefix Peer Next-hop MED LocPrf Weight Origin
>0.0.0.0/0 192.168.1.158 192.168.1.158 0 IGP
>13.13.13.13/32 192.168.1.158 192.168.1.158 0 0 IGP
â– See show ip bgp neighbors received-routes.
â– See show bgp ipv6 neighbors received-routes.
show ip bgp neighbors routes
show bgp ipv6 neighbors routes
Monitoring BGP â– 185
Chapter 1: Configuring BGP Routing