H3C Technologies H3C SR8800 User Manual
Page 178

166
[RouterA] traffic classifier ns_ipv6
[RouterA-classifier-ns_ipv6] if-match acl ipv6 2000
[RouterA-classifier-ns_ipv6] quit
[RouterA] traffic behavior ns_ipv6
[RouterA-behavior-ns_ipv6] mirror-to interface Net-Stream 2/0/1
[RouterA-behavior-ns_ipv6] quit
[RouterA] qos policy ns_ipv6
[RouterA-qospolicy-ns_ipv6] classifier ns_ipv6 behavior ns_ipv6
[RouterA-qospolicy-ns_ipv6] quit
# Apply the QoS policy to the inbound direction of GigabitEthernet 1/1/1.
[RouterA] int GigabitEthernet1/1/1
[RouterA-GigabitEthernet1/1/1] qos apply policy ns_ipv6 inbound
[RouterA-GigabitEthernet1/1/1] quit
# Enable IPv6 NetStream.
[RouterA] ipv6 netstream
# Configure to export IPv6 NetStream data in version 9 format and specify the data to include the source
AS, destination AS, and the BGP next hop.
[RouterA] ipv6 netstream export version 9 origin-as bgp-nexthop
# Configure the maximum entries that the cache can accommodate as 409600.
[RouterA] ipv6 netstream max-entry 409600
# In system view, configure the destination address for the IPv6 NetStream traditional data export with
the IP address 3.1.1.2 and port 5000.
[RouterA] ipv6 netstream export host 3.1.1.2 5000
[RouterA] ipv6 netstream export source interface GigabitEthernet 1/1/2
# Configure the aggregation mode as AS, and in aggregation view configure the destination address for
the IPv6 NetStream AS aggregation data export.
[RouterA] ipv6 netstream aggregation as
[RouterA-ns6-aggregation-as] enable
[RouterA-ns6-aggregation-as] ipv6 netstream export host 3.1.1.2 2000
[RouterA-ns6-aggregation-as] quit
# Configure the aggregation mode as protocol-port, and in aggregation view configure the destination
address for the IPv6 NetStream protocol-port aggregation data export.
[RouterA] ipv6 netstream aggregation protocol-port
[RouterA-ns6-aggregation-protport] enable
[RouterA-ns6-aggregation-protport] ipv6 netstream export host 3.1.1.2 3000
[RouterA-ns6-aggregation-protport] quit
# Configure the aggregation mode as source-prefix, and in aggregation view configure the destination
address for the IPv6 NetStream source-prefix aggregation data export.
[RouterA] ipv6 netstream aggregation source-prefix
[RouterA-ns6-aggregation-srcpre] enable
[RouterA-ns6-aggregation-srcpre] ipv6 netstream export host 3.1.1.2 4000
[RouterA-ns6-aggregation-srcpre] quit
# Configure the aggregation mode as destination-prefix, and in aggregation view configure the
destination address for the IPv6 NetStream destination-prefix aggregation data export.
[RouterA] ipv6 netstream aggregation destination-prefix
- 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