设为首页收藏本站language 语言切换
查看: 1731|回复: 0
收起左侧

[书籍] 【华为·HCIA】网络技术实验指南——第四章

[复制链接]
发表于 2020-11-4 15:14:57 | 显示全部楼层 |阅读模式
4.2 OSPF多区域配置
最终配置<R1>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

<R2>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

<R3>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

<R4>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

<R5>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

<R6>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


——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——

160310ctuvs6txvtsb655s.jpg


您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-31 10:24 , Processed in 0.065432 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表