5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1201
Note:
If the generated sequence number exceeds the maximum sequence number, the ACL rule creation
fails and an informational message is displayed.
ip access-list resequence {name | id} starting-sequence-number increment
Parameters
id
Enter a numberical value for the ACL sequence number. The range is 1
– 199.
name
Enter a text string to identify the access-list, up to 31 character length
string.
starting-sequence-number
The sequence number from which to start. The range is 1-2147483647.
The default is 10.
increment
The amount to increment. The range is 1-2147483647. The default is
10.
Default
The default is 10.
Command Mode
Global Config
12-76 {deny | permit} (IP ACL)
This command creates a new rule for the current IP access list. A rule may either deny or permit traffic
according to the specified classification fields. At a minimum, either the every keyword or the protocol,
source address, and destination address values must be specified. The source and destination IP
address fields may be specified using the keyword any to indicate a match on any value in that field. The
remaining command parameters are all optional, but the most frequently used parameters appear in the
same relative order as shown in the command format.
Use the
no
command to remove the ACL rule with the specified sequence number from the ACL.
{deny | permit} {{every [rule-id] [assign-queue <queue-id
>] [
log
]
[{mirror | redirect
slot/port | port-
channel port-channel-group-id} | {redirectExtAgent agent-id}] [rate-limit 1-4294967295 1- 128]
[sequence 1-2147483647] [time-range name]} | {{0-255 | icmpv6 | ipv6 | tcp | udp} {sourceipv6-
prefix/prefix-length | any | host ipv6 srcip} [eq 0-65535 | portkey] {destination-ipv6- prefix/prefix-length
| any | host ipv6 dstip} [eq 0-65535 | portkey] [flag [
+fin | -fin
] [
+syn | -syn
] [
+rst | -rst
] [
+psh | -psh
]
[+ack | -ack] [+urg | -urg]
[established]] [dscp value] [flow-label vlaue] [fragments] [routing] [rule-
id] [assign-queue queue-id] [log] [{{mirror | redirect} slot/port | port- channel port-channel-group-id}
| {redirectExtAgent agent-id}] [rate-limit 1-4294967295 1-128] [sequence 1-2147483647] [time-
range
name
] }}
no sequence-number