< Home

display acl division

Function

The display acl division command displays division rules based on the VLAN ID range in a delivered traffic classification rule or port number range in a delivered ACL rule.

Format

display acl division start-id to end-id

Parameters

Parameter

Description

Value

start-id

Specifies the start VLAN ID or port number.

The value is an integer that ranges from 0 to 65535.

to end-id

Specifies the end VLAN ID or port number.

The value is an integer that ranges from 0 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When the if-match vlan-id start-vlan-id [ to end-vlan-id ] [ cvlan-id cvlan-id ] command is used to configure a traffic classification rule defining a VLAN ID range, or the rule (advanced ACL view) or rule (advanced ACL6 view) command is used with the protocol as TCP or UDP and the port number range specified, run the display acl resource command to view occupied ACL resources. The system divides a rule into multiple rules. The display acl division command displays division rules based on the VLAN ID range or port number range.

Example

# Display division rules based on VLAN 10 to VLAN 20 or PORT10 to PORT20.
<HUAWEI> display acl division 10 to 20
 Range: 10 to 20;  Total rules: 4                                               
 ------------------------------------------------------                         
  [ 1]:Value = 10     Mask = 0xfffe  Range[   10,   11]                         
  [ 2]:Value = 12     Mask = 0xfffc  Range[   12,   15]                         
  [ 3]:Value = 16     Mask = 0xfffc  Range[   16,   19]                         
  [ 4]:Value = 20     Mask = 0xffff  Range[   20,   20]     
Table 1 Description of the display acl division command output

Item

Description

Range

Input VLAN ID range or port number range.

Total rules

Number of division rules based on the VLAN ID range or port number range.

[ 1]

ID of the division rule.

Value

Start VLAN ID of the division rule.

Mask

Mask of the VLAN ID in the division rule.

Range

Division rule range.

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