cisco 动态路由配置

发布时间:2024-08-30

很不错的文档

cisco 动态路由配置

路由0配置

Router>enable //进入特权模式

Router#configure terminal //全局模式

Router(config)#interface f0/0 //进入f0/0端口

Router(config-if)#ip address 10.1.1.1 255.255.255.0 //配置端口ip Router(config-if)#no shut //开启端口

Router(config-if)#exit //退出全局模式

Router(config)#interface s1/0 //进入s1/0端口

Router(config-if)#ip address 192.168.0.1 255.255.255.0 //配置端口

ip

很不错的文档

Router(config-if)#clock rate 64000 //设置时钟频率

Router(config-if)#no shut //开启端口

Router(config-if)#exit

Router(config)#router rip //创建rip路由进程

Router(config-router)#version 2 //配置发送版本

Router(config-router)#network 10.1.1.0 //定义关联网络 与路由相连的网络 Router(config-router)#network 192.168.0.0 //定义关联网络 与路由相连的网络

Router(config-router)#exit

//查看ip rout

Router#show ip rout

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

R 10.0.0.0/8 [120/1] via 192.168.0.2, 00:00:11, Serial1/0

C 10.1.1.0/24 is directly connected, FastEthernet0/0

C 192.168.0.0/24 is directly connected, Serial1/0

R 192.168.1.0/24 [120/1] via 192.168.0.2, 00:00:11, Serial1/0

路由1配置

Router>enable

Router#configure terminal

很不错的文档

Router(config)#interface f0/0

Router(config-if)#ip address 10.2.1.1 255.255.255.0

Router(config-if)#no shut

Router(config-if)#exit

Router(config)#interface s1/0

Router(config-if)#ip address 192.168.0.2 255.255.255.0

Router(config-if)#no shut

Router(config-if)#exit

Router(config)#interface s1/1

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#clock rate 64000

Router(config-if)#no shut

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#network 192.168.0.0

Router(config-router)#network 192.168.1.0

Router(config-router)#network 10.0.0.0 //network 直连主类网络 Router(config-router)#version 2

Router(config-router)#exit

Router#show ip rout

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

很不错的文档

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

R 10.0.0.0/8 [120/1] via 192.168.0.1, 00:00:24, Serial1/0

[120/1] via 192.168.1.2, 00:00:22, Serial1/1

C 10.2.1.0/24 is directly connected, FastEthernet0/0

C 192.168.0.0/24 is directly connected, Serial1/0

C 192.168.1.0/24 is directly connected, Serial1/1

路由2配置

Router>enable

Router#configure terminal

Router(config)#interface f0/0

Router(config-if)#ip address 10.3.1.1 255.255.255.0

Router(config-if)#no shut

Router(config-if)#exit

Router(config)#interface s1/0

Router(config-if)#ip address 192.168.1.2 255.255.255.0

Router(config-if)#no shut

Router(config)#exit

Router(config)#router rip

Router(config-router)#version 2

Router(config-router)#network 10.0.0.0

Router(config-router)#network 192.168.1.0

Router(config-router)#exit

很不错的文档

Router#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

R 10.0.0.0/8 [120/1] via 192.168.1.1, 00:00:01, Serial1/0

C 10.3.1.0/24 is directly connected, FastEthernet0/0

R 192.168.0.0/24 [120/1] via 192.168.1.1, 00:00:01, Serial1/0

C 192.168.1.0/24 is directly connected, Serial1/0

cisco 动态路由配置.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:7 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:29元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219