Adding or Removing Additional Ports to sFlow Configuration
Based on the specific sampling requirements (see the configuration in the previous section Configuring sFlow Agents in the Network), you can add additional ports to the sFlow Agent on each switch by modifying the desired sFlow Instances with the following command:
CLI (network-admin@switch) > sflow-port-add sflow-name name-string ports port-list
Specify the sflow selector: |
|
sflow-name name-string |
Specify the sFlow name to which you want to add additional ports. |
ports port-list |
Specify the ports or range of ports. |
For example, to add ports, 61-62 to an sFlow Instance, use the following command on the switch:
CLI (network-admin@switch) > sflow-port-add sflow-name net-monitor ports 61-62
To remove the additional ports from the sFlow configuration, use the sflow-port-remove command. For example,
CLI (network-admin@switch) > sflow-port-remove sflow-name net-monitor ports 61-62