Qtech QSW-8200-28F-AC-DC [4/38] Chapter 1 commands for qos

Qtech QSW-8200-28T-POEAC- DC [4/38] Chapter 1 commands for qos
User Manual
Chapter 1. Commands for QoS 4
www.qtech.ru
Chapter 1 COMMANDS FOR QOS
1.1 accounting
Command: accounting
no accounting
Function: Set statistic function for the classified traffic.
Parameter: None.
Command mode: Policy map configuration mode
Default: Do not set statistic function.
Usage Guide: After enable this function, 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 and printing the information. In dual bucket mode, there are three colors(green,
yellow, red) of messages. Note: In policy-map, accounting does not take effect if only
set internal priority is configured, but there is no policy.
Example: Count the packets which satisfy c1 rule.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#accounting
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#exit
1.2 class
Command: class <class-map-name> [insert-before <class-map-name>]
no class <class-map-name>
Function: Associates a class to a policy map and enters the policy class map mode; the
no command deletes the specified class.
Parameters: <class-map-name> is the class map name used by the class.
o insert-before <class-map-name> insert a new configured class to the front of a
existent class to improve the priority of the new class.
Default: No policy class is configured by default.
Command mode: Policy map configuration mode
Usage Guide: Before setting up a policy class, a policy map should be created and the
policy map mode entered. In the policy map mode, classification and nexthop
configuration can be performed on packet traffic classified by class map.
Example: After add a policy class map c1 to the policy map, add a policy class map c2
and insert it to the front of c1.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#exit

Похожие устройства

Скачать