Avaya P550 Manuel De Montage

Page de 23
Configuring OSPF
1-12  
Command Line Interface Protocol Configuration Guide
  
In this example, area 0.0.0.2 is the stub area. No external routes from the external 
autonomous system are forwarded into the stub. 
!
Configuration on Router_2
Cajun
 
(configure)#
 
router ospf 
Cajun
 
(configure router:ospf)#
 
network 192.168.20.0  0.0.0.255  area 0.0.0.0
Cajun
 
(configure router:ospf)#
 
network 192.168.21.0  0.0.0.255  area 0.0.0.2
Cajun
 
(configure router:ospf)# 
area 0.0.0.2 stub
 
!
!
Configuration on Router_3
Cajun
 
(configure)#
 
router ospf 
Cajun
 
(configure router:ospf)#
 
network 192.168.21.0  0.0.0.255  area 0.0.0.2
Cajun
 
(configure router:ospf)# 
area 0.0.0.2 stub
 
Cajun
 
(configure router:ospf)#
 
exit
!
!
This saves the configuration. 
Cajun
 
(configure)#
 
copy running-config startup-config
  # $ 
In this example, the only routes that appears in Router_3’s routing table are intra-area 
routes and the default route.   
!
Configuration on Router_2
Cajun
 
(configure)#
 
router ospf 
Cajun
 
(configure router:ospf)#
 
network 192.168.20.0  0.0.0.255  area 0.0.0.0
Cajun
 
(configure router:ospf)#
 
network 192.168.21.0  0.0.0.255  area 0.0.0.2
192.168.21.1
S0
192.168.21.2
S0
Stub Area 0.0.0.2
Area 0.0.0.0
Router_2
External AS
192.168.20.1
Router_3
E0
ospf3.vsd
192.168.21.1
S0
192.168.21.2
S0
Not-So-Stubby
Area 0.0.0.2
Area 0.0.0.0
Router_2
External AS
192.168.20.1
Router_3
E0
ospf4.vsd