[SwitchA-vlan2000] quit
[SwitchA] interface vlan-interface 2000
[SwitchA-Vlan-interface2000] ip address 12.110.2.1 255.255.0.0
[SwitchA-Vlan-interface2000] quit
# Configure the destination IP address and port number for IPv6 NetStream data export as 12.1 10.2.2
and 5000.
[SwitchA] ipv6 netstream export host 12.110.2.2 5000
Configuring IPv6 NetStream aggregation data export example
Network requirements
As shown in
Figure
•
Switch A exports IPv6 NetStream traditional data to port 5000 of the NetStream server at 4.1.1.1/16.
•
Switch A performs IPv6 NetStream aggregation in the modes of protocol-port, source-prefix,
destination-prefix and prefix. Then aggregation data is sent to the destination address with UDP port
3000, 4000, 6000, and 7000 for different modes.
NOTE:
All routers in the network are running IPv6 EBGP. For more information about IPv6 BGP, see
IP Routing Configuration Guide
Figure 79 Network diagram for configuring IPv6 NetStream aggregation data export
IPv6 Network
Configuration procedure
# Enable NetStream in both the inbound and outbound directions of GigabitEthernet 1/0/1.
<SwitchA> system-view
[SwitchA] interface GigabitEthernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] ip netstream inbound
[SwitchA-GigabitEthernet1/0/1] ip netstream outbound
[SwitchA-GigabitEthernet1/0/1] quit
# Configure the destination address and destination port for IPv6 NetStream common data export.
[SwitchA] ipv6 netstream export host 4.1.1.1 5000
# Configure the aggregation mode as protocol-port, and in aggregation view configure the destination
host for the IPv6 NetStream protocol-port aggregation data export.
[SwitchA] ipv6 netstream aggregation protocol-port
79, configure IPv6 NetStream on Switch A so that:
.
Switch A
AS 100
GE1/0/1
NetStream Server
4.1.1.1/16
IPv6 Network
219
Layer 3—