4.6 OSPF的DR与BDR
最终配置<R1>display current-configuration
[V200R003C00]
#
sysname R1
#
router id 1.1.1.1
#
interface GigabitEthernet0/0/0
ip address 172.16.1.1 255.255.255.0
ospf dr-priority 100
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
ospf 1
area 0.0.0.0
network 172.16.1.0 0.0.0.255
#
Return
<R2>display current-configuration
[V200R003C00]
#
sysname R2
#
router id 2.2.2.2
#
interface GigabitEthernet0/0/0
ip address 172.16.1.2 255.255.255.0
ospf dr-priority 50
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ospf 1
area 0.0.0.0
network 172.16.1.0 0.0.0.255
#
Return
<R3>display current-configuration
[V200R003C00]
#
sysname R3
#
router id 3.3.3.3
#
interface GigabitEthernet0/0/0
ip address 172.16.1.3 255.255.255.0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ospf 1
area 0.0.0.0
network 172.16.1.0 0.0.0.255
#
Return
<R4>display current-configuration
[V200R003C00]
#
sysname R4
#
router id 4.4.4.4
#
interface GigabitEthernet0/0/0
ip address 172.16.1.4 255.255.255.0
ospf dr-priority 0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ospf 1
area 0.0.0.0
network 172.16.1.0 0.0.0.255
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|