ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1890
show ip bgp
filter-list
This command shows routes matching the specified filter list.
SYNTAX
show ip bgp filter-list access-list-name
access-list-name – Name of a list of autonomous system paths as
defined by the ip as-path access-list command. (Maximum length:
16 characters, no spaces or other special characters)
COMMAND MODE
Privileged Exec
EXAMPLE
Console#show ip bgp filter-list rd
BGP table version is 0, local router ID is 192.168.0.2
Status codes: s suppressed, d damped, h history, * valid, > best, i internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 100.1.1.0/24 10.1.1.64 0 0 100 ?
Total number of prefixes 1
Console#
show ip bgp
neighbors
This command chows connection information for neighbor sessions.
SYNTAX
show ip bgp neighbors [ip-address [advertised-routes |
received prefix-filter | received-routes | routes]]
ip-address – IP address of the neighbor.
advertised-routes – Shows the routes advertised to a neighbor.
received prefix-filter – Shows the prefix-list (outbound route
filter) sent from a neighbor.
received-routes – Shows all routes, both accepted and rejected,
which have been received from a neighbor. To display all received
routes from a neighbor, first enable soft reconfiguration with the
neighbor soft-reconfiguration inbound command.
routes – Displays all accepted routes learned from a neighbor.
COMMAND MODE
Privileged Exec
Console#show ip bgp neighbors 192.168.0.3
BGP neighbor is 192.168.0.3, remote AS 200, local AS 100, external link
Member of peer-group for session parameters
BGP version 4, remote router ID 192.168.0.3
BGP state = Established, up for 00:00:58
Last read 16:40:37, hold time is 180, keepalive interval is 60 seconds