Specifying an AS number and a router ID for BGP LS
messages
Perform this task to ensure that LS messages sent by devices in the same AS have the same AS
number and router ID.
To specify an AS number and a router ID for BGP LS messages:
Step
1.
Enter system view.
2.
Enter BGP instance view.
3.
Enter BGP LS address
family view.
4.
Specify an AS number and a
router ID for BGP LS
messages.
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:
Step
1.
Enter system view.
2.
Create a BMP server and
enter BMP server view.
3.
Configure an IP address and
port number for the BMP
server.
4.
Set the interval at which BGP
sends statistics information
to the BMP server.
5.
Return to system view.
6.
Enter BGP instance view or
BGP-VPN instance view.
7.
Specify a peer or peer group
to be monitored.
Command
system-view
bgp as-number [ instance
instance-name ]
address-family link-state
domain-distinguisher
as-number:router-id
Command
system-view
bmp server server-number
server address ipv4-address port
port-number
statistics-interval value
quit
•
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
vpn-instance-name
peer { group-name | ipv4-address
[ mask-length ] | ipv6-address
[ prefix-length ] } bmp server
server-number-list
312
Remarks
N/A
N/A
N/A
By default, the AS number and
router ID of the current BGP
process are used.
Remarks
N/A
By default, no BMP servers
exist.
By default, no IP address and
port number are configured for
the BMP server.
By default, BGP does not send
statistics information to the
BMP server.
N/A
N/A
By default, no peer or peer
group is specified.