<0-3> FastEthernet interface number
R2624-1(config)#interface fastethernet 0
R2624-1(config-if)#ip address 192.16.3.1 255.255.255.0
R2624-1(config-if)#no shutdown
(2)配置 2624-1 的串口 s1
R2624-1(config)#interface serial 1
R2624-1(config-if)#ip address 192.16.2.1 255.255.255.0
R2624-1(config-if)#clock rate 64000(配置时钟,注意是 DCE 端)
R2624-1(config-if)#no shutdown
(3)验证路由器接口及串口配置:
R2624-1#Show ip interface brief
R2624-1#show interface serial 1
(4)配置 RIP 路由
R2624-1(config)#router rip
R2624-1(config-rip)#network 192.16.3.0
R2624-1(config-rip)#network 192.16.2.0
R2624-1#show ip route(查看路由)
3、路由器 2620-2 配置
Red-Giant>enable
Red-Giant#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Red-Giant (config)#hostname R2620-2
R2620-2(config)#
(1)查看路由器接口状态
R2620-2#show ip int brief
(2)配置接口 f0
R2620-2#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R2620-2(config)#interface fa 0
R2620-2(config-if)#ip address 192.16.1.1 255.255.255.0
R2620-2(config-if)#no shutdown
(3)配置串口 s0
R2620-2(config)#inter serial 0
R2620-2(config-if)#ip address 192.16.2.2 255.255.255.0
R2620-2(config-if)#no shutdown
(4)验证接口、串口配置
R2620-2#Show ip interface brief
R2620-2#show interface serial 0
(5)RIP 路由配置
R2620-2(config)#router rip
R2620-2(config-rip)#network 192.16.1.0
R2620-2(config-rip)#network 192.16.2.0
附录:可使用的验证命令
1.show run