Skip to main content
ManualsDex
Cisco Original PDF 10 Pages145 KB Troubleshooting & Error Codes ↓

Cisco Content Hub Configuring sFlow User Guide

Category:Content Hub Configuring sFlowContent Hub
Download PDF (145 KB)

Document viewer

10 Pages · 145 KB · Cisco official PDF

Troubleshooting & error codes

Extracted diagnostic sections from the manufacturer manual

Diagnostic guide

Prerequisites

You must enable the sFlow feature using the feature sflow command to configure sFlow.

Guidelines and Limitations for sFlow

The sFlow configuration guidelines and limitations are as follows:

When you enable sFlow for an interface, it is enabled for both ingress and egress. You cannot enable sFlow for only ingress or only egress.
sFlow egress sampling for multicast, broadcast, or unknown unicast packets is not supported.
You should configure the sampling rate based on the sFlow configuration and traffic in the system.
Cisco Nexus 3000 Series supports only one sFlow collector.

Default — Parameters

sFlow sampling-rate sFlow sampling-size sFlow max datagram-size sFlow collector-port sFlow counter-poll-interval Configuring sFLow Enabling the sFlow Feature You must enable the sFlow feature before you can configure sFlow on the switch.

Command or Action

Enters global configuration mode. switch# configure terminal Step 1 Enables the sFlow feature.

Step 2

Displays enabled and disabled features.

Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration.

(Optional) switch(config)# copy running-config startup-config Step 4 Example The following example shows how to enable the sFlow feature: switch# configure terminal switch(config)# feature sflow switch(config)# copy running-config startup-config Configuring the Sampling Rate Before you begin Ensure that you have enabled the sFlow feature.

Enters global configuration mode. switch# configure terminal Step 1 Configures the sFlow sampling rate for packets.

The sampling-rate can be an integer between 4096-1000000000. The default value is 4096.

Manual overview & contents

Cisco · 10 Pages

Official 10-page Cisco documentation (145 KB PDF). Key sections include Information About sFlow, Prerequisites, Guidelines and Limitations for sFlow, Default Settings for sFlow, Enabling the sFlow Feature.

For more information about sFlow, see RFC 3176. The sFlow Agent, which is embedded in the Cisco NX-OS software, periodically samples or polls the interface counters that are associated with a data source of the sampled packets. The data source can be an Ethernet interface, an EtherChannel interface, or a range of Ethernet interfaces. The sFlow Agent queries the Ethernet port manager for the respective EtherChannel membership information and also receives notifications from the Ethernet port manager for membership changes.

Sections inside this manual

Page numbers for quick lookup in the PDF
  1. Information About sFlowp. 1
  2. Prerequisitesp. 2
  3. Guidelines and Limitations for sFlowp. 2
  4. Default Settings for sFlowp. 2
  5. Enabling the sFlow Featurep. 2
  6. Configuring the Sampling Ratep. 3
  7. Configuring the Maximum Sampled Sizep. 3
  8. Configuring the Counter Poll Intervalp. 4
  9. Configuring the Maximum Datagram Sizep. 5
  10. Configuring the sFlow Analyzer Addressp. 6
  11. Configuring the sFlow Analyzer Portp. 6
  12. Configuring the sFlow Agent Addressp. 7
  13. Configuring the sFlow Sampling Data Sourcep. 8
  14. Verifying the sFlow Configurationp. 9

Extracted manual text

This chapter contains the following sections:

Information About sFlow, on page 1
Guidelines and Limitations for sFlow, on page 2
Default Settings for sFlow, on page 2
Configuring sFLow, on page 2
Verifying the sFlow Configuration, on page 9
Configuration Examples for sFlow, on page 9
Additional References for sFlow, on page 9
Feature History for sFlow, on page 10 Information About sFlow sFlow allows you to monitor the real-time traffic in data networks that contain switches and routers. It uses the sampling mechanism in the sFlow Agent software on switches and routers for monitoring traffic and to forward the sample data on ingress and egress ports to the central data collector, also called the sFlow Analyzer.

For more information about sFlow, see RFC 3176. sFlow Agent The sFlow Agent, which is embedded in the Cisco NX-OS software, periodically samples or polls the interface counters that are associated with a data source of the sampled packets. The data source can be an Ethernet interface, an EtherChannel interface, or a range of Ethernet interfaces. The sFlow Agent queries the Ethernet port manager for the respective EtherChannel membership information and also receives notifications from the Ethernet port manager for membership changes.

When you enable sFlow sampling in the Cisco NX-OS software, based on the sampling rate and the hardware internal random number, the ingress packets and egress packets are sent to the CPU as an sFlow-sampled packet. The sFlow Agent processes the sampled packets and sends an sFlow datagram to the sFlow Analyzer.

In addition to the original sampled packet, an sFlow datagram includes the information about the ingress port, egress port, and the original packet length.

You must enable the sFlow feature using the feature sflow command to configure sFlow.

Guidelines and Limitations for sFlow

The sFlow configuration guidelines and limitations are as follows:

When you enable sFlow for an interface, it is enabled for both ingress and egress. You cannot enable sFlow for only ingress or only egress.
sFlow egress sampling for multicast, broadcast, or unknown unicast packets is not supported.
You should configure the sampling rate based on the sFlow configuration and traffic in the system.
Cisco Nexus 3000 Series supports only one sFlow collector.

Default

You must enable the sFlow feature before you can configure sFlow on the switch.

Command or Action

Displays enabled and disabled features.

Frequently asked questions

What topics are covered in the Cisco Content Hub Configuring sFlow User Guide?

This 10-page manual covers: Information About sFlow, Prerequisites, Guidelines and Limitations for sFlow, Default Settings for sFlow, Verifying the sFlow Configuration, Configuration Examples for sFlow, Additional References for sFlow, Feature History for sFlow.

Does this manual include troubleshooting or error codes?

Yes, troubleshooting and fault information (Default Settings for sFlow) is included inside the manual.

More manuals from Cisco

View all →
Download (145 KB)