IPv6 NetStream configuration examples
IPv6 NetStream traditional data export configuration example
Network requirements
As shown in
through Router A.
Enable IPv6 NetStream for incoming and outgoing traffic on GigabitEthernet 2/0/1.
•
Configure Router A to export the IPv6 NetStream traditional data to UDP port 5000 of the
•
NetStream server.
Figure 72 Network diagram
Configuration procedure
# Assign an IP address to GigabitEthernet 2/0/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ipv6 address 10::1/64
# Enable IPv6 NetStream for incoming and outgoing traffic on GigabitEthernet 2/0/1.
[RouterA-GigabitEthernet2/0/1] ipv6 netstream inbound
[RouterA-GigabitEthernet2/0/1] ipv6 netstream outbound
[RouterA-GigabitEthernet2/0/1] quit
# Specify the export destination host as 40::1/64 with UDP port 5000.
[RouterA] ipv6 netstream export host 40::1/64 5000
Verifying the configuration
# Display IPv6 NetStream entry information in the cache.
<Sysname> display ipv6 netstream cache verbose slot 1
IPv6 NetStream cache information:
Active flow timeout
Inactive flow timeout
Max number of entries
IPv6 active flow entries
MPLS active flow entries
IPL2 active flow entries
IPv6 flow entries counted
MPLS flow entries counted
IPL2 flow entries counted
Last statistics resetting time
IPv6 packet size distribution (1103746 packets in total):
Figure
72, configure IPv6 NetStream on Router A to collect statistics on packets passing
: 60 min
: 10 sec
: 1000
: 2
: 0
: 0
: 10
: 0
: 0
: 01/01/2000 at 00:01:02
236