Context
Do as follows on the router on which the statistics of the discarded packets need to be collected.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
ip netstream rpf-failure
inbound
The traffic statistics function of RPF is enabled.
By default, NetStream is disabled for RPF traffic.
NetStream can collect the statistics of incoming packets.
----End
7.7.7 Checking the Configuration
After configuring the RPF traffic statistics collection, you can view the configuration.
Prerequisites
The configurations of the Collecting the Statistics of RPF Traffic function are complete.
Procedure
l
Run the
display ip netstream
all
command to view the NetStream configuration.
l
Run the
display ip netstream
statistic
command to view the NetStream traffic statistics.
----End
Example
# After successful configurations, run the
display ip netstream
all
command in the user view
to check the configurations.
<Huawei>
display ip netstream all
ip netstream timeout inactive 100
ip netstream export source 100.1.10.10
ip netstream export host 100.1.10.1 100
Ethernet1/0/0
ip netstream rpf-failure inbound
# After successful configurations, run the
display ip netstream
statistic
command in the user
view to view the NetStream traffic statistics.
<Huawei>
display ip netstream statistic
Origin ingress entries : 30000
Origin ingress packets : 30000
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
7 NetStream Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
250