TP-Link T1500-28PCT Switch User Manual


 
118
access-list bind(vlan)
Description
The acce ss-list bind command is used to bind a policy to a VLAN. To cancel
the bind relation, please use no access-list bind command.
Syntax
access-list bind policy-name
no access-list bind policy-name
Parameter
policy-name —— The name of the policy desired to bind.
Command Mode
Interface VLAN Mode
Example
Bind policy1 to VLAN 2:
T1500-28PCT(config)# interface vlan 2
T1500-28PCT(config-if)# access-list bind policy1
show access-list
Description
The show access-list command is used to display configuration of ACL.
Syntax
show access-list acl-id
Parameter
acl-id —— The ID of the ACL selected to display the configuration.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Example
Display the configuration of the MAC ACL whose ID is 20:
T1500-28PCT(config)# show access-list 20