Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-3
[Quidway] ospf 1
[Quidway-ospf-1] area 0
[Quidway-ospf-1-area-0.0.0.0]
3.1.3 asbr-summary
Syntax
asbr-summary ip-address mask
[
not-advertise
|
tag
value
]
undo asbr-summary ip-address mask
View
OSPF view
Parameter
ip-address
: IP address to be matched, in dotted decimal notation.
mask
: IP address mask, in dotted decimal notation.
not-advertise
: Specifies not to advertise the aggregated route matching the specified
IP address and mask. If this argument is not provided, the aggregated route will be
advertised.
tag value
: Tag value, which is mainly used to control route advertisement via
route-policy. It ranges from 0 to 4294967295 and defaults to 1.
Description
Use the
asbr-summary
command to configure the aggregation of imported routes by
OSPF.
Use the
undo asbr-summary
command to cancel the aggregation.
By default, imported routes are not aggregated.
After the aggregation of imported routes is configured, if the local router is an
autonomous system border router (ASBR), this command aggregates the imported
Type-5 LSAs in the aggregation address range. If an NSSA is configured, this
command also aggregates the imported Type-7 LSAs in the summary address range.
If the local router acts as both an ABR and a transit router in the NSSA, this command
aggregates Type-5 LSAs transformed from Type-7 LSAs. If the router is not the router
in the NSSA, the aggregation is disabled.
Related command:
display ospf asbr-summary
.
Example
# Set aggregation of routes imported by the router Quidway.
<Quidway> system-view
System View: return to User View with Ctrl+Z.