Because this is not a question of success or failure, just write a few commands. Your idea can provide an idea. You can check the manual to see which one suits you. Such as priority, traffic shaping, congestion avoidance, interface speed limit, etc.
The configuration mode of QoS policy refers to the realization of QoS function by configuring QoS policy.
QoS strategy includes three elements: class, popular behavior and strategy. Users can flexibly configure QoS by binding specified classes and popular behaviors through QoS policies.
1 class.
The elements of a class include the name of the class and the rules of the class.
Users can define a series of rules through commands to classify messages.
2. popular
Commonly used to define the QoS actions of messages.
The elements of popular behavior include the name of popular behavior and the actions defined in popular behavior.
Users can define multiple actions in a popular behavior through commands.
Step 3: Strategy
This policy is used to bind the specified class to the popular behavior and perform the actions defined in the popular behavior on the classified mail.
The elements of a policy include the name of the policy, the classes bound together, and the names of popular behaviors.
Users can define the binding relationship between multiple classes and popular behaviors in a policy.
For example,
1. Network requirements
Device a and device b are interconnected by device C. The network environment is described as follows:
L device a accesses device c through Ethernet11,and the IP priority value is 3;
L device b accesses device c through port Ethernet 1/2, and the IP priority value is 1.
It is required to realize the following requirements through configuration: if the exit is congested, the message sent by device A is given priority (device A is given priority to access the server).
2. Network diagram
Figure 3- 1 Example Network Diagram of Priority Trust Mode and Port Priority Configuration
3. Configuration steps
# Configure the port priority on Ethernet11and Ethernet 1/2 respectively. The port priority value configured on Ethernet11is higher than that configured on Ethernet 1/2. (Also, make sure that the Ethernet11and Ethernet 1/2 interfaces are not configured with automatic trust mode. )
& ltDeviceC & gt system view
[DeviceC] Interface Ethernet11
[Device c- Ethernet11] Quality of Service Priority 3
[Devicec-Ethernet11] Exit.
[DeviceC] Interface Ethernet 1/2
[DeviceC- Ethernet 1/2] qos priority 1
[DeviceC-Ethernet 1/2] Exit