The display bgp routing-table peer statistics command displays statistics about received and advertised BGP routes.
display bgp [ multicast | ipv6 ] routing-table peer statistics
display bgp [ l2vpn | vpls | l2vpn-ad ] routing-table peer statistics
display bgp { vpnv4 | vpnv6 } { all | vpn-instance vpn-instance-name } routing-table peer statistics
display bgp l2vpn-ad routing-table [ all | vpls-ad | vpws | vpls ] peer statistics
The l2vpn, l2vpn-ad, vpls, vpls-ad, vpnv4, and vpnv6 parameters are supported only by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H.
Parameter | Description | Value |
---|---|---|
multicast |
Displays statistics about routes in the IP multicast routing table. |
- |
l2vpn |
Displays statistics about routes in the BGP-L2VPN address family. |
- |
vpls |
Displays statistics about routes in the BGP VPLS address family. |
- |
ipv6 |
Displays statistics about routes in the BGP IPv6 unicast address family. |
- |
l2vpn-ad |
Displays statistics about routes in the BGP L2VPN-AD address family. |
- |
vpnv4 |
Displays statistics about routes in the BGP-VPNv4 address family. |
- |
vpnv6 |
Displays statistics about routes in the BGP-VPNv6 address family. |
- |
all |
Displays statistics about all types of routes. |
- |
vpn-instance vpn-instance-name |
Specifies a VPN instance name. |
The value must be an existing VPN instance name. |
vpls-ad |
Displays statistics about VPLS-AD routes. |
- |
vpws |
Displays statistics about virtual private wire service (VPWS) routes. |
- |
vpls |
Displays statistics about virtual private LAN service (VPLS) routes. |
- |
To check statistics of received and advertised BGP routes, run the display bgp routing-table peer statistics command. You can specify parameters as needed. If no parameter is specified in the command, statistics about BGP IPv4 unicast routes are displayed.
# Display statistics about received and advertised BGP IPv4 unicast routes.
<HUAWEI> display bgp routing-table peer statistics
BGP local router ID : 10.1.1.1 Local AS number : 100 Total number of peers : 3 Number of Peers in established state : 3 Peer Received routes Advertised routes 10.2.2.2 1 1 10.2.2.3 1 1 10.3.3.3 2 0
Item |
Description |
---|---|
BGP local router ID |
Local router ID |
Local AS number |
AS number |
Total number of peers |
Total number of peers |
Number of Peers in established state |
Number of peers in the established state |
Peer |
IP address of a peer |
Received routes |
Total number of routes received from the peer |
Advertised routes |
Total number of routes advertised to the peer |