TP-LINK T1500-28PCT Manual Do Utilizador

Página de 200
 
117
 
Mode. To delete the corresponding actions, please use 
no access-list policy 
action command. 
Syntax 
access-list policy action policy-name acl-id  
no access-list policy action policy-name acl-id 
Parameter 
policy-name —— The Policy Name, ranging from 1 to 16 characters. 
acl-id —— The ID  of the ACL  to which  the above policy is applied.   
Command Mode 
Global Configuration Mode 
Example 
Add ACL  whose ID  is 120 to policy1 and create an action for them: 
T1500-28PCT(config)# access-list policy action policy1 120 
access-list bind(interface) 
Description 
The 
access-list bind command is used to bind a policy to a specified port. 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 Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) 
Example 
Bind policy1 to port 2: 
T1500-28PCT(config)# interface fastEthernet 1/0/2 
T1500-28PCT(config-if)# access-list bind policy1