Network requirements – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 182

Advertising
background image

167

[SecBlade] inline-interfaces 1 blackhole

# Assign Ten-GigabitEthernet 0/0 to the blackhole-type inline forwarding entry 1 for discarding the

packets when they are received and processed.

[SecBlade] interface ten-gigabitethernet0/0
[SecBlade-Ten-GigabitEthernet0/0] port inline-interfaces 1

# Enable NetStream for incoming traffic on Ten-GigabitEthernet 0/0.

[SecBlade-Ten-GigabitEthernet0/0] ip netstream inbound

# Enable ACSEI client on Ten-GigabitEthernet 0/0 to synchronize the Device's clock.

[SecBlade-Ten-GigabitEthernet0/0] acsei-client enable
[SecBlade-Ten-GigabitEthernet0/0] quit

# Assign an IP address to interface GigabitEthernet 0/1.

[SecBlade] interface gigabitethernet 0/1
[SecBlade-GigabitEthernet0/1] ip address 12.110.2.1 255.255.255.0
[SecBlade-GigabitEthernet0/1] quit

# Configure Tne-GigabitEthernet 0/0, enable IPv4 NetStream to collect statistics on the incoming traffic,
and configure the interface to use sampler 256.

[SecBlade] sampler 256 mode fixed packet-interval 8
[SecBlade] interface ten-gigabitethernet 0/0
[SecBlade-Ten-GigabitEthernet0/0] ip netstream sampler 256 inbound
[SecBlade-Ten-GigabitEthernet0/0] quit

# Configure the address and port number of NSC as the destination host for NetStream data export,
leaving the default for source interface.

[SecBlade] ip netstream export host 12.110.2.2 5000

IPv6 NetStream traditional data export
configuration example

Network requirements

As shown in

Figure 52

, configure IPv6 NetStream on the SecBlade NS card to collect statistics on packets

received on Ten-GigabitEthernet 0/0. Configure the card to export IPv6 NetStream traditional data to

UDP port 5000 of the NSC at 12.110.2.2/24. The SecBlade NS card and the NSC can reach each other.

Figure 52 Network diagram for configuring IPv6 NetStream traditional data export

Advertising