netstream monitor (System view)

Function

The ip netstream monitor command creates an IPv4 NetStream monitoring service and displays the monitoring view, or (if a monitoring service already exists) only displays an existing monitoring view.

The undo ip netstream monitor command deletes an IPv4 NetStream monitoring service.

The ipv6 netstream monitor command creates an IPv6 NetStream monitoring service and displays the monitoring view, or directly displays an existing monitoring view.

The undo ipv6 netstream monitor command deletes an existing IPv6 NetStream monitoring service.

By default, no NetStream monitoring service is configured.

Format

ip netstream monitor monitor-name

ipv6 netstream monitor monitor-name

undo ip netstream monitor monitor-name

undo ipv6 netstream monitor monitor-name

Parameters

Parameter Description Value
monitor-name

Specifies the name of a monitoring service.

The name is a string of 1 to 31 case-sensitive characters, spaces not supported and special characters supported.

When quotation marks are used around the string, spaces are allowed in the string.

ipv6

Indicates the IPv6 netstream feature.

-

ip

Indicates the IPv4 netstream feature.

-

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
netstream write

Usage Guidelines

Usage Scenario

Increasing types of services and applications on networks urge carriers to provide more delicate management and accounting services.

If NetStream is configured on multiple interfaces on an NDE, all interfaces send traffic statistics to a single NSC. The NSC cannot distinguish interfaces and therefore is unable to manage or analyze traffic statistics based on interfaces. In addition, the NSC will be overloaded due to a great amount of information.

NetStream monitoring configured on an NDE allows the NDE to send traffic statistics collected on specified interfaces to specified NSCs for analysis, achieving more delicate service monitoring based on interfaces. Traffic statistics can be load-balanced among these NSCs.

Configuration Impact

If the destination IP address and port number for NetStream statistics have been configured in the monitoring view, and the NetStream monitoring service has been applied, NetStream statistics are output to the destination IP address specified in the monitoring view, not the system view.

Follow-up Procedure

Run the netstream export host command in the monitoring view to configure the destination IP address for NetStream statistics.

Precautions

NetStream monitoring services are available only for original flows, not aggregated flows.

Example

# Create the NetStream monitoring service monitora for IPv4 original flows.
<HUAWEI> system-view
[~HUAWEI] ip netstream monitor monitora
# Create the NetStream monitoring service monitora for IPv6 original flows.
<HUAWEI> system-view
[~HUAWEI] ipv6 netstream monitor monitora
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >