思科Cisco BGP常用show命令小結(jié)
本文總結(jié)了思科Cisco BGP常用show命令。分享給大家供大家參考,具體如下:
1.常用的show 命令
查看BGP路由表
XRV8#show ip bgp all
For address family: IPv4 Unicast
BGP table version is 217, local router ID is 10.255.255.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.33.0.0/19 0.0.0.0 32768 i
*> 10.33.1.0/24 0.0.0.0 0 32768 i
*> 10.33.2.0/24 0.0.0.0 0 32768 i
*> 10.33.3.0/24 0.0.0.0 0 32768 i
查看BGP鄰居表
XRV8#show ip bgp summary
BGP router identifier 10.255.255.8, local AS number 65002
BGP table version is 217, main routing table version 217
72 network entries using 10368 bytes of memory
76 path entries using 6080 bytes of memory
3/3 BGP path/bestpath attribute entries using 456 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 16928 total bytes of memory
BGP activity 140/68 prefixes, 220/144 paths, scan interval 60 secsNeighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.201.1.1 4 65000 95 89 217 0 0 01:08:02 4
10.201.2.1 4 65000 86 90 217 0 0 01:01:00 4
查看路由表中的BGP路由
XRV8#show ip route bgp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop overrideGateway of last resort is not set
10.0.0.0/8 is variably subnetted, 141 subnets, 4 masks
B 10.33.0.0/19 [200/0], 01:07:50, Null0
B 10.63.0.0/19 [20/0] via 10.201.2.1, 00:14:30
B 10.79.0.0/19 [20/0] via 10.201.2.1, 00:14:30
B 10.118.0.0/19 [200/0], 01:07:50, Null0
B 10.123.0.0/19 [200/0], 01:07:50, Null0
B 10.133.0.0/19 [20/0] via 10.201.2.1, 00:14:30
B 10.149.0.0/19 [200/0], 01:07:50, Null0
B 10.158.0.0/19 [20/0] via 10.201.2.1, 00:14:30
查看BGP路由含有某些特定路由的信息
XRV8#show ip route bgp | include 10.133.0.0
B 10.133.0.0/19 [20/0] via 10.201.2.1, 00:19:04
查看含有某些前綴的BGP路由信息
XRV8#show ip bgp 10.133.0.0
BGP routing table entry for 10.133.0.0/19, version 216
Paths: (2 available, best #2, table default)
Not advertised to any peer
Refresh Epoch 4
65000 65001, (aggregated by 65001 10.255.255.7)
10.201.1.1 from 10.201.1.1 (10.255.255.5)
Origin IGP, localpref 100, valid, external, atomic-aggregate
rx pathid: 0, tx pathid: 0
Refresh Epoch 4
65000 65001, (aggregated by 65001 10.255.255.7)
10.201.2.1 from 10.201.2.1 (10.255.255.6)
Origin IGP, localpref 100, valid, external, atomic-aggregate, best
rx pathid: 0, tx pathid: 0x0
查看某個特定的掩碼區(qū)間的路由
XRV8#show ip bgp 10.133.0.0/16 longer-prefixes
BGP table version is 217, local router ID is 10.255.255.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not foundNetwork Next Hop Metric LocPrf Weight Path
* 10.133.0.0/19 10.201.1.1 0 65000 65001 i
*> 10.201.2.1 0 65000 65001 i
查看起源于某個特定AS的路由
XRV8#show ip bgp regexp 65001$
BGP table version is 217, local router ID is 10.255.255.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not foundNetwork Next Hop Metric LocPrf Weight Path
* 10.63.0.0/19 10.201.1.1 0 65000 65001 i
*> 10.201.2.1 0 65000 65001 i
* 10.79.0.0/19 10.201.1.1 0 65000 65001 i
*> 10.201.2.1 0 65000 65001 i
* 10.133.0.0/19 10.201.1.1 0 65000 65001 i
*> 10.201.2.1 0 65000 65001 i
* 10.158.0.0/19 10.201.1.1 0 65000 65001 i
*> 10.201.2.1 0 65000 65001 i
相關(guān)文章
- 這篇文章主要介紹了思科CISCO路由器基本操作命令,簡單總結(jié)分析了思科Cisco路由器時間、語言、配置描述、恢復(fù)出廠設(shè)置等基本操作命令與使用技巧,需要的朋友可以參考下2020-04-04
思科CISCO實驗記錄一:路由器基本配置原理與命令小結(jié)
這篇文章主要介紹了思科CISCO實驗路由器基本配置原理與命令,結(jié)合具體實驗案例形式分析了思科CISCO路由器基本配置的基本原理、相關(guān)操作命令與使用注意事項,需要的朋友可以參2020-04-04思科Cisco PT模擬器下交換機/路由器基礎(chǔ)配置命令總結(jié)
這篇文章主要介紹了思科Cisco PT模擬器下交換機/路由器基礎(chǔ)配置命令,總結(jié)分析了思科Cisco路由器與交換機各種基本狀態(tài)、端口、路由、防火墻相關(guān)配置命令與注意事項,需要的朋2020-03-13- 這篇文章主要介紹了思科認證CiSCO 交換機配置與SSH 登陸操作命令,總結(jié)分析了三層交換機上僅運行SSH服務(wù)相關(guān)原理與配置命令,需要的朋友可以參考下2020-02-12
CCNA認證考試思科Cisco交換機配置基本命令小結(jié)
這篇文章主要介紹了CCNA認證考試思科Cisco交換機配置基本命令,整理總結(jié)了CCNA認證考試中思科交換機VLAN、網(wǎng)關(guān)、vtp、Telnet等各種配置、查看、保存相關(guān)操作技巧與注意事項,2020-02-02CCNA認證考試學(xué)習(xí)筆記之思科(Cisco)路由器常用命令總結(jié)
這篇文章主要介紹了CCNA認證考試學(xué)習(xí)筆記之思科(Cisco)路由器常用命令,整理總結(jié)了CCNA認證考試思科Cisco路由器配置、設(shè)置、靜態(tài)路由、動態(tài)路由、訪問控制列表等常用命令及2020-02-02
Cisco思科光纖交換機怎么配置呢?相信很多網(wǎng)友還是不太了解,下面就為大家收集的Cisco思科光纖交換機配置說明教程,一起來看看了解下2017-04-11思科Cisco路由器access-list訪問控制列表命令詳解
CISCO路由器中的access-list(訪問列表)最基本的有兩種,分別是標準訪問列表和擴展訪問列表,二者的區(qū)別主要是前者是基于目標地址的數(shù)據(jù)包過濾,而后者是基于目標地址、源2013-01-25思科Cisco MPLS多協(xié)議標簽交換原理與配置操作詳解
這篇文章主要介紹了思科Cisco MPLS多協(xié)議標簽交換原理與配置操作,結(jié)合實例形式詳細分析了思科Cisco MPLS多協(xié)議標簽交換概念、原理、配置命令及操作注意事項,需要的朋友可以2020-03-30- 這篇文章主要介紹了思科Cisco PPP協(xié)議原理與配置方法,結(jié)合實例形式分析了思科PPP協(xié)議的基本原理、配置命令與相關(guān)操作注意事項,需要的朋友可以參考下2020-03-30


