OSPF Multiarea Part II
enable
configure terminal
hostname R1
!
interface FastEthernet0/1
ip address 172.16.10.1 255.255.255.0
ip ospf 100 area 1
no shutdown
!
interface Serial0/0
ip address 172.16.20.1 255.255.255.0
ip ospf 100 area 1
no shutdown
exit
!
router ospf 100
log-adjacency-changes
passive-interface FastEthernet0/1
!
end
write memory
!
Configuration R2:
enable
configure terminal
hostname R2
!
key chain HN
key 1
key-string Pham
accept-lifetime 17:0:0 Jul 25 2018 17:0:0 Jul 25 2018
exit
exit
!
interface FastEthernet0/1
ip address 172.16.30.1 255.255.255.0
ip ospf 100 area 0
no shutdown
!
interface Serial0/0
ip address 192.168.10.2 255.255.255.0
ip ospf 100 area 2
no shutdown
!
interface Serial0/1
ip address 172.16.20.2 255.255.255.0
ip ospf 100 area 1
no shutdown
clock rate 64000
!
!
router ospf 100
log-adjacency-changes
passive-interface FastEthernet0/1
!
!
end
write memory
!
Configuration R3:
enable
configure terminal
hostname ISP
!
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.0
ip ospf 100 area 2
no shutdown
!
interface Serial0/0
ip address 192.168.10.1 255.255.255.0
ip ospf 100 area 2
no shutdown
clock rate 2000000
!
router ospf 100
log-adjacency-changes
passive-interface FastEthernet0/1
!
end
write memory
!
END !~!
Nhận xét
Đăng nhận xét