[ 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.
The following is sample output from the show ip bgp neighbors command with paths:
Router# show ip bgp neighbors 172.16.232.178 paths ^10
Address Refcount Metric Path
0x60E577B0 2 40 10 ?
Network Protocols Command Reference, Part 1
P1R-474
BGP Commands
show ip bgp paths
show ip bgp paths
To display all the BGP paths in the database, use the show ip bgp paths command in EXEC mode.
show ip bgp paths
Syntax Description This command has no arguments or keywords.
Command Modes EXEC
Command History Release Modification
10.0 This command was introduced.
Examples The following is sample output from the show ip bgp paths command:
Router# show ip bgp paths
Address Hash Refcount Metric Path
0x60E5742C 0 1 0 i
0x60E3D7AC 2 1 0 ?
0x60E5C6C0 11 3 0 10 ?
0x60E577B0 35 2 40 10 ?
Table 48 describes significant fields shown in the display.
Table 48 show ip bgp paths Field Descriptions
Field Description
Address Internal address where the path is stored.
Hash Hash bucket where path is stored.
Refcount Number of routes using that path.
Metric The Multi Exit Discriminator (MED) metric for the path.
(The name of this metric for BGP versions 2 and 3 is
INTER_AS.)
Path The AS_PATH for that route, followed by the origin code for
that route.
Network Protocols Command Reference, Part 1
P1R-475
BGP Commands
show ip bgp peer-group
show ip bgp peer-group
To display information about BGP peer groups, use the show ip bgp peer-group command in EXEC
mode.
show ip bgp peer-group [tag] [summary]
Syntax Description tag (Optional) Displays information about that specific peer group.
summary (Optional) Displays a summary of the status of all the members of a
peer group.
Command Modes EXEC
Command History Release Modification
11.0 This command was introduced.
Examples The following is sample output from the show ip bgp peer-group command:
Router# show ip bgp peer-group0 internal
BGP neighbor is internal, peer-group leader
BGP version 4
Minimum time between advertisement runs is 5 seconds
Incoming update AS path filter list is 2
Outgoing update AS path filter list is 1
Route map for outgoing advertisements is set-med
Network Protocols Command Reference, Part 1
P1R-476
BGP Commands
show ip bgp regexp
show ip bgp regexp
To display routes matching the regular expression, use the show ip bgp regexp privileged command in
EXEC mode.
show ip bgp regexp regular-expression
Syntax Description regular-expression Regular expression to match the BGP autonomous system
paths.
Command Modes Privileged EXEC
Command History Release Modification
10.0 This command was introduced.
Examples The following is sample output from the show ip bgp regexp command:
Router# show ip bgp regexp 108$
BGP table version is 1738, local router ID is 172.16.72.24
Status codes: s suppressed, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* 172.16.0.0 172.16.72.30 0 109 108 ?
* 172.16.1.0 172.16.72.30 0 109 108 ?
* 172.16.11.0 172.16.72.30 0 109 108 ?
* 172.16.14.0 172.16.72.30 0 109 108 ?
* 172.16.15.0 172.16.72.30 0 109 108 ?
* 172.16.16.0 172.16.72.30 0 109 108 ?
* 172.16.17.0 172.16.72.30 0 109 108 ?
* 172.16.18.0 172.16.72.30 0 109 108 ?
* 172.16.19.0 172.16.72.30 0 109 108 ?
* 172.16.24.0 172.16.72.30 0 109 108 ?
* 172.16.29.0 172.16.72.30 0 109 108 ?
* 172.16.30.0 172.16.72.30 0 109 108 ?
* 172.16.33.0 172.16.72.30 0 109 108 ?
* 172.16.35.0 172.16.72.30 0 109 108 ?
* 172.16.36.0 172.16.72.30 0 109 108 ?
* 172.16.37.0 172.16.72.30 0 109 108 ?
* 172.16.38.0 172.16.72.30 0 109 108 ?
* 172.16.39.0 172.16.72.30 0 109 108 ?
Network Protocols Command Reference, Part 1
P1R-477
BGP Commands
show ip bgp summary
show ip bgp summary
To display the status of all BGP connections, use the show ip bgp summary command in EXEC mode.
show ip bgp summary
Syntax Description This command has no arguments or keywords.
Command Modes EXEC
Command History Release Modification
10.0 This command was introduced.
12.0 The PfxRcd and Admin entries were
added.
Examples The following is sample output from the show ip bgp summary command:
Router# show ip bgp summary
BGP table version is 717029, main routing table version 717029
19073 network entries (37544 paths) using 3542756 bytes of memory
691 BGP path attribute entries using 57200 bytes of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
193.0.16.1 4 1755 32642 2973 717029 0 0 1:27:11
193.0.17.1 4 1755 4790 2973 717029 0 0 1:27:51
193.0.18.1 4 1755 7722 3024 717029 0 0 1:28:13
193.0.19.1 4 1755 0 0 0 0 0 2d02 Active
193.0.20.1 4 1755 3673 3049 717029 0 0 2:50:10 Idle (PfxRcd)
193.0.21.1 4 1755 3741 3048 717029 0 0 12:24:43
193.0.22.1 4 1755 33129 3051 717029 0 0 12:24:48
193.0.23.1 4 1755 0 0 0 0 0 2d02 Active
193.0.24.1 4 1755 0 0 0 0 0 2d02 Active
193.0.25.1 4 1755 0 0 0 0 0 2d02 Active
193.0.26.1 4 1755 0 0 0 0 0 2d02 Active
193.0.27.1 4 1755 4269 3049 717029 0 0 12:39:33
193.0.28.1 4 1755 3037 3050 717029 0 0 2:08:15
172.16.72.24 4 1878 11635 13300 717028 0 0 0:50:39
172.16.72.36 4 1001 0 0 0 0 0 never Idle (Admin)
Table 49 describes significant fields shown in the display
.
Table 49 show ip bgp summary Field Descriptions
Field Description
BGP table version Internal version number of BGP database.
main routing table version Last version of BGP database that was injected into main
routing table.
Neighbor IP address of a neighbor.
Network Protocols Command Reference, Part 1
P1R-478
BGP Commands
show ip bgp summary
Table 49 show ip bgp summary Field Descriptions (continued)
Field Description
V BGP version number spoken to that neighbor.
AS Autonomous system.
MsgRcvd BGP messages received from that neighbor.
MsgSent BGP messages sent to that neighbor.
TblVer Last version of the BGP database that was sent to that
neighbor.
InQ Number of messages from that neighbor waiting to be
processed.
OutQ Number of messages waiting to be sent to that neighbor.
Up/Down The length of time that the BGP session has been in state
Established, or the current state if it is not Established.
State/PfxRcd Current state of the BGP session/the number of prefixes the
router has received from a neighbor or peer group. When the
maximum number (as set by the neighbor maximum-prefix
[ Pobierz całość w formacie PDF ]