To configure a classification or class map by using an ACL, follow these steps.
device# configure terminal
device(config)# ip access-list standard ip_acl
device(conf-ipacl-std)# permit host 10.10.10.0
device(conf-ipacl-std)# exit
device(config)# do show running-config | include ip_acl ip access-list standard ip_acl
device(config)# class-map class_1
device(config-classmap)# match access-group ip_acl
device(config-classmap)# end
device# show running-config | include class ... class-map cee class-map class_1 class-map default
device# copy running-config startup-config
device# configure terminal device(config)# ip access-list standard IP_acl device(conf-ipacl-std)# permit host 10.10.10.0 device(conf-ipacl-std)# exit device(config)# do show running-config | include ip_acl device(config)# class-map class_1 device(config-classmap)# match access-group ip_acl device(config-classmap)# end device# show running-config | include class device# copy running-config startup-config