Huawei S9300 Configuration Manual page 540

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
[SwitchB] bgp 65001
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 10.2.1.2 as-number 65002
[SwitchB-bgp] ipv4-family unicast
[SwitchB-bgp-af-ipv4] import-route ospf 1
[SwitchB-bgp-af-ipv4]quit
[SwitchB-bgp]quit
[SwitchC] bgp 65002
[SwitchC-bgp] route-id 3.3.3.3
[SwitchC-bgp] peer 10.2.1.1 as-number 65001
# Configure dynamic BGP routes between Switch B and Switch D.
[SwitchB] bgp 65001
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 10.3.1.2 as-number 65003
[SwitchB-bgp]quit
[SwitchD] bgp 65003
[SwitchD-bgp] router-id 4.4.4.4
[SwitchD-bgp] peer 10.3.1.1 as-number 65001
Step 4 Configure the NetStream function on Switch B.
# Configure Switch B to export the statistics about the aggregation traffic and set the version of
the exported packets.
[SwitchB] ip netstream aggregation as
[SwitchB-aggregation-as] export version 9
[SwitchB-aggregation-as] ip netstream export host 10.4.1.2 6000
[SwitchB-aggregation-as] ip netstream export source 10.4.1.1
[SwitchB-aggregation-as] enable
[SwitchB-aggregation-as] quit
# Enable traffic statistics for inbound and outbound traffic and set the sampling ratio.
[SwitchB] interface GigabitEthernet1/0/0
[SwitchB-GigabitEthernet1/0/0] ip netstream inbound
[SwitchB-GigabitEthernet1/0/0] ip netstream outbound
[SwitchB-GigabitEthernet1/0/0] ip netstream sampler fix-packets 100 inbound
[SwitchB-GigabitEthernet1/0/0] ip netstream sampler fix-packets 100 outbound
[SwitchB-GigabitEthernet1/0/0] quit
[SwitchB] quit
Step 5 Verify the configuration.
# After successful configurations, run the display netstream all command in the user view of
Switch B to check the configurations.
<SwitchB> display netstream all
ip netstream aggregation as
ip netstream export source 10.4.1.1
ip netstream export host 10.4.1.2 6000
enable
export version 9
slot 0
GigabitEthernet1/0/0
ip netstream inbound
ip netstream outbound
ip netstream sampler fix-packets 100 inbound
ip netstream sampler fix-packets 100 outbound
# View the traffic statistics on the board in slot 1.
<SwitchB> display ip netstream statistic slot 1
=====Netstream statistics:=====
Origin ingress entries
Origin ingress packets
Issue 01 (2012-03-15)
: 572
: 56122
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 NetStream Configuration
525

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents