Configuring OSPFv3 route summarization
Route summarization enables an ABR or ASBR to summarize contiguous networks into a single network and advertise it to other areas.
Configuring route summarization on an ABR
If contiguous network segments exist in an area, you can summarize them into one network segment on the ABR. The ABR will advertise only the summary route. Any LSA on the specified network segment will not be advertised, reducing the LSDB size in other areas.
To configure route summarization:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter OSPFv3 view. | ospfv3 [ process-id | vpn-instance vpn-instance-name ] * | N/A |
3. Enter OSPFv3 area view. | area area-id | N/A |
4. Configure route summarization. | abr-summary ipv6-address prefix-length [ not-advertise ] [ cost value ] | By default, route summarization is not configured on an ABR. |
Configuring route summarization on an ASBR
Perform this task to enable an ASBR to summarize external routes within the specified address range into a single route.
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 configure route summarization on an ASBR:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter OSPFv3 view. | ospfv3 [ process-id | vpn-instance vpn-instance-name ] * | N/A |
3. Configure route summarization on an ASBR. | asbr-summary ipv6-address prefix-length [ cost cost | not-advertise | nssa-only | tag tag ] * | By default, route summarization is not configured on an ASBR. |