JetStream 52-Port Gigabit Stackable L3 Managed Switch CLI Guide
Example
Create an IPv4 class whose name is “Market”, definites a match condition that
the packets’s source IPv4 address should be192.168.0.123, the mask should
be 255.255.255.0:
T3700G-52TQ(config)#class-map match-all Market ipv4
T3700G-52TQ(config-cmap)#match srcip 192.168.0.123 255.255.255.0
25.20 match ethertype
Description
The match ethertype command definites a match condition based on the
value of the ethertype of a packet. The match condition only apply to an IPv4
class.
Syntax
match ethertype {
ethertype-value | ethertype-key
}
Parameter
ethertype-value
—— Enter a four-digit hexadecimal number in the range of
0x0600 to 0xffff to specify a custom Ethertype value.
ethertype-key
—— Enter one of the following keywords to specify an
Ethertype (appletalk, arp, ibmsna, ipv4, ipv6, ipx, mplsmcast, mplsucast,
NetBIOS, novell, pppoe, rarp).
Command Mode
Class-Map Configuration Mode( IPv4)
Example
Create an IPv4 class whose name is “Market”, definites a match condition that
the value of the ethertype should be 0x0806(ARP):
T3700G-52TQ(config)#class-map match-all Market ipv4
T3700G-52TQ(config-cmap)#match ethertype 0x0806
25.21 match ip
Description
The match ip command definites a match condition based on an IP value
(DSCP, precedence, tos). The match condition only apply to an IPv4 class.
194