RIP Troubleshooting Commands:
RIP のトラブルシューティングに役立つ show/debug コマンドを載せています。
問題が発生した場合に、どのようなコマンドがあるかという意味で作成したドキュメントとなり、
詳細な情報は記載せず、コマンドのみとしています。
※IOSバージョンによりサポートしていないコマンドが含まれている場合があります。
※Platformに依存したコマンドは載っていない場合があります。
※一部Hiddenコマンドとなり、補完されないコマンドが含まれている場合があります。
※debug取得は設定/環境によりCPU高負荷を引き起こす可能性があるため、実環境で取得する場合には事前に影響を検証の上、取得をご検討ください。
Configuration Commands:
CommandsDescriptions
Router(config)#router rip
|
Enables RIP as a routing protocol
|
Router(config-router)#network w.x.y.z
|
w.x.y.z is the network number of the directly connected network you want to advertise.
|
Router(config)#no router rip
|
Turns off the RIP routing process
|
Router(config-router)#no network w.x.y.z
|
Removes network w.x.y.z from the RIP routing process.
|
Router(config-router)#version 2
|
RIP will now send and receive RIPv2 packets globally.
|
Router(config-router)#version 1
|
RIP will now send and receive RIPv1 packets only
|
Router(config-router)#no auto-summary
|
RIPv2 summarizes networks at the classful boundary. This command turns autosummarization off.
|
Router(config-router)#passive-interface s0/0/0
|
RIP updates will not be sent out this interface.
|
Router(config-router)#no ip split-horizon
|
Turns off split horizon (on by default).
|
Router(config-router)#ip split-horizon
|
Re-enables split horizon
|
Router(config-subif)#ip rip authentication key-chain XYZ
|
Enable authentication for RIPv2 packets and to specify the set of keys used on an interface
|
Router(config-subif)#ip rip authentication mode md5
|
Specify the type of authentication used in RIPv2 packets
|
The syntax of the offset-list configuration is "offset-list <ACL NO> in/out <metric Value> <interface No>"
|
To modify the RIP metrics for a list of routes learned through a particular interface with use "offset-list" command
|
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-subif)#ip summary-address rip 10.10.0.0 255.255.0.0
|
To manually configure address summarization on an individual interface with the "ip summary-address rip" configuration command
|
Router(config-router)#timers basic 30 90 180 270 360
|
Changes timers in RIP: 30 = Update timer (in seconds) 90 = Invalid timer (in seconds) 180 = Hold-down timer (in seconds) 270 = Flush timer (in seconds) 360 = Sleep time (in milliseconds)
|
Show commands:
show ip protocols
show ip route rip
show ip rip database
show tech-support
show logging
Debug commands:
debug ip packet
debug ip rip
debug ip rip database
debug ip rip event
debug ip rip triggered