Riverstone Networks WICT1-12 用户手册

下载
页码 718
Riverstone Networks RS Switch Router User Guide   Release 8.0   16-13
BGP Configuration Guide
BGP Configuration Examples  
The example output shown above displays the number of packets and bytes sent at the interface 'int1'. The user has 
sent 111 packets of size 130 bytes that fell into bucket 1 (traffic index 1). For example, a ping request (with a data size 
of 84 bytes) was sent 111 times. 
Use the 
ip clear bgp-actg
 command to clear BGP accounting statistics. For example:
If you need to see which traffic index is assigned to a route, run the following Diagnostic mode command:
16.3 BGP CONFIGURATION EXAMPLES
This section presents sample configurations illustrating BGP features. The following features are demonstrated:
BGP peering
Internal BGP (IBGP)
External BGP (EBGP) multihop
BGP community attribute
BGP local preference (local_pref) attribute
BGP Multi-Exit Discriminator (MED) attribute
EBGP aggregation
Route reflection
BGP confederation
Route map
rs# ip clear bgp-actg
rs# ip show interfaces int1 bgp-actg
Interface:int1
Bucket Packets       Bytes
0      0             0
1      0             0
rs# diag
rs? ip find route 14.1.0.0
     route to: 14.1.0.0
         mask: (255) ffff ffff
    interface: toRTR2
      gateway: 12.1.1.2 
  aspath info: Next Hop - 0, Origin -  0
traffic index: 1
        flags: <UP,GATEWAY>
recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     
   16384     16384         0         0     e