Disabling sflow on specific interfaces, Enabling flow-based sflow – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 530

Disabling sFlow on specific interfaces
NOTE
Disabling sFlow on the interface port does not completely shut down the network communication on
the interface port.
To disable sFlow on a specific interface, perform the following steps in interface configuration mode.
1. Disable the sFlow interface.
switch(conf-if)# no sflow enable
2. Return to privileged EXEC mode.
switch(conf-if)# end
3. Confirm the sFlow configuration status on the specific interface.
NOTE
The gigabitethernet rbridge-id/slot/port operand is used only for the Brocade VDX 6710, VDX
8770-4, and VDX 8770-8. The prompt for these ports is in the following example format:
switch(config-if-gi-22/0/1)#.
switch# show sflow interface tengigabitethernet 0/12
Enabling flow-based sFlow
on page 527.
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.
1. Create an sFlow profile. Be sure to specify the sampling-rate as a power of 2.
switch(config)# sflow-profile profile1 sampling-rate 256
2. Create a standard MAC ACL.
switch# mac access-list standard acl1
switch(conf-macl-std)# permit any
3. Create a class map and attach the ACL to the class map.
switch(conf-macl-std)# class-map class1
switch(config-classmap)# match access-group acl1
4. Create a policy map and attach the class map to the policy map.
switch(config-classmap)# policy-map policy1
switch(config-policymap)# class class1
5. Use the map command to add an sFlow profile name.
This example assigns the profile name "policy1."
switch(config-policymap-class)# map sflow profile1
6. Switch to interface configuration mode.
switch(config-policymap-class)# exit
switch(config)# interface ten 1/8/1
switch(conf-if-te-1/8/1)#
7. Bind the policy map to an interface.
switch(conf-if-te-1/8/1)# service-policy in policy1
Disabling sFlow on specific interfaces
530
Network OS Administrator’s Guide
53-1003225-04