Netgear XCM8806 - 8800 SERIES 6-SLOT CHASSIS SWITCH ユーザーズマニュアル
232
|
Chapter 8. Status Monitoring and Statistics
NETGEAR 8800 User Manual
configure sflow ports <portlist> sample-rate <number>
All ports on the switch or the same I/O module are sampled individually.
Maximum CPU Sample Limit
A high number of samples can cause a heavy load on the switch CPU. To limit the load, there
is a CPU throttling mechanism to protect the switch.
is a CPU throttling mechanism to protect the switch.
On a modular switch, whenever the limit is reached, the sample rate value is doubled on the
slot from which the maximum number of samples are received. For ports on that slot that are
sampled less frequently, the sampling rate is not changed; the sub-sampling factor is
adjusted downward.
slot from which the maximum number of samples are received. For ports on that slot that are
sampled less frequently, the sampling rate is not changed; the sub-sampling factor is
adjusted downward.
On a stand-alone switch, whenever the limit is reached, the sample rate value is doubled on
the ports from which the maximum number of samples are received. For ports that are
sampled less frequently, the sampling rate is not changed; the sub-sampling factor is
adjusted downward.
the ports from which the maximum number of samples are received. For ports that are
sampled less frequently, the sampling rate is not changed; the sub-sampling factor is
adjusted downward.
To configure the maximum CPU sample limit, use the following command:
configure sflow max-cpu-sample-limit <rate>
Unconfiguring sFlow
To reset the configured values for sFlow to their default values and remove from sFlow any
configured collectors and ports, use the following command:
configured collectors and ports, use the following command:
unconfigure sflow
sFlow Configuration Example
In a service provider environment, you can configure sFlow to sample packets at the edge of
the network to determine the hourly usage for each IP address in the data center. You can
capture Web traffic, FTP traffic, mail traffic, and all bits of data that travel across service
providers’ edge routers to their customers’ (end users’) servers.
the network to determine the hourly usage for each IP address in the data center. You can
capture Web traffic, FTP traffic, mail traffic, and all bits of data that travel across service
providers’ edge routers to their customers’ (end users’) servers.
The example in this section assumes that you already have an sFlow data collector installed
somewhere in your network. In many environments, the sFlow data collector is on a network
PC.
somewhere in your network. In many environments, the sFlow data collector is on a network
PC.
The following sFlow configuration example for a service provider environment:
•
Configures the IP address of the sFlow data collector.
Note:
In many environments, the sFlow data collector is not directly
connected to the switch. Make sure to specify the VR used to
forward traffic between the sFlow collector and the switch. In most
cases the VR is VR-Mgmt.
forward traffic between the sFlow collector and the switch. In most
cases the VR is VR-Mgmt.