213
Example
Edit the actions for policy1. For the data packets matching ACL 1200 in the
policy, if the rate beyond 1000kbps, they will be discarded by the switch:
T2700G-28TQ(config)#access-list policy action policy1 1200
T2700G-28TQ(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 { fastEthernet port | gigabitEthernet port |
ten-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 as Gigabit Ethernet port 1/0/2
for the data packets matching ACL 1200:
T2700G-28TQ(config)#access-list policy action policy1 1200
T2700G-28TQ(config-action)#s-mirror interface gigabitEthernet 1/0/2
qos-remark
Description
The qos-remark command is used to configure QoS function of policy action.
Syntax
qos-remark dscp dscp priority priority
no qos-remark
Parameter
dscp —— DSCP of QoS Remark. Specify the DSCP region for the data packets
matching the corresponding ACL. DSCP ranges from 0 to 63. By default, it is not
limited.