Extreme Networks BlackDiamond 6800 Installation And User Manual page 58

Accounting and routing module
Hide thumbs Also See for BlackDiamond 6800:
Table of Contents

Advertisement

Configuring the ARM
Or Destination
*d 192.168.102.0/24
Configuring Destination Sensitive Accounting Based on BGP Community
Strings
In this example, all IP unicast traffic forwarded by the BlackDiamond switch to one of
two BGP communities is counted. Each IP subnet associated with the configured BGP
community is mapped to a different accounting bin. The steps that follow describe how
to configure the accounting feature. This example assumes that the VLANs are created,
IP forwarding is enabled, and accounting is enabled.
1 Create the route map
the newly created route map and assign a bin number to each BGP community.
create route-map bgp_example
create route-map bgp_example add 100 permit match-one
create route-map bgp_example 100 add match community 1111:1
create route-map bgp_example 100 add set accounting-index 1 value 1
create route-map bgp_example add 200 permit match-one
create route-map bgp_example 200 add match community 2222:2
create route-map bgp_example 200 add set accounting-index 1 value 2
2 Apply the route map to the e-bgp routes.
config iproute route-map e-bgp bgp_example
BGP Accounting Example
When configured as described previously, the following traffic patterns are created
through externally attached devices. Route 192.168.52.0/24 and 192.168.53.0/24 are
learned from a neighbor BGP router. Route 192.168.52.0/24 is associated with
community 1111:1 and 192.168.53.0 is associated with community 2222:2. Each of these
routes are mapped to a different bin number, bin number one and bin number two
respectively. Route 192.168.54.0/24 is associated with community 3333:3, but is not
mapped to an accounting bin number.
A portion of the screen output from the
the mapping of accounting bins one and two to each of the BGP community mapped
routes.
3-18
Gateway
Mtr Flags
192.168.100.1
1
. Then map the communities 1111:1 and 2222:2 to
bgp_example
show iproute
Use M-Use
U------u-
0
0
command is displayed. Notice
Accounting and Routing Module Installation and User Guide
VLAN
Acct-1
vlan102
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Blackdiamond 6800 series

Table of Contents