SNR S2989G-8TX — настройка функций безопасности и QoS в сетевых устройствах [392/553]

Превью страниц Страница 392 / 553
SNR S2989G-48TX [392/553] Egress qos examples
S2989G-24TX Operation Manual
Chapter 6 Security Function Configuration
6-119
5. Clear accounting data of the specific ports or VLANs
Command
Explanation
Admin Mode
clear mls qos statistics [interface
<interface-name> | vlan <vlan-id>]
Clear accounting data of the
specified ports or VLAN Policy Map.
If there are no parameters, clear
accounting data of all policy map.
6. Show QoS configuration
Command
Explanation
Admin Mode
show mls qos {interface [<interface-id>]
[policy | queuing] | vlan <vlan-id>}
Show QoS configuration of the port.
show class-map [<class-map-name>]
Show the class map information of QoS.
show policy-map [<policy-map-name>]
Show the policy map information of
QoS.
show mls qos maps {cos-cos | cos-dscp
| dscp-cos | dscp-exp} {green | yellow |
red |}
Show mapping relation of Egress QoS
remark.
6.14.3
Egress QoS Examples
Example1:
On the egress of the port1, change cos value as 4 for the packet with dscp value of 0.
Create a class map:
switch(config)#class-map 1
switch(config-classmap-1)#match ip dscp 0
switch(config-classmap-1)#exit
Create a policy map:
switch(config)#policy-map 1
switch(config-policymap-1)#class 1
switch(config-policymap-1-class-1)#set cos 4
switch(config-policymap-1-class-1)#exit
switch(config-policymap-1)#exit

Содержание

666

Узнайте, как настроить функции безопасности и управление качеством обслуживания (QoS) на сетевых устройствах. Подробные команды и примеры для администраторов.