Perform the following steps, beginning in global configuration mode.
Note
The "deny ACL" rule is not supported for flow-based sflow. Only the permit action is supported.device(config)# sflow-profile profile1 sampling-rate 256
device# mac access-list standard acl1 device(conf-macl-std)# permit any
device(conf-macl-std)# class-map class1 device(config-classmap)# match access-group acl1
device(config-classmap)# policy-map policy1 device(config-policymap)# class class1
This example assigns the profile name "profile1."
device(config-policymap-class)# map sflow profile1