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.
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. |
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.