DynagenでCCIEを目指す
20100418 RIP タイマーの変更
最終更新:
it_certification
-
view
目的
- RIPのタイマーを調整し、コンバージェンスを早める方法を確認します。
構成
- 設定概要
- RIPによってルーティングします。
- 構成図

- netファイル
ghostios = True sparsemem = True model = 3620 [localhost] [[3620]] image = C:\Program Files\Dynamips\images\c3620-j1s3-mz.123-18.bin ram = 256 [[ROUTER R1]] f0/0 = R2 f0/0 [[ROUTER R2]]
- 初期設定 R1
! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ! ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto ! router rip network 1.0.0.0 network 192.168.1.0 no auto-summary ! ip http server ip classless ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! ! end
- 初期設定 R2
! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ! ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 2.2.2.2 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.1.2 255.255.255.0 duplex auto speed auto ! router rip network 2.0.0.0 network 192.168.1.0 no auto-summary ! ip http server ip classless ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! ! end
検証1 タイマーの設定
- 認証の確認
show ip protocolコマンドでタイマーを確認します。hello, invalid, hold, flushのタイマーが確認できます。
R1#show ip protocols Routing Protocol is "rip" Sending updates every 30 seconds, next due in 21 seconds <- helloが確認できます Invalid after 180 seconds, hold down 180, flushed after 240 <- invalid, hold, flushが確認できます Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 1 2 Loopback0 1 1 2 Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 1.0.0.0 192.168.1.0 Routing Information Sources: Gateway Distance Last Update 192.168.1.2 120 00:00:04 Distance: (default is 120) R1#
- タイマーの設定
ripのタイマーを設定します。R1のみ、以下のコマンドを投入します。
R1(config)#router rip R1(config-router)#timers basic 10 30 30 40
- ルーティングテーブルの確認
ルーティングテーブルを確認します。OSPFと違って、RIPはタイマーが違っても経路が交換できるようです。
R1#clear ip route * R1#show ip route Codes: 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 Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets C 1.1.1.1 is directly connected, Loopback0 R 2.0.0.0/8 [120/1] via 192.168.1.2, 00:00:02, FastEthernet0/0 C 192.168.1.0/24 is directly connected, FastEthernet0/0 R1#
- タイマーの確認します。
タイマーを再確認します。先ほどのタイマーの変更設定が反映されている事を確認します。
R1#show ip protocols Routing Protocol is "rip" Sending updates every 10 seconds, next due in 5 seconds Invalid after 30 seconds, hold down 30, flushed after 40 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 1 2 Loopback0 1 1 2 Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 1.0.0.0 192.168.1.0 Routing Information Sources: Gateway Distance Last Update 192.168.1.2 120 00:00:24 Distance: (default is 120) R1#
添付ファイル