The display bgp bmp-monitor command displays information about the BGP peers monitored by a BMP session in all address families or in a specified address family.
display bgp bmp-monitor ipv4 { ipv4-address | ipv6-address }
display bgp bmp-monitor ipv6 { ipv4-address | ipv6-address }
display bgp bmp-monitor vpnv4 vpn-instance vpn-instance-name ipv4-address
display bgp bmp-monitor vpnv6 vpn-instance vpn-instance-name { ipv4-address | ipv6-address }
display bgp bmp-monitor vpnv4 { ipv4-address | ipv6-address }
display bgp bmp-monitor vpnv6 { ipv4-address | ipv6-address }
display bgp bmp-monitor all
Parameter | Description | Value |
---|---|---|
ipv4-address |
Specifies the IPv4 address of a BGP peer. |
The value is in dotted decimal notation. |
ipv6-address |
Specifies the IPv6 address of a BGP peer. |
The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
ipv4 |
Displays information about BGP peers monitored by a BMP session in the IPv4 unicast address family. |
- |
ipv6 |
Displays information about BGP peers monitored by a BMP session in the IPv6 unicast address family. |
- |
vpnv4 |
Displays information about BGP peers monitored by a BMP session in the VPNv4 address family. |
- |
vpn-instance vpn-instance-name |
Displays information about BGP peers monitored by a BMP session in the VPN instance address family. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
vpnv6 |
Displays information about BGP peers monitored by a BMP session in the VPNv6 address family. |
- |
all |
Displays information about BGP peers monitored by a BMP session in all address families. |
- |
Usage Scenario
To check information about the BGP peers monitored by a BMP session in all address families or in a specified address family, run the display bgp bmp-monitor command. The information includes the type of route reported to the monitoring server, IP address of the server with which a BMP session is established, BMP session alias, and BMP session status.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp bmp-monitor vpnv6 10.1.1.1
*>BGP ipv6-family vpnv6 :
Peer Session Ip Alias State route-mode
10.1.1.1 10.1.1.1 down local-rib(a)
<HUAWEI> display bgp bmp-monitor vpnv4 10.1.1.1
*>BGP ipv4-family vpnv4 :
Peer Session Ip Alias State route-mode
10.1.1.1 10.1.1.1 down local-rib(a)
<HUAWEI> display bgp bmp-monitor ipv6 10.1.1.1
*>BGP ipv6-family unicast :
Peer Session Ip Alias State route-mode
10.1.1.1 10.1.1.1 down local-rib(a)
<HUAWEI> display bgp bmp-monitor all
0.0.0.0 : monitor public / private
*0.0.0.0 : monitor all vpn instances
*>BGP ipv4-family unicast :
Peer Session Ip Alias State route-mode
10.1.1.1 10.10.10.10 down in post-policy
10.10.10.10 down in pre-policy
10.2.2.2 10.10.10.12 down in pre-policy
0.0.0.0 10.10.10.11 up local-rib
10.10.10.12 down local-rib
*>BGP ipv6-family unicast :
Peer Session Ip Alias State route-mode
2001:DB8:2::2 10.10.10.13 a down in pre-policy
0.0.0.0 10.10.10.12 down local-rib
10.10.10.13 a down local-rib
Item | Description |
---|---|
Peer | IP address of a monitored BGP peer. |
Session Ip | IP address of the server with which a BMP session is established. |
Alias | Alias of a BMP session. If no alias is specified, the field is empty. |
State | Status of the BMP session:
|
route-mode | Type of route reported to the monitoring server:
|
BGP ipv4-family unicast | BGP-IPv4 unicast address family. |
BGP ipv6-family unicast | BGP-IPv6 unicast address family. |
BGP ipv4-family vpnv4 | BGP VPNv4 address family. |
BGP ipv6-family vpnv6 | BGP VPNv6 address family. |