service-stream table

Function

The service-stream table command enables IP traffic monitoring.

The undo service-stream table command disables IP traffic monitoring.

By default, the IP traffic monitoring function is disabled.

Format

service-stream table sip source-ip dip destination-ip [ vpn-instance vpn-name ]

undo service-stream table sip source-ip dip destination-ip [ vpn-instance vpn-name ]

Parameters

Parameter Description Value
dip destination-ip

Specifies a destination IP address.

The value is in dotted decimal notation.

vpn-instance vpn-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 characters.

sip source-ip

Specifies a source IP address.

The value is in dotted decimal notation.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

On an IP RAN, if a fault occurs (for example, a base station is disconnected or IP service traffic is interrupted), the fault has to be diagnosed based on collaborative information between routers and wireless controllers or base stations. IP traffic monitoring helps quickly diagnose faults, improving O&M efficiency. IP traffic monitoring implements automatic traffic statistics based on IP addresses. After this function is enabled, you can create an IP service flow table, collect statistics on the number of IP packets, and store the statistics to a CF card periodically. You can use a tool to parse a stored file and display its content in graphics, quickly locating faulty nodes. The statistics are stored in a CF card in .dat format, and the encoding format is UTF-8 without BOM.

Precautions

This command cannot be run in mirroring service scenarios.

This command cannot be run in virtual cluster scenarios.

Example

# Enable IP traffic monitoring.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance CDMA-RAN
[*HUAWEI-vpn-instance-CDMA-RAN] quit
[~HUAWEI] service-stream table sip 1.1.1.1  dip  2.2.2.2 vpn-instance CDMA-RAN
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.