Huawei S9300 Configuration Manual page 601

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
l
l
Procedure
Step 1 Configure an IP address for each switch interface. The configuration procedure is not mentioned
here.
Step 2 Configure sFlow agent and sFlow collector information.
# Add GigabitEthernet1/0/1 to VLAN 2 and configure an IP address for VLANIF 2.
<Quidway> system-view
[Quidway] vlan 2
[Quidway-vlan2] quit
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port link-type access
[Quidway-GigabitEthernet1/0/1] port default vlan 2
[Quidway-GigabitEthernet1/0/1] quit
[Quidway] interface vlanif 2
[Quidway-Vlanif2] ip address 3.3.3.1 16
[Quidway-Vlanif2] quit
# Configure an IP address for the sFlow agent.
[Quidway] sflow agent ip 3.3.3.1
# Configure sFlow collector information: ID 2, IP address 3.3.3.2, and description netserver for
the sFlow collector.
[Quidway] sflow collector 2 ip 3.3.3.2 description netserver
Step 3 Configure flow sampling.
# Set the sampling ratio.
<Quidway> system-view
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] sflow flow-sampling rate 4000
# Specify sFlow collector 2 as the target collector to receive sFlow packets sent by the sFlow
agent.
Issue 01 (2012-03-15)
Configure an IP address for each switch interface.
Configure sFlow agent and sFlow collector information.
Configure flow sampling.
Configure counter sampling.
IP address of the sFlow collector: 3.3.3.2
IP address of VLANIF 2: 3.3.3.1/16
Sampling interface:GigabitEthernet1/0/2
Flow sampling direction: inbound and outbound directions
Sampling ratio: 1/4000
Counter sampling interval: 120s
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
11 sFlow Configuration
586

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents