R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
446
Usage guidelines
To run BGP, a VPN instance must have a router ID, which is an unsigned 32-bit integer that uniquely
identifies the BGP VPN router in the AS.
To improve availability, specify the IP address of a loopback interface as the router ID.
You can specify a different router ID for each VPN instance on a device.
If you execute this command in the same BGP-VPN instance view multiple times, the most recent
configuration takes effect.
If the auto-select keyword is specified, the system selects a router ID for the BGP VPN instance in the
following order:
1. The highest loopback address in the BGP VPN instance as the router ID.
2. The highest physical interface address in the BGP VPN instance as the router ID, regardless of the
interface status.
3. 0.0.0.0 as the router ID.
If a non-zero router ID is selected for the BGP VPN instance, the router ID will not change when a more
preferable router ID is available in the BGP VPN instance.
Examples
# I n B G P- V P N i n s t a n c e vi e w, c o n fi g u re t h e ro u t e r I D a s 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] router-id 1.1.1.1
Related commands
• router-id (system view)
• router-id (BGP view)
snmp-agent trap enable bgp
Use snmp-agent trap enable bgp to enable SNMP notifications for BGP.
Use undo snmp-agent trap enable bgp to disable SNMP notifications for BGP.
Syntax
snmp-agent trap enable bgp
undo snmp-agent trap enable bgp
Default
SNMP notifications for BGP are enabled.
Views
System view
Predefined user roles
network-admin