3com 5500 User Manual

Page of 336
120
C
HAPTER
 15: R
OUTING
 C
ONFIGURATION
 G
UIDE
# Configure ABR route summarization to summarize the routes 30.1.1.0/24 and 
30.1.2.0/24 in area 2 into 30.1.0.0/22.
[SwitchB-ospf-1] area 2
[SwitchB-ospf-1-area-0.0.0.2] abr-summary 30.1.0.0 255.255.252.0
[SwitchB-ospf-1-area-0.0.0.2] quit 
ASBR route summarization configuration 1
n
This configuration is applicable when an ASBR needs to summarize the Type-5 
LSAs or Type-7 LSAs. The following takes the ASBR route summarization 
configuration on Switch D as an example.
# Configure ASBR route summarization to summarize the routes 1.1.4.0/24, 
1.1.5.0/24, 1.1.6.0/24, and 1.1.7.0/24 into 1.1.4.0/22 and to prevent 1.1.3.0/24 
from being advertised to any other area.
[SwitchD-ospf-1] asbr-summary 1.1.4.0 255.255.252.0
[SwitchD-ospf-1] asbr-summary 1.1.3.0 255.255.255.0 not-advertise 
ASBR route summarization configuration 2
n
This configuration is applicable when the ABR in an NSSA area needs to translate 
Type-7 LSAs into Type-5 LSAs and summarize the Type-5 LSAs.
# Switch A is the ABR of the NSSA area. Configure ASBR route summarization to 
summarize the routes 2.1.4.0/24, 2.1.5.0/24, 2.1.6.0/24, and 2.1.7.0/24 into 
2.1.4.0/22 and to prevent 2.1.3.0/24 from being advertised.
[SwitchA-ospf-1] asbr-summary 2.1.4.0 255.255.252.0
[SwitchA-ospf-1] asbr-summary 2.1.3.0 255.255.255.0 not-advertise 
Complete Configuration
ABR route summarization configuration
n
Configure ABR route summarization on Switch B.
Perform the following configuration on Switch A.
#
vlan 100
#
vlan 200
#
interface Vlan-interface100
ip address 10.1.1.1 255.255.255.0
#
interface Vlan-interface200
ip address 20.1.1.1 255.255.255.0
#
ospf 1 router-id 1.1.1.1
area 0.0.0.1