SEFOS# configure terminal SEFOS(config)# router rip SEFOS(config-router)# network 10.0.0.1
SEFOS(config-router)# redistribute static SEFOS(config-router)# exit
SEFOS(config)# ip route 50.0.0.0 255.0.0.0 vlan 2 SEFOS(config)# ip route 60.0.0.0 255.0.0.0 vlan 2 SEFOS(config)# ip route 70.0.0.0 255.0.0.0 vlan 2 SEFOS(config)# ip route 80.0.0.0 255.0.0.0 vlan 2 SEFOS(config)# end
SEFOS# configure terminal SEFOS(config)# router rip SEFOS(config-router)# network 10.0.0.2 SEFOS(config-router)# end
SEFOS# show ip protocols Routing Protocol is rip Vrf default RIP2 security level is Maximum Redistributing : rip, static Output Delay is disabled Retransmission timeout interval is 5 seconds Number of retransmission retries is 36 Default metric is 3 Auto-Summarisation of routes is enabled Routing for Networks : 10.0.0.0 Routing Information Sources : Interface Specific Address Summarization : Trusted Neighors : Interface vlan1 Sending updates every 30 seconds Invalid after 180 seconds Flushed after 120 seconds Send version is 1 2, receive version is 1 2 Authentication type is none Split Horizon with poissoned reverse is enabled Restrcts default route installation Restricts default route origination
In switch 1, static routes with the metric of 3 are redistributed into the RIP domain. The following output shows the redistributed static routes with the metric of 4.
SEFOS# show ip rip database 10.0.0.0/8 [1] auto-summary 10.0.0.0/16 [1] directly connected, vlan1 50.0.0.0/8 [4] auto-summary 50.0.0.0/8 [4] via 10.0.0.1, vlan1 60.0.0.0/8 [4] auto-summary 60.0.0.0/8 [4] via 10.0.0.1, vlan1 70.0.0.0/8 [4] auto-summary 70.0.0.0/8 [4] via 10.0.0.1, vlan1 80.0.0.0/8 [4] auto-summary 80.0.0.0/8 [4] via 10.0.0.1, vlan1
SEFOS# show ip route C 10.0.0.0/16 is directly connected, vlan1 C 30.2.2.0/24 is directly connected, vlan3 R 50.0.0.0/8 [4] via 10.0.0.1 R 60.0.0.0/8 [4] via 10.0.0.1 R 70.0.0.0/8 [4] via 10.0.0.1 R 80.0.0.0/8 [4] via 10.0.0.1