Bgp dscp accounting – Riverstone Networks WICT1-12 User Manual

Page 305

Advertising
background image

Riverstone Networks RS Switch Router User Guide Release 8.0 16-47

BGP Configuration Guide

BGP Configuration Examples

Use the

bgp-actg

option with the

ip show interfaces

command to display BGP accounting information for the

interface. For example:

BGP DSCP Accounting

You can choose to have route-specific traffic statistics broken down by DSCP values. The steps are basically the same
as in the BGP accounting examples shown previously, except you use the

ip bgp-accounting start

dscp-accounting

command to start the collection of statistics.

Figure 16-14

shows a simple BGP configuration in which routes received on R2 for the networks 15.4.0.0/16,

15.5.0.0/16, and 15.6.0.0/16 are exported to R8. On R8, BGP routes from these networks are to be monitored via BGP
accounting, with breakout of traffic according to DSCP values.

Figure 16-14Sample BGP configuration (DSCP accounting)

rs# ip show interfaces customerA bgp-actg

Interface:customerA
Bucket Packets Bytes
0 0 0
1 111 14430

R2

15.4.0.0/16

AS-2

15.5.0.0/16

15.6.0.0/16

R8

12.10.0.0/16

AS-65100

12.11.0.0/16

12.12.0.0/16

15.2.1.1

15.2.1.3

12.13.0.0/16

Customer

int1

Advertising