In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Huawei QOS service quality:
Contains content: flow classification, speed limit, congestion management, congestion avoidance, policy routing.
QOS (flow Classification) based on ACL
V create ACL
[huawei] acl name acl1 # enters the ACL configuration item
[huawei-acl-adv-acl1] rule 101permit protocol source source IP anti-mask destination destination IP anti-mask
[huawei-acl-adv-acl1] quit # defines ACL
Note: blue is the calling relationship.
V-stream classification
[huawei] traffic classifier class1 # stream classification
[huawei-classifier-class1] if-match acl acl1 # calls ACL
[huawei-classifier-class1] quit
V flow behavior
[huawei] traffic behavior xingwei1 # create flow behavior
[huawei-behavior-xingwei1] remark 8021p 5 # set flow priority
[huawei-behavior-xingwei1] remark dscp 40 # flow priority based on DSCP
[huawei-behavior-xingwei1] car cir 8000 pir 10000 green pass # Speed limit (traffic regulation)
[huawei-behavior-xingwei1] car cir 8000 cbs 10000 # Speed limit (Traffic × ×)
[huawei-behavior-xingwei1] statistic enable # enables traffic statistics
[huawei-behavior-xingwei1] redirect ip-nexthop 1.1.1.1 # Policy routing (specifies the next hop address of the traffic)
[huawei-behavior-xingwei1] quit
Note: DSCP: differentiated service coding point (value range 0,63). The higher the value, the higher the priority.
Regulation: CIR: committed rate, PIR: the rate at which traffic is added to the barrel. Unit: KB/ second
* *: CIR: committed rate, CBS: committed burst rate. Unit: KB/ second
Recommended flow priority
0
Best effort to serve data
one
Medium priority data
two
High priority data
three
calling signal
four
Videoconferencing
five
Voice call
V define flow policy
[huawei] traffic policy policy1 # create flow Policy
[huawei-policy-policy1] classifier class1 behavior xingwei1 # call flow classification and flow behavior
[huawei-policy-policy1] quit
V apply policies to interfaces
[huawei] interface gigabitethernet0/0/1 # enters the interface
[huawei-gigabitethernet0/0/1] traffic-policy policy1 inbound # uses policies for interfaces
[huawei-gigabitethernet0/0/1] quit
Note: inbound: entry ourbound: exit
Interface-based QOS (speed limit)
Traffic regulation: promised rate, discarded if it exceeds the traffic.
Traffic × ×: adjust the rate and use the traffic of the buffer to forward evenly.
V interface-based traffic regulation
[huawei] interface gigabitethernet0/0/1
[huawei-gigabitethernet0/0/1] qos lr inbound cir 8000 # Traffic Supervision
[huawei-gigabitethernet0/0/1] quit
V Traffic based on interface × × ×
[huawei] interface gigabitethernet0/0/1
[huawei-gigabitethernet0/0/1] qos lr inbound cir 8000 cbs 10000 # Traffic × ×
[huawei-gigabitethernet0/0/1] quit
Note: CIR: committed rate, CBS: committed burst rate, EBS: maximum burst rate, CIR/PIR: buffer rate.
Congestion avoidance and congestion Management of QOS
V create ACL
V-stream classification, call ACL
V-flow behavior, set flow priority
V configure the trust message for the interface
[huawei] interface gigabitethernet0/0/1
[huawei-gigabitethernet0/0/1] trust 8021p # configure trust message
[huawei-gigabitethernet0/0/1] quit
V congestion avoidance, corresponding queue number according to priority
[huawei] qos sred queue 2 red 500 discard-probability 1 yellow 1000 discard-probability 4
[huawei] qos sred queue 3 red 500 discard-probability 1 yellow 1000 discard-probability 4
[huawei] qos sred queue 4 red 500 discard-probability 1 yellow 1000 discard-probability 4
Note: SRED is a congestion avoidance technology. Parameter description: discard-probability: discard probability.
Queue
Color
Lower threshold
Discard probability
Corresponding discard probability
Queue 2 (one queue for one type of traffic)
Red
Yellow
five hundred
one thousand
one
four
Queue 3 (Video)
Red
Yellow
five hundred
one thousand
one
four
Queue 4 (Voice)
Red
Yellow
five hundred
one thousand
one
four
Interpretation: queue number = excellent priority
V congestion management
[huawei] interface gigabitethernet0/0/1
[huawei-gigabitethernet0/0/1] qos wrr # configure scheduling mode
[huawei-gigabitethernet0/0/1] qos queue 2 wrr weight 0 # call queue and set weight
[huawei-gigabitethernet0/0/1] qos queue 3 wrr weight 10 # call queue and set weight
[huawei-gigabitethernet0/0/1] qos queue 4 wrr weight 20 # call queue and set weight
[huawei-gigabitethernet0/0/1] quit
Note: weight: the higher the weight value, the higher the forwarding priority.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.