# ip access-list extended TTL
# permit ip host 172.16.1.1 any ttl lt 2
# class-map acl-filter-class
# match access-group name TTL
# policy-map acl-filter
# class acl-filter-class
# drop
# control-plane
# service-policy input acl-filter
The policy map is attached to the control plane.
# match access-group name TTL!– Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy.
# policy-map acl-filter!– Specifies the name of the class whose policy you want to create or change or to specify the default class (commonly known as the class-default class) before you configure its policy.
# class acl-filter-class!– Configures a traffic class to discard packets belonging to a specific class.
# drop!– Associates or modifies attributes or parameters that are associated with the control plane of the device.
# control-plane
!– Attaches a policy map to a control plane for aggregate control plane services.Router(config-cp)# service-policy input acl-filter