Huawei S9700 Series Configuration Manual page 188

Terabit routing switches spu
Hide thumbs Also See for S9700 Series:
Table of Contents

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
Procedure
Step 1 Set the IP addresses for the interfaces of Switch A and Switch B as shown in
configuration procedure is not mentioned here.
Step 2 Mirror the traffic on Switch B to the SPU.
# Mirror the traffic on GigabitEthernet1/0/0 of Switch B to XGigabitEthernet4/0/0.
<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] observe-port 1 interface xgigabitEthernet4/0/0
[SwitchB] interface gigabitethernet1/0/0
[SwitchB-GigabitEthernet1/0/0] port-mirroring to observe-port 1 inbound
Step 3 Enable the Flexible NetStream feature on the SPU.
Create a record named test and enter the test view.
<Quidway> system-view
[Quidway] sysname SPU
[SPU] ip netstream record test
[SPU-record-test]
# Configure aggregation key words of the test record.
[SPU-record-test] match ipv4 destination-address
[SPU-record-test] match ipv4 destination-port
# Configure the SPU to send the inbound and outbound interface indexes in the test record to
the NSC.
[SPU-record-test] collect interface input
[SPU-record-test] collect interface output
# Send the number of packets and bytes of the inbound and outbound traffic to the NSC.
[SPU-record-test] collect counter bytes
[SPU-record-test] collect counter packets
[SPU-record-test] quit
Step 4 Enable the Flexible NetStream feature on XGigabitEthernet0/0/1.
# Set the fixed-packets sampling ratio on XGigabitEthernet0/0/1 to 100.
[SPU] interface xgigabitethernet0/0/1
[SPU-XGigabitEthernet0/0/1] ip netstream sampler fix-packets 100 inbound
# Enable the Flexible NetStream feature on XGigabitEthernet0/0/1.
[SPU-XGigabitEthernet0/0/1] port ip netstream record test
# Enable the NetStream function on XGigabitEthernet0/0/1.
[SPU-XGigabitEthernet0/0/1] ip netstream inbound
[SPU-XGigabitEthernet0/0/1] quit
Step 5 Set the source address, destination port number, and destination address for exporting packets.
# Set the destination address and destination port number for exporting packets.
[SPU] ip netstream export host 10.2.1.2 6000
# Configure the source address for exporting packets.
[SPU] ip netstream export source 10.2.1.1
Step 6 Verify the configuration.
Issue 01 (2012-03-15)
NOTE
The SPU is located in slot 4.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 NetStream Configuration
Figure
5-4. The
177

Advertisement

Table of Contents
loading

Table of Contents