as-number (RPKI-region-validation-region view)

Function

The as-number command configures an AS number list in an area.

The undo as-number command deletes an AS number list configured for an area.

By default, no AS number is configured in an area.

Format

as-number { asn } &<1-100>

undo as-number [ { asn } &<1-100> ]

Parameters

Parameter Description Value
asn

Specifies an AS number.

If the AS number is an integer, the value ranges from 1 to 4294967295.

The AS number in dotted notation is in the format of x.y, where x and y are integers ranging from 1 to 65535 and from 0 to 65535, respectively.

Views

RPKI-region-validation-region view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
rpki write

Usage Guidelines

Usage Scenario

After creating a region, you can run the as-number command to add an AS to the region.

The correctness of the relationships between ASs, areas, and area confederations depends on the overall network planning. If the configurations are incorrect, routes may be incorrectly filtered.

Precautions

A maximum of 100 4-byte or 2-byte AS numbers can be configured in an area.

An AS can be added to only one area.

Example

# Add an AS number to the area.
<HUAWEI> system-view
[~HUAWEI] rpki
[*HUAWEI-rpki] region-validation
[*HUAWEI-rpki-region-validation] region 1
[*HUAWEI-rpki-region-validation-region-1] as-number 1
# Add multiple AS numbers to an area at a time.
<HUAWEI> system-view
[~HUAWEI] rpki
[*HUAWEI-rpki] region-validation
[*HUAWEI-rpki-region-validation] region 1
[*HUAWEI-rpki-region-validation-region-1] as-number 1 2 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >