TP-Link T1500-28PCT Switch User Manual


 
116
Example
Create a MAC ACL whose ID is 20, and add Rule 10 for it. In the rule, the source
MAC address is 00:01:3F:48:16:23, the source MAC address mask is
11:11:11:11:11:00, and the packets match this rule will be forwarded by the
switch:
T1500-28PCT(config)# mac access-list 20
T1500-28PCT(config-mac-acl)# rule 10 permit smac 00:01:3F:48:16:23
smask 11:11:11:11:11:00
access-list policy name
Description
The acce ss-list policy name command is used to add Policy. To delete the
corresponding Policy, please use no access-list policy name command. A
Policy is used to control the data packets those match the corresponding ACL
rules by configuring ACLs and actions together for effect. The operations here
include stream mirror, stream condition, QoS Remarking and redirect.
Syntax
access-list policy name name
no access-list policy name name
Parameter
name —— The Policy Name, ranging from 1 to 16 characters.
Command Mode
Global Configuration Mode
Example
Add a Policy named policy1:
T1500-28PCT(config)# access-list policy name policy1
access-list policy action
Description
The access-list policy action command is used to add ACLs and create
actions for the policy. To set the detailed configuration of actions for a policy,
please use acce ss-list policy action command to access Action Configuration