![Corecess R1-SW24L2B User Manual Download Page 187](http://html1.mh-extra.com/html/corecess/r1-sw24l2b/r1-sw24l2b_user-manual_2667222187.webp)
Configuring QoS
9-19
classification disable
command. By default, IEEE 802.1p is disabled.
After creating class-maps, system checks the inbound or outbound packets by the criteria in
class-maps. QoS actions defined in the policy-map for the class will be applied to the classified
packets into classes.
You can create a class-map by using the
class-map
command in QoS configuration mode.
When you enter the
class-map
command, the Corecess R1-SW24L2B enters the class-map
configuration mode. In this mode, the match criterion is defined for the traffic by using the
match
command.
To create a class-map and add the criteria to the class-map, use the following command in the
Privileged mode:
To create a class map and specify the way in which the Corecess R1-SW24L2B should classify
traffic, enter the following commands in Global configuration mode:
Table 9-2 Creating a class map
Command
Task
qos
1.
Enter QoS configuration mode.
8021p classification enable
2. (Optional) Enables IEEE 802.1p. If IEEE 802.1p
is enabled, CoS field is available for the criterion
of the class-map. If IEEE 802.1p is disabled
(default setting), IP precedence and DSCP fields
become available instead of CoS field.
class-map
<class-map-name>
3. Create a class map and enters class-map
configuration mode.
y
<class-map-name>
: Class map name.
match cos
<cos-value>
match dsap
<dsap-value>
match dscp
<dscp-value>
match ether-type
<ether-type>
match input-port
<port-type>
<slot>/<port>
match ip-da
<dest-ip> <mask>
match ip-prec
<ip-prec-value>
match ip-sa
<sour-ip>
<wildcard>
match mac-da
<dest-mac>
match mac-sa
<sour-mac>
match output-port
<port-type>
<slot>/<port>
match protocol
<protocol-id>
match tcp-dpn
<tcp-port-num>
4. Define the classification criteria for the class
map.
Summary of Contents for R1-SW24L2B
Page 1: ...Edition 00 Distribution 2006 06 Corecess Layer2 Ethernet Switch R1 SW24L2B User s Manual...
Page 20: ...R1 SW24L2B User s Manual XX...
Page 27: ...Overview 1 7 E PON ONU...
Page 28: ...R1 SW24L2B User s Manual 1 8...
Page 42: ...R1 SW24L2B User s Manual 2 14...
Page 68: ...R1 SW24L2B User s Manual 4 16...
Page 112: ...R1 SW24L2B User s Manual 5 44...
Page 124: ...R1 SW24L2B User s Manual 6 12...
Page 134: ...R1 SW24L2B User s Manual 7 10...
Page 168: ...R1 SW24L2B User s Manual 8 34...
Page 207: ...Configuring QoS 9 39 8021p enable 8021p user priority 6 vlan 1 port fastethernet 2 1...
Page 210: ...R1 SW24L2B User s Manual 9 42...
Page 234: ...R1 SW24L2B User s Manual 10 24...
Page 258: ...R1 SW24L2B User s Manual 12 10...
Page 288: ...R1 SW24L2B User s Manual 13 30...
Page 300: ...R1 SW24L2B User s Manual B 8...