Configuration procedure, Network requirements – H3C Technologies H3C SR8800 User Manual
Page 160
148
Configuration procedure
# Configure a QoS policy to mirror traffic entering GigabitEthernet 6/1/7 to NetStream interface
2/0/1.
[RouterA] acl number 2005
[RouterA-acl-basic-2005] rule 1 permit source any
[RouterA-acl-basic-2005] quit
[RouterA] traffic classifier ns_ipv4
[RouterA-classifier-ns_ipv4] if-match acl 2005
[RouterA-classifier-ns_ipv4] quit
[RouterA] traffic behavior ns_ipv4
[RouterA-behavior-ns_ipv4] mirror-to interface Net-Stream 2/0/1
[RouterA-behavior-ns_ipv4] quit
[RouterA] qos policy ns_ipv4
[RouterA-qospolicy-ns_ipv4] classifier ns_ipv4 behavior ns_ipv4
[RouterA-qospolicy-ns_ipv4] quit
# Apply the QoS policy to the inbound direction of GigabitEthernet 6/1/7.
[RouterA] interface GigabitEthernet6/1/7
[RouterA-GigabitEthernet6/1/7] qos apply policy ns_ipv4 inbound
[RouterA-GigabitEthernet6/1/7] quit
# Enable NetStream on Router A. Specify to export NetStream data to IP address 12.110.2.2 and port
5000 (the NetStream server), leaving the default for source address.
[RouterA] ip netstream
[RouterA] ip netstream export host 12.110.2.2 5000
NetStream aggregation data export configuration example
Network requirements
As shown in
, configure NetStream on Router A so that:
•
Router A exports NetStream traditional data in version 5 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 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.
- 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