beautypg.com

Configuration procedure, N in, Figure 35 – H3C Technologies H3C MSR 50 User Manual

Page 117

background image

Figure 35 Network diagram

Configuration procedure

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

system-view

[RouterA] interface ethernet 1/0

[RouterA-Ethernet1/0] ip address 3.1.1.1 255.255.0.0

[RouterA-Ethernet1/0] ip netstream inbound

[RouterA-Ethernet1/0] ip netstream outbound

[RouterA-Ethernet1/0] quit

# In system view, configure the destination address and the destination UDP port number for the
NetStream traditional data export with IP address 4.1.1.1 and port 5000.

[RouterA] ip netstream export host 4.1.1.1 5000

# Configure the aggregation mode as AS, and, then, in aggregation view, configure the destination
address and the destination UDP port number for the NetStream AS aggregation data export.

[RouterA] ip netstream aggregation as

[RouterA-ns-aggregation-as] enable

[RouterA-ns-aggregation-as] ip netstream export host 4.1.1.1 2000

[RouterA-ns-aggregation-as] quit

# Configure the aggregation mode as protocol-port, and, then, in aggregation view, configure the
destination address and the destination UDP port number for the NetStream protocol-port aggregation

data export.

[RouterA] ip netstream aggregation protocol-port

[RouterA-ns-aggregation-protport] enable

[RouterA-ns-aggregation-protport] ip netstream export host 4.1.1.1 3000

[RouterA-ns-aggregation-protport] quit

# Configure the aggregation mode as source-prefix, and, then, in aggregation view, configure the
destination address and the destination UDP port number for the NetStream source-prefix aggregation

data export.

[RouterA] ip netstream aggregation source-prefix

[RouterA-ns-aggregation-srcpre] enable

[RouterA-ns-aggregation-srcpre] ip netstream export host 4.1.1.1 4000

[RouterA-ns-aggregation-srcpre] quit

104