R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
445
Views
BGP view
Predefined user roles
network-admin
Parameters
router-id: Specifies a router ID for BGP, in IP address format.
Usage guidelines
To run BGP, a router must have a router ID, which is an unsigned 32-bit integer that uniquely identifies the
router in the AS.
To modify a non-zero router ID for BGP, execute the router-id command in BGP view.
To improve availability, specify the IP address of a loopback interface as the router ID for BGP.
If you execute this command in the same BGP view multiple times, the most recent configuration takes
effect.
Examples
# C o n f i g u r e t h e ro u t e r I D fo r B G P a s 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] router-id 1.1.1.1
Related commands
• router id (system view)
• router-id (BGP-VPN instance view)
router-id (BGP-VPN instance view)
Use router-id to configure a router ID for a BGP VPN instance.
Use undo router-id to remove the router ID for a BGP VPN instance.
Syntax
router-id { router-id | auto-select }
undo router-id
Default
A BGP VPN instance uses the router ID configured in BGP view. If no router ID is configured in BGP view,
the BGP VPN instance uses the global router ID configured in system view.
Views
BGP-VPN instance view
Predefined user roles
network-admin
Parameters
router-id: Specifies a router ID in IP address format.
auto-select: Automatically selects a router ID for the BGP VPN instance.