display flowspec rule statistics

Function

The display flowspec rule statistics command displays statistics about rules for BGP FlowSpec routes to take effect.

Format

display flowspec [ ipv6 ] rule statistics slot slot-id

Parameters

Parameter Description Value
ipv6

Indicates BGP IPv6 Flow Specification.

-

slot slot-id

Slot number. The value range varies with different router hardware.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To check statistics about rules for BGP FlowSpec routes to take effect, run the display fe slot-id command.

Precautions

If the number of rules after BGP FlowSpec route splitting multiplied by the number of NPs is greater than eight times the sum of the maximum IPv4 and IPv6 specifications, a message is displayed, indicating that the number of rules has exceeded the upper limit. In this case, the rules in some BGP FlowSpec routes do not take effect.

Example

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

# Query statistics about BGP IPv6 Flow FlowSpec route rules on the board in slot 1.
<HUAWEI> display flowspec ipv6 rule statistics slot 1
Total number of rules: 4
# Query statistics about BGP IPv4 Flow FlowSpec route rules on the board in slot 1.
<HUAWEI> display flowspec rule statistics slot 1
Total number of rules: 9
Table 1 Description of the display flowspec rule statistics command output
Item Description
Total number of rules

Number of routing rules.

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