华为路由器OSPF配置实例文档格式.docx
- 文档编号:18925421
- 上传时间:2023-01-02
- 格式:DOCX
- 页数:14
- 大小:161.97KB
华为路由器OSPF配置实例文档格式.docx
《华为路由器OSPF配置实例文档格式.docx》由会员分享,可在线阅读,更多相关《华为路由器OSPF配置实例文档格式.docx(14页珍藏版)》请在冰豆网上搜索。
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]ospf
[Huawei-ospf-1]area1
[Huawei-ospf-1-area-0.0.0.1]qui
[Huawei-ospf-1]import-routedirect
[Huawei-ospf-1]silent-interfaceloopback0
[Huawei-ospf-1]
R2
system-view
[Huawei]interfaceEthernet0/0/0
[Huawei-Ethernet0/0/0]ipadd192.168.0.630
[Huawei-Ethernet0/0/1]ipadd192.168.0.130
[Huawei]interloopback0
[Huawei-LoopBack0]ipadd1.1.1.232
[Huawei-LoopBack0]qui
[Huawei-ospf-1]area0
[Huawei-ospf-1-area-0.0.0.0]qui
R3
[Huawei-Ethernet0/0/0]ipadd192.168.0.230
[Huawei-Ethernet0/0/1]ipadd192.168.0.930
[Huawei]interloop0
[Huawei-LoopBack0]ipadd1.1.1.332
[Huawei]ospf
[Huawei-ospf-1-area-0.0.0.0]net
[Huawei-ospf-1]area2
R4
undoterm
sys
[Huawei-Ethernet0/0/0]ipadd192.168.0.1030
[Huawei-Ethernet0/0/1]ipadd172.16.1.124
[Huawei-LoopBack0]ipadd1.1.1.432
[Huawei-ospf-1-area-0.0.0.2]qui
[Huawei-ospf-1]import-routedirectcost100(引入直连开销值为100)
[Huawei-ospf-1]import-routedirecttype1〔进入type1.第一类外部路由〕
上机2
组网互联要求-1:
1、链路COST值和区域划分如上图所示。
2、在S3526-1、AR28-1、AR28-2、S3526-2的互联接口上启用ospf路由协议,所有直联路由使用network+silent方式发布。
[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/1]intg0/0/0
[Huawei-GigabitEthernet0/0/0]ipadd192.168.0.930
[Huawei-GigabitEthernet0/0/0]qui
[Huawei]unterloop0
^
Unrecognizedmandfoundat'
^'
position.
[Huawei-LoopBack0]ipaddd1.1.1.1.132
Wrongparameterfoundat'
[Huawei-ospf-1]si
[Huawei-ospf-1]silent-interfaceloop0
[Huawei-ospf-1-area-0.0.0.0]
[Huawei-ospf-1-area-0.0.0.0
[Huawei-Ethernet0/0/1]ipadd192.168.0.1330
[Huawei-GigabitEthernet0/0/0]ipadd192.168.0.1730
[Huawei-ospf-1]sil
undotermm
[Huawei]
[Huawei-Ethernet0/0/1]ipadd192.168.0.1830
[Huawei-GigabitEthernet0/0/0]ipadd172.16.1.124
[Huawei-ospf-1]silent-interfaceg
[Huawei-ospf-1]silent-interfaceGigabitEthernet0/0/0
[Huawei-ospf-1]undo
[Huawei]inte0/0//0
[Huawei-Ethernet0/0/0]ipadd192.168.0.1430
[Huawei-Ethernet0/0/1]ipadd192.168.0.1030
[Huawei-GigabitEthernet0/0/0]ipadd172.16.2.124
[Huawei]interloop
Inpletemandfoundat'
[Huawei]interloop0
[Huawei-ospf-1]sli
没有修改开销值PC2
修改之后PC2
没有修改开销值PC1
修改之后PC1
OSPF上机2-2
[Huawei-Ethernet0/0/0]intg0/0/0
[Huawei-GigabitEthernet0/0/0]inte0/0/1
[Huawei-ospf-1]area0
[Huawei-ospf-1]Userinterfacecon0isavailable
undoter
[Huawei-ospf-1-area-0.0.0.1]net
[Huawei-ospf-1-area-0.0.0.1]
[Huawei-ospf-1]qui
[Huawei-Ethernet0/0/0]ospfc
[Huawei-Ethernet0/0/0]ospfcost10
[Huawei-ospf-1-area-0.0.0.1]Userinterfacecon0isavailable
[Huawei]int0/0/0
[Huawei-Ethernet0/0/0]ipadd182.168.0.1430
[Huawei-Ethernet0/0/0]undoipadd
[Huawei-Ethernet0/0/0]
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 华为 路由器 OSPF 配置 实例