Netstream configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C MSR 50 User Manual

Page 116

Advertising
background image

NetStream configuration examples

NetStream traditional data export configuration example

Network requirements

As shown in

Figure 34

, configure NetStream on Router A to collect statistics on packets passing through

it. Enable NetStream for incoming traffic on Ethernet 1/0 and for outgoing traffic on Ethernet 1/1.
Configure the router to export NetStream traditional data to UDP port 5000 of the NetStream server at

12.110.2.2/16.

Figure 34 Network diagram

Configuration procedure

# Enable NetStream for incoming traffic on Ethernet 1/0.

<RouterA> system-view

[RouterA] interface ethernet 1/0

[RouterA-Ethernet1/0] ip address 11.110.2.1 255.255.0.0

[RouterA-Ethernet1/0] ip netstream inbound

[RouterA-Ethernet1/0] quit

# Enable NetStream for outgoing traffic on Ethernet1/1.

[RouterA] interface ethernet 1/1

[RouterA-Ethernet1/1] ip address 12.110.2.1 255.255.0.0

[RouterA-Ethernet1/1] ip netstream outbound

[RouterA-Ethernet1/1] quit

# Configure the destination address and the destination UDP port number for the NetStream traditional
data export.

[RouterA] ip netstream export host 12.110.2.2 5000

NetStream aggregation data export configuration example

Network requirements

As shown in

Figure 35

, configure NetStream on Router A so that:

Router A exports NetStream traditional data in version 5 export format to port 5000 of the
NetStream server at 4.1.1.1/16.

Router A performs 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 ports 2000, 3000, 4000, 6000, and 7000,

respectively.

All the routers in the network are running EBGP. For more information about BGP, see Layer 3IP Routing
Configuration Guide.

103

Advertising