文档介绍:cisco_qos配置(Cisco_qos configuration)
Qos settings:
The first step: define the type of transport
You have to tell the router what kind of data stream needs to be managed by QoS. You can define it by accessing the control list (ACL) or based on work application identification (NBAR). ACL is the traditional way to set different transmission data types for routers.
NBAR is a router that allows routers to identify all sorts of data that pass through the router, such as the HTTP data is the HTTP category, and the Skype is the Skype category. However, the number of application protocols that can be identified by routers is limited, depending on a list of program protocols stored within the router.
Although routers can't identify all applications, router vendors add more programs to the list every time the IOS is upgraded. In addition, you can define the program identification list by yourself.
The second step: create class mapping (class-map)
Class mapping is grouping different types of data streams. For example, you can create a class mapping called "VoIP traffic", and then incorporate various VoIP protocols into this class.
The third step: creating policy mapping (policy-map)
Policy mapping can be matched with class mapping to determine the bandwidth and / or priority of a class of data streams.
The fourth step: apply the policy mapping to the interface
Just like the ACL list, you have to apply the policy mapping to a port you set. You can configure policies to map into input or output patterns
Example:
Examples of traffic restrictions for different IP groups:
Cisco (config) #ip access-list extended BOSS
Cisco (config-ext-nacl) #permit IP host any
Cisco (config-ext-nacl) #permit IP host any
Cisco (config-ext-nacl) #permit IP host any
Cisco (config-ext-nacl) #permit IP host any
Cisco (config-ext-nacl) #permit IP host any
Cisco (config-ext-nacl) #permit IP host any
Cisco (conf