Riverstone Networks WICT1-12 User Manual

Page of 718
16-12   Riverstone Networks RS Switch Router User Guide   Release 8.0 
Basic BGP Tasks
  BGP Configuration Guide
2.
Enable the route-map on incoming traffic from router R1.  For example, the following command 
applies the route-map ’1’ to routes imported from the peer group ’r1’:
3.
Add the interface name to the BGP accounting table.  For example, the following command enables 
BGP accounting on the interface ’customerA’:
4.
Start BGP accounting.  For example, to start collecting statistics for the service levels (DSCP values) 
of specific traffic routes:
To start collecting BGP traffic statistics for specific traffic routes:
Refer to 
 to see detailed example configurations.
Displaying BGP Accounting Information
Use the 
bgp-actg
 option with the 
ip show interfaces
 command to display BGP accounting information on a 
per-interface basis.  For example:
bgp set peer-group r1 route-map-in 1 in-sequence 1
ip enable bgp-actg-on customerA
ip bgp-accounting start dscp-accounting
ip bgp-accounting start accounting
rs# ip show interfaces int1 bgp-actg
Interface:int1
Bucket Packets       Bytes
0      0             0
1      111           14430