Sflow Configuration Example; Network Requirements; Configuration Procedure - HP 5500 EI Series Configuration Manual

Hide thumbs Also See for 5500 EI Series:
Table of Contents

Advertisement

sFlow configuration example

Network requirements

As shown in
Enable sFlow (including flow sampling and counter sampling) on GigabitEthernet 1/0/1 to monitor
traffic on the interface. The device sends sFlow packets through GigabitEthernet 1/0/3 to the sFlow
collector, which analyzes the sFlow packets and displays results.
Figure 53 Network diagram
Host A
1.1.1.1/16

Configuration procedure

1.
Configure the sFlow agent and sFlow collector:
# Configure the IP address of vlan-interface 1 on Device as 3.3.3.1/16.
<Device> system-view
[Device] interface vlan-interface 1
[Device-Vlan-interface1] ip address 3.3.3.1 16
[Device-Vlan-interface1] quit
# Specify the IP address for the sFlow agent.
[Device] sflow agent ip 3.3.3.1
# Specify sFlow collector ID 2, IP address 3.3.3.2, the default interface number, and description
of netserver for the sFlow collector.
[Device] sflow collector 2 ip 3.3.3.2 description netserver
2.
Configure counter sampling:
# Set the counter sampling interval to 120 seconds.
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] sflow counter interval 120
# Specify sFlow collector 2 for counter sampling.
[Device-GigabitEthernet1/0/1] sflow counter collector 2
Figure
53, Host A is connected with the server through the device (sFlow agent).
sFlow Collector
3.3.3.2/16
VLAN 1
3.3.3.1/16
GE1/0/2
2.2.2.1/16
GE1/0/1
1.1.1.2/16
Device
Server
2.2.2.2/16
160

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 si series

Table of Contents