router-id vpn-instance auto-select

Function

The router-id vpn-instance auto-select command configures automatic Router ID selection for all BGP-VPN instance.r. Each Router ID uniquely identifies one Device in an AS.

The undo router-id vpn-instance auto-select command deletes the automatic Router ID selection for all BGP-VPN instance.

By default, no BGP Router ID is configured, and the Router ID configured for the route management module through the router id command is used.

Format

router-id vpn-instance auto-select

undo router-id vpn-instance auto-select

Parameters

None

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The router-id command is used to configure a Router ID for the Device. Each Router ID uniquely identifies one BGP Device in an AS.

By configuring automatic Router ID selection for BGP-VPN instance, you can differentiate the configured Router ID of BGP-VPN instance from the BGP Router ID. If a Router ID is manually specified for a BGP-VPN instance, the manually specified Router ID takes precedence over the automatically selected Router ID. For more information about the Router ID of a BGP-VPN instance , see the router-id (BGP-VPN Instance IPv4 Address Family View) command.

Prerequisites

The bgp command is run to enable BGP.

Configuration Impact

If a BGP session has been established in a BGP-VPN instance , deleting the configured Router ID resets the BGP session.Exercise caution when changing or deleting a Router ID.

Precautions

By default, the Device that is not configured with any interface uses the Router ID of 0.0.0.0 assigned by routing management.

Example

# Configure automatic Router ID selection for all BGP-VPN instance.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] router-id vpn-instance auto-select
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >