398
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
# In BGP-VPN instance view, configure the router ID as 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
Usage guidelines
This feature enables generating SNMP notifications for BGP as defined in RFC 4273 upon neighbor state
changes. The SNMP notifications include the neighbor address, the code and subcode of the most recent
error, and the current neighbor state. The generated SNMP notifications are sent to the SNMP module.
The SNMP module determines how to output the notifications according to the configured output rules.
For more information about SNMP notifications, see Network Management and Monitoring
Configuration Guide.
Examples
# Enable SNMP notifications for BGP.
<Sysname> system-view
[Sysname] snmp-agent trap enable bgp
summary automatic
Use
summary automatic
to configure automatic route summarization for redistributed IGP subnet routes.
Use
undo summary automatic
to remove the configuration.