DGS-6604
m
resequence access-list
CLI Reference Guide
527
resequence access-list
Use this command to re-sequence the priority of the access-list entries in an
access-list (mac, ip or ipv6 access list).
resequence access-list
NAME STARTING-SEQUENCE-NUMBER
INCREMENT
Default
Disabled
Command Mode
Global configuration
Usage Guideline
This feature allows the
permit
and
deny
entries of a specified access list to be
re-sequenced with an initial priority value determined by the
STARTING-
SEQUENCE-NUMBER
argument, and continuing in increments determined by
the
INCREMENT
argument. If the highest priority exceeds the maximum possible
sequence number, then no sequencing occurs.
If entries with no priority are applied, the first entry is assigned a priority of 10,
and successive entries are incremental by 10.
If the user enters an entry without a priority, it is assigned a priority that is 10
greater than the largest priority value (with least priority) in that access list and is
placed at the end of the list.
Example
This example shows how to re-sequence the priority of IP access-list, named
R&D
Syntax Description
NAME
The name of the MAC, IP or IPv6 access-list to be configured. It can accept up to
32 characters. The syntax is a general string that does not allow space.
STARTING-
SEQUENCE-
NUMBER
Access list entries will be re-sequenced using this initial value. The default value
is 10. The range of possible sequence numbers is 1 through 65535.
INCREMENT
The number by which the sequence numbers change. The default value is 10.
For example, if the increment value is 5 and the beginning sequence number is
20, the subsequent sequence numbers are 25, 30, 25, 40, and so on. The range
of
INCREMENT
is 1 through 65535.
Switch(config)# show access-list ip R&D
10 permit tcp any 10.20.0.0 255.255.0.0
20 permit tcp any host 10.100.1.2
30 permit icmp any any
Switch(config)# resequence access-list R&D 1 2
Switch(config)# show access-list ip R&D
1 permit tcp any 10.20.0.0 255.255.0.0
3 permit tcp any host 10.100.1.2
5 permit icmp any any
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...