asbr-summary (OSPFv3 view)
Use asbr-summary to configure route summarization on an ASBR.
Use undo asbr-summary to remove the configuration.
Syntax
asbr-summary ipv6-address prefix-length [ cost cost-value | not-advertise | nssa-only | tag tag ] *
undo asbr-summary ipv6-address prefix-length
Default
Route summarization is not configured on an ASBR.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the destination IPv6 address of the summary route.
prefix-length: Specifies the prefix length in the range of 0 to 128.
cost cost-value: Specifies the cost of the summary route, in the range of 1 to 16777214. If you do not specify this option, the largest cost among the summarized routes applies. If the routes in Type-5 LSAs translated from Type-7 LSAs are Type-2 external routes, the largest cost among the summarized routes plus 1 applies.
not-advertise: Disables advertising the summary route. If you do not specify this keyword, the command advertises the route.
nssa-only: Limits the route advertisement to the NSSA area by setting the P-bit of Type-7 LSAs to 0. By default, the P-bit of Type-7 LSAs is set to 1. If the ASBR is also an ABR and FULL state neighbors exist in the backbone area, the P-bit of Type-7 LSAs originated by the ASBR is set to 0. This keyword applies to the NSSA ASBR.
tag tag: Specifies a tag for the summary route, in the range of 0 to 4294967295.
Usage guidelines
An ASBR can summarize routes in the following LSAs:
Type-5 LSAs.
Type-7 LSAs in an NSSA area.
Type-5 LSAs translated by the ASBR (also an ABR) from Type-7 LSAs in an NSSA area.
If the ASBR (ABR) is not a translator, it cannot summarize routes in Type-5 LSAs translated from Type-7 LSAs.
To enable ASBR to advertise specific routes that have been summarized, use the undo asbr-summary command.
Examples
# Configure a summary route 2000::/16, and specify a cost of 100 and a tag value of 2 for the summary route.
<Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] asbr-summary 2000:: 16 cost 100 tag 2