Huawei S9700 Series Configuration Manual page 184

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

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
[SwitchD] bgp 65003
[SwitchD-bgp] router-id 4.4.4.4
[SwitchD-bgp] peer 10.3.1.1 as-number 65001
Step 5 Configure the NetStream function on the SPU.
# Mirror the traffic on GigabitEthernet3/0/0 of Switch B to XGigabitEthernet4/0/0.
[SwitchB] observe-port 1 interface xgigabitEthernet4/0/0
[SwitchB] interface gigabitethernet3/0/0
[SwitchB-GigabitEthernet3/0/0] port-mirroring to observe-port 1 inbound
# Set the version number of exported packets for the aggregation traffic on the SPU.
<Quidway> system-view
[Quidway] sysname SPU
[SPU] ip netstream aggregation as
[SPU-aggregation-as] enable
[SPU-aggregation-as] export version 9
[SPU-aggregation-as] ip netstream export host 10.4.1.2 6000
[SPU-aggregation-as] ip netstream export source 10.4.1.1
[SPU-aggregation-as] quit
# Configure NetStream on the inbound interface and set the packet sampling ratio on the SPU.
[SPU] interface xgigabitethernet0/0/1
[SPU-XGigabitEthernet0/0/1] ip netstream sampler fix-packets 100 inbound
[SPU-XGigabitEthernet0/0/1] ip netstream inbound
[SPU-XGigabitEthernet0/0/1] quit
[SPU] quit
Step 6 Verify the configuration.
# After the configurations are complete, run the display ip netstream all command in the user
view of the SPU to check the configurations.
<SPU> display ip netstream all
ip netstream aggregation as
enable
export version 9
ip netstream export source 10.4.1.1
ip netstream export host 10.4.1.2 6000
XGigabitEthernet0/0/1
ip netstream inbound
ip netstream sampler fix-packets 100 inbound
----End
Configuration Files
Configuration file of Switch A.
#
sysname SwitchA
#
vlan batch 30
#
interface Vlanif30
ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 30
port hybrid untagged vlan 30
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
173

Advertisement

Table of Contents
loading

Table of Contents