
MPLS Module Installation and User Guide
8-15
Configuring Route Maps
create access-profile arm2 type ipaddress
config access-profile arm2 mode none
config access-profile arm2 add 10 permit ipaddress 192.168.101.0/24
create access-profile arm3 type ipaddress
config access-profile arm3 mode none
config access-profile arm3 add 10 permit ipaddress 192.168.102.0/24
2
Create a route map named
ip_example
.
create route-map ip_example
config route-map ip_example add 100 permit match-one
config route-map ip_example 100 add match nlri-list arm1
config route-map ip_example add 200 permit match-one
config route-map ip_example 200 add match nlri-list arm2
config route-map ip_example add 300 permit match-one
config route-map ip_example 300 add match nlri-list arm3
3
Assign bin numbers to each route map.
config route-map ip_example 100 add set accounting-index 1 value 3
config route-map ip_example 200 add set accounting-index 1 value 4
config route-map ip_example 300 add set accounting-index 1 value 5
4
Correlate the route map to direct routes.
config iproute route-map direct ip_example
The
show accounting
command lists the packet and octet counts for each bin number
per VLAN. Bin 0 is always the default bin and is used to maintain traffic statistics for
packets that do not match any of the route map profiles. Bins that have the same packet
and octet count are grouped together. All maintained statistics are 64-bit values.
The
show ipr
command displays the bin number, if any, that is associated with a
particular route.
Configuring Destination-Sensitive Accounting Based on BGP Community
Strings
Figure 8-2 is an example of destination-sensitive accounting based on BGP community
strings.
Содержание BlackDiamond 6800 MPLS
Страница 14: ...xiv MPLS Module Installation and User Guide ...
Страница 24: ...1 10 MPLS Module Installation and User Guide Overview ...
Страница 40: ...2 16 MPLS Module Installation and User Guide Installing or Replacing an MPLS Module ...
Страница 104: ...5 30 MPLS Module Installation and User Guide Configuring RSVP TE ...
Страница 134: ...7 24 MPLS Module Installation and User Guide Configuring MPLS Layer 2 VPNs ...
Страница 154: ...8 20 MPLS Module Installation and User Guide Configuring Destination Sensitive Accounting ...
Страница 166: ...9 12 MPLS Module Installation and User Guide Additional MPLS Module Support Topics ...
Страница 174: ...vi Index MPLS Module Installation and User Guide ...