3com 5500 User Manual

Page of 336
Configuring OSPF Route Summarization
125
ip address 20.1.1.2 255.255.255.0
#
interface Vlan-interface300
ip address 20.1.2.1 255.255.255.0
#
ospf 1 router-id 3.3.3.3
import-route static
area 0.0.0.2
network 20.1.1.0 0.0.0.255
network 20.1.2.0 0.0.0.255
nssa
#
ip route-static 2.1.3.0 255.255.255.0 20.1.2.2 preference 60
ip route-static 2.1.4.0 255.255.255.0 20.1.2.2 preference 60
ip route-static 2.1.5.0 255.255.255.0 20.1.2.2 preference 60
ip route-static 2.1.6.0 255.255.255.0 20.1.2.2 preference 60
ip route-static 2.1.7.0 255.255.255.0 20.1.2.2 preference 60
Configure Switch D.
#
vlan 200
#
vlan 300
#
interface Vlan-interface200
ip address 30.1.1.2 255.255.255.0
#
interface Vlan-interface300
ip address 30.1.2.1 255.255.255.0
#
ospf 1 router-id 4.4.4.4
import-route static
area 0.0.0.2
network 30.1.1.0 0.0.0.255
network 30.1.2.0 0.0.0.255
#
ip route-static 1.1.3.0 255.255.255.0 30.1.2.2 preference 60
ip route-static 1.1.4.0 255.255.255.0 30.1.2.2 preference 60
ip route-static 1.1.5.0 255.255.255.0 30.1.2.2 preference 60
ip route-static 1.1.6.0 255.255.255.0 30.1.2.2 preference 60
ip route-static 1.1.7.0 255.255.255.0 30.1.2.2 preference 60
Precautions
The abr-summary command is applicable to the ABR only to summarize 
contiguous networks into a single network. You can use the not-advertise 
keyword to not advertise a specified summary route in a Type-3 LSA.
After the asbr-summary command is used on an ASBR, it will summarize the 
Type-5 LSAs falling into the specified address range; if the ASBR is in an NSSA 
area, it will summarize the Type-7 LSAs within the specified address range. If 
used on the ABR of an NSSA area, the asbr-summary command summarizes 
Type-5 LSAs translated from Type-7 LSAs. If the router is not the ABR in the 
NSSA area, no summarization is performed. You can use the not-advertise 
keyword to not advertise a specified summary route in a LSA.