Setting the sFlow Sampling Rate for a LAG
- Enter the global configuration mode.
- Create a LAG.
- Add ports to the LAG.
- Set the sFlow sampling rate.
The following example sets the sFlow sampling rate for a LAG.
device# configure terminal device(config)# lag blue static id 1 device#(config-lag-blue)# ports ethernet 1/3/1 device#(config-lag-blue)# sflow sample 512
For a keep-alive LAG, you need to configure sFlow sampling at the interface level and not within the LAG configuration.
device#(config-lag-test)# interface ethernet 1/7/8 device#(config-if-e1000-1/7/8)# sflow sample 512 device#(config-if-e1000-1/7/8)#