TP-Link TL-SL3428 Switch User Manual


 
TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
153
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:
TL-SL3428(config)#access-list policy action policy1 120
redirect interface
Description
The redirect interface command is used to configure Direction function of
policy action for specified ports.
Syntax
redirect interface { fastEthernet port | gigabitEthernet port }
Parameter
port —— The Destination Port of Redirect. The data packets matching the
corresponding ACL will be forwarded to the specific port. By default, it is All
Ports.
Command Mode
Action Configuration Mode
Example
Edit the actions for policy1. Forward the data packets matching ACL 120 in the
policy to Fast Ethernet port 2:
TL-SL3428(config)#access-list policy action policy1 120
TL-SL3428(config-action)#redirect interface fastEthernet 1/0/2
s-condition
Description
The s-condition command is used to configure Stream Condition function of
policy action.