Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Overview of sFlow Technology
- QFX Series standalone switches
- Example: Monitoring Network Traffic Using sFlow Technology
Configuring sFlow Technology
The sFlow technology is a monitoring technology for high-speed switched or routed networks. sFlow monitoring technology collects samples of network packets and sends them in a UDP datagram to a monitoring station called a collector. You can configure sFlow technology on a device to monitor traffic continuously at wire speed on all interfaces simultaneously. You must enable sFlow monitoring on each interface individually; you cannot globally enable sFlow monitoring on all interfaces with a single configuration statement. Junos OS fully supports the sFlow technology standard described in RFC 3176, InMon Corporation's sFlow: A Method for Monitoring Traffic in Switched and Routed Networks.
On the QFabric system, the sFlow monitoring global configuration that is defined on the Director device is distributed to Node groups that have sFlow sampling configured on the interfaces.
To configure sFlow features using the CLI:
- Configure the IP address and UDP port of at least one
collector:
The default UDP port assigned is 6343.
- Enable sFlow technology on a specific interface:
[edit protocols sflow]
user@host# set interfaces interface-nameNote: You cannot enable sFlow technology on a Layer 3 VLAN-tagged interface.
You cannot enable sFlow technology on a LAG interface (for example ae0), but you can enable sFlow technology on the member interfaces of the LAG (for example, xe-0/0/1).
- Specify how often (in seconds) the sFlow agent polls all
interfaces at the global level:
[edit protocols sflow]
user@host# set polling-interval secondsNote: Specify 0 if you do not want to poll the interface.
- Specify the rate at which packets are sampled at the global
level. For example, configuring a number of 1000 sets a sample rate of 1 in 1000 packets.
[edit protocols sflow]
user@host# set sample-rate number - (Optional) You can also configure the polling interval
and sample rate at the interface level:
[edit protocols sflow]
user@host# set interfaces interface-name polling-interval seconds sample-rate numberNote: The interface-level configuration overrides the global configuration for the specified interface.
Related Documentation
- QFabric System, QFX Series standalone switches
- Overview of sFlow Technology
- QFX Series standalone switches
- Example: Monitoring Network Traffic Using sFlow Technology
Published: 2014-07-28
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Overview of sFlow Technology
- QFX Series standalone switches
- Example: Monitoring Network Traffic Using sFlow Technology