Specifying an AS number and a router ID for BGP LS messages

Perform this task to ensure that LS messages sent by devices in the same AS have the same AS number and router ID.

To specify an AS number and a router ID for BGP LS messages:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP instance view.

bgp as-number [ instance instance-name ]

N/A

3. Enter BGP LS address family view.

address-family link-state

N/A

4. Specify an AS number and a router ID for BGP LS messages.

domain-distinguisher as-number:router-id

By default, the AS number and router ID of the current BGP process are used.