Disabling flow-based sFlow on specific interfaces

To disable sFlow on a specific interface, perform the following steps in interface configuration mode.

Note

Note

Disabling sFlow on an interface port does not completely shut down the network communication on the interface port.
  1. Disable the sFlow interface.
    device(conf-if)# no sflow enable
  2. Return to privileged EXEC mode.
    device(conf-if)# end
  3. Switch to interface configuration mode.
    device(config-policymap-class)# exit
    
    device(config)# interface ethernet 0/1
    device(conf-if-eth-0/1)#
  4. Disable flow-based sFlow by removing the policy map.
    device(conf-if-eth-0/1)# no service-policy in
  5. Confirm the sFlow configuration status on the specific interface.
    device# show sflow interface ethernet 0/1