R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide
155
Task Command
Remarks
Display the configuration and status of
the NetStream flow record templates.
display ipv6 netstream template [ slot
slot-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Clear the cache, age out, and export
all IPv6 NetStream data.
reset ipv6 netstream statistics
Available in user
view.
IPv6 NetStream configuration examples
IPv6 NetStream traditional data export configuration example
Network requirements
As shown in Figure 55, configure IPv6 NetStream on Router A to collect statistics on packets passing
through it. Enable IPv6 NetStream in the inbound direction on GigabitEthernet 2/0/0 and in the
outbound direction of GigabitEthernet 2/0/1. Configure the router to export IPv6 NetStream traditional
data to UDP port 5000 of the NetStream server at 12.110.2.2/16.
Figure 55 Network diagram
Configuration procedure
# Enable IPv6 NetStream in the inbound direction 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] quit
# Enable IPv6 NetStream in the outbound direction of GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 12.110.2.1 255.255.0.0
[RouterA-GigabitEthernet2/0/1] ipv6 address 20::1/64
[RouterA-GigabitEthernet2/0/1] ipv6 netstream outbound
[RouterA-GigabitEthernet2/0/1] quit
# Configure the destination address and the destination UDP port number for the IPv6 NetStream
traditional data export.
[RouterA] ipv6 netstream export host 12.110.2.2 5000