4.4 OSPF被动接口配置
最终配置<R1>display current-configuration
sysname R1
#
interface GigabitEthernet0/0/0
ip address 10.0.3.254 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 10.0.13.1 255.255.255.0
#
ospf 1
silent-interface GigabitEthernet0/0/0
area 0.0.0.0
network 10.0.3.0 0.0.0.255
network 10.0.13.0 0.0.0.255
<R2>display current-configuration
#
sysname R2
#
interface GigabitEthernet0/0/0
ip address 10.0.23.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 10.0.4.254 255.255.255.0
#
ospf 1
silent-interface GigabitEthernet0/0/1
area 0.0.0.0
network 10.0.4.0 0.0.0.255
network 10.0.23.0 0.0.0.255
<R3>display current-configuration
#
sysname R3
#
interface GigabitEthernet0/0/0
ip address 10.0.13.3 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 10.0.23.3 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 10.0.30.3 255.255.255.0
#
ospf 1
area 0.0.0.0
network 10.0.13.0 0.0.0.255
network 10.0.23.0 0.0.0.255
network 10.0.30.0 0.0.0.255
<R4>display current-configuration
#
sysname R4
#
interface GigabitEthernet0/0/0
ip address 10.0.30.4 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 10.0.1.254 255.255.255.0
#
ospf enable 4 area 0.0.0.0
#
ospf 1
silent-interface all
undo silent-interface GigabitEthernet0/0/0
area 0.0.0.0
network 10.0.1.0 0.0.0.255
network 10.0.30.0 0.0.0.255
<R5>display current-configuration
#
sysname R5
#
interface GigabitEthernet0/0/0
ip address 10.0.30.5 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 10.0.2.254 255.255.255.0
#
ospf 1
silent-interface GigabitEthernet0/0/0
silent-interface GigabitEthernet0/0/1
area 0.0.0.0
network 10.0.2.0 0.0.0.255
network 10.0.30.0 0.0.0.255
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|