R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
66
mask-length: Specifies the mask length in the range of 0 to 32 bits.
cost cost: Specifies the cost of the summary route, in the range of 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.
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 routing policy to control summary route
advertisement, in the range of 0 to 4294967295. The default is 1.
Usage guidelines
With the asbr-summary command configured, an ASBR summarizes redistributed routes that fall into the
specified address range into a single route and advertises the summary route in a Type-5 LSA to
neighbors. If the ASBR resides in an NSSA area, it advertises the summary route in a Type-7 LSA.
With the asbr-summary command configured, an NSSA ABR summarizes matching routes described by
Type-5 LSAs translated from Type-7 LSAs into a single route and advertises the summary route to
neighbors. This command does not take effect on non NSSA ABRs.
If the undo asbr-summary command is used, summarized routes are advertised.
Examples
# Summarize redistributed static routes into a single route, and specify 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
Related commands
display ospf asbr-summary
authentication-mode
Use authentication-mode to specify an authentication mode and password for the OSPF area.
Use undo authentication-mode to remove the authentication mode.
Syntax
For MD5/HMAC-MD5 authentication:
authentication-mode { hmac-md5 | md5 } key-id { cipher | plain } password
undo authentication-mode [ { hmac-md5 | md5 } key-id ]
For simple authentication:
authentication-mode simple { cipher | plain } password
undo authentication-mode
Default
No authentication mode is performed for an OSPF area.