Command
router
Use
The router command allows you to enable a routing process.
Syntax
Router#(config)*#*router
Optional Switches
| -bgp -eigrp -isis -iso-igrp -mobile -odr -ospf -rip | Border Gateway Protocol (BGP) Enhanced Interior Gateway Routing Protocol (EIGRP) ISO IS-IS IGRP for OSI networks Mobile routes On Demand stub Routes Open Shortest Path First (OSPF) Routing Information Protocol (RIP) |
Example
Since there are many different router options, we have added a router section with some of the more useful router configurations for a CCNA candidate. This example details how to use the router command to enable RIP.
Copy
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#no auto
R1(config-router)#network 10.1.1.0
R1(config-router)#exit
R1(config)#exit
R1#