439
OSPFv3 commands
abr-summary (OSPFv3 area view)
Use abr-summary to configure route summarization on an area border router (ABR).
Use undo abr-summary to remove the configuration.
Syntax
abr-summary ipv6-address prefix-length [ not-advertise ] [ cost value ]
undo abr-summary ipv6-address prefix-length
Default
No route summarization is configured on an ABR.
Views
OSPFv3 area view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the destination IPv6 address of the summary route.
prefix-length: Specifies the prefix length of the destination IPv6 address, in the range of 0 to 128. This
argument specifies the number of consecutive 1s of the prefix, which defines the network ID.
not-advertise: Specifies not to advertise the summary IPv6 route. If you do not specify this argument, the
command advertises the IPv6 summary route.
cost value: Specifies the cost of the summary route, in the range of 1 to 16777215. The default cost is the
largest cost value among routes that are summarized.
Usage guidelines
This command is available only on an ABR to summarize multiple contiguous networks into one network.
To enable ABR to advertise specific routes, use the undo abr-summary command.
Examples
# Summarize networks 2000:1:1:1::/64 and 2000:1:1:2::/64 in Area 1 into 2000:1:1::/48.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] area 1
[Sysname-ospfv3-1-area-0.0.0.1] abr-summary 2000:1:1:: 48
area
Use area to create an OSPFv3 area and enter OSPFv3 area view.
Use undo area to remove an OSPFv3 area.