华为路由器OSPF配置实例.docx

上传人:b****8 文档编号:12583479 上传时间:2023-06-06 格式:DOCX 页数:17 大小:162.83KB
下载 相关 举报
华为路由器OSPF配置实例.docx_第1页
第1页 / 共17页
华为路由器OSPF配置实例.docx_第2页
第2页 / 共17页
华为路由器OSPF配置实例.docx_第3页
第3页 / 共17页
华为路由器OSPF配置实例.docx_第4页
第4页 / 共17页
华为路由器OSPF配置实例.docx_第5页
第5页 / 共17页
华为路由器OSPF配置实例.docx_第6页
第6页 / 共17页
华为路由器OSPF配置实例.docx_第7页
第7页 / 共17页
华为路由器OSPF配置实例.docx_第8页
第8页 / 共17页
华为路由器OSPF配置实例.docx_第9页
第9页 / 共17页
华为路由器OSPF配置实例.docx_第10页
第10页 / 共17页
华为路由器OSPF配置实例.docx_第11页
第11页 / 共17页
华为路由器OSPF配置实例.docx_第12页
第12页 / 共17页
华为路由器OSPF配置实例.docx_第13页
第13页 / 共17页
华为路由器OSPF配置实例.docx_第14页
第14页 / 共17页
华为路由器OSPF配置实例.docx_第15页
第15页 / 共17页
华为路由器OSPF配置实例.docx_第16页
第16页 / 共17页
华为路由器OSPF配置实例.docx_第17页
第17页 / 共17页
亲,该文档总共17页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

华为路由器OSPF配置实例.docx

《华为路由器OSPF配置实例.docx》由会员分享,可在线阅读,更多相关《华为路由器OSPF配置实例.docx(17页珍藏版)》请在冰点文库上搜索。

华为路由器OSPF配置实例.docx

华为路由器OSPF配置实例

OSPF上机-1

拓扑图

1、组网和区域划分如上图所示。

2.在S3526-1、AR28-1、AR28-2、S3526-2的互联接口上启用ospf路由协议;并且在每台三层设备上引入直联路由,直联路由引入按照默认的type2类型,

R1

undoterminalmonitor

Info:

Currentterminalmonitorisoff.

system-

system-view

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd172.16.0.124

[Huawei-Ethernet0/0/0]inte

[Huawei-Ethernet0/0/0]int

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.530

[Huawei-Ethernet0/0/1]qui

[Huawei]inter

[Huawei]interfaceloopback0

[Huawei-LoopBack0]ipadd1.1.1.132

[Huawei-LoopBack0]qui

[Huawei]routerid1.1.1.1

[Huawei]ospf

[Huawei-ospf-1]area1

[Huawei-ospf-1-area-0.0.0.1]network192.168.0.40.0.0.3

[Huawei-ospf-1-area-0.0.0.1]qui

[Huawei-ospf-1]import-routedirect

[Huawei-ospf-1]silent-interfaceloopback0

[Huawei-ospf-1]

R2

undoterminalmonitor

Info:

Currentterminalmonitorisoff.

system-view

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]interfaceEthernet0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.630

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.130

[Huawei-Ethernet0/0/1]qui

[Huawei]interloopback0

[Huawei-LoopBack0]ipadd1.1.1.232

[Huawei-LoopBack0]qui

[Huawei]routerid1.1.1.2

[Huawei]ospf

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.00.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network1.1.1.20.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]area1

[Huawei-ospf-1-area-0.0.0.1]network192.168.0.40.0.0.3

[Huawei-ospf-1-area-0.0.0.1]qui

[Huawei-ospf-1]

R3

undoterminalmonitor

Info:

Currentterminalmonitorisoff.

system-view

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.230

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.930

[Huawei-Ethernet0/0/1]qui

[Huawei]interloop0

[Huawei-LoopBack0]ipadd1.1.1.332

[Huawei-LoopBack0]qui

[Huawei]routerid1.1.1.3

[Huawei]ospf

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]net

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.00.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network1.1.1.30.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]area2

[Huawei-ospf-1-area-0.0.0.2]network192.168.0.80.0.0.3

R4

undoterm

Info:

Currentterminalmonitorisoff.

sys

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.1030

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd172.16.1.124

[Huawei-Ethernet0/0/1]qui

[Huawei]interloop0

[Huawei-LoopBack0]ipadd1.1.1.432

[Huawei-LoopBack0]qui

[Huawei]routerid1.1.1.5

[Huawei]ospf

[Huawei-ospf-1]area2

[Huawei-ospf-1-area-0.0.0.2]network192.168.0.80.0.0.3

[Huawei-ospf-1-area-0.0.0.2]qui

[Huawei-ospf-1]import-routedirectcost100(引入直连开销值为100)

[Huawei-ospf-1]

[Huawei-ospf-1]import-routedirecttype1(进入type1.第一类外部路由)

 

上机2

组网互联要求-1:

1、链路COST值和区域划分如上图所示。

2、在S3526-1、AR28-1、AR28-2、S3526-2的互联接口上启用ospf路由协议,所有直联路由使用network+silent方式发布。

R1

undoterm

Info:

Currentterminalmonitorisoff.

sys

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.132

Error:

ThespecifiedIPaddressisinvalid.

[Huawei-Ethernet0/0/0]ipadd192.168.0.130

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.530

[Huawei-Ethernet0/0/1]intg0/0/0

[Huawei-GigabitEthernet0/0/0]ipadd192.168.0.930

[Huawei-GigabitEthernet0/0/0]qui

[Huawei]unterloop0

^

Error:

Unrecognizedcommandfoundat'^'position.

[Huawei]interloop0

[Huawei-LoopBack0]ipaddd1.1.1.1.132

^

Error:

Wrongparameterfoundat'^'position.

[Huawei-LoopBack0]ipadd1.1.1.132

[Huawei-LoopBack0]qui

[Huawei]routerid1.1.1.1

[Huawei]ospf

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.00.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network1.1.1.10.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]si

[Huawei-ospf-1]silent-interfaceloop0

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.40.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.80.0.0.3

R2

undoterm

Info:

Currentterminalmonitorisoff.

sys

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.230

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.1330

[Huawei-Ethernet0/0/1]intg0/0/0

[Huawei-GigabitEthernet0/0/0]ipadd192.168.0.1730

[Huawei-GigabitEthernet0/0/0]qui

[Huawei]interloop0

[Huawei-LoopBack0]ipadd1.1.1.232

[Huawei-LoopBack0]qui

[Huawei]ospf

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.00.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network1.1.1.20.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]sil

[Huawei-ospf-1]silent-interfaceloop0

[Huawei-ospf-1]area2

[Huawei-ospf-1-area-0.0.0.2]qui

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0network192.168.0.160.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.120.0.0.3

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]

R3

undotermm

Info:

Currentterminalmonitorisoff.

sys

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.630

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.1830

[Huawei-Ethernet0/0/1]intg0/0/0

[Huawei-GigabitEthernet0/0/0]ipadd172.16.1.124

[Huawei-GigabitEthernet0/0/0]qui

[Huawei]interloop0

[Huawei-LoopBack0]ipadd1.1.1.332

[Huawei-LoopBack0]qui

[Huawei]routerid1.1.1.3

[Huawei]ospf

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.40.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.160.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network1.1.1.30.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]sil

[Huawei-ospf-1]silent-interfaceloop0

[Huawei-ospf-1]si

[Huawei-ospf-1]silent-interfaceg

[Huawei-ospf-1]silent-interfaceGigabitEthernet0/0/0

[Huawei-ospf-1]area1

[Huawei-ospf-1-area-0.0.0.1]network172.16.1.00.0.0.255

[Huawei-ospf-1-area-0.0.0.1]qui

[Huawei-ospf-1]undo

R4

undotermm

Info:

Currentterminalmonitorisoff.

sys

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0//0

^

Error:

Wrongparameterfoundat'^'position.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.1430

[Huawei-Ethernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.1030

[Huawei-Ethernet0/0/1]intg0/0/0

[Huawei-GigabitEthernet0/0/0]ipadd172.16.2.124

[Huawei-GigabitEthernet0/0/0]qui

[Huawei]interloop

^

Error:

Incompletecommandfoundat'^'position.

[Huawei]interloop0

[Huawei-LoopBack0]ipadd1.1.1.432

[Huawei-LoopBack0]qui

[Huawei]

[Huawei]routerid1.1.1.4

[Huawei]ospf

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]nerwork192.168.0.120.0.0.3

^

Error:

Unrecognizedcommandfoundat'^'position.

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.120.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.80.0.0.3

[Huawei-ospf-1-area-0.0.0.0]network1.1.1.40.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]sli

[Huawei-ospf-1]sil

[Huawei-ospf-1]silent-interfaceloop0

[Huawei-ospf-1]area1

[Huawei-ospf-1-area-0.0.0.1]network172.16.2.00.0.0.255

[Huawei-ospf-1-area-0.0.0.1]qui

没有修改开销值PC2

修改之后PC2

没有修改开销值PC1

修改之后PC1

 

OSPF上机2-2

R1

undoterm

Info:

Currentterminalmonitorisoff.

sys

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.130

[Huawei-Ethernet0/0/0]intg0/0/0

[Huawei-GigabitEthernet0/0/0]ipadd192.168.0.9

^

Error:

Incompletecommandfoundat'^'position.

[Huawei-GigabitEthernet0/0/0]ipadd192.168.0.930

[Huawei-GigabitEthernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.5

^

Error:

Incompletecommandfoundat'^'position.

[Huawei-Ethernet0/0/1]ipadd192.168.0.530

[Huawei-Ethernet0/0/1]qui

[Huawei]interloop0

[Huawei-LoopBack0]ipadd1.1.1.132

[Huawei-LoopBack0]routerid1.1.1.1

[Huawei]ospf

[Huawei-ospf-1]area0

^

Error:

Unrecognizedcommandfoundat'^'position.

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.00.0.0.3

[Huawei-ospf-1-area-0.0.0.0]net1.1.1.10.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]sil

[Huawei-ospf-1]silent-interfaceloop0

[Huawei-ospf-1]area1

[Huawei-ospf-1-area-0.0.0.1]network192.168.0.50.0.0.3

[Huawei-ospf-1-area-0.0.0.1]network192.168.0.90.0.0.3

[Huawei-ospf-1-area-0.0.0.1]qui

[Huawei-ospf-1]area1

[Huawei-ospf-1-area-0.0.0.1]network192.168.0.80.0.0.3

[Huawei-ospf-1-area-0.0.0.1]network192.168.0.40.0.0.3

[Huawei-ospf-1-area-0.0.0.1]undonetwork192.168.0.50.0.0.3

[Huawei-ospf-1-area-0.0.0.1]undonetwork192.168.0.90.0.0.3

[Huawei-ospf-1-area-0.0.0.1]qui

[Huawei-ospf-1]Userinterfacecon0isavailable

R2

undoter

^

Error:

Incompletecommandfoundat'^'position.

undoterm

Info:

Currentterminalmonitorisoff.

sys

Entersystemview,returnuserviewwithCtrl+Z.

[Huawei]inte0/0/0

[Huawei-Ethernet0/0/0]ipadd192.168.0.230

[Huawei-Ethernet0/0/0]intg0/0/0

[Huawei-GigabitEthernet0/0/0]ipadd192.168.0.1730

[Huawei-GigabitEthernet0/0/0]inte0/0/1

[Huawei-Ethernet0/0/1]ipadd192.168.0.1330

[Huawei-Ethernet0/0/1]qui

[Huawei]interloop0

[Huawei-LoopBack0]ipadd1.1.1.232

[Huawei-LoopBack0]qui

[Huawei]routerid1.1.1.2

[Huawei]ospf

[Huawei-ospf-1]area0

[Huawei-ospf-1-area-0.0.0.0]network192.168.0.00.0.0.3

[Huawei-ospf-1-area-0.0.0.0]net

[Huawei-ospf-1-area-0.0.0.0]network1.1.1.20.0.0.0

[Huawei-ospf-1-area-0.0.0.0]qui

[Huawei-ospf-1]sil

[Huawei-ospf-1]silent-i

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2