S9700 Core Routing Switch
Configuration Guide - SPU
5.7.5 Enabling Flexible NetStream on Interfaces
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface xgigabitethernet interface-number
The XGigabitEthernet interface view is displayed.
Step 3 Run:
port ip netstream record record-name
The record is applied to the interface.
----End
5.7.6 Enabling NetStream and Setting the Packet Sampling Ratio on
an Interface
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface xgigabitethernet 0/0/1
The XGE interface view is displayed.
Step 3 (Optional) Run:
ip netstream sampler { fix-packets packet-interval | random-packets packet-
interval | fix-time time-interval | random-time time-interval } inbound
The packet sampling ratio is set on the XGE interface.
Step 4 Run:
ip netstream inbound
The NetStream function is enabled for the IPv4 traffic on the XGE interface.
Step 5 Run:
ipv6 netstream inbound
The NetStream function is enabled for the IPv6 traffic on the XGE interface.
----End
Issue 01 (2012-03-15)
NOTE
Only one record can be configured on an XGE interface. To modify the record in the same interface view,
you must first delete the existing configuration by running the undo port ip netstream record command.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 NetStream Configuration
166