3com 8807 Reference Guide

Page of 1099
518
C
HAPTER
 27: BGP C
ONFIGURATION
 C
OMMANDS
Description
Use the display bgp routing-table regular-expression command to view the 
routing information matching the specified AS regular expression
Example
# Display the routing information matched with ^600$.
<SW8800> display bgp routing-table regular-expression ^600$
 
Flags:     # - valid,        ^ - best,
 
          D - damped,   H - history,
 
          I - internal,     S - aggregate suppressed
 
        B - balance
 
 
Destination/Mask  Pref   Next-hop          Med        Local-Pref  Origin   Path
 
--------------------------------------------------------------------
 
      1.1.1.0/24  256    10.10.10.1       0                  IGP   200
 
      1.1.2.0/24  256    10.10.10.1       0                  IGP   200
 
      1.1.3.0/24  256    10.10.10.1       0                  IGP   200
 
      2.2.3.0/24  256    10.10.10.1       0                  INC   200
 
      4.4.4.0/24  256    10.10.10.1       0                  IGP   200
 
      9.9.9.0/24  256    10.10.10.1       0                  INC   200
 
      10.10.10.0/24 256  10.10.10.1       0                  IGP   200 
For detailed description of the output information, see Table 74.
display bgp 
routing-table statistic
Syntax
display bgp routing-table [ advertised | received ] statistic
View
Any view
Parameter
advertised: Routing information advertised by the peers.
received: Routing information received by the peers.
statistic: The total number of routes advertised or received by the peer.
Description
Use the display bgp routing-table statistic command to display the total 
number of routes advertised or received by all BGP peers.
Related command: display bgp peer.
Example
# Display the routing information advertised by all BGP peers.
<SW8800> display bgp routing-table advertised statistic
 
Peer: 200.1.7.2+1062
 
Advertised routes total: 516
 
Peer: 150.1.1.2+179
 
Advertised routes total: 346
 
Peer: 2 133.1.1.2+179
 
Advertised routes total: 116  
# Display the routing information received by all BGP peers.