User Guide
616
Configuring ACL
ACL Configuration
Step 3
redirect interface
{
fastEthernet
port
|
gigabitEthernet
port |
ten-gigabitEthernet
port }
(Optional) Define the policy to redirect the matched packets to the desired port.
port
: The destination port to which the packets will be redirected. The default is All.
s-mirror interface
{
fastEthernet
port
|
gigabitEthernet
port |
ten-gigabitEthernet
port }
(Optional) Define the policy to mirror the matched packets to the desired port.
port
: The destination port to which the packets will be mirrored.
s-condition rate
rate
burst
burst-size
osd
{
none | discard
}
(Optional) Define the policy to monitor the rate of the matched packets.
rate:
Specify a rate from 1 to 1000000 kbps.
burst-size
: Specify the number of bytes allowed in one second ranging from 1 to 128.
osd
:
Enter either “none” or “discard” as the action to be taken for the packets whose rate is
beyond the specified rate. The default is None.
qos-remark
[
dscp
dscp] [
priority
pri ] [
dot1p
pri ]
(Optional) Define the policy to remark priority for the matched packets.
dscp
: Specify the DSCP region for the data packets. The value ranges from 0 to 63.
priority
pri
: Specify the local priority for the data packets. The value ranges from 0 to 7.
dot1p
pri:
Specify the 802.1p priority for the data packets. The value ranges from 0 to 7.
Step 4
end
Return to privileged EXEC mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
Redirect the matched packets to port 1/0/4 for rule 1 of MAC ACL 10:
Switch#configure
Switch(config)#access-list action
10 rule 1
Switch(config-action)#redirect interface gigabitEthernet
1/0/4
Switch(config-action)#exit
Switch(config)#show access-list
10
Downloaded from