![Corecess R1-SW24L2B User Manual Download Page 229](http://html1.mh-extra.com/html/corecess/r1-sw24l2b/r1-sw24l2b_user-manual_2667222229.webp)
Configuring Security
10-19
Creating a Class Map
To create a class map and specify the way in which the Corecess R1-SW24L2B should classify
traffic, enter the following commands in the Global configuration mode:
Table 10-8 Creating a class map
Command
Task
qos
1.
Enter the QoS configuration mode.
class-map
<class-map-name>
2. Create a class map and enter class-map configuration mode.
y
<class-map-name>
: Class map name.
match ip-da
<destination-ip>
<wildcard>
3. Specify the destination IP address as a match criterion of a class map.
y
<destination-ip>
: The destination IP address
y
<wildcard>
: Wildcard bit to be applied to <dest-ip>.
match ip-sa
<source-ip>
<wildcard>
4. Specify the source IP address as a match criterion of a class map.
y
<source-ip>
: The source IP address
y
<wildcard>
: Wildcard bit to be applied to <source-ip>.
match tcp-dpn
<tcp-port-num>
5. Specify the destination TCP port number as a match criterion of a class
map.
y
<tcp-port-num>
: The destination TCP port number (0 ~ 65535)
match tcp-spn
<tcp-port-num>
6. Specify the source TCP port number as a match criterion of a class
map.
y
<tcp-port-num>
:
The source TCP port number (0 ~ 65535)
match udp-dpn
<udp-port-num>
7. Specify the destination UDP port number as a match criterion of a
class map.
y
<udp-port-num>
: The destination UDP port number (0 ~ 65535)
match ucp-spn
<udp-port-num>
8. Specify the source UDP port number as a match criterion of a class
map.
y
<udp-port-num>
:
The source UDP port number (0 ~ 65535)
end
9. Return to the Privileged mode.
show classmap
[<class-map-name>]
10. Verify the class map configuration.
write memory
11. Save the configuration changes.
The following example shows how to create a class map and define a classification criterion by
using the destination IP address and the destination TCP port number:
(config)#
qos
(config-qos)#
class-map class101
(config-cmap)#
match ip-da 10.10.10.1 0.0.0.255
(config-cmap)#
match tcp-dpn 25
(config-cmap)#
end
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...