Configuration procedure – H3C Technologies H3C SR8800 User Manual
Page 163
151
•
Configure Router A to perform NetStream aggregation in the modes of AS, protocol-port,
source-prefix, destination-prefix and prefix. Use version 8 export format to send the aggregation
data of different modes to the destination address at 4.1.1.1, with UDP port 2000, 3000, 4000,
6000, and 7000 respectively.
NOTE:
All the routers in the network are running EBGP. For more information about BGP, see
Layer 3—IP Routing
Configuration Guide.
Figure 55 Network diagram
Configuration procedure
# Configure network management interface M-Ethernet 6/0/0.
[RouterA] interface M-Ethernet6/0/0
[RouterA-M-Ethernet6/0/0] ip address 4.1.1.2 255.255.0.0
[RouterA-M-Ethernet6/0/0] quit
# Create a sampler named ns1 in fixed sampling mode. Set the sampling rate to 4, which means in each
sampling, one packet out of 16 packets (2 to the power of 4) is sampled.
[RouterA]sampler ns1 mode fixed packet-interval 4
# Enable NetStream sampling in the outbound direction of GigabitEthernet 3/0/2 and mirror the
sampled packets to the NetStream interface.
[RouterA] interface GigabitEthernet 3/0/2
[RouterA-GigabitEthernet3/0/2] ip netstream sampler ns1 outbound
[RouterA-GigabitEthernet3/0/2] ip netstream mirror-to interface Net-Stream 3/0/1 outbound
[RouterA-GigabitEthernet3/0/2] quit
# Enable NetStream on Router A.
[RouterA] ip netstream
# Configure to export NetStream data in version 5 format and specify the data to include the source AS
and destination AS.
[RouterA] ip netstream export version 5 origin-as
# In system view, configure the destination address for the NetStream traditional data export with the IP
address 4.1.1.1 and port 5000.
[RouterA] ip netstream export host 4.1.1.1 5000
[RouterA] ip netstream export source interface M-Ethernet6/0/0
- H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module