H3C S6812 Series Command Reference Manual page 1546

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

[Sysname-acl-ipv6-basic-2000] rule permit source fe80:5060:1001:: 48
[Sysname-acl-ipv6-basic-2000] rule deny source any
Related commands
acl
acl logging interval
display acl
step
time-range
rule (Layer 2 ACL view)
Use rule to create or edit a Layer 2 ACL rule.
Use undo rule to delete an entire Layer 2 ACL rule or some attributes in the rule.
Syntax
rule [ rule-id ] { deny | permit } [ cos dot1p | counting | dest-mac dest-address dest-mask | lsap
lsap-type
time-range-name ] *
undo rule rule-id [ counting | time-range ] *
undo rule { deny | permit } [ cos dot1p | counting | dest-mac dest-address dest-mask | lsap
lsap-type
time-range-name ] *
Default
No Layer 2 ACL rules exist.
Views
Layer 2 ACL view
Predefined user roles
network-admin
Parameters
rule-id: Specifies a rule ID in the range of 0 to 65534. If you do not specify a rule ID when creating an
ACL rule, the system automatically assigns it a rule ID. This rule ID is the nearest higher multiple of
the numbering step to the current highest rule ID, starting from 0. For example, if the rule numbering
step is 5 and the current highest rule ID is 28, the rule is numbered 30.
deny: Denies matching packets.
permit: Allows matching packets to pass.
cos dot1p: Matches an 802.1p priority. The 802.1p priority can be specified by one of the following
values:
A priority number in the range of 0 to 7.
A priority name: best-effort (0), background (1), spare (2), excellent-effort (3),
controlled-load (4), video (5), voice (6), or network-management (7).
counting: Counts the times that the rule is matched. If you do not specify this keyword, matches for
the rule are not counted.
dest-mac dest-address dest-mask: Matches a destination MAC address range. The dest-address
and dest-mask arguments represent a destination MAC address and mask in the H-H-H format.
lsap-type-mask
|
source-mac
lsap-type-mask
|
source-mac
source-address
source-address
31
source-mask
|
time-range
source-mask
|
time-range

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents