display service-security statistics ipv4

Function

The display service-security statistics ipv4 command displays statistics about matched rules in IPv4 MPAC policies.

Format

display service-security statistics ipv4 [ security-policy-name ]

Parameters

Parameter Description Value
security-policy-name

Specifies the name of an MPAC policy.

The value is a string of 1 to 31 case-sensitive characters without spaces and must start with a letter.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ip-stack read

Usage Guidelines

Usage Scenario

MPAC policies can be configured to filter packets to be sent to the CPU, thereby helping protect devices against various types of attacks.

The display service-security statistics ipv4 command displays statistics about matched rules in IPv4 MPAC policies.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about matched rules in the IPv4 MPAC policy named huawei.
<HUAWEI> display service-security statistics ipv4 huawei
Policy Name : huawei
Step        : 5
 rule 5 permit protocol tcp source-ip 127.1.1.1 0 source-port 1000 (10 times matched)
 rule 10 permit protocol ip source-ip 10.10.1.0 0.0.0.255 (1 times matched)
# Display statistics about matched rules in all IPv4 MPAC policies.
<HUAWEI> display service-security statistics ipv4
Policy Name : A1
Step        : 5

Policy Name : huawei
Step        : 5
 rule 5 permit protocol tcp source-ip 127.1.1.1 0 source-port 1000 (10 times matched)
 rule 10 permit protocol ip source-ip 10.10.1.0 0.0.0.255 (1 times matched)

Policy Name : huawei1
Step        : 5
Table 1 Description of the display service-security statistics ipv4 command output
Item Description
Policy Name

Name of an MPAC policy.

Step

Step of an MPAC policy.

rule

Rules in an MPAC policy.

times matched

Times that the rule is matched.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >