TP-Link T1500G-10PSTL-SG2210P T1500G-10PSUN V1 CLI Reference Guide Guide - Page 189
Command Mode, Privilege Requirement, Example, Description, Syntax, Parameter
View all TP-Link T1500G-10PSTL-SG2210P manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 189 highlights
d-port -- The destination port number. protocol -- Configure the value of the matching protocol. Command Mode Global Configuration Mode Privilege Requirement Only Admin, Operator and Power User level users have access to these commands. Example Create an Extended-IP ACL whose ID is 2220, and add Rule 10 for it. In the rule, the source IP address is 192.168.0.100, the source IP address mask is 255.255.255.0, and the packets match this rule will be forwarded by the switch: T1500G-10MPS(config)# access-list create 2220 T1500G-10MPS(config)# access-list extended 2220 rule 10 permit sip 192.168.0.100 smask 255.255.255.0 21.5 rule Description The rule command is used to configure MAC ACL rule. To delete the corresponding rule, please use no rule command. Syntax rule rule-id { deny | permit } [[ smac source-mac ] smask source-mac-mask ] [[ dmac destination-mac ] dmask destination-mac-mask ] no rule rule-id Parameter rule-id -- The rule ID. 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. 176