Adding or Removing Additional Ports to sFlow
Based on the specific sampling requirements (see the configuration in the previous section (Configuring sFlow Agents on 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 the ports, 61-62, to the sFlow configuration, use the following command on each 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