EasyManuals Logo

HP 5820X Switch User Manual

HP 5820X Switch
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #234 background imageLoading...
Page #234 background image
224
Configuring sFlow example
Network requirements
As shown in Figure 81, Host A is connected with Server through Switch (sFlow agent).
Enable sFlow (including flow sampling and counter sampling) on GigabitEthernet 1/0/1 to monitor
traffic on the port. The Switch sends sFlow packets through GigabitEthernet 1/0/3 to the sFlow collector,
which analyzes the sFlow packets and displays results.
Figure 81 Network diagram for sFlow configuration
Configuration procedure
1. Configure the sFlow agent and sFlow collector
# Configure the IP address of Vlan-interface 1 on Switch as 3.3.3.1/16.
<Switch> system-view
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] ip address 3.3.3.1 16
[Switch-Vlan-interface1] quit
# Specify the IP address for the sFlow agent.
[Switch] sflow agent ip 3.3.3.1
# Specify sFlow collector ID 2, IP address 3.3.3.2, the default port number, and description of netserver
for the sFlow collector.
[Switch] sflow collector 2 ip 3.3.3.2 description netserver
2. Configure counter sampling
# Set the counter sampling interval to 120 seconds.
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] sflow counter interval 120
# Specify sFlow collector 2 for counter sampling.
[Switch-GigabitEthernet1/0/1] sflow counter collector 2
3. Configure flow sampling
# Set the Flow sampling mode and sampling rate.
[Switch-GigabitEthernet1/0/1] sflow sampling-mode random
[Switch-GigabitEthernet1/0/1] sflow sampling-rate 4000
# Specify sFlow collector for flow sampling.
[Switch-GigabitEthernet1/0/1] sflow flow collector 2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 5820X Switch and is the answer not in the manual?

HP 5820X Switch Specifications

General IconGeneral
Form FactorRack-mountable
Power over Ethernet (PoE)No
Flash Memory512 MB
Redundant Power SupplyOptional
VLAN SupportYes
Quality of Service (QoS)Yes
IPv6 SupportYes
Layer3
Routing ProtocolBGP, IS-IS, OSPF, RIP, VRRP, PIM
Remote Management ProtocolSNMP 1, RMON, Telnet, SNMP 3, SNMP 2c, CLI, SSH
FeaturesQuality of Service (QoS), VLAN support, Access Control List (ACL), IPv6 support
Compliant StandardsIEEE 802.1D, IEEE 802.1p, IEEE 802.1Q, IEEE 802.1s, IEEE 802.1w, IEEE 802.3, IEEE 802.3ab, IEEE 802.3z
Port Type10/100/1000Base-T
Power SourceAC power supply
Security FeaturesAccess Control List (ACL)
Layer SupportedL2/L3

Related product manuals