RT2 (Changing the OSPF Administrative Distances)

RT2:
Conf t
!
Int eth 0/0
Ip add 192.168.12.2 255.255.255.0
No shut
!
Int eth 1/0
Ip add 10.10.10.10 255.255.255.0
No shut
!
Int eth 1/1
Ip add 20.20.20.20 255.255.255.0
No shut
!
Int eth 1/2
Ip add 30.30.30.30 255.255.255.0
No shut
!
Int eth 1/3
Ip add 40.40.40.40 255.255.255.0
No shut
!
Router ospf 100
Router-id 2.2.2.2
Net 192.168.12.0 0.0.0.255 area 0
Net 10.10.10.0 0.0.0.255 area 0
Net 20.20.20.0 0.0.0.255 area 1
redistribute connected route-map OtoC
!
Route-map OtoC permit 10
Match int eth 1/2 eth 1/3
!
End

シェアする

フォローする

関連コンテンツ