cisco router RIP basic configuration commands

Insert picture description here
1. Configure the computer's IP address, subnet mask and default gateway according to the requirements in the figure
Router0> enable
Router0 # config terminal
Router0 (config) # interface fa0 / 0
Router0 (config-if) # ip address 10.0.0.1 255.0. 0.0
Router0 (config-if) #no shutdown

Router0 (config) #interface Se0 / 0/0
Router0 (config-if) #ip address 202.115.80.5 255.255.255.252
Router0 (config-if) #no shutdown
Router (config-if) #clock rate 64000 The clock frequency is 64kHz, That is, the corresponding rate is 64 kbit / s.
Note that the serial link of the WAN must be configured with a clock on the DCE end (that is, the end with the clock mark on the right end of Router0).

2. Configure the RIP protocol
Router0 (config) #router rip (start the dynamic routing protocol RIP)
Router0 (config-router) #network 10.0.0.0 (annotated class network)
Router0 (config-router) #network 202.115.80.0 (announced Network)

Router1 (config) #router rip (start dynamic routing protocol RIP)
Router1 (config-router) #network 192.168.0.0 (advertise a classy network)
Router1 (config-router) #network 192.168.1.0 (advertise a classy network)
Router1 ( config-router) #network 202.115.80.0 (advertise a classy network)

3. View routing information
Router0 # show ip route View routing table
Router0 # show ip protocols View RIP routing protocol information

Published 5 original articles · Likes0 · Visits 4

Guess you like

Origin blog.csdn.net/qq_45562742/article/details/105430942