![SNR S2940-8G-v2 Скачать руководство пользователя страница 184](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630184.webp)
SNR S2940-8G-v2 Switch Configuration Guide
QoS Configuration
2. Configure a policy map
Command
Explanation
Global Mode
policy-map <policy-map-name>
no policy-map <policy-map-name>
Create a policy map and enter policy map
mode; the no command deletes the speci-
fied policy map.
class <class-map-name> [insert-before <class-
map-name>]
no class <class-map-name>
After a policy map is created, it can be as-
sociated to a class. Different policy or new
DSCP value can be applied to different data
streams in class mode; the no command
deletes the specified class.
set { ip dscp <new-dscp> | ip precedence <new-
precedence> | internal priority <new-inp> | drop
precedence <new-dp> | cos <new-cos> }
no set { ip dscp | ip precedence | internal priority
| drop precedence | cos }
Assign a new DSCP, CoS, IP Precedence
value for the classified traffic; the no com-
mand cancels the newly assigned value.
Single bucket mode:
policy
<bits_per_second>
<nor-
mal_burst_bytes> ({ conform-action ACTION |
exceed-action ACTION } )
Dual bucket mode:
policy
<bits_per_second>
<nor-
mal_burst_bytes>
[pir
<peak_rate_bps>]
|
<maximum_burst_bytes> [{ conform-action AC-
TION | exceed-action ACTION | violate-action
ACTION }]
ACTION definition:
drop | transmit | set-dscp-transmit <dscp_value>
| set-prec-transmit <ip_precedence_value> | set-
cos-transmit <cos_value> | set-internal-priority
<inp_value> | set-Drop-Precedence <dp_value>
no policy
Configure a policy for the classified flow.
The non-aggregation policy command sup-
ports three colors.
Analyze the working
mode of the token bucket, whether it is
singe rate single bucket, single rate dual
bucket, dual rate dual bucket, set corre-
sponding action to different color packets.
The no command will delete the mode con-
figuration. Single bucket mode is supported
by the specific switch.
policy aggregate <aggregate-policy-name>
no policy aggregate <aggregate-policy-name>
Apply a policy to classified traffic; the no
command deletes the specified policy set.
accounting
no accounting
Set statistic function for the classified traf-
fic. After enable this function under the pol-
icy class map mode, add statistic function to
the traffic of the policy class map. In single
bucket mode, the messages can only red or
green when passing policy. In the print in-
formation, in-profile means green and out-
profile means red. In dual bucket mode,
there are three colors of the packets. In
the print information, in-profile means green
and out-profile means red and yellow.
184
Содержание S2940-8G-v2
Страница 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Страница 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Страница 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Страница 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Страница 176: ...SNR S2940 8G v2 Switch Configuration Guide Part V QoS and Flow based Redirection Configuration 176...
Страница 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Страница 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Страница 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Страница 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Страница 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Страница 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Страница 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Страница 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...