R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

156
IPv6 NetStream aggregation data export configuration
example
Network requirements
As shown in Figure 56, configure IPv6 NetStream on Router A to meet the following requirements:
Router A exports IPv6 NetStream traditional data to port 5000 of the NetStream server at
4 .1.1.1 / 16 .
Router A performs IPv6 NetStream aggregation in the modes of AS, protocol-port, source-prefix,
destination-prefix, and prefix. Send the aggregation data to the destination address with UDP port
2000, 3000, 4000, 6000, and 7000 for different modes.
All routers in the network are running IPv6 EBGP. For more information about IPv6 BGP, see Layer 3—IP
Routing Configuration Guide.
Figure 56 Network diagram
Configuration procedure
# Enable IPv6 NetStream in the inbound and outbound directions of GigabitEthernet 2/0/0.
<RouterA> system-view
[RouterA] ipv6
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] ipv6 address 10::1/64
[RouterA-GigabitEthernet2/0/0] ipv6 netstream inbound
[RouterA-GigabitEthernet2/0/0] ipv6 netstream outbound
[RouterA-GigabitEthernet2/0/0] quit
# In system view, configure the destination address and the destination UDP port number for the IPv6
NetStream traditional data export with IP address 4.1.1.1 and port 5000.
[RouterA] ipv6 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 IPv6 NetStream AS aggregation data export.
[RouterA] ipv6 netstream aggregation as
[RouterA-ns6-aggregation-as] enable
[RouterA-ns6-aggregation-as] ipv6 netstream export host 4.1.1.1 2000
[RouterA-ns6-aggregation-as] quit