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

《华为技术认证HCNA网络技术实验指南》参考配置

来源:用户分享 时间:2025/6/24 19:45:26 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

#

interface Ethernet0/0/3 #

ip route-static 0.0.0.0 0.0.0.0 30.1.1.1 # Return

第四章 OSPF

4.1 OSPF单区域配置

最终配置

display current-configuration [V200R003C00] #

sysname R1 #

interface GigabitEthernet0/0/0

ip address 172.16.10.1 255.255.255.0 #

interface GigabitEthernet0/0/1

ip address 172.16.20.1 255.255.255.0 #

interface GigabitEthernet0/0/2

ip address 172.16.1.254 255.255.255.0 #

interface NULL0 # ospf 1

area 0.0.0.0

network 172.16.1.0 0.0.0.255 network 172.16.10.0 0.0.0.255 network 172.16.20.0 0.0.0.255 # Return

display current-configuration [V200R003C00] #

sysname R2 #

interface GigabitEthernet0/0/0

ip address 172.16.10.2 255.255.255.0 #

interface GigabitEthernet0/0/1

ip address 172.16.30.2 255.255.255.0 #

interface GigabitEthernet0/0/2

ip address 172.16.2.254 255.255.255.0 #

interface NULL0 # ospf 1

area 0.0.0.0

network 172.16.2.0 0.0.0.255 network 172.16.10.0 0.0.0.255 network 172.16.30.0 0.0.0.255 # Return

display current-configuration [V200R003C00] #

sysname R3 #

interface GigabitEthernet0/0/0

ip address 172.16.30.3 255.255.255.0 #

interface GigabitEthernet0/0/1

ip address 172.16.20.3 255.255.255.0 #

interface GigabitEthernet0/0/2

ip address 172.16.3.254 255.255.255.0 #

interface NULL0 # ospf 1

area 0.0.0.0

network 172.16.3.0 0.0.0.255 network 172.16.20.0 0.0.0.255 network 172.16.30.0 0.0.0.255 # return

4.2 OSPF多区域配置

最终配置

display current-configuration #

sysname R1 #

interface GigabitEthernet0/0/0 ip address 10.0.12.1 255.255.255.0 #

interface GigabitEthernet0/0/1 ip address 10.0.13.1 255.255.255.0 #

interface GigabitEthernet0/0/2 ip address 10.0.15.1 255.255.255.0 # ospf 1 area 0.0.0.0

network 10.0.12.0 0.0.0.255 network 10.0.13.0 0.0.0.255 area 0.0.0.1

network 10.0.15.0 0.0.0.255

display current-configuration #

sysname R2 #

interface GigabitEthernet0/0/0 ip address 10.0.12.2 255.255.255.0 #

interface GigabitEthernet0/0/1 ip address 10.0.24.2 255.255.255.0 #

interface GigabitEthernet0/0/2 ip address 10.0.26.2 255.255.255.0 # ospf 1 area 0.0.0.0

network 10.0.12.0 0.0.0.255 network 10.0.24.0 0.0.0.255 area 0.0.0.2

network 10.0.26.0 0.0.0.255

display current-configuration #

sysname R3 #

interface Ethernet4/0/0

ip address 10.0.3.254 255.255.255.0 #

interface GigabitEthernet0/0/0 ip address 10.0.34.3 255.255.255.0 #

interface GigabitEthernet0/0/1 ip address 10.0.13.3 255.255.255.0 #

interface GigabitEthernet0/0/2 ip address 10.0.35.3 255.255.255.0 # ospf 1 area 0.0.0.0

network 10.0.3.0 0.0.0.255 network 10.0.13.0 0.0.0.255 network 10.0.34.0 0.0.0.255 area 0.0.0.1

network 10.0.35.0 0.0.0.255

display current-configuration #

sysname R4 #

interface Ethernet4/0/0

ip address 10.0.4.254 255.255.255.0 #

interface GigabitEthernet0/0/0 ip address 10.0.34.4 255.255.255.0 #

interface GigabitEthernet0/0/1 ip address 10.0.24.4 255.255.255.0 #

interface GigabitEthernet0/0/2 ip address 10.0.46.4 255.255.255.0 # ospf 1 area 0.0.0.0

network 10.0.4.0 0.0.0.255 network 10.0.24.0 0.0.0.255 network 10.0.34.0 0.0.0.255 area 0.0.0.2

network 10.0.46.0 0.0.0.255

display current-configuration #

sysname R5 #

interface GigabitEthernet0/0/0 ip address 10.0.15.5 255.255.255.0 #

interface GigabitEthernet0/0/1 ip address 10.0.35.5 255.255.255.0 #

interface GigabitEthernet0/0/2 ip address 10.0.1.254 255.255.255.0 # ospf 1 area 0.0.0.1

network 10.0.1.0 0.0.0.255 network 10.0.15.0 0.0.0.255 network 10.0.35.0 0.0.0.255

display current-configuration #

sysname R6 #

interface GigabitEthernet0/0/0 ip address 10.0.26.6 255.255.255.0 #

interface GigabitEthernet0/0/1 ip address 10.0.46.6 255.255.255.0 #

interface GigabitEthernet0/0/2 ip address 10.0.4.254 255.255.255.0 # ospf 1 area 0.0.0.2

network 10.0.2.0 0.0.0.255 network 10.0.26.0 0.0.0.255 network 10.0.46.0 0.0.0.255

4.3 配置OSPF的认证

《华为技术认证HCNA网络技术实验指南》参考配置.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c7js983x6f87b3ef97wu606i7k4ff8500zg8_5.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top