HP 6125G Configuration Manual page 148

Network management and monitoring configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Configuration procedure
Configure the sFlow agent and sFlow collector:
1.
# 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
Configure counter sampling:
2.
# 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
Configure flow sampling:
3.
# Set the Flow sampling mode and sampling interval.
[Device-GigabitEthernet1/0/1] sflow sampling-mode random
[Device-GigabitEthernet1/0/1] sflow sampling-rate 4000
# Specify sFlow collector 2 for flow sampling.
[Device-GigabitEthernet1/0/1] sflow flow collector 2
# Display the sFlow configuration and operation information.
[Device-GigabitEthernet1/0/1] display sflow
sFlow Version: 5
sFlow Global Information:
Agent
Collector Information:
ID
1
2
3
4
5
6
7
8
9
10
sFlow Port Information:
Interface CID
GE1/0/1
IP:3.3.3.1
IP
3.3.3.2
Interval(s) FID
2
120
Port
6343
6543
6343
6343
6343
6343
6343
6343
6343
6343
MaxHLen
Rate
2
128
4000
141
Aging
Size
Description
0
1400
N/A
1400
netserver
0
1400
0
1400
0
1400
0
1400
0
1400
0
1400
0
1400
0
1400
Mode
Status
Random
Active

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents