You are on page 1of 1

Static route:

Router(config)# ip route <network-address> <subnet-mask> <next-hop ip address/ exit


interface>

Static default route:


Router(config)# ip route 0.0.0.0 0.0.0.0 <next-hop ip address/ exit interface>

RIPv2:
Router(config)#router rip
Router(config)#version 2
Router0(config-router)# network <network-address>
Router0(config-router)#no auto-summary
Router(config-router)#passive-interface <interface> //RIP will not broadcast
routing update from this interface
Router(config-router)#no network <network-address> //Remove network from RIP
routing advertisement
Router(config-router)#default-information originate //advertise default route to
others

RIPng for IPv6:


Router(config)#ipv6 unicast-routing
Router(config)#ipv6 router rip <process_name>
Router(config)#interface <interface>
Router(config)#ipv6 rip <process_name> enable

You might also like