[ Pobierz całość w formacie PDF ]
Path Autonomous system paths to the destination network. There
can be one entry in this field for each autonomous system in
the path. At the end of the path is the origin code for the path.
i The entry was originated with the IGP and advertised with
a
network router configuration command.
e The route originated with EGP.
? The origin of the path is not clear. Usually this is a path
that is
redistributed into BGP from an IGP.
Network Protocols Command Reference, Part 1
P1R-466
BGP Commands
show ip bgp flap-statistics
show ip bgp flap-statistics
To display BGP flap statistics, use the show ip bgp flap-statistics command in EXEC mode.
show ip bgp flap-statistics [{regexp regexp} | {filter-list list} | {address mask [longer-prefix]}]
Syntax Description regexp regexp (Optional) Clears flap statistics for all the paths that match
the regular expression.
filter-list list (Optional) Clears flap statistics for all the paths that pass the
access list.
address (Optional) Clears flap statistics for a single entry at this IP
address.
mask (Optional) Network mask applied to the address.
longer-prefix (Optional) Displays flap statistics for more specific entries.
Command Modes EXEC
Command History Release Modification
11.0 This command was introduced.
Usage Guidelines If no arguments or keywords are specified, the router displays flap statistics for all routes.
Examples The following is sample output from the show ip bgp flap-statistics command:
Router# show ip bgp flap-statistics
BGP table version is 10, local router ID is 172.16.232.182
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network From Flaps Duration Reuse Path
*d 10.0.0.0 172.16.232.177 4 00:13:31 00:18:10 100
*d 12.0.0.0 172.16.232.177 4 00:02:45 00:28:20 100
Network Protocols Command Reference, Part 1
P1R-467
BGP Commands
show ip bgp flap-statistics
Table 45 describes the significant fields in the display.
Table 45 show ip bgp flap-statistics Field Descriptions
Field Description
BGP table version Internal version number of the table. This number is incremented any
time the table changes.
local router ID IP address of the router where route dampening is enabled.
Network Route to the network indicated is dampened.
From IP address of the peer that advertised this path.
Flaps Number of times the route has flapped.
Duration Time (in hours:minutes:seconds) since the router noticed the first flap.
Reuse Time (in hours:minutes:seconds) after which the path will be made
available.
Path AS-path of the route that is being dampened.
Related Commands Command Description
bgp dampening Enables BGP route dampening or change various BGP route
dampening factors.
clear ip bgp flap-statistics Clears BGP flap statistics.
Network Protocols Command Reference, Part 1
P1R-468
BGP Commands
show ip bgp inconsistent-as
show ip bgp inconsistent-as
To display routes with inconsistent originating autonomous systems, use the show ip bgp
inconsistent-as command in EXEC mode.
show ip bgp inconsistent-as
Syntax Description This command has no arguments or keywords.
Command Modes EXEC
Command History Release Modification
11.0 This command was introduced.
Examples The following is sample output from the show ip bgp inconsistent-as command:
Router# show ip bgp inconsistent-as
BGP table version is 87, local router ID is 172.19.82.53
Status codes: s suppressed, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* 11.0.0.0 172.16.232.55 0 0 300 88 90 99 ?
*> 172.16.232.52 2222 0 400 ?
* 172.16.0.0 172.16.232.55 0 0 300 90 99 88 200 ?
*> 172.16.232.52 2222 0 400 ?
* 200.200.199.0 172.16.232.55 0 0 300 88 90 99 ?
*> 172.16.232.52 2222 0 400 ?
Network Protocols Command Reference, Part 1
P1R-469
BGP Commands
show ip bgp neighbors
show ip bgp neighbors
To display information about the TCP and BGP connections to neighbors, use the show ip bgp
neighbors command in EXEC mode.
show ip bgp neighbors [address] [received-routes | routes | advertised-routes | {paths
regular-expression} | dampened-routes]
Syntax Description address (Optional) Address of the neighbor whose routes you have learned
from. If you omit this argument, all neighbors are displayed.
received-routes (Optional) Displays all received routes (both accepted and rejected)
from the specified neighbor.
routes (Optional) Displays all routes that are received and accepted. This is
a subset of the output from the received-routes keyword.
advertised-routes (Optional) Displays all the routes the router has advertised to the
neighbor.
paths (Optional) Regular expression that is used to match the paths received.
regular-expression
dampened-routes (Optional) Displays the dampened routes to the neighbor at the IP
address specified.
Command Modes EXEC
Command History Release Modification
10.0 This command was introduced.
11.2 The received-routes keyword was
added.
Network Protocols Command Reference, Part 1
P1R-470
BGP Commands
show ip bgp neighbors
Examples The following is sample output from the show ip bgp neighbors command:
Router# show ip bgp neighbors 172.16.232.178
BGP neighbor is 172.16.232.178, remote AS 10, external link
Index 1, Offset 0, Mask 0x2
Inbound soft reconfiguration allowed
BGP version 4, remote router ID 172.16.232.178
BGP state = Established, table version = 27, up for 00:06:12
Last read 00:00:12, hold time is 180, keepalive interval is 60 seconds
Minimum time between advertisement runs is 30 seconds
Received 19 messages, 0 notifications, 0 in queue
Sent 17 messages, 0 notifications, 0 in queue
Inbound path policy configured
Route map for incoming advertisements is testing
Connections established 2; dropped 1
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 172.16.232.181, Local port: 11002
Foreign host: 172.16.232.178, Foreign port: 179
Enqueued packets for retransmit: 0, input: 0, saved: 0
Event Timers (current time is 0x530C294):
Timer Starts Wakeups Next
Retrans 12 0 0x0
TimeWait 0 0 0x0
AckHold 12 10 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
iss: 133981889 snduna: 133982166 sndnxt: 133982166 sndwnd: 16108
irs: 3317025518 rcvnxt: 3317025810 rcvwnd: 16093 delrcvwnd: 291
SRTT: 441 ms, RTTO: 2784 ms, RTV: 951 ms, KRTT: 0 ms
[ Pobierz całość w formacie PDF ]