destination-address
ip-address
|
IP destination address field, which is the address of
the final destination node.
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
destination-mac-address mac-address
|
Destination media access control (MAC) address of the
packet.
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs.
|
destination-port number
|
TCP or User Datagram Protocol (UDP) destination
port field. Typically, you specify this match in conjunction with
the protocol match statement to determine which protocol
is used on the port. In place of the numeric value, you can specify
one of the following text synonyms (the port numbers are also listed):
afs (1483), bgp (179), biff (512), bootpc (68), bootps (67),
cmd (514), cvspserver (2401),
dhcp (67), domain (53),
eklogin (2105), ekshell (2106), exec (512),
finger (79), ftp (21), ftp-data (20),
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
|
http (80), https (443),
ident (113), imap (143),
kerberos-sec (88), klogin (543), kpasswd
(761), krb-prop (754), krbupdate (760), kshell (544),
ldap (389), login (513),
mobileip-agent (434), mobilip-mn (435), msdp (639),
netbios-dgm (138), netbios-ns (137), netbios-ssn
(139), nfsd (2049), nntp (119), ntalk (518), ntp (123),
pop3 (110), pptp (1723), printer (515),
radacct (1813),radius (1812), rip (520), rkinit (2108),
smtp (25), snmp (161), snmptrap (162), snpp (444), socks (1080), ssh (22), sunrpc (111), syslog (514),
tacacs-ds (65), talk (517), telnet (23), tftp (69), timed (525),
who (513),
xdmcp (177),
zephyr-clt (2103), zephyr-hm (2104)
| |
dot1q-tag number
|
The tag field in the ethernet header. The tag values
can be 1–4095.
|
Ingress ports and VLANs.
Egress VLANs.
|
dot1q-user-priority number
|
User-priority field of the tagged Ethernet packet. User-priority
values can be 0–7.
In place of the numeric value, you can specify
one of the following text synonyms (the field values are also listed):
-
background (1)—Background
-
best-effort (0)—Best effort
-
controlled-load (4)—Controlled load
-
excellent-load (3)—Excellent load
-
network-control (7)—Network control reserved
traffic
-
standard (2)—Standard or Spare
-
video (5)—Video
-
voice (6)—Voice
|
Ingress ports and VLANs.
Egress VLANs.
|
dscp number
|
Differentiated Services code point (DSCP). The DiffServ
protocol uses the type-of-service (ToS) byte in the IP header. The
most significant six bits of this byte form the DSCP.
You can specify DSCP in hexadecimal, binary, or decimal form.
In place of the numeric value, you can specify
one of the following text synonyms (the field values are also listed):
-
ef (46)—as defined in RFC 2598, An Expedited Forwarding PHB.
-
af11 (10), af12 (12), af13 (14);
af21 (18), af22 (20), af23 (22);
af31 (26), af32 (28), af33 (30);
af41 (34), af42 (36), af43 (38)
These four classes, with three drop precedences in each class,
for a total of 12 code points, are defined in RFC 2597, Assured Forwarding PHB.
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
ether-type [ipv4 | arp | mpls | dot1q | value]
|
Ethernet type field of a packet. The EtherType
value specifies what protocol is being transported in the
Ethernet frame. In place of the numeric value, you can specify one
of the following text synonyms:
-
arp—EtherType value ARP (0x0806)
-
dot1q—EtherType value 802.1Q (0x8100)
-
ipv4—EtherType value IPv4 ( 0x0800)
-
mpls—EtherType value MPLS (0x8847)
|
Ingress ports and VLANs.
Egress VLANs.
|
fragment-flags [ is-fragment | more-fragment | dont-fragment]
|
IP fragmentation flags.
|
fragment-flags [is-fragment] supported for:
Ingress ports, VLANs, and router interfaces. Egress VLANs and router
interfaces.
fragment-flags [more-fragment | dont-fragment] supported
for: Ingress ports, VLANs, and router interfaces.
|
icmp-code number
|
ICMP code field. This value or keyword provides more
specific information than icmp-type. Because the value’s
meaning depends upon the associated icmp-type, you must specify icmp-type along with icmp-code. In place of the numeric
value, you can specify one of the following text synonyms (the field
values are also listed). The keywords are grouped by the ICMP type
with which they are associated:
-
parameter-problem—ip-header-bad (0), required-option-missing (1)
-
redirect—redirect-for-host (1), redirect-for-network (0), redirect-for-tos-and-host
(3), redirect-for-tos-and-net (2)
-
time-exceeded—ttl-eq-zero-during-reassembly
(1), ttl-eq-zero-during-transit (0)
-
unreachable—communication-prohibited-by-filtering
(13), destination-host-prohibited (10), destination-host-unknown
(7), destination-network-prohibited (9), destination-network-unknown
(6), fragmentation-needed (4), host-precedence-violation
(14), host-unreachable (1), host-unreachable-for-TOS
(12), network-unreachable (0), network-unreachable-for-TOS
(11), port-unreachable (3), precedence-cutoff-in-effect
(15), protocol-unreachable (2), source-host-isolated
(8), source-route-failed (5)
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
icmp-type number
|
ICMP packet type field. Typically, you specify this match
in conjunction with the protocol match statement to determine
which protocol is being used on the port. In place of the numeric
value, you can specify one of the following text synonyms (the field
values are also listed):
echo-reply (0), echo-request (8), info-reply
(16), info-request (15),
mask-request (17), mask-reply (18), parameter-problem
(12),
redirect (5), router-advertisement (9), router-solicit (10), source-quench (4),
time-exceeded (11), timestamp (13), timestamp-reply
(14), unreachable (3)
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
interface interface-name
|
Interface on which the packet is received. You can specify
the wildcard character * as part of an interface name.
Note:
An interface from which a packet is sent cannot be used
as a match condition.
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
ip-options
|
Presence of the options field in the IP header.
|
Ingress ports, VLANs, and router interfaces.
|
packet-length bytes
|
Length of the received packet, in bytes.
|
Ingress router interfaces.
|
precedence precedence
|
IP precedence. In place of the numeric value, you can
specify one of the following text synonyms (the field values are also
listed):
-
critical-ecp (5)
-
flash (3)
-
flash-override (4)
-
immediate (2)
-
internet-control (6)
-
net-control (7)
-
priority (1)
-
routine (0)
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
protocol list of protocols
|
IPv4 protocol value. In place of the numeric value, you
can specify one of the following text synonyms:
egp (8), esp (50), gre (47), icmp (1), igmp (2), ipip (4),
ospf (89), pim (103), rsvp (46), tcp (6), udp (17)
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
source-address
ip-address
|
IP source address field, which is the address of the
source node sending the packet.
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
source-mac-address mac-address
|
Source MAC address.
|
Ingress ports and VLANs.
Egress VLANs.
|
source-port number
|
TCP or UDP source-port field. Typically, you
specify this match in conjunction with the protocol match
statement to determine which protocol is being used on the port.
In place of the numeric field, you can specify one of the text synonyms
listed under destination-port.
|
Ingress ports, VLANs, and router interfaces.
Egress VLANs and router interfaces.
|
packet-length bytes
|
Length of the received packet, in bytes.
|
Ingress ports, VLANs, and router interfaces.
|
tcp-flags [flags tcp-initial]
|
One or more TCP flags:
- bit-name—fin, syn, rst, push, ack, urgent
- logical operators—& (logical AND), ! (negation)
- numerical value— 0x01 through 0x20
- text synonym—tcp-initial
To specify multiple flags, use logical operators.
Note:
tcp-flags is not supported on egress firewall
filters.
|
Ingress ports, VLANs, and router interfaces.
|
tcp-initial
|
Matches the first TCP packet of a connection. tcp-initial is a synonym for the bit names ""(syn & !ack)".
tcp-initial does not implicitly check that the protocol
is TCP. To do so, specify the protocol tcp match condition.
|
Ingress ports, VLANs, and router interfaces.
|
ttl value
|
TTL type to match. The value range is 1 through 255.
|
Ingress router interfaces.
|
vlan [vlan-name | vlan-id]
|
The VLAN that is associated with the packet.
|
Ingress ports and VLANs.
Egress VLANs.
|