< Home

asbr-summary (OSPFv3)

Function

The asbr-summary command enables an autonomous system border router (ASBR) to summarize the routes imported by OSPFv3.

The undo asbr-summary command disables an ASBR from summarizing the routes imported by OSPFv3.

By default, ASBRs do not summarize the routes imported by OSPFv3.

Format

asbr-summary ipv6-address prefix-length [ cost cost | tag tag | distribute-delay dist-delay-interval | not-advertise ] *

undo asbr-summary ipv6-address prefix-length

Parameters

Parameter Description Value

ipv6-address prefix-length

Specifies the IPv6 address and prefix length of a summary IPv6 route.

  • The IPv6 address is a 32-digit hexadecimal number in the X:X:X:X:X:X:X:X format.
  • The prefix length ranges from 1 to 128.

cost cost

Specifies the cost of a summary route. By default, for Type 1 external routes, the cost of the summarized route is the highest cost of specific routes; for Type 2 external routes, the cost of the summarized route equals the highest cost of specific routes plus 1.

The value is an integer in the range from 1 to 16777214.

tag tag

Indicates the tag used to control route advertisement based on routing policies.

The value is an integer in the range from 0 to 4294967295. The default value is 1.

distribute-delay dist-delay-interval

Specifies the delay in advertising summary routes.

The value is an integer in the range from 1 to 65535, in seconds.

not-advertise

Indicates that the summary IPv6 routes that match a specified IPv6 address prefix or prefix length are not advertised.

-

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

An ASBR connects to more than one autonomous system (AS) and generates AS external LSAs.

You can run the asbr-summary command to enable an ASBR to summarize the imported routes with the same prefix into a single summary route and advertise the summary route.

Multiple summary routes can be configured on an ASBR. Therefore, multiple network segments can be summarized in OSPFv3.

Example

# Enable an ASBR to summarize the routes imported by OSPFv3.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] asbr-summary fc00::1 64 cost 20 tag 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >