![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 486](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487486.webp)
GigabitEthernet1/0/0
ip netstream inbound
ip netstream outbound
# View the traffic statistics on the board in slot 1.
<SwitchB>
display ip netstream statistic slot 1
=====Netstream statistics:=====
Origin ingress entries : 572
Origin ingress packets : 56122
Origin ingress octets : 6762976
Origin egress entries : 57
Origin egress packets : 3588
Origin egress octets : 394680
Origin total entries : 629
Handle origin entries : 620
Handle As aggre entries : 12
Handle ProtPort aggre entries : 11
Handle SrcPrefix aggre entries : 10
Handle DstPrefix aggre entries : 15
Handle Prefix aggre entries : 7
Handle AsTos aggre entries : 6
Handle ProtPortTos aggre entries : 5
Handle SrcPreTos aggre entries : 5
Handle DstPreTos aggre entries : 4
Handle PreTos aggre entries : 1
----End
Configuration Files
Configuration file of Switch A
#
sysname SwitchA
#
vlan 100
#
interface Vlanif 100
ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 100
port hybrid untagged vlan 100
#
return
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 100 200
#
ip netstream export source 10.2.1.1
ip netstream export host 10.2.1.2 6000
#
ip netstream timeout inactive 100
ip netstream tcp-flag enable
#
interface Vlanif 100
ip address 10.1.1.2 255.255.255.0
#
interface Vlanif 200
ip address 10.2.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 100
port hybrid untagged vlan 100
7 NetStream Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
7-24
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)