![Riverstone Networks WICT1-12 Скачать руководство пользователя страница 269](http://html1.mh-extra.com/html/riverstone-networks/wict1-12/wict1-12_user-manual_1466194269.webp)
Riverstone Networks RS Switch Router User Guide Release 8.0 16-11
BGP Configuration Guide
Basic BGP Tasks
Defining Actions in Route Map Conditions
When a route matches a condition configured with the
permit
keyword, the specified action is taken. The following
actions can be specified:
•
Set the next hop for the route
•
Set the local preference for the route
•
Set the MED for the route
•
Set the original for the route
•
Prepend the AS number to the AS path for the route
•
Remove or add communities to the route
•
Set the preference for the route
•
Specify the traffic bucket number for the route (see
Section 16.3.11,
"BGP Accounting Examples,"
for more information)
16.2.11
Using BGP Accounting
BGP accounting allows you to differentiate and tally IP traffic by assigning traffic indexes based on route map
specifications to an input interface. Using BGP accounting, you can collect statistics (and apply billing) according to
route-specific traffic. For example, domestic, international, terrestrial, satellite, and other traffic can be identified and
accounted for on a per-customer basis.
You can also choose to count route-specific traffic according to Differentiated Services Code Point (DSCP) values
(previously known as Type of Service values) in the packets. This allows you to collect and bill on a service level for
each customer.
Enabling BGP Accounting
In the following example, BGP packets with the community value “11:11” are forwarded from router R1 to router R2.
On router R2, a traffic index is set up to keep the counts of these packets.
On the router R1, create a community list for the community value “11:11.” For example, the following commands
create a route-map for the community value “11:11”:
On the router R2, do the following:
1.
Create a community list to match the community value “11:11” and define a route-map that matches
the community with a specific traffic index. For example, the following commands create a
community list with the community value “11:11” and define a route map to match the community
list with the traffic index ’1’:
route-map 1 permit 1 set-community-list “11:11”
bgp set peer-group r2 route-map-out 1 out-sequence 1
ip-router policy create community-list list1 "11:11"
route-map 1 permit 1 match-community-list list1 set-traffic-index 1
Содержание WICT1-12
Страница 1: ...36 007 07 Rev 0A RS Switch Router User Guide Release 8 0...
Страница 7: ...Riverstone Networks RS Switch Router User Guide Release 8 0 vii J J J J J 2 5 5J 5 A H B J 5J H...
Страница 160: ...8 26 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuring PPP OC 12 ATM Configuration Guide...
Страница 216: ...13 6 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Example RIP Configuration Guide...
Страница 258: ...15 24 Riverstone Networks RS Switch Router User Guide Release 8 0 Displaying IS IS Information IS IS Configuration Guide...
Страница 308: ...16 50 Riverstone Networks RS Switch Router User Guide Release 8 0 BGP Configuration Examples BGP Configuration Guide...
Страница 530: ...23 10 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Examples IPX Routing Configuration...
Страница 546: ...24 16 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring ACLs Access Control List Configuration...
Страница 582: ...26 20 Riverstone Networks RS Switch Router User Guide Release 8 0 Limiting Traffic Rate QoS Configuration...
Страница 586: ...27 4 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring Broadcast Traffic Performance Monitoring...