Adding or Removing Additional Ports to sFlow Configuration
Based on your sample requirements configured in previous section (Configuring sFlow Agents on the Network), you can add additional ports to the sFlow Agent on each switch by using the 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