D-Link DGS-6600-48T Product Manual - Page 522
resequence access-list, permit
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 522 highlights
DGS-6604 m resequence access-list 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 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. STARTINGSEQUENCENUMBER Access list entries will be resequenced 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. Default Command Mode Usage Guideline Example Disabled Global configuration 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 STARTINGSEQUENCE-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 incremented 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. This example shows how to re-sequence the priority of IP access-list, named R&D 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 CLI Reference Guide 512