《路由器基本知识及应用实例(DOC格式)》第21章


noc2004@BJ…BB1…T640》 show route summary
Router ID: 211。94。62。1
inet。0: 27 destinations; 42 routes (26 active; 0 holddown; 1 hidden) Restart plete
Direct: 9 routes; 8 active
Local: 7 routes; 7 active
OSPF: 16 routes; 1 active
Static: 1 routes; 1 active
IS…IS: 9 routes; 9 active
inet。3: 6 destinations; 12 routes (6 active; 0 holddown; 0 hidden) Restart plete
RSVP: 6 routes; 6 active
LDP: 6 routes; 0 active
iso。0: 1 destinations; 1 routes (1 active; 0 holddown; 0 hidden) Restart plete
Direct: 1 routes; 1 active
mpls。0: 100 destinations; 100 routes (100 active; 0 holddown; 0 hidden) Restart plete
MPLS: 3 routes; 3 active
RSVP: 79 routes; 79 active
LDP: 12 routes; 12 active
L2CKT: 6 routes; 6 active
__juniper_private1__。inet6。0: 1 destinations; 1 routes (1 active; 0 holddown; 0 hidden)
Direct: 1 routes; 1 active
l2circuit。0: 7 destinations; 7 routes (7 active; 0 holddown; 0 hidden) Restart plete
LDP: 3 routes; 3 active
L2CKT: 4 routes; 4 active
show ospf neighbor
noc2004@BJ…BB1…T640》 show ospf neighbor
Address Interface State ID Pri Dead
202。96。117。193 at…6/0/1。0 Full 202。96。101。12 128 39
202。96。117。241 at…6/0/1。1 Full 202。96。101。39 128 35
202。96。115。66 fe…6/1/2。0 Full 202。96。101。224 1 38
show ospf interface(观察OSPF端口状态STATE邻居状态)
noc2004@BJ…BB1…T640》 show ospf interface
Interface State Area DR ID BDR ID Nbrs
at…6/0/0。1 Down 0。0。0。0 0。0。0。0 0。0。0。0 0
at…6/0/1。0 PtToPt 0。0。0。0 0。0。0。0 0。0。0。0 1
at…6/0/1。1 PtToPt 0。0。0。0 0。0。0。0 0。0。0。0 1
fe…6/1/2。0 BDR 0。0。0。10 202。96。101。224 202。96。101。226 1
noc2004@BJ…BB1…T640》 show ospf statistics
Packet type Total Last 5 seconds
Sent Received Sent Received
Hello 1268136 1215432 2 2
DbD 264 271 0 0
LSReq 24 23 0 0
LSUpdate 1641426 1193777 0 0
LSAck 611035 863074 0 1
LSAs retransmitted: 8560; last 5 seconds: 0
Flood queue depth: 0
Total rexmit entries: 141; db summaries: 0; lsreq entries 0
Receive errors:
None
show bgp summary观察BGP连接状态;路由广播情况
noc2004@BJ…BB1…T640》 show bgp summary
Groups: 2 Peers: 3 Down Peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet。0 107042 107027 0 0 0 0
inet。2 0 0 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#A
ctive/Received/Damped。。。
202。96。117。206 64740 55923 2261048 0 6 2w4d5h 47/61/0
0/0/0
202。96。117。250 64740 52450 2316092 0 0 2w4d6h 0/0/0
0/0/0
202。107。253。1 4134 2409429 52937 0 1 2w3d16h 106980/1
06981/0 0/0/0
show isis adjacency ……查看当前ISIS邻接关系状态
noc2004@BJ…BB1…T640》 show isis adjacency 
Interface System L State Hold (secs) SNPA
so…0/0/0。0 Shanghai1TSX1…RE0 2 Up 22
so…0/1/0。0 Guangzhou1TSX1…RE1 2 Up 22
so…0/2/0。0 Wuhan1TSX1…RE0 2 Up 25
so…0/2/1。0 Chengdu1TSX1…RE0 2 Up 26
so…0/2/2。0 Xian1TSX1…RE0 2 Up 26
so…0/2/3。0 Shenyang1TSX1…RE0 2 Up 24
show route table *** ……查看某个路由表状态
noc2004@BJ…BB1…T640》 show route table l2circuit。0 
l2circuit。0: 7 destinations; 7 routes (7 active; 0 holddown; 0 hidden) Restart plete
+ = Active Route; = Last Active; * = Both
211。94。62。3:CtrlWord:4:20011021:Local/96
*'L2CKT/7' 2d 00:12:45
》 via so…0/0/0。0; label…switched…path BJ1…to…SH1
via so…0/1/0。0; label…switched…path BJ1…to…SH1
211。94。62。5:CtrlWord:4:601:Local/96
*'L2CKT/7' 09:04:07
》 via so…0/1/0。0; label…switched…path BJ1…to…GZ1
via so…0/0/0。0; label…switched…path BJ1…to…GZ1
211。94。62。5:CtrlWord:4:601:Remote/96
*'LDP/9' 4w5d 17:44:36
Discard
211。94。62。5:CtrlWord:4:661:Local/96
*'L2CKT/7' 09:04:07
》 via so…0/1/0。0; label…switched…path BJ1…to…GZ1
via so…0/0/0。0; label…switched…path BJ1…to…GZ1
211。94。62。5:CtrlWord:4:661:Remote/96
*'LDP/9' 4w5d 17:44:36
Discard
211。94。62。7:CtrlWord:4:20011041:Local/96
*'L2CKT/7' 09:04:07
》 via so…0/2/0。0; label…switched…path BJ1…to…WH1
211。94。62。7:CtrlWord:4:20011041:Remote/96
*'LDP/9' 2w4d 05:34:16
Discard
show route ……查看当前路由表中某一具体目标网段的路由表项
正常状态输出范例:
noc2004@BJ…BB1…T640》 show route 211。94。62。3 extensive 
inet。0: 27 destinations; 42 routes (26 active; 0 holddown; 1 hidden) Restart plete
211。94。62。3/32 (2 entries; 1 announced)
TSI:
KRT in…kernel 211。94。62。3/32 …》 {211。94。63。253}
*IS…IS Preference: 18
Level: 2
Next hop: 211。94。63。253 via so…0/0/0。0; selected
小说推荐
返回首页返回目录