Huawei S9300 Configuration Manual page 602

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
[Quidway-GigabitEthernet1/0/2] sflow flow-sampling collector 2
Step 4 Configure counter sampling.
# Set the counter sampling interval to 120s.
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] sflow counter-sampling interval 120
# Specify sFlow collector 2 as the target collector to receive sFlow packets sent by the sFlow
agent.
[Quidway-GigabitEthernet1/0/2] sflow counter-sampling collector 2
Step 5 Verify the configuration.
# After the configuration is complete, run the display sflow command in the user view on
SwitchA to check the sFlow configuration. The command output shows that flow sampling and
counter sampling are configured successfully on GigabitEthernet1/0/2.
<Quidway> display sflow
sFlow Version 5
Information:
-------------------------------------------------------------------------
Agent
Information:
IP Address:
3.3.3.1
Address family:
IPV4
Vpn-instance: N/
A
--------------------------------------------------------------------------
Collector
Information:
Collector ID:
2
IP Address:
3.3.3.2
Address family:
IPV4
Vpn-instance: N/
A
Port:
6343
Datagram size:
1400
Time out: N/
A
Description:
netserver
--------------------------------------------------------------------------
Port on slot 1
Information:
Interface: GE1/0/2
Flow-sample collector: 2
Flow-sample rate(1/x): 4000
Flow-sample maxheader:
128
Flow-sample direction: IN,OUT
--------------------------------------------------------------------------
Port on slot 2
Information:
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Counter-sample collector
Counter-sample interval(s): 120
11 sFlow Configuration
: 2
587

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents