Configuration commands

Use these M4500 CLI commands to create, rename, and resequence MAC and IP ACLs, define permit and deny rules, and apply ACLs.

mac access-list extended

This command creates a MAC access control list (ACL) identified by name, consisting of classification fields defined for the Layer 2 header of an Ethernet frame.

If a MAC ACL by this name already exists, this command enters Mac-Access-List config mode to allow updating the existing ACL.

Default None
Format [no] mac access-list extended <name>
Mode Global Config
Parameter Description
name 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.
no Remove this MAC ACL.

mac access-list extended rename

This command changes the name of a MAC Access Control List (ACL). The command fails if a MAC ACL by the name newname already exists.

Default None
Format mac access-list extended rename <oldname> <newname>
Mode Global Config
Parameter Description
oldname The name of an existing MAC ACL to be changed.
newname New name which uniquely identifies the MAC access list.

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.

Default 1
Format mac access-list resequence {<name>} <1-2147483647> <1-2147483647>
Mode Global Config
Parameter Description
name 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.

mac access-list

This command creates a new rule for the current MAC access list. Each rule is appended to the list of configured rules for the list. Note that an implicit 'deny all' MAC rule always terminates the access list.

Note: The 'no' form of this command is not supported, as the rules within an ACL cannot be deleted individually.

Rather, the entire ACL must be deleted and re-specified.

A rule may either deny or permit traffic according to the specified classification fields. At a minimum, the source and destination MAC value and mask pairs must be specified, each of which may be substituted using the keyword any to indicate a match on any value in that field. The bpdu keyword may be specified for the destination MAC value/mask pair indicating a well-known BPDU MAC value of 01-80-c2-xx-xx-xx (hex), where 'xx' indicates a don't care. The remaining command parameters are all optional.

The Ethertype may be specified as either a keyword or a four-digit hexadecimal value from 0x0600-0xFFFF. The currently supported <ethertypekey> values are: appletalk, arp, ibmsna, ipv4, ipv6, ipx, mplsmcast, mplsucast, netbios, novell, pppoe, rarp. Each of these translates into its equivalent Ethertype value(s).

The vlan and cos parameters refer to the VLAN identifier and 802.1p user priority fields, respectively, of the VLAN tag. For packets containing a double VLAN tag, this is the first (or outer) tag.

The assign-queue parameter allows specification of a particular hardware queue for handling traffic that matches this rule. The allowed <queue-id> value is 0-(n-1), where n is the number of user configurable queues available for the hardware platform.

The mirror parameter allows the traffic matching this rule to be copied to the specified <slot/port>, while the redirect parameter allows the traffic matching this rule to be forwarded to the specified <slot/port> The assign-queue and redirect parameters are only valid for a 'permit' rule.

The time-range parameter allows imposing time limitation on the MAC ACL rule as defined by the parameter time-range-name. If a time range with the specified name does not exist and the MAC ACL containing this ACL rule is applied to an interface or bound to a VLAN, then the ACL rule is applied immediately. If a time range with specified name exists and the MAC ACL containing this ACL rule is applied to an interface or bound to a VLAN,

then the ACL rule is applied when the time-range with specified name becomes active. The ACL rule is removed when the time-range with specified name becomes inactive.

Default None
Format [1-2147483647] {deny | permit} {{<srcmac> <srcmask>} | any} {{<dstmac> <dstmask>} | any | bpdu} [<ethertypekey> | <0x0600-0xFFFF>] [vlan {{eq <0-4095>}} [ cos <0-7>] [log] [time-range time-range-name] [assign-queue <queue-id>] [{mirror | redirect} {<slot/port> | port-channel <portchannel-id>}] [rate-limit <1-4294967295><1-128>]
Mode Mac Access-list Config
Parameter Description
1-2147483647 The sequence number of the ACL.
deny | permit To deny or permit the matching rule.
srcmac srcmask | any Specifies designated source MAC address and mask pair or any for this rule
destmac destmask | any | bpdu Specifies designated destination MAC address and mask pair or any or well-known bpdu for this rule
ethertypekey Appletalk,arp,ibmsna,ipv4,ipv6,ipx,mplsmcast,mplsucast,netbios,novell,pppoe,rarp.
log Enable logging for this access list rule
time-range-name Specify the name of the time-range if the MAC ACL rule has referenced a time range.
queue-id Specify the queue identifier to which packets matching this rule are assigned
mirror | redirect Specify the traffic matching the rule to be copied/redirected to the specific slot/port or port-channel.
slot/port The interface number to be mirrored or redirected to.
portchannel-id The port channel ID to be mirrored or redirected to.
rate-limit Specify the allowed rate of traffic as per the configured rate in <1-4294967295> kb/s, and burst-size in <1-128> kilobytes.

To remove the rule with the specified ID, use the below no form command.

Default None
Format no rule-id <ID>
Mode Mac Access-list Config
Parameter Description
ID The rule with ID to be removed.
Default None
Format [no] remark <remark>
Mode Mac Access-list Config
Parameter Description
remark To Add an ACL rule remark
<remark> The rule ID to be removed.
no To remove an ACL rule remark

mac access-group

This command attaches a specific MAC Access Control List (ACL) identified by <name> to an interface, or associates it with a VLAN ID, in a given direction. The <name> parameter must be the name of an existing MAC ACL.

An optional sequence number may be specified to indicate the order of this access list relative to other access lists already assigned to this interface and direction. A lower number indicates higher precedence order. If a sequence number is already in use for this interface and direction, the specified access list replaces the currently attached access list using that sequence number. If the sequence number is not specified for this command, a sequence number that is one greater than the highest sequence number currently in use for this interface and direction will be used.

This command specified in 'Interface Config' mode only affects a single interface, whereas the 'Global Config' mode setting is applied to all interfaces. The 'Interface Config' mode command is only available on platforms that support independent per-port class of service queue configuration. The VLAN keyword is only valid in the 'Global Config' mode.

!

The command with out direction does not apply to the packets generated by own-device. For example,

the ping packets from device cannot be filtered by this command with out direction.

Default None
Format mac access-group <name> [vlan <vlan-id>] {in |out} [<1-4294967295>]
Mode

Global Config

Interface Config

Parameter Description
name 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.
vlan-id The VLAN ID. The VLAN keyword is only valid in the 'Global Config' mode.
in | out The direction value is either in or out
1-4294967295 The sequence number of the ACL.

ip access-list

Use this command to create an extended IP Access Control List (ACL) identified by <name>, consisting of classification fields defined for the IP header of an IPv4 frame.

If an IP ACL by this name already exists, this command enters IPv4-Access_List config mode to allow updating the existing IP ACL.

Default None
Format [no] ip access-list <name>
Mode Global Config
Parameter Description
name The ACL name which is used to identify a specific IP ACL. It is a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the IP access list.
no Remove this IP ACL identified by <name> from the system.

ip access-list rename

This command changes the name of a IP Access Control List (ACL). The command fails if a IP ACL by the name newname already exists. The newname must be a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the IP access list.

Default None
Format ip access-list rename <oldname> <newname>
Mode Global Config
Parameter Description
oldname The name of an existing IP ACL to be changed.
newname New name which uniquely identifies the IP access list.

ip access-list resequence

Use this command to renumber the sequence numbers of the entries for specified IP 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.

Format ip access-list resequence {name | id } <1-2147483647> <1-2147483647>
Parameter Description
name The ACL name which is used to identify a specific IP ACL. It is a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the IP access list.
id The ACL ID used to identify a specific IP ACL .The value is 1~199.
<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 10.

Default 1

Mode Global Config

access-list (ip)

This command creates an IP Access Control List (ACL) that is identified by the access list number,which is 1-99 for standard ACLs or 100-199 for extended ACLs.

Format IP standard ACL

access list <1-99> {remark <remark>} | { [<1-2147483647>] } {deny | permit} {every | <srcip> <srcmask> | host <srcip>} [log] [time-range time-range-name] [assign-queue <queue-id>] [{mirror | redirect} {<slot/port>}] [rate-limit <1-4294967295> <1-128>]

Parameter Description
1-99 The access list number for the IP standard ACL.
remark Adds a comment (remark) to an IP standard or IP extended ACL.
1-2147483647 Specifies a sequence number for the IP ACL rule. Every rule is assigned a sequence number which is configured by user or generated by the system.
deny | permit To deny or permit the matching rule.
every Matches every packet
<srcip> <srcmask> Specify a source ip address and source netmask pair for the match condition of this IP ACL rule.
host <srcip> Specify host designated source ip address for this rule.
log Enable logging for this access list rule
time-range-name Specify the name of the time-range if the IP ACL rule has referenced a time range.
queue-id Specify the queue identifier to which packets matching this rule are assigned
mirror | redirect Specify the traffic matching the rule to be copied/redirected to the specific slot/port or port-channel.
slot/port The interface number to be mirrored or redirected to.
portchannel-id The port channel ID to be mirrored or redirected to.
rate-limit <1-4294967295> <1-128> Specifies the allowed rate of traffic as per the configured rate in <1-4294967295> kb/s, and burst-size in <1-128> kilobytes
Format IP extended ACL
Mode Global Config

access list <100-199> {remark <remark>} | { [<1-2147483647>] } {deny | permit} {every | { { <0-255> | eigrp | gre | icmp | igmp | ip | ipinip | ospf | pim | tcp | udp } {<srcip> <srcmask> | any | host <srcip>} [ {range {<portkey>|<startport>} {<portkey>|<endport>} } | {eq | neq | lt | gt} {<portkey>|<0-65535>} ] {<dstip> <dstmask> | any | host <dstip>} [ {range {<portkey>|<startport>} {<portkey>|<endport>} } | {eq | neq | lt | gt} {<portkey>|<0-65535>} ] [ flag [+fin | -fin] [+syn | -syn] [+rst | -rst] [+psh | -psh] [+ack | -ack] [+urg | -urg] [established]] [icmp-type <icmp-type> [icmp-code <icmp-code>] | icmp-message <icmp-message>] [igmp-type <igmp-type>] [dscp <value> | precedence <0-7> | tos <tos> [<tosmask>] ] [fragments]} [log] [time-range time-range-name] [assign-queue <queue-id>] [{mirror | redirect} {<slot/port> | port-channel <portchannel-id>}] [rate-limit <1-4294967295> <1-128>]

Parameter Description
100-199 The access list number for the IP extended ACL.
remark Adds a comment (remark) to an IP standard or IP extended ACL.
1-2147483647 Specifies a sequence number for the IP ACL rule. Every rule is assigned a sequence number which is configured by user or generated by the system.
deny | permit To deny or permit the matching rule.
every Matches every packet
{ <0-255> | eigrp | gre | icmp | igmp | ip | ipinip | ospf | pim | tcp | udp } Specifies the protocol to filter for an extended IP ACL rule.
srcip srcmask | any | host Specifies a source IP address and source netmask pair for matching condition of this rule. The parameter any specifies srcip as 0.0.0.0 and srcmask as 255.255.255.255. The parameter host A.B.C.D specifies srcip as A.B.C.D and srcmask as 0.0.0.0.
dstip dstmask | any | host

Specifies a destination IP address and netmask pair for matching condition of this rule. The parameter any specifies srcip as 0.0.0.0 and srcmask as 255.255.255.255. The parameter host A.B.C.D specifies srcip as A.B.C.D and srcmask as 0.0.0.0. Specifies the source layer 4 port match condition for the IP ACL rule. You can use the port number ranging from 0-65535 , or specify the portkey, which can be one of the following keywords:

For TCP: bgp,domain,echo,ftp,ftpdata,http,pop2,pop3,smtp,telnet,www.

For UDP: domain,echo,ntp,rip,snmp,tftp,time,who.

Range {<portkey> |<startport>} {<portkey>|<endport For both TCP and UDP, each of these keywords translates into its equivalent port number, which is used as both the start and end of a port range.
>} If the parameter range is specified, the IP ACL rule matches only if the layer 4 port number falls within the specified port range. The startport and endport parameters identify the first and last ports that are parts of the range. They have values from 0 to 65535. The ending port must have a value equal or greater than the starting port. The starting port, ending port, and all ports in between will be part of the layer 4 port range. Note: This option is available only if the protocol is TCP or UDP. Specifies the layer 4 port match condition as comparison form for the rule. You can use the port number ranging from 0-65535, or specify the portkey.
{eq | neq | lt | gt} {<portkey>|<0- eq: equal to ; lt: less than ; gt: great than ; neq: not equal to. When eq is specified, the IP ACL rule matches only if the layer 4 port number is equal to the specified port number or portkey. When lt is specified, IP ACL rule matches only if the layer 4 port number is less than the specified port number or portkey. It is equivalent to specifying the range as 0 to <specified port number-1>.
65535>} When gt is specified, the IP ACL rule matches if the layer 4 port number is greater than the specified port number or portkey. It is equivalent to specifying the range as <specified port number+1> to 65535. When neq is specified, IP ACL rule matches only if the layer 4 port number is not equal to the specified port number ot portkey. Note: This option is available only if the protocol is TCP or UDP. Port number matches only apply to unfragmented or first fragments. Specifies that the IP ACL rule matches on the TCP flags. The value parameter represents : +fin, -fin, +syn, -syn, +rst, -rst,+psh, -psh, +ack, -ack, +urg, -urg, established.
flag <value> When + is specified, a match occurs if the specified flag is set in the TCP header. When - is specified, a match occurs if the specified flag is NOT set in the TCP header. When established is specified, a match occurs if the specified RST or ACK bits are set in the TCP. Note: This option is available only if the protocol is TCP. This option is available only if the protocol is ICMP. Specifies a match condition for ICMP packets.
icmp-type <icmp- When icmp-type is specified, the IP ACL rule matches on the specified ICMP message type, a number from 0 to 255.
type> [icmp-code <icmp-code> | icmp-message <icmp- When icmp-code is specified, the IP ACL rule matches on the specified ICMP message code, a number from 0 to 255.
message>] Specifying icmp-message implies that both icmp-type and icmp-code are specified. The following icmp-messages are supported: echo, echo-reply, host-redirect, mobile-redirect, net-redirect, net-unreachable, redirect, packet-too-big, port-unreachable, source-quench, router-solicitation, router-advertisement, time-exceeded, ttl-exceeded and unreachable.
igmp-type <igmp-type> This option is available only if the protocol is IGMP. When igmp-type is specified, the IP ACL rule matches on the specified IGMP message type, a number from 0 to 255.
dscp <value> Specifies the TOS for an IP ACL rule depending on a match of DSCP value using parameters dscp.
precedence <0-7> Specifies the TOS for an IP ACL rule depending on a match of precedence values using parameters <0-7>
tos <tos> [<tosmask>] Specifies the TOS for an IP ACL rule depending on a match value using parameters tos/tosmask.
fragments Specifies that the IP ACL rule matches on fragmented IP packets.
log Enable logging for this access list rule
time-range-name Specify the name of the time-range if the IP ACL rule has referenced a time range.
queue-id Specify the queue identifier to which packets matching this rule are assigned
mirror | redirect Specify the traffic matching the rule to be copied/redirected to the specific slot/port or port-channel.
slot/port The interface number to be mirrored or redirected to.
portchannel-id The port channel ID to be mirrored or redirected to.
rate-limit <1-4294967295> <1-128> Specifies the allowed rate of traffic as per the configured rate in <1-4294967295> kb/s, and burst-size in <1-128> kilobytes
Mode Global Config

To remove the rule with the specified ID, use the below no form command.

Default None
Format no rule-id <ID>
Mode IP Access-list Config
Parameter Description
ID The rule with ID to be removed.

no access-list

This command deletes an ACL that is identified by the parameter IP ACL <1-99> or <100-199> from the system or remove an ACL rule that is identified by the parameter <1-n> from the an IP ACL <1-99> or <100-199>.

Format no access-list {<1-99> | <100-199>} [<rule-id>]
Parameter Description
1-99 The access list number for the IP standard ACL.
100-199 The access list number for the IP extended ACL.
rule-id Specifies the access list rule ID. The value is 1~n, where n is the maximum number of user configurable rules per ACL.

Default None

Mode Global Config

ip access-group

This command attaches a specified access-control list to an interface, range of interfaces, or all interfaces: or associates it with a VLAN ID in a given direction.

An optional sequence number may be specified to indicate the order of this IP access list relative to other IP access lists already assigned to this interface and direction. A lower number indicates higher precedence order. If a sequence number is already in use for this interface and direction, the specified access list replaces the

currently attached IP access list using that sequence number. If the sequence number is not specified for this command, a sequence number that is one greater than the highest sequence number currently in use for this interface and direction is used.

This command specified in 'Interface Config' mode only affects a single interface, whereas the 'Global Config' mode setting is applied to all interfaces. The VLAN keyword is only valid in the 'Global Config' mode.

!

The command with out direction does not apply to the packets generated by own-device. For example,

the ping packets from device cannot be filtered by this command with out direction.

Default None
Format ip access-group {<1-199> | <name>} [vlan <vlan-id>] {in | out} [<1-4294967295>]
Mode

Global Config

Interface Config

Parameter Description
name The ACL name which is used to identify a specific IP ACL. It is a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the MAC access list.
<1-199> The identifier of this ACL. Range 1 to 99 is the access list number for an IP standard ACL. Range 100 to 199 is the access list number for an IP extended ACL.
vlan-id The VLAN ID. The VLAN keyword is only valid in the 'Global Config' mode.
in | out The direction value is either in or out.
1-4294967295 The sequence number of the ACL.

no ip access-group

This command removes a specified access-control list from an interface, range of interfaces, or all interfaces: or associates it with a VLAN ID in a given direction.

This command specified in 'Interface Config' mode only affects a single interface, whereas the 'Global Config' mode setting is applied to all interfaces. The VLAN keyword is only valid in the 'Global Config' mode.

Default None
Format no ip access-group {<1-199> | <name>} [vlan <vlan-id>] {in | out}
Mode

Global Config

Interface Config

Parameter Description
name The ACL name which is used to identify a specific IP ACL. It is a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the MAC access list.
<1-199> The identifier of this ACL. Range 1 to 99 is the access list number for an IP standard ACL. Range 100 to 199 is the access list number for an IP extended ACL.
vlan-id The VLAN ID. The VLAN keyword is only valid in the 'Global Config' mode.
in | out The direction value is either in or out.

{deny|permit}

This command creates a new rule for the current IP access list. Each rule is appended to the list of configured rules for the list.

The ‘no’ form of this command is not supported, since the rules within an IP ACL cannot

!

be deleted individually. Rather, the entire IP ACL must be deleted and respecified. An implicit ‘deny all’ IP rule always terminates the 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.

The assign-queue parameter allows specification of a particular hardware queue for handling traffic that matches this rule. The allowed <queue-id> value is 0-(n-1), where n is the number of user configurable queues available for the hardware platform. The assign-queue parameter is valid only for a permit rule.

The mirror parameter allows the traffic matching this rule to be copied to the specified <slot/port>, while the redirect parameter allows the traffic matching this rule to be forwarded to the specified <slot/port>. The assign-queue and redirect parameters are only valid for a permit rule.

The time-range parameter allows imposing time limitation on the IP ACL rule as defined by the parameter time-range-name . If a time range with the specified name does not exist and the IP ACL containing this ACL rule is applied to an interface or bound to a VLAN, then the ACL rule is applied immediately. If a time range with specified name exists and the IP ACL containing this ACL rule is applied to an interface or bound to a VLAN, then

the ACL rule is applied when the time-range with specified name becomes active. The ACL rule is removed when the time-range with specified name becomes inactive.

Format {deny | permit} {{every [rule-id] [assign-queue <queue-id>] [log] [{{mirror | redirect} <slot/port> | port-

channel <port-channel-group-id>}] [rate-limit <1-4294967295> <1-128>] [sequence <1-2147483647>] [time-range <name>]} | {{<0-255> | icmp | ip | tcp | udp} {<source-ip/source-mask> | any | host <srcip>} [eq {<0-65535> | <portkey>}] {<destination-ip/destination-mask> | any | host <dstip>} [eq {<0-65535> | <portkey>}] [flag [+fin | -fin] [+syn | -syn] [+rst | -rst] [+psh | -psh] [+ack | -ack] [+urg | -urg] [established]] [dscp <value>] [flow-label <vlaue>] [icmp-type <icmp-type> [icmp-code <icmp-code>] | icmp-message <icmp-message>] [fragments] [routing] [rule-id] [assign-queue <queue-id>] [log] [{{mirror | redirect} <slot/port> | port-channel <port-channel-group-id>}] [rate-limit <1-4294967295> <1-128>] [sequence <1-2147483647>] [time-range <name>] }}

Parameter Description
deny or permit Specifies whether the IP ACL rule permits or denies the matching traffic.
every Specifies to match every packet.
[rule-id] Specifies a rule ID, the value range from 1 to 1023.
[assign-queue <queue-id>] Specifies the assign-queue, which is the queue identifier to which packets matching this rule are assigned, the value range from 0 to 7.
[log] Specifies that this rule is to be logged.
{mirror | redirect} {<slot/port> | port-channel <port-channel-group-id>} Specifies the mirror or redirect interface which is the unit/slot/port to which packets matching this rule are copied or forwarded, respectively.
rate-limit <rate> <burst-size> Specifies the allowed rate of traffic as per the configured rate in kbps range from 1 to 4294967295, and burst-size in kbytes range from 1 to 128.
sequence <sequence-number> Specifies a sequence number for the ACL rule. Every rule receives a sequence number. The sequence number is specified by the user or is generated by the device, the value range from 1 to 2147483647.
time-range <name> Specifies a time limitation on the ACL rule as defined by the parameter time-range-name.
<0-255> Specifies the protocol to match for the IP ACL rule, the value range from 0 to 255.
<source-ip/source-mask> Specifies a source IP address and mask to match for the IP ACL rule.
<destination-ip/destination-mask> Specifies a destination IP address and mask to match for the IP ACL rule.
Any Specifying any implies specifying “0.0.0.0“ with mask “255.255.255.255”.
host <srcip> Specifying host source IP address implies matching the specified IP address.
host <dstip> Specifying host destination IP address implies matching the specified IP address.
eq {<0-65535> | <portkey>}

Specifies the layer 4 port match condition for the IP ACL rule. A port number can be used, in the range 0- 65535, or the portkey, which can be one of the following keywords:

For TCP: bgp, domain, echo, ftp, ftp-data, http, smtp, telnet, www, pop2, pop3

For UDP: domain, echo, ntp, rip, snmp, tftp, time, who.

flag [+fin | -fin] [+syn | -syn] [+rst | -rst] [+psh | -psh] [+ack | -ack] [+urg | -urg] [established] Specifies that the IP ACL rule matches on the tcp flags. When +<tcpflagname> is specified, a match occurs if specified <tcpflagname> flag is set in the TCP header. When “-<tcpflagname>” is specified, a match occurs if specified <tcpflagname> flag is *NOT* set in the TCP header. When established is specified, a match occurs if specified either RST or ACK bits are set in the TCP header. Two rules are installed in hardware to when “established” option is specified. This option is visible only if protocol is “tcp”.
dscp <value> Specifies the dscp value to match for for the IP rule. The value range from 0 to 63 or a DSCP keyword (af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, be, cs0, s1, cs2, cs3, cs4, cs5, cs6, cs7, ef).
flow-label <vlaue> Specifies the flow-label value to match for for the IP rule. The value range from 0 to 1048575.
icmp-type <icmp-type> This option is available only if the protocol is ICMP.
[icmp-code <icmp-code> | icmp-message <icmp- Specifies a match condition for ICMP packets.
message>] When icmp-type is specified, the IP ACL rule matches on the specified ICMP message type, a number from 0 to 255. When icmp-code is specified, the IP ACL rule matches on the specified ICMP message code, a number from 0 to 255. Specifying icmp-message implies that both icmp-type and icmp-code are specified. The following icmp-messages are supported: destination-unreachable, echo-reply, echo-request, header, hop-limit, mld-query, mld-reduction, mld-report, nd-na, nd-ns, next-header, no-admin, no-route, packet-too-big, port-unreachable, router-solicitation, router-advertisement, router-renumbering, time-exceeded, and unreachable. The ICMP message is decoded into the corresponding ICMP type and ICMP code within that ICMP type.
[fragments] Specifies that IP ACL rule matches on fragmented IP packets.
[routing] Specifies that IP ACL rule matches on IP packets that have the routing extension header.
Default None
Mode IP-Access-List Config