308
* > 10.2.1.0/24 10.2.1.1 0 0 i
* > 192.168.1.0 192.168.1.135 0 0 i
# Display all BGP IPv4 unicast routing information received from BGP peer 10.2.1.2 for the public
network.
<Sysname> display bgp routing-table ipv4 peer 10.2.1.2 received-routes
Total number of routes: 2
BGP local router ID is 192.168.100.1
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
e 10.2.1.0/24 10.2.1.2 0 0 200i
* e 192.168.1.0 10.2.1.2 0 0 200i
For command output, see Table 82.
# Display statistics of BGP IPv4 unicast routes advertised to BGP peer 10.2.1.2 for the public network.
<Sysname> display bgp routing-table ipv4 peer 10.2.1.2 advertised-routes statistics
Advertised routes total: 2
# Display statistics of BGP IPv4 unicast routes received from BGP peer 10.2.1.2 for the public network.
<Sysname> display bgp routing-table ipv4 peer 10.2.1.2 received-routes statistics
Received routes total: 2
Table 85 Command output
Field Description
Advertised routes total Total number of routes advertised to the specified peer.
Received routes total Total number of routes received from the specified peer.
display bgp routing-table ipv4 unicast statistics
Use display bgp routing-table ipv4 unicast statistics to display BGP IPv4 unicast route statistics.
Syntax
display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] statistics
Views
Any view
Predefined user roles
network-admin
network-operator