Huawei Quidway S9300 Configuration Manual - Network Management page 493

Terabit routing switch
Hide thumbs Also See for Quidway S9300:
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
<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 gigabitethernet 1/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.
# After successful configurations, run the display netstream all command in the user view of
Switch B to check the configurations.
<SwitchB> display netstream all
system
ip netstream export version 9
ip netstream export source 10.2.1.1
ip netstream export host 10.2.1.2 6000
slot 0
GigabitEthernet1/0/0
port ip netstream record test
ip netstream inbound
Issue 03 (2010-09-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 NetStream Configuration
7-31

Advertisement

Table of Contents
loading

Table of Contents