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.
Description
Use
asbr-summary
to configure a summary route.
Use
undo asbr-summary
to remove a summary route.
No ASBR route summarization is configured by default.
With the
asbr-summary
command configured, an ASBR 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, an NSSA ABR 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.
If the
undo asbr-summary
command is used, summarized routes will be advertised.
Related command:
display ospf asbr-summary
.
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
authentication-mode
Syntax
authentication-mode
{
md5
|
simple
}
undo authentication-mode
View
OSPF area view
Default level
2: System level
Parameters
md5
: Specifies the MD5 authentication mode.
simple
: Specifies the simple authentication mode.
Description
Use
authentication-mode
to specify an authentication mode for the OSPF area.
Use
undo authentication-mode
to remove the authentication mode.
By default, no authentication mode is configured for an OSPF area.
Routers that reside in the same area must have the same authentication mode: non-authentication,
simple, or MD5.
Related commands:
ospf authentication-mode
.
61