Configuring ISG Accounting
How to Configure ISG Accounting
11
5. policy-map type service policy-map-name
6. class type traffic class-map-name
7. accounting aaa list AAA-method-list
8. exit
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
class-map type traffic match-any class-map-name
Example:
Router(config)# class-map type traffic
match-any empty_class
Creates or modifies a traffic class map, which is used for
matching packets to a specified ISG traffic class, and enters
traffic class map configuration mode.
• For per-session accounting, create an empty traffic
class map, that is, a traffic class map that does not
specify an access list for matching traffic.
Step 4
exit
Example:
Router(config-traffic-classmap)# exit
Exit traffic class map configuration mode.
Step 5
policy-map type service policy-map-name
Example:
Router(config)# policy-map type service polmap1
Creates or defines a service policy map, which is used to
define an ISG service and enters service policy-map
configuration mode.
Step 6
class type traffic class-map-name
Example:
Router(config-service-policymap)# class type
traffic empty_class
Specifies a named traffic class whose policy you want to
create or change and enters service policy traffic class
configuration mode.
• In this step, reference the empty traffic class map that
you created in Step 3.
Step 7
accounting aaa list AAA-method-list
Example:
Router(config-service-policymap-class-traffic)#
accounting aaa list list1
Enables accounting and specifies the AAA method list to
which accounting updates will be sent.
Step 8
exit
Example:
Router(config-service-policymap-class-traffic)#
exit
Returns to service policy-map configuration mode.