华为路由重分布

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

一.基本信息配置

system-view //进入系统视图

[H3C]sysname RT3 //为设备命名

[RT3]super password simple H3C //设置超级密码

[RT3]local-user admin //添加用户

[RT3-luser-admin]password simple admin //为用户设定密码[RT3-luser-admin]service-type telnet //指定用户的类型[RT3-luser-admin]quit //返回上一级

[RT3]user-interface vty 0 4 //进入vty

[RT3-ui-vty0-4]set authentication password simple telnet //设置远程登陆认证,密码为telnet

[RT3-ui-vty0-4]idle-timeout 5 0 //配置超时退出时间

其它略

二、链路配置及调测

interface Serial0/2/0

ip address 10.1.13.2 255.255.255.252

undo shutdown

interface LoopBack0

ip address 3.3.3.3 255.255.255.255

undo shutdown

interface Ethernet0/1/0

ip address 10.1.3.1 255.255.255.0

undo shutdown

其它略

三、OSPF多区域及RIP配置

[RT3]

ospf 1 router-id 3.3.3.3 //配置OSPF ROUTER-ID

silent-interface all //配置所有端口为被动接口

undo silent-interface Serial0/2/0 //关闭此接口的被动接口undo silent-interface Serial0/2/2

area 1 //OSPF区域,可以写成点分十进制 0.0.0.1 network 3.3.3.3 0.0.0.0 //宣告OSPF的网段network 10.1.13.0 0.0.0.3

network 10.1.3.0 0.0.0.255

[RT1]

ospf 1 router-id 1.1.1.1

silent-interface all

undo silent-interface Serial0/2/0

undo silent-interface Serial0/2/2

area 0

network 10.0.15.0 0.0.0.3

network 1.1.1.1 0.0.0.0

area 1

network 10.1.13.0 0.0.0.3

network 10.1.1.0 0.0.0.255

[RT5]

ospf 1 router-id 5.5.5.5

silent-interface all

undo silent-interface Serial0/2/0

undo silent-interface Serial0/2/2

area 0

network 5.5.5.5 0.0.0.0

network 10.0.5.0 0.0.0.255 network 10.0.56.0 0.0.0.3

[RT6]

ospf 1 router-id 6.6.6.6

silent-interface all

undo silent-interface Serial0/2/0 undo silent-interface Serial0/2/2 area 0

network 10.0.56.0 0.0.0.3

network 6.6.6.6 0.0.0.0

area 2

network 10.2.6.0 0.0.0.255 network 10.2.26.0 0.0.0.3

[RT2]

ospf 1 router-id 2.2.2.2

silent-interface all

undo silent-interface Serial0/2/2 area 2

network 10.2.26.0 0.0.0.3

network 10.2.2.1 0.0.0.255

rip //启动RIP

undo summary //关闭自动汇总

version 2 //RIPV2

network 172.16.0.0 //宣告RIP的网段

silent-interface all //配置所有接口为被动接口

undo silent-interface Serial0/2/3 //将接口不设为被动接口[RT4]

rip

undo summary

version 2

network 172.16.0.0

network 4.0.0.0

silent-interface all

undo silent-interface Serial0/2/1

四、OSPF重分布外部路由及下发缺省路由

[RT5]

ospf 1

area 0

import-route direct cost 1000 type 2 //重分布直连路由

相关文档
最新文档