No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S1720GFR, S2700, S5700, and S6720 V200R010C00 Web-based Configuration Guide

This document describes the configuration and maintenance of device through the web network management system. The web network management system provides the functions of viewing device information and managing the entire system, interfaces, services, ACL, QoS, routes, security, and tools.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Traffic Management

Traffic Management

The following sections describe the configuration methods of class-based QoS traffic management, including the configurations of the traffic classifier, traffic behavior, traffic policy, and application of the traffic policy.

Traffic Classifier

A traffic classifier is used to identify packets with certain features according to rules, and is the prerequisite and basis for providing differentiated services.

Context

By matching packets with the rules, the class-based QoS technology classifies packets according to certain rules and provides the same QoS level for traffic of the same type. In this manner, the class-based QoS technology provides differentiated services. A traffic classifier matches the packet header information with certain rules so that the packets sharing common features are grouped into one class.

Procedure

  • Create a traffic classifier.
    1. Choose QoS > Traffic Management > Traffic Classifier in the navigation tree to open the Traffic Classifier page.
    2. Click Create to open the Create Traffic Classifier page, as shown in Figure 2-162.

      Figure 2-162  Create Traffic Classifier

      Table 2-95 describes the parameters on the Create Traffic Classifier page.

      Table 2-95  Create Traffic Classifier

      Parameter

      Description

      Traffic classifier name

      Indicates the name of a traffic classifier. This parameter is mandatory.

      Relationship between rules

      Indicates the relationship between rules, which can be AND or OR. By default, the value is AND.

    3. Set parameters.
    4. Click OK.
  • Modify Traffic Classifier
    1. Choose QoS > Traffic Management > Traffic Classifier in the navigation tree to open the Traffic Classifier page.
    2. Click to open the Modify Traffic Classifier page, as shown in Figure 2-163.

      Figure 2-163  Modify Traffic Classifier

      NOTE:
      • Table 2-95 describes the parameters on the Modify Traffic Classifier page.
      • The traffic classifier name cannot be modified.

    3. Set parameters.
    4. Click OK.
  • Delete a traffic classifier.
    1. Choose QoS > Traffic Management > Traffic Classifier in the navigation tree to open the Traffic Classifier page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.

      NOTE:
      When you delete a traffic classifier, the matching rule in the traffic classifier is also deleted.

    3. Click OK.
  • Add rules to the traffic classifier.
    1. Choose QoS > Traffic Management > Traffic Classifier in the navigation tree to open the Traffic Classifier page.
    2. Select the traffic classifier in which rules need to be added and click Create to open the Add Rules of Classifier page, as shown in Figure 2-164.

      Figure 2-164  Add Rules of Classifier

      Table 2-96 describes the parameters on the Add Rules of Classifier page.

      Table 2-96  Add Rules of Classifier

      Parameter

      Description

      Traffic classifier name

      Indicates the name of a traffic classifier, which is set by the user.

      Relationship between rules

      Indicates the relationship between rules, which is set by the user.

      Match all packets

      Indicates that all the packets are matched.

      Match discarded packets

      Indicates that discarded packets are matched.

      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, and S5720S-SI switches do not support this parameter.

      Match L2 protocol

      Indicates the matching rule based on the Layer 3 protocol type (Layer 2 encapsulated protocol fields), including:
      • arp

        Indicates the ARP protocol.

      • ip

        Indicates the IP protocol.

      • mpls

        Indicates the MPLS protocol.

      • rarp

        Indicates the RARP protocol.

      Match IP protocol

      Indicates the matching IP protocol, which can be IPv4 or IPv6.

      Match Priority

      DSCP

      Indicates the matching rule based on DSCP priorities.

      IP priority

      Indicates the value of the IP precedence.

      When the relationship between rules in the traffic classifier is OR, you can configure up to eight IP precedences in a traffic classifier. If packets match one IP precedence, they match the traffic classifier. When the relationship between rules in the traffic classifier is And, if you configure multiple IP precedences, only the first IP precedence takes effect.

      VLAN 8021.p

      Indicates the matching rule based on 802.1p priorities of VLAN packets.

      Inner VLAN 802.1p

      Indicates the matching rule based on 802.1p priorities in inner VLAN tags of QinQ packets.

      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, and S5720S-SI switches do not support this parameter.

      Match VLAN

      Start VLAN

      Indicates the start outer VLAN ID.

      End VLAN

      Indicates the end outer VLAN ID.

      Inner VLAN

      Indicates the inner VLAN ID.

      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, and S5720S-SI switches do not support this parameter.

      Match MAC

      Source MAC

      Indicates the matching rule based on source MAC addresses.

      The value is in the format H-H-H. Each H represents four hexadecimal digits.

      Destination MAC

      Indicates the matching rule based on destination MAC addresses.

      The value is in the format H-H-H. Each H represents four hexadecimal digits.

      Mask

      Indicates the mask of the MAC address.

      The value is in the format H-H-H. Each H represents four hexadecimal digits. If this parameter is not specified, the default value is FFFF-FFFF-FFFF. That is, all the MAC addresses are matched.

      Match Interface

      Outgoing

      Indicates the matching rule based on outbound interfaces, for example, GigabitEthernet0/0/1.
      NOTE:
      • This matching rule takes effect for only unicast packets.
      • The outbound interface for classifying traffic must be different from the inbound interface where the traffic policy is applied; otherwise, the traffic policy cannot be used.
      • The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, and S5720S-SI switches do not support this parameter.

      Incoming

      Indicates the matching rule based on inbound interfaces, for example, GigabitEthernet0/0/1.

      Match ACL

      ACL IPv4

      Indicates the matching rule based on IPv4 ACLs. Click Select ACL to select ACLs. You can select multiple ACLs.

      ACL IPv6

      Indicates the matching rule based on IPv6 ACLs. Click Select ACL to select ACLs. You can select multiple ACLs.

      NOTE:

      The sequence of matching rules in a traffic classifier affects the flow matching sequence.

      For example, if the matching rules based on 802.1p priorities of VLAN packets and inner VLAN tags are set, the system first matches flows with 802.1p priorities of VLAN packets and then inner VLAN tags. If multiple matching rules are configured, the system matches flows according to the matching rules one by one.

    3. Set parameters.
    4. Click OK.
  • Delete rules.
    1. Choose QoS > Traffic Management > Traffic Classifier in the navigation tree to open the Traffic Classifier page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
    3. Click OK.

Traffic Behavior

A traffic behavior contains actions of traffic policing, re-marking, redirection, and traffic statistics. You can configure the traffic behavior as required.

Context

The switch supports traffic behaviors of traffic policing, re-marking, redirection, and traffic statistics.

Procedure

  • Create a traffic behavior.
    1. Choose QoS > Traffic Management > Traffic Behavior in the navigation tree to access the Traffic Behavior page.
    2. Click Create to access the Create Traffic Behavior page, as shown in Figure 2-165.

      Figure 2-165  Create Traffic Behavior

      Table 2-97 describes the parameters on the Create Traffic Behavior page.

      Table 2-97  Create Traffic Behavior

      Parameter

      Description

      Traffic behavior name

      Indicates the name of a traffic behavior. This parameter is mandatory.

      Action

      Indicates the traffic action used to control packets. The action can be deny, permit or none. By default, the action is none.

      Traffic statistics

      Indicates whether to enable the traffic statistics. The value can be Enabled or Disabled. By default, the value is Disabled.

      Configure Traffic Policing

      CIR

      Indicates the CIR, which is the allowed rate at which traffic can pass through.

      PIR

      Indicates the PIR, which is the peak rate at which traffic can pass through.

      NOTE:
      The value of PIR cannot be smaller than the value of CIR. By default, the value of PIR is equal to the value of the CIR.

      CBS

      Specifies the committed burst size (CBS), which is the average volume of burst traffic that can pass through an interface.

      PBS

      Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through an interface.

      The default value of PBS is related to the value of PIR.

      Green packets

      Green packets

      Indicates whether green packets are allowed to pass through. The action can be Pass or Discard. By default, the action is Pass.

      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, and S5720S-SI switches do not support modifying the action of green packets.

      Re-mark 8021P priority

      Indicates the re-marked 802.1p priority.
      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, S5720S-SI, and S5720HI switches do not support this parameter.

      Re-mark DSCP priority

      Indicates Re-mark DSCP Priority.
      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, S5720S-SI, and S5720HI switches do not support this parameter.

      Yellow packets

      Yellow packets

      Indicates whether yellow packets are allowed to pass through. The action can be Pass or Discard. By default, the action is Pass.

      Re-mark 8021P priority

      Indicates the re-marked 802.1p priority.

      NOTE:

      The S5720HI switch does not support this parameter.

      Re-mark DSCP priority

      Indicates Re-mark DSCP Priority.

      NOTE:

      The S5720HI switch does not support this parameter.

      Red packets

      Red packets

      Indicates whether red packets are allowed to pass through. The action can be Pass or Discard. By default, the action is Discard.

      Re-mark 8021P priority

      Indicates the re-marked 802.1p priority.

      NOTE:

      The S5720HI switch does not support this parameter.

      Re-mark DSCP priority

      Indicates Re-mark DSCP Priority.

      NOTE:

      The S5720HI switch does not support this parameter.

      Configure Re-mark Action

      802.1p priority

      Indicates the 802.1p priority.

      Local priority

      Indicates the local priority.

      NOTE:

      You cannot set both the 802.1p priority and the local priority for re-mark in a traffic behavior.

      DSCP priority

      Indicates the DSCP priority.

      Destination MAC

      Indicates the destination MAC address.

      The value is in the format H-H-H. Each H represents four hexadecimal digits.

      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, S5720S-SI, and S5720HI switches do not support this parameter.

      VLAN ID

      Indicates the VLAN ID.

      Inner VLAN

      Indicates the inner VLAN ID.

      Configure Redirection Action

      Redirect to interface

      Indicates the interface where packets are redirected, for example, GigabitEthernet0/0/1.

      Redirect to next hop IP

      Indicates the next hop address where packets are redirected, for example, 10.10.10.1.
      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, and S5710-X-LI switches do not support this parameter.

      You cannot configure both the next hop address where packets are redirected and the re-marked destination MAC address.

      CPU

      Indicates that packets are redirected to the CPU.

      NOTE:

      The S1720GFR, S2720, S2750, S5700LI, S5700S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5720SI, S5720S-SI switches do not support this parameter.

    3. Set parameters.

      NOTE:

      To delete configuration of an item, deselect the check box of the item.

    4. Click OK.
  • Modify a traffic behavior.
    1. Choose QoS > Traffic Management > Traffic Behavior in the navigation tree to access the Traffic Behavior page.
    2. Click to open the Modify Traffic Behavior page, as shown in Figure 2-166.

      Figure 2-166  Modify Traffic Behavior

      NOTE:

      The traffic classifier name cannot be modified.

    3. Set parameters.
    4. Click OK.
  • Delete a traffic behavior.
    1. Choose QoS > Traffic Management > Traffic Behavior in the navigation tree to access the Traffic Behavior page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
    3. Click OK.

Traffic Policy

A traffic policy is a QoS policy in which traffic classifiers are bound to traffic behaviors.

Procedure

  • Create a traffic policy.
    1. Choose QoS > Traffic Management > Traffic Policy in the navigation tree to open the Traffic Policy page.
    2. Click Create to open the Create Traffic Policy page, as shown in Figure 2-167.

      Figure 2-167  Create Traffic Policy

      Table 2-98 describes the parameters on the Create Traffic Policy page.

      Table 2-98  Create Traffic Policy

      Parameter

      Description

      Traffic policy name

      Indicates the name of a traffic policy. This parameter is mandatory.

      Traffic classifier name

      Indicates the name of a traffic classifier.
      NOTE:

      In a traffic policy, you can configure multiple binding relationships between traffic classifiers and traffic behaviors and each traffic classifier can be bound to only one traffic behavior.

      Traffic behavior name

      Indicates the name of a traffic behavior.
      NOTE:

      In a traffic policy, you can configure multiple binding relationships between traffic classifiers and traffic behaviors and each traffic classifier can be bound to only one traffic behavior.

    3. Set parameters.
    4. Click OK.
  • Modify a traffic policy.
    1. Choose QoS > Traffic Management > Traffic Policy in the navigation tree to open the Traffic Policy page.
    2. Click to open the Modify Traffic Policy page, as shown in Figure 2-168.

      Figure 2-168  Modify Traffic Policy

      NOTE:
      • Table 2-98 describes the parameters on the Modify Traffic Policy page.
      • The traffic policy name cannot be modified.

    3. Set parameters.
    4. Click OK.
  • Delete a traffic policy.
    1. Choose QoS > Traffic Management > Traffic Policy in the navigation tree to open the Traffic Policy page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.

      NOTE:
      • To select a record, click the check box of the record.
      • To delete records in batches, click the check boxes of the records.

    3. Click OK.

Apply Traffic Policy

A traffic policy takes effect only after being applied.

Context

A traffic policy can be used on an interface, a VLANIF interface, globally, or in a VLAN so that traffic classifiers bound to traffic behaviors in the traffic policy are used on the interface, on the VLANIF interface, globally, or in the VLAN.

Procedure

  • Query information about the traffic policy application.
    1. Choose QoS > Traffic Management > Apply Traffic Policy in the navigation tree to open the Apply Traffic Policy page.
    2. Set the search criteria.
    3. Click Query to display all matching records.
  • Add a traffic policy application.
    1. Choose QoS > Traffic Management > Apply Traffic Policy in the navigation tree to open the Apply Traffic Policy page.
    2. Click Create to open the Add Traffic Policy Application page, as shown in Figure 2-169.

      Figure 2-169  Add Traffic Policy Application-Interface

      Figure 2-170  Add Traffic Policy Application-VLAN

      Figure 2-171  Add Traffic Policy Application-Global

      Figure 2-172  Add Traffic Policy Application-VLANIF
      NOTE:

      Traffic policies can be applied to VLANIF interfaces only on the S5720EI, S5720HI, S6720EI, and S6720S-EI.

      Table 2-99 describes the parameters on the Add Traffic Policy Application page.

      Table 2-99  Add Traffic Policy Application

      Parameter

      Description

      Target

      Indicates the name of the configured traffic policy. The value can be interface, VLAN, global, or VLANIF.
      • If the traffic policy is applied to an interface, you need to select an interface on the displayed page, as shown in Figure 2-169.
      • If the traffic policy is applied to a VLAN, you need to enter the VLAN ID on the displayed page, as shown in Figure 2-170.
      • If the traffic policy is applied globally, the page for global application of the traffic policy is displayed, as shown in Figure 2-171.
      • To apply the traffic policy to a VLANIF interface, enter the VLAN ID, as shown in Figure 2-172.

      Inbound Direction

      Indicates the inbound direction.

      Outbound Direction

      Indicates the outbound direction.

      Select Interface

      Indicates the interface where the traffic policy is applied.

    3. Set parameters.
    4. Click OK.
  • Delete a traffic policy application.
    1. Choose QoS > Traffic Management > Apply Traffic Policy in the navigation tree to open the Apply Traffic Policy page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.

      NOTE:
      • Click the check box of the selected record.
      • You can also move records to the recycle bin in batches. That is, click the check boxes of the records.

    3. Click OK.
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000114003

Views: 50528

Downloads: 1059

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next