display bgp bmp server
Use display bgp bmp server to display BMP server information.
Syntax
display bgp [ instance instance-name ] bmp server server-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command displays BMP server information for the default BGP instance.
server-number: Specifies a BMP server by its number in the range of 1 to 8.
Examples
# Display information about BMP server 1.
<Sysname> display bgp bmp server 1 BMP server number: 1 Server address: 100.1.1.1 Server port: 6895 Client address: 100.1.1.2 Client port: 21452 BMP server state: Connected Up for 00h41m53s Message statistics: Total messages sent: 15 INITIATION: 1 TERMINATION: 0 STATS-REPORT: 0 PEER-UP: 4 PEER-DOWN: 3 ROUTE-MON: 7 BMP monitor BGP peers: 10.1.1.1
Table 83: Command output
Field | Description |
---|---|
Server address | IP address of the BMP server used by the TCP connection to the BMP client. |
Server port | Port number of the BMP server used by the TCP connection to the BMP client. |
Client address | IP address of the BMP client used by the TCP connection to the BMP server. |
Client port | Port number of the BMP client used by the TCP connection to the BMP server. |
BMP server current state | TCP connection status:
|
Up for | Duration of the TCP connection. |
Total messages sent | Number of messages that BGP sends to the BMP server. |
INITIATION | Number of initiation messages that BGP sends to the BMP server. |
TERMINATION | Number of termination messages that BGP sends to the BMP server. |
STATS-REPORT | Number of statistics messages that BGP sends to the BMP server. |
PEER-UP | Number of peer-up messages that BGP sends to the BMP server. |
PEER-DOWN | Number of peer-down messages that BGP sends to the BMP server. |
ROUTE-MON | Number of route monitoring messages that BGP sends to the BMP server. |
BMP monitor BGP peers | Peers that are monitored by the BMP server. |
Related commands
reset bgp bmp server statistics