5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1189
Command Mode
Global Config
12-67 mac access-list resequence
Use this command to renumber the sequence numbers of the entries for specified MAC access list with
the given increment value starting from a particular sequence number. The command is used to edit the
sequence numbers of ACL rules in the ACL and change the order in which entries are applied. This
command is not saved in startup configuration and is not displayed in running configuration.
Note:
If the generated sequence number exceeds the maximum sequence number, the ACL rule creation
fails and an informational message is displayed.
mac access-list resequence {name | id} starting-sequence-number increment
Parameters
name
Enter the ACL name which is used to identify a specific MAC ACL. It is a
case-sensitive alphanumeric string from 1 to 31 characters uniquely
identifying the MAC access list.
1-2147483647
The sequence number from which to start. The range is 1-2147483647.
The default is 1.
1-2147483647
The amount to increment. The range is 1-2147483647. The default is 1.
Default
The default is 10.
Command Mode
Global Config
12-68 {deny | permit} (MAC ACL)
This command creates a new rule for the current MAC access list. A rule may either deny or permit traffic
according to the specified classification fields. At a minimum, the source and destination MAC value must
be specified, each of which may be substituted 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.
Note:
An implicit deny all MAC rule always terminates the access list.
[sequence-number] {deny | permit} {srcmac | any} {dstmac | any} [ethertypekey | 0x0600-0xFFFF]
[vlan {eq 0-4095 | range}] [cos 0-7] [[log] [time-range time-range-name] [assign-queue queue-id]]
[{mirror | redirect} slot/port][rate-limit rate burst-size]
no sequence-number
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...