![Corecess R1-SW24L2B Скачать руководство пользователя страница 231](http://html1.mh-extra.com/html/corecess/r1-sw24l2b/r1-sw24l2b_user-manual_2667222231.webp)
Configuring Security
10-21
Creating a Policy Map
To create a policy map and define the actions that you want the system to take for the particular
class of traffic, enter the following commands in the global configuration mode:
Table 10-9 Creating a policy map for packet filtering
Command
Task
qos
1.
Enter the QoS configuration mode.
policy-map
<policy-map-name>
2. Create a policy map and enter the policy-map configuration mode.
y
<policy-map-name>
: Name of a policy map to define.
class
<class-name>
3. Specify the class to which the policy map applies and enter the
policy-map-class configuration mode.
y
<class-name>
: Class map name.
filter
{
deny
|
permit
}
4. Specify whether to filter the traffic class or not.
y
deny
: Discards the class of traffic belonging to a policy map.
y
permit
:
Permits the class of traffic belonging to a policy map.
end
5. Return to the Privileged mode.
show policymap
[<policy-map-name>]
6. Verify the QoS policy.
y
<policy-map-name>
: Name of a policy map to verify.
qos
7. Save the configuration changes.
The following example shows how to define QoS policy that you want the system to filter that
particular class of traffic:
(config)#
qos
(config-qos)#
policy-map filter-policy
(config-pmap)#
class class101
(config-pmap-c)#
filter deny
(config-pmap-c)#
end
#
show policymap filter-policy
PolicyMap
--------------------------------------------------
Name : filter-policy
Linked ClassMap : class101
Action
: Deny
#
write memory
Building Configuration...
[OK]
Содержание R1-SW24L2B
Страница 1: ...Edition 00 Distribution 2006 06 Corecess Layer2 Ethernet Switch R1 SW24L2B User s Manual...
Страница 20: ...R1 SW24L2B User s Manual XX...
Страница 27: ...Overview 1 7 E PON ONU...
Страница 28: ...R1 SW24L2B User s Manual 1 8...
Страница 42: ...R1 SW24L2B User s Manual 2 14...
Страница 68: ...R1 SW24L2B User s Manual 4 16...
Страница 112: ...R1 SW24L2B User s Manual 5 44...
Страница 124: ...R1 SW24L2B User s Manual 6 12...
Страница 125: ...Chapter 7 Configuring VLAN This chapter describes how to configure the VLAN and VLAN interface 9 VLAN Configuration 7 2...
Страница 134: ...R1 SW24L2B User s Manual 7 10...
Страница 168: ...R1 SW24L2B User s Manual 8 34...
Страница 207: ...Configuring QoS 9 39 8021p enable 8021p user priority 6 vlan 1 port fastethernet 2 1...
Страница 210: ...R1 SW24L2B User s Manual 9 42...
Страница 234: ...R1 SW24L2B User s Manual 10 24...
Страница 258: ...R1 SW24L2B User s Manual 12 10...
Страница 288: ...R1 SW24L2B User s Manual 13 30...
Страница 300: ...R1 SW24L2B User s Manual B 8...