297
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.
Configuring BMP
The BGP monitoring protocol (BMP) enables a BGP router (BMP client) to send session status
information of the specified peers to BMP servers for monitoring. The session status information
includes peer relationship establishment and termination as well as routing information. The BMP
client communicates with the BMP servers through TCP connections.
To configure BMP:
1. Enter system view.
system-view
N/A
2. Create a BMP server and
enter BMP server view.
bmp server
server-number
By default, no BMP servers
exist.
3. Configure an IP address
and port number for the
BMP server.
server address
ipv4-address
port
port-number
By default, no IP address and
port number are configured for
the BMP server.
4. Set the interval at which
BGP sends statistics
information to the BMP
server.
statistics-interval
value
By default, BGP does not send
statistics information to the
BMP server.
5. Return to system view.
quit
N/A
6. Enter BGP instance view or
BGP-VPN instance view.
• Enter BGP instance view:
bgp as-number [ instance
instance-name ]
• Enter BGP-VPN instance view:
a. bgp as-number [ instance
instance-name ]
b. ip vpn-instance
N/A
7. Specify a peer or peer
group to be monitored.
peer
{ group-name | ipv4-address
[ mask-length ] | ipv6-address
[ prefix-length ] }
bmp server
server-number-list
By default, no peer or peer
group is specified.
Displaying and maintaining BGP
Displaying BGP
Execute display commands in any view (IPv4 unicast address family).
Display BGP NSR status information.
display bgp
[
instance
instance-name ]
non-stop-routing