Ibgp accounting example – Riverstone Networks WICT1-12 User Manual

Page 303

Advertising
background image

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

BGP Configuration Guide

BGP Configuration Examples

IBGP Accounting Example

In the example below, routers R1 and R2 are running IBGP/RIP, so they exchange routes automatically. Customer
traffic from 13.1.1.5 is being routed to the destination 14.1.1.1/16. The customer is connected to router R1 through
the interface ’customerA.’ The route to 14.1.0.0/16 is a direct route on router R2 and is learned by R1, which sets the
traffic index to 1.

Figure 16-13Sample BGP configuration (accounting)

The following configurations enable BGP accounting on interface ’customerA’ to tally the number of bytes and packets
sent by the customer.

R

1

13.1.1.1/16

R

2

14.1.0.0/16

12.1.1.1/16
et.3.2

et.3.1

Customer

AS-1

et.14.5

13.1.1.5

12.1.1.2/16
et.14.8

Enable accounting on this interface

Advertising