华为认证Datacom-拓扑练习07
R1
<Huawei>
<Huawei>undo t m
<Huawei>sy
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad 192.168.1.254 24
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip ad 12.1.1.1 24
[Huawei-GigabitEthernet0/0/1]q
[Huawei]ospf router-id 1.1.1.1
[Huawei-ospf-1]a 1
[Huawei-ospf-1-area-0.0.0.1]net 192.168.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.1]net 12.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.1]q
[Huawei-ospf-1]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ospf authentication-mode simple huawei
R2
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 12.1.1.2 24
[zjlfc-GigabitEthernet0/0/0]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 11.1.1.1 24
[zjlfc-Ethernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 23.1.1.2 24
[zjlfc-GigabitEthernet0/0/1]q
[zjlfc]ospf router-id 2.2.2.2
[zjlfc-ospf-1]a 1
[zjlfc-ospf-1-area-0.0.0.1]net 12.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.1]q
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 11.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 23.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ospf authentication-mode simple huawei
[zjlfc-GigabitEthernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ospf cost 13
R3
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 23.1.1.3 24
[zjlfc-GigabitEthernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 34.1.1.3 24
[zjlfc-GigabitEthernet0/0/1]q
[zjlfc]ospf router-id 3.3.3.3
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 23.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 34.1.1.0 0.0.0.255
R4
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 34.1.1.4 24
[zjlfc-GigabitEthernet0/0/0]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 15.1.1.2 24
[zjlfc-Ethernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 45.1.1.4 24
[zjlfc-GigabitEthernet0/0/1]q
[zjlfc]ospf router-id 4.4.4.4
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 34.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 15.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]q
[zjlfc-ospf-1]a 2
[zjlfc-ospf-1-area-0.0.0.2]net 45.1.1.0 0.0.0.255
R5
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 45.1.1.5 24
[zjlfc-GigabitEthernet0/0/0]int g0/0/2
[zjlfc-GigabitEthernet0/0/2]ip ad 192.168.3.254 24
[zjlfc-GigabitEthernet0/0/2]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 56.1.1.5 24
[zjlfc-GigabitEthernet0/0/1]q
[zjlfc]ospf r
[zjlfc]ospf router-id 5.5.5.5
[zjlfc-ospf-1]a 2
[zjlfc-ospf-1-area-0.0.0.2]net 192.168.3.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.2]net 45.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.2]q
[zjlfc-ospf-1]q
[zjlfc]ip route-static 192.168.1.0 24 g0/0/0 45.1.1.4
[zjlfc]ip route-static 192.168.2.0 24 g0/0/1 56.1.1.6
[zjlfc]ospf 1
[zjlfc-ospf-1]import-route static
[zjlfc-ospf-1]
R6
<Huawei>undo t m
<Huawei>sy
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad 56.1.1.6 24
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip ad 192.168.2.254 24
[Huawei-GigabitEthernet0/0/1]q
[Huawei]ip route-static 192.168.1.0 24 g0/0/0 56.1.1.5
[Huawei]ip route-static 192.168.2.0 24 g0/0/0 56.1.1.5
R7
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 11.1.1.2 24
[zjlfc-Ethernet0/0/0]int e0/0/1
[zjlfc-Ethernet0/0/1]ip ad 14.1.1.1 24
[zjlfc-Ethernet0/0/1]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 11.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 14.1.1.0 0.0.0.255
R8
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 14.1.1.2 24
[zjlfc-Ethernet0/0/0]int e0/0/1
[zjlfc-Ethernet0/0/1]ip ad 15.1.1.1 24
[zjlfc-Ethernet0/0/1]ospf 1
[zjlfc-ospf-1]a 0
[zjlfc-ospf-1-area-0.0.0.0]net 14.1.1.0 0.0.0.255
[zjlfc-ospf-1-area-0.0.0.0]net 15.1.1.0 0.0.0.255
相关文章
- 如何在Ubuntu 14.04 LTS安装网络爬虫工具:Scrapy
- RHCSA 系列(五): RHEL7 中的进程管理:开机,关机
- 阮一峰:网页性能管理详解
- Nmcli 网络管理命令行工具基础
- RHCSA 系列(四): 编辑文本文件及分析文本
- 用‘slay’干掉某个用户的所有进程
- 如何用wifi-linux检测AP信号强度
- 如何在 Ubuntu 14.10 上安装 KDE Plasma 5.2
- 10个对开发者非常有用的设计原则
- 2017GAITC专访 │ 深度学习分论坛主席季向阳
- 如何在 Ubuntu 上安装配置管理系统 Chef (大厨)
- OpenDaylight的Helium(氦)版本安装
- 轻松使用“Explain Shell”脚本来理解 Shell 命令
- Sleuth Kit:一个用来分析磁盘映像和恢复文件的开源取证工具
- 如何关闭 Firefox 的静默请求
- 雾里看花之 Python Asyncio
- 使用 ARChon 运行时环境在 Ubuntu 上运行 Android 应用
- CentOS 7.3 安装指南
- 中科大、浙大联合攻关诞生的中国首台光量子计算机到底有多牛?
- 为什么人人都该懂点LLVM