Huawei S9300 Configuration Manual page 544

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
l
l
Procedure
Step 1 Set the IP addresses for the interfaces of Switch A and Switch B, as shown in
configuration procedure is not mentioned here.
Step 2 Specify the version of the exported packets.
# Set the version of the exported packets to V9.
<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] ip netstream export version 9
Step 3 Set the source address, destination port number, and destination address for exporting packets.
# Set the destination address and destination port number for exporting packets.
[SwitchB] ip netstream export host 10.2.1.2 6000
# Configure the source address for exporting packets.
[SwitchB] ip netstream export source 10.2.1.1
Step 4 Configure the Flexible NetStream feature on Switch B.
# Create a record named test and enter the test view.
[SwitchB] ip netstream record test
[SwitchB-record-test]
# Configure the aggregation key words of the test record.
[SwitchB-record-test] match ip destination-address
[SwitchB-record-test] match ip destination-port
# Configure Switch B to send the inbound and outbound interface indexes in the test record to
the NSC.
[SwitchB-record-test] collect interface input
[SwitchB-record-test] collect interface output
# Send the number of packets and bytes of the inbound and outbound traffic to the NSC.
[SwitchB-record-test] collect counter bytes
[SwitchB-record-test] collect counter packets
[SwitchB-record-test] quit
Step 5 Configure the Flexible NetStream feature on GE 1/0/0.
# Enable the NetStream function for the inbound and outbound traffic on GE 1/0/0.
[SwitchB] interface GigabitEthernet1/0/0
[SwitchB-GigabitEthernet1/0/0] ip netstream inbound
[SwitchB-GigabitEthernet1/0/0] ip netstream outbound
# Set the fixed-packets sampling ratio for the inbound and outbound traffic on GE 1/0/0 to 100.
[SwitchB-GigabitEthernet1/0/0] ip netstream sampler fix-packets 100 inbound
[SwitchB-GigabitEthernet1/0/0] ip netstream sampler fix-packets 100 outbound
# Apply the record test to GE 1/0/0.
[SwitchB-GigabitEthernet1/0/0] port ip netstream record test
[SwitchB-GigabitEthernet1/0/0] quit
Step 6 Verify the configuration.
Issue 01 (2012-03-15)
Address and port number of the NSC and the source address contained in the packets
Traffic statistics to be sent to the NSC
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 NetStream Configuration
Figure
7-4. The
529

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents