IT猫扑社区's Archiver

admin 发表于 2008-3-30 12:32

CCIE实验笔记之第4章 RIP 之二

[size=2][color=#000000][font=Arial][size=10.5pt]4.3
[/size][/font][font=宋体][size=10.5pt]RIP[/size][/font][/color][/size][size=2][font=宋体][size=10.5pt]的“big show” and “big D”[/size][/font][font=宋体][size=10.5pt][/size][/font][/size][font=Times New Roman][size=2][color=#000000][size=10.5pt]4.3.1
[/size][size=10.5pt]show ip protocols { summary }[/size][/color][/size][/font][size=10.5pt][/size][size=2][font=宋体]该命令可以显示所有路由协议,详细的计时器和度量信息,及路由更新信息等。例[/font][font=Times New Roman]4-6[/font][font=宋体]列出了该命令显示结果:[/font][/size]
[size=2][font=宋体]例[/font][font=Times New Roman]4-6 show ip protocols[/font][font=宋体]执行结果[/font][/size]
[font=Times New Roman][size=2]R1#sho ip protocols [/size][/font]
[size=2][font=Times New Roman]Routing Protocol is "rip"[/font][font=宋体] [/font][font=宋体]    [color=red]<-路由协议类型[/color][/font][/size]
[font=Times New Roman][size=2]
Sending updates every 30 seconds, next due in 21 seconds[/size][/font]
[size=2][font=Times New Roman]

Invalid after 180 seconds, hold down 180, flushed after 240[/font][font=宋体]   [color=red]<-计时器信息[/color][/font][/size]
[font=Times New Roman][size=2]
Outgoing update filter list for all interfaces is not set[/size][/font]
[font=Times New Roman][size=2]
Incoming update filter list for all interfaces is not set[/size][/font]
[font=Times New Roman][size=2]
Redistributing: rip[/size][/font]
[font=Times New Roman][size=2]
Default version control: send version 2, receive version 2[/size][/font]
[font=Times New Roman][size=2]
Interface
Send
Recv
Triggered RIP
Key-chain[/size][/font]
[size=2][font=Times New Roman]
FastEthernet0/0
2
2
[/font][font=宋体]  [color=red]<-[/color][/font][font=Times New Roman][color=red]Running Version[/color]
[/font][/size]
[font=Times New Roman][size=2]
Loopback1
1 2
1 2

[/size][/font]
[font=Times New Roman][size=2]
Automatic network summarization is not in effect[/size][/font]
[font=Times New Roman][size=2]
Maximum path: 4[/size][/font]
[size=2][font=Times New Roman]
Routing for Networks:
[/font][color=red][font=宋体]<-[/font][/color][color=red][font=Times New Roman]RIP[/font][/color][color=red][font=宋体]路由的网络[/font][/color][color=red][/color][/size]
[font=Times New Roman][size=2]
128.1.0.0[/size][/font]
[font=Times New Roman][size=2]
128.200.0.0[/size][/font]
[font=Times New Roman][size=2]
Routing Information Sources:[/size][/font]
[font=Times New Roman][size=2]
Gateway
Distance
Last Update[/size][/font]
[size=2][font=Times New Roman]
128.200.1.2
120
00:00:01[/font][font=宋体]   [color=red]<-[/color][/font][color=red][font=Times New Roman]RIP neighbor[/font][/color][/size]
[size=2][font=Times New Roman]
Distance: (default is 120)
[/font][color=red][font=宋体]<-[/font][/color][color=red][font=Times New Roman]Administrative Distance[/font][/color][/size]
[color=red][font=Times New Roman][size=2] [/size][/font][/color]
[font=Times New Roman][size=2][color=#000000][size=10.5pt]4.3.2
[/size][size=10.5pt]show ip route[/size][/color][/size][/font][size=10.5pt][font=Times New Roman][size=2] [/size][/font][/size][size=2][font=宋体]显示当前路由表及路由信息,来自哪个路由协议,及管理距离等,例[/font][font=Times New Roman]4-7[/font][font=宋体]是执行该命令的信息:[/font][/size]
[size=2][font=宋体]例[/font][font=Times New Roman]4-7 [/font][font=宋体]执行[/font][font=Times New Roman]show ip route[/font][font=宋体]的结果[/font][/size]
[font=Times New Roman][size=2]R1#show ip route [/size][/font]
[font=Times New Roman][size=2]Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP[/size][/font]
[font=Times New Roman][size=2]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/size][/font]
[font=Times New Roman][size=2]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/size][/font]
[font=Times New Roman][size=2]
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP[/size][/font]
[font=Times New Roman][size=2]
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area[/size][/font]
[font=Times New Roman][size=2]
* - candidate default, U - per-user static route, o - ODR[/size][/font]
[font=Times New Roman][size=2]
P - periodic downloaded static route[/size][/font]
[font=Times New Roman][size=2] [/size][/font]
[font=Times New Roman][size=2]Gateway of last resort is not set[/size][/font]
[font=Times New Roman][size=2] [/size][/font]
[font=Times New Roman][size=2]
128.200.0.0/24 is subnetted, 3 subnets[/size][/font]
[font=Times New Roman][size=2]C
128.200.11.0 is directly connected, Loopback1[/size][/font]
[font=Times New Roman][size=2]R
128.200.12.0 [120/1] via 128.200.1.2, 00:00:30, FastEthernet0/0[/size][/font]
[font=Times New Roman][size=2]C
128.200.1.0 is directly connected, FastEthernet0/0[/size][/font]
[font=Times New Roman][size=2]
192.16.1.0/30 is subnetted, 1 subnets[/size][/font]
[font=Times New Roman][size=2]R
192.16.1.0 [120/1] via 128.200.1.2, 00:00:30, FastEthernet0/0[/size][/font]
[font=Times New Roman][size=2]R1#[/size][/font]
[size=2][font=宋体]最前面的“[/font][font=Times New Roman]R[/font][font=宋体]”代表[/font][font=Times New Roman]RIP[/font][font=宋体]路由协议。“[/font][font=Times New Roman][120/1][/font][font=宋体]”这个字段里的“[/font][font=Times New Roman]120[/font][font=宋体]”[/font][font=宋体]是度量值,“[/font][font=Times New Roman]1[/font][font=宋体]”是跳数。后面还有接收到该路由的接口。[/font][/size]
[font=Times New Roman][size=2][color=#000000][size=10.5pt]4.3.3
[/size][size=10.5pt]debug ip rip [ event ][/size][/color][/size][/font][size=2][font=宋体][size=10.5pt]命令[/size][/font]





[size=10.5pt][/size][/size][size=2][font=宋体]可以显示[/font][font=Times New Roman]RIP[/font][font=宋体]的所有活动,显示接收和发送的接口,更新信息的[/font][font=Times New Roman]RIP[/font][font=宋体]版本及每条路由的度量等,例[/font][font=Times New Roman]4-8[/font][font=宋体]执行[/font][font=Times New Roman]debug ip rip [/font][font=宋体]的结果。[/font][/size]
[size=2][font=宋体]例[/font][font=Times New Roman]4-8 debug ip rip [/font][font=宋体]命令的显示信息[/font][/size]
[font=Times New Roman][size=2]R1#debug ip rip [/size][/font]
[font=Times New Roman][size=2]RIP protocol debugging is on[/size][/font]
[font=Times New Roman][size=2]R1#[/size][/font]
[font=Times New Roman][size=2]01:21:19: RIP: received v2 update from 128.200.1.2 on FastEthernet0/0[/size][/font]
[font=Times New Roman][size=2]01:21:19:
128.200.12.0/24 via 0.0.0.0 in 1 hops[/size][/font]
[font=Times New Roman][size=2]01:21:19:
192.16.1.0/30 via 0.0.0.0 in 1 hops[/size][/font]
[font=Times New Roman][size=2]01:21:39: RIP: received v2 update from 128.200.1.2 on FastEthernet0/0[/size][/font]
[font=Times New Roman][size=2]01:21:39:
128.200.12.0/24 via 0.0.0.0 in 1 hops[/size][/font]
[font=Times New Roman][size=2]01:21:39:
192.16.1.0/30 via 0.0.0.0 in 1 hops[/size][/font]
[font=Times New Roman][size=2]01:21:40: RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (128.200.1.1)[/size][/font]
[font=Times New Roman][size=2]01:21:40: RIP: build update entries[/size][/font]
[font=Times New Roman][size=2]01:21:40:
128.200.11.0/24 via 0.0.0.0, metric 1, tag 0[/size][/font]
[font=Times New Roman][size=2]01:21:40: RIP: sending v1 update to 255.255.255.255 via Loopback1 (128.200.11.1)[/size][/font]
[font=Times New Roman][size=2]01:21:40: RIP: build update entries[/size][/font]
[font=Times New Roman][size=2]01:21:40:
subnet 128.200.1.0 metric 1[/size][/font]
[font=Times New Roman][size=2]01:21:40:
subnet 128.200.12.0 metric 2[/size][/font]
[font=Times New Roman][size=2]01:21:40:
network 192.16.1.0 metric 2[/size][/font]

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.