domain as (BGP-LS address family view)

Function

The domain as command configures a BGP-LS domain AS number.

The undo domain as command deletes a BGP-LS domain AS number.

By default, a BGP AS number is used as the BGP-LS domain AS number.

Format

domain as domain-asNum

undo domain as domain-asNum

Parameters

Parameter Description Value
domain-asNum

Specifies a BGP-LS domain AS number.

For an integral BGP-LS domain AS number, the value is an integer ranging from 1 to 4294967295.

For a BGP-LS domain AS number in dotted notation, the value 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

BGP-LS address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The BGP-LS domain AS numbers of devices must be the same so that the controller calculates routes based on the combined topology information reported by the devices. To configure a BGP-LS domain AS number, run the domain as command. By default, a BGP AS number is used as the BGP-LS domain AS number. Two devices with different BGP AS numbers must have the same BGP-LS domain AS number configured using the domain as command so that the controller can obtain combined topology information about the two ASs for route calculation.

Example

# Configure a BGP-LS domain AS number (200).
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] link-state-family unicast
[*HUAWEI-bgp-af-ls] domain as 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >