77范文网 - 专业文章范例文档资料分享平台

H3CSE路由实验手册(6)

来源:网络收集 时间:2019-03-10 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

[R4]interface Serial 0/2/0

[R4-Serial0/2/0]ip address 20.1.1.2 24 [R4-Serial0/2/0]quit [R4]interface LoopBack 1

[R4-LoopBack1]ip address 4.4.4.4 32 [R4-LoopBack1]quit

[R4]ospf router-id 4.4.4.4 [R4-ospf-1]area 1

[R4-ospf-1-area-0.0.0.1]network 20.1.1.0 0.0.0.255 [R4-ospf-1-area-0.0.0.1]network 4.4.4.4 0.0.0.0 [R4-ospf-1-area-0.0.0.1]quit [R4-ospf-1]quit [R4]

配置好之后在RT3上配置过滤计算出来的路由,让路由器RT3的路由表中只有192.168.0.1/32这个路由信息。

[RT3]ip ip-prefix h3c index 10 deny 192.168.1.1 32

[RT3]ip ip-prefix h3c index 20 permit 0.0.0.0 0 less-equal 32 [RT3]ospf

[RT3-ospf-1]filter-policy ip-prefix h3c import [RT3-ospf-1]quit 配置好之后查看路由表: [RT3]display ip routing-table

Routing Tables: Public

Destinations : 12 Routes : 12

Destination/Mask Proto Pre Cost NextHop Interface

2.2.2.2/32 S0/2/0

3.3.3.3/32 Direct 0 0 127.0.0.1 InLoop0

4.4.4.4/32 S0/2/2

10.1.1.0/24 Direct 0 S0/2/0

10.1.1.1/32 Direct 0 S0/2/0

10.1.1.2/32 Direct 0 0 127.0.0.1 InLoop0

20.1.1.0/24 Direct 0 S0/2/2

20.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0

OSPF 10 OSPF 10 1562 1562 0 10.1.1.2 0 10.1.1.1 0 20.1.1.1 10.1.1.1 20.1.1.2 20.1.1.2/32 Direct 0 0 20.1.1.2 S0/2/2

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

192.168.0.1/32 OSPF 10 1562 10.1.1.1 S0/2/0

会发现路由器RT3的路由表当中只有192.168.0.1/32这个网段了。

在RT3上配置过滤3类LSA,让路由器RT4上只能学习到192.168.0.1/32这个网段。

[RT3]ip ip-prefix h3c index 10 deny 192.168.1.1 32

[RT3]ip ip-prefix h3c index 20 permit 0.0.0.0 0 less-equal 32 [RT3]ospf

[RT3-ospf-1]area 0

[RT3-ospf-1-area-0.0.0.0]filter ip-prefix h3c export [RT3-ospf-1-area-0.0.0.0]quit [RT3-ospf-1]quit [RT3]

配置好之后在RT4上查看路由表,会发现只有192.168.0.1/32这个路由信息了。

[RT4]display ip routing-table Routing Tables: Public

Destinations : 10 Routes : 10

Destination/Mask Proto Pre Cost NextHop Interface

2.2.2.2/32 S0/2/0

3.3.3.3/32 S0/2/0

4.4.4.4/32 Direct 0 0 127.0.0.1 InLoop0

10.1.1.0/24 S0/2/0

20.1.1.0/24 Direct 0 S0/2/0

20.1.1.1/32 Direct 0 S0/2/0

20.1.1.2/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8 Direct 0 0 127.0.0.1

OSPF 10 OSPF 10 OSPF 10 3124 1562 3124 0 20.1.1.2 0 20.1.1.1 20.1.1.1 20.1.1.1 20.1.1.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

192.168.0.1/32 OSPF 10 3124 20.1.1.1 S0/2/0

6. ISIS实验配置:

三台路由器,其中R2和R3位于区域10,R4位于区域20。配置ISIS路由协议,让三台路由器两两之间可以进行路由的学习。 R2路由器配置: [H3C]sysname RT2

[RT2]interface LoopBack 1

[RT2-LoopBack1]IP address 2.2.2.2 32 [RT2-LoopBack1]quit [RT2]interface Serial 0/2/2

[RT2-Serial0/2/2]ip address 10.1.1.1 24 [RT2-Serial0/2/2]quit [RT2]isis

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库H3CSE路由实验手册(6)在线全文阅读。

H3CSE路由实验手册(6).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/514003.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: