Acl Edit Action - TP-Link JetStream L2 Lite TL-SG3210 Cli Reference Manual

Managed switch
Hide thumbs Also See for JetStream L2 Lite TL-SG3210:
Table of Contents

Advertisement

Global Configuration Mode
Example
Create a Policy named policy1. For the data packets those match ACL 120 in
the policy, if the rate beyond 1000kbps, will be discarded by the switch:
TP-LINK(config)# acl policy policy-add policy1
TP-LINK(config)# acl policy action-add policy1 120 rate 1000 osd discard

acl edit action

Description
The acl edit action command is used to edit actions for the policy.
Syntax
acl edit action {policy-name} {acl-id} [rate rate] [osd {none | discard}] [e-port
egress-port] [vid vlan-id] [mirr mirror]
Parameter
policy-name —— The Policy Name, ranging from 1 to 16 characters.
acl-id —— The ACL for configuration in the policy.
rate —— The rate of Stream Condition, ranging from 1 to 1000000 in kbps.
osd —— Out of Band disposal of Stream Condition. It is the disposal way of the
data packets those are transmitted beyond the rate. There are two options,
none and discard. By default, the option is none.
egress-port —— The Destination Port of Redirect. The data packets those
match the corresponding ACL will be forwarded to the specific port. The
destination port ranges from 1 to 28. By default, it is All Ports.
vlan-id —— The VLAN ID of Redirect. The data packets those match the
corresponding ACL will be forwarded in the specific VLAN. The VLAN ID ranges
from 1 to 4094.
mirror —— The Mirror Port of Stream Mirror, ranging form 1 to 28. By default, it
is 1.
Command Mode
Global Configuration Mode
Example
Edit the actions for the policy1. For the data packets those match ACL 120 in the
policy, if the rate beyond 1000kbps, will be discarded by the switch:
TP-LINK(config)# acl edit action policy1 120 rate 1000 osd discard
137

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents