Professional Documents
Culture Documents
+RIP Config - v3
+RIP Config - v3
+RIP Config - v3
(!!! Before configuration make sure all necessary interfaces are “up” and “up” with: R1#show ip interface brief )
R2(config)#router ? (Shows routing protocols)
R2(config)#router rip (RIP Message format: Dest. add: FF-FF-FF-FF-FF-FF, //Dest. IP: 255.255.255.255, protocol field 17 for UDP; 01-ICMP,
06-TCP; // UDP segment source and dest. Ports: 520 // RIP Message: 512 bytes, up to 25 entries, Maximum path: 4 equal-
cost load balancing, AD: 120, Metric: max Hop Count 15 (Bellman-Ford or Ford-Fulkerson algorithm), each 30sec.,
advertising classful address without sbn.mask, timers… = version 1, 2)
Stub, Edge R2
--------------------------------------------------------------------------------------------------------------------
R1(config)#ip classless (Classless routing behavior is by default from IOS 11.3 = type of lookup process in routing table)
R1(config)#router rip
R1(config-router)#?
R1(config-router)#version 2 (supports VLSM + CIDR; RIP updates are with IP+SnM)
R1(config-router)#no auto-summary (RIPv2 summarizes networks at the classful boundary by default)
R1(config-router)#network 192.168.1.0 (all nets on R1, classful address only!)
R1(config-router)#network 192.168.2.0
R1(config-router)#neighbor 192.168.2.2 (a specific neighbor with which to exchange routing info)
R1(config-router)#passive-interface default (turn-down all interfaces on R1 into passive state = receive RIP upds only)
R1(config-router)#no passive-interface s0/0/0 (turn-on sending RIP upds through s0/0/0)
R1(config-router)#passive-interface gi0/0 (interface only receives RIP upds)
R1(config-router)#default-information originate (propagate default static 0.0.0.0 route in RIP upds) = Gateway of last resort is 0.0.0.0 to network 0.0.0.0 in RT)
R1(config-router)#redistribute static (Redistribute information from another routing protocol, or static route configured and redistributed by RIP upds)
R1(config-router)#ip summary-address rip <supernet> <supernet mask> (allowing RIPv2 supernet summarization of networks – CIDR)
R1(config-router)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 s0/0/1 209.165.200.226 (Fully specified default static route)
R2#show ip route
1
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
R1(config)#key chain RIP_KEY (názov krúžku pre kľúče)
R1(config-keychain)#key 1 (poradie kľúčov)
R1(config-keychain-key)#key-string cisco (reťazec – zúbkovanie na kľúči)
R1(config)#interface s0/0/0
R1(config-if)#ip rip authentication mode md5
R1(config-if)#ip rip authentication key-chain RIP_KEY
R1(config-if)#end
R1#show ip traffic [….] (info about number and type of packets sent and received)
R1#debug ip rip
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ISP - 2001:DB8:FEED:1::1/64
Stub R1
R1 - S0/0/1
2
SUMMARY RIPng for IPv6:
R1(config)#interface g0/0
R1(config-if)#ipv6 rip RIP-AS enable (RIP-AS = process-name or domain-name; there is no network commands in RIPng)
R1(config-if)#no shutdown
R1(config)#interface s0/0/0
R1(config-if)#ipv6 rip RIP-AS enable
R1(config-if)#ipv6 rip RIP-AS default-information originate (to propagate the default static route in RIPng updates sent out of the configured interface)
R1(config-if)#no shutdown
3
4