Cisco Content Hub Configuring sFlow User Guide
Document viewer
10 Pages · 145 KB · Cisco official PDF
Troubleshooting & error codes
Extracted diagnostic sections from the manufacturer manual
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:
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 PagesOfficial 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- Information About sFlowp. 1
- Prerequisitesp. 2
- Guidelines and Limitations for sFlowp. 2
- Default Settings for sFlowp. 2
- Enabling the sFlow Featurep. 2
- Configuring the Sampling Ratep. 3
- Configuring the Maximum Sampled Sizep. 3
- Configuring the Counter Poll Intervalp. 4
- Configuring the Maximum Datagram Sizep. 5
- Configuring the sFlow Analyzer Addressp. 6
- Configuring the sFlow Analyzer Portp. 6
- Configuring the sFlow Agent Addressp. 7
- Configuring the sFlow Sampling Data Sourcep. 8
- Verifying the sFlow Configurationp. 9
Extracted manual text
This chapter contains the following sections:
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:
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 →CISCO Configuring Umbrella Integration User Guide
View or download the CISCO Configuring Umbrella Integration User Guide (18-page PDF). Covers Configuring Cisco Umbrella Integration.
CISCO Configuring Security Group Tag Mapping User Guide
View or download the CISCO Configuring Security Group Tag Mapping User Guide (14-page PDF). Covers Restrictions for SGT Mapping.
CISCO Nexus 7000 Series Switches Configuring PTP User Guide
View or download the CISCO Nexus 7000 Series Switches Configuring PTP User Guide (14-page PDF). Covers Finding Feature Information, About PTP.
CISCO Nexus 9000 Series Configuring Static Routing User Guide
View or download the CISCO Nexus 9000 Series Configuring Static Routing User Guide (8-page PDF). Covers 12, About Static Routing, Administrative Distance.
Cisco Configuring IP Source Guard User Guide
View or download the Cisco Configuring IP Source Guard User Guide (6-page PDF). Covers About IP Source Guard, Prerequisites for IP Source Guard.
CISCO Configuring SSH File Transfer Protocol Software User Guide
View or download the CISCO Configuring SSH File Transfer Protocol Software User Guide (6-page PDF). Covers Prerequisites for SSH File Transfer Protocol.