3Com Switch 7750 Configuration Guide Guide

Defining Layer 2 ACLs 605
To define the CoS, you can directly input a value ranging from 0 to 7, or input a
keyword listed in the following table.
In the case that you specify the rule ID when defining a rule:
If the rule corresponding to the specified rule ID already exists, you will edit the
rule, and the modified part in the rule will replace the original content, while
other parts remain unchanged.
If the rule corresponding to the specified rule ID does not exists, you will create
and define a new rule.
The content of a newly created rule must not be identical with the content of
any existing rule; otherwise the rule creation will fail, and the system will
prompt that the rule already exists.
If you do not specify a rule ID, you will create and define a new rule, and the
system will assign an ID for the rule automatically.
Configuration Example # Configure ACL 4000 to deny packets whose 802.1p priority is 3, source MAC
address is 000d-88f5-97ed, and destination MAC address is 011-4301-991e.
<SW7750> system-view
[SW7750] acl number 4000
[SW7750-acl-link-4000] rule deny cos 3 source 000d-88f5-97ed
ffff-ffff-ffff dest 0011-4301-991e ffff-ffff-ffff
[SW7750-acl-link-4000] display acl config 4000
Link ACL 4000, 1 rule,
rule 0 deny cos excellent-effort source 000d-88f5-97ed
ffff-ffff-ffff dest 0011-4301-991e ffff-ffff-ffff (0 times matched)
time-range
time-name
Time range
information
Specifies the time
range in which the
rule is active
time-name: specifies
the name of the time
range in which the
ACL rule is active; a
string of 1 to 32
characters
Table 477 Description of CoS value
Keyword CoS value in decimal CoS value in binary
best-effort 0 000
background 1 001
spare 2 010
excellent-effort 3 011
controlled-load 4 100
video 5 101
voice 6 110
network-management 7 111
Table 476 Rule information
Parameter Type Function Description