The mask command sets the aggregation mask length.
The undo mask command restores the default setting.
By default, no aggregation mask is configured.
Parameter | Description | Value |
---|---|---|
source | Indicates the aggregation mask of the source address. It is used in the following aggregation methods: prefix, prefix-ToS, source-prefix, and source-prefix-ToS. | - |
destination | Indicates the aggregation mask of the destination address. It is used in the following aggregation methods: prefix, prefix-ToS, destination-prefix, or destination-prefix-ToS. | - |
mask-length | Specifies the aggregation mask length. | The value is an integer that ranges from 1 to 32. |
Usage Scenario
The system uses the larger value between the set mask and the largest mask in the FIB table. If the aggregation mask is not configured, the system uses the mask in the FIB table for aggregation.
Precaution
Aggregation masks are applied to six aggregation methods: destination-prefix, destination-prefix-tos, prefix, prefix-tos, source-prefix, and source-prefix-tos.