S9700 Core Routing Switch
Configuration Guide - SPU
ip netstream mpls inbound
The statistics function of MPLS is enabled.
By default, NetStream is disabled for the MPLS traffic.
Currently, NetStream can be enabled only on XGigabitEthernet 0/0/1.
----End
5.5.3 (Optional) Configuring the Version of Exported Packets
To export statistics packets of MPLS traffic, set the version of exported packets to V9.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ip netstream export version 9 [ origin-as | peer-as ] [ bgp-nexthop ]
The version of exported statistics packets is set to V9.
By default, the version of exported packets is v5, the AS option is none, and the statistics do not
contain the information about the BGP next hop.
----End
5.5.4 Setting the Destination Address of the Statistics
Context
NetStream statistics can be sent to the NSC only if source and destination addresses are
configured.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 (Optional) Run:
ip netstream export source ip-address
The source address for exporting statistics is configured.
By default, the source address of the exported packets carrying the NetStream statistics is
0.0.0.0.
Step 3 Run:
ip netstream export host ip-address port-number
The destination IP address of the exported statistics, that is, the IP address of the NSC, is
configured.
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 NetStream Configuration
158