TP-Link T2600G-28TS TL-SG3424 T2600G-28TS V1 CLI Reference Guide - Page 219
access-list policy name
View all TP-Link T2600G-28TS TL-SG3424 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 219 highlights
deny -- The operation to discard packets. permit --The operation to forward packets. It is the default value. source-mac -- The source MAC address contained in the rule. source-mac-mask -- The source MAC address mask. It is required if you typed the source MAC address. destination-mac -- The destination MAC address contained in the rule. destination-mac-mask -- The destination MAC address mask. It is required if you typed the destination MAC address. vlan-id -- The VLAN ID contained in the rule, ranging from 1 to 4094. ethernet-type -- EtherType contained in the rule, in the format of 4-hex number. user-pri -- The user priority contained in the rule, ranging from 0 to 7. By default, it is not limited. time-segment -- The time-range for the rule to take effect. By default, it is not limited. Command Mode MAC Access-list Configuration Mode 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, VLAN ID is 2, the user priority is 5, the time-range for the rule to take effect is "tRange1", and the packets match this rule will be forwarded by the switch: T2600G-28TS(config)# mac access-list 20 T2600G-28TS(config-mac-acl)# rule 10 permit smac 00:01:3F:48:16:23 smask 11:11:11:11:11:00 vid 2 pri 5 tseg tRange1 29.11 access-list policy name Description The access-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. 203