3com S7906E Guide De Référence

Page de 2327
 
1-3 
View 
OSPF view 
Default Level 
2: System level 
Parameters 
ip-address: IP address of the summary route in dotted decimal notation. 
mask: Summary route mask, in dotted decimal notation. 
mask-length: Length of summary route mask, in the range 0 to 32 bits. 
not-advertise: Disables advertising the summary route. If the keyword is not specified, the route is 
advertised. 
tag tag: Specifies a tag value for the summary route, used by a route policy to control summary route 
advertisement, in the range 0 to 4294967295. The default is 1. 
cost cost: Specifies the cost of the summary route, in the range 1 to 16777214. For Type-1 external 
routes, the cost defaults to the largest cost among routes that are summarized. For Type-2 external 
routes, the cost defaults to the largest cost among routes that are summarized plus 1. 
Description 
Use the asbr-summary command to configure a summary route. 
Use the undo asbr-summary command to remove a summary route.  
No ASBR route summarization is configured by default. 
With the asbr-summary command configured on an ASBR, it summarizes redistributed routes that fall 
into the specified address range into a single route. If the ASBR resides in an NSSA area, it advertises 
the summary route in a Type-7 LSA into the area. 
With the asbr-summary command configured on an NSSA ABR, it summarizes routes described by 
Type-5 LSAs translated from Type-7 LSAs into a single route and advertises the summary route to other 
areas. This command does not take effect on non NSSA ABRs. 
With the undo asbr-summary command used, summarized routes will be advertised. 
Related command: display ospf asbr-summary
Examples 
# Summarize redistributed routes into a single route, specifying a tag value of 2 and a cost of 100 for the 
summary route. 
<Sysname> system-view 
[Sysname] ip route-static 10.2.1.0 24 null 0 
[Sysname] ip route-static 10.2.2.0 24 null 0 
[Sysname] ospf 100 
[Sysname-ospf-100] import-route static 
[Sysname-ospf-100] asbr-summary 10.2.0.0 255.255.0.0 tag 2 cost 100