161
TL-SG5428(config-action)# redirect interface gigabitEthernet 1/0/2
s-condition
Description
The s-condition command is used to configure Stream Condition function of
policy action.
Syntax
s-condition rate rate osd { none | discard }
Parameter
rate —— The rate of Stream Condition, ranging from 0 to 100000kbps.
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.
Command Mode
Action Configuration Mode
Example
Edit the actions for policy1. For the data packets matching ACL 120 in the policy,
if the rate beyond 1000kbps, they will be discarded by the switch:
TL-SG5428(config)# access-list policy action policy1 120
TL-SG5428(config-action)# s-condition rate 1000 osd discard
s-mirror
Description
The s-mirror command is used to configure Stream Mirror function of policy
action to the specified port.
Syntax
s-mirror interface gigabitEthernet port
Parameter
port —— The Mirror Port number of Stream Mirror.
Command Mode
Action Configuration Mode
Example
Edit the actions for policy1. Specify the mirror port for the data packets matching