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

CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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).
Associating SPR with Services

Associating SPR with Services

Context

You can configure SPR service parameters, including specifying the service flows to which SPR is applied, setting link quality parameters, and binding services to detection links.

ACLs for classifying service flows have been configured before binding an ACL to a service profile of SPR.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run smart-policy-route

    An SPR is created and the SPR view is displayed.

  3. Run either of the following commands as required to creat a service profile of SPR.

    • Run service-map name

      A service profile of SPR is created and the service profile view is displayed.

      By default, no service profile is configured for SPR.

    • (Optional) Run service-map default-policy

      A default service profile of SPR is created and the default service profile view is displayed.

      By default, service profile is configured in SPR.

  4. (Optional) Run description description

    The description is configured for the service profile.

    By default, no description is configured for an SPR service profile.

    This command configures the description of a service profile, helping differentiate service profiles.

  5. Run either of the following commands as required to bind the service profile to an ACL:

    • Run match acl acl-number &<1-10>

      The service profile is bound to an IPv4 ACL.

    • Run match acl ipv6 acl6-number &<1-10>

      The service profile is bound to an IPv6 ACL.

    NOTE:

    SPR differentiates service flows by matching them against ACL rules. The number of ACLs ranges from 2000 to 3999.

    • ACLs numbered from 2000 to 2999 are basic ACLs.
    • ACLs numbered from 3000 to 3999 are advanced ACLs.
    • When permit or deny is used in the ACL rule, the system selects routes for the packets matching the ACL rule according to link quality.
    • If packets match no ACL rule, the system searches routes for the packets according to the destination addresses.
    • When the ACL does not contain rules, the smart policy routing referencing the ACL does not take effect, and the system searches routes for the packets according to the destination addresses.
    • IPv4 and IPv6 ACLs cannot be bound to the same SPR service profile.

  6. Set thresholds of link quality indicators and CMI calculation formula based on service requirements.
    • (Optional) Run set delay threshold threshold-value

      The service delay threshold of SPR is set.

      The default service delay threshold of SPR is 5000 ms.

      The service delay threshold of SPR is the maximum service delay allowed by services on a link. If services require a short delay, this threshold needs to be set.

    • (Optional) Run set jitter threshold threshold-value

      The service jitter threshold of SPR is set.

      The default service jitter threshold of SPR is 3000 ms.

      The service jitter threshold of SPR is the maximum service jitter allowed by services on a link. If services require a low jitter, this threshold needs to be set.

    • (Optional) Run set loss threshold threshold-value

      The packet loss ratio threshold of SPR is set.

      The default packet loss rate threshold of SPR is 1000‰.

      The packet loss rate threshold of SPR is the maximum packet loss rate allowed by services on a link. If services require a low packet loss rate, this threshold needs to be set.

    • (Optional) Run set cmi threshold threshold-value

      The CMI threshold of SPR is set.

      The default CMI threshold of SPR is 0.

      If services require a low delay, jitter, and packet loss rate, this threshold needs to be set and the CMI calculation formula needs to be configured.

    • (Optional) Run cmi-method cmi-method

      The CMI calculation formula is set.

      By default, the CMI calculation formula is 9000 — [D (delay) + J (jitter) + L (packet loss rate)].

      When services have requirements for delay, jitter, and packet loss rate, set the CMI calculation formula.

  7. Run set link-group name

    The active link group is configured.

    By default, no active link group is configured for SPR.

  8. (Optional) Run set link-group name backup

    The standby link group is configured.

    By default, no standby link group is configured for SPR.

    Different services have different network quality requirements. ISPs provide networks of different quality levels and services at different costs. For example, ISP1 provides a high-quality network at a high cost, while ISP2 provides a common-quality network at a low cost. You can add ISP1 to the active link group and ISP2 to the standby link group for service A that requires a high-quality network. Service A is switched to ISP2 when the network quality of ISP1 is low. You can add ISP2 to the active link group and ISP1 to the standby link group for service B that requires a common-quality network. This plan is cost-effective, and ensures that service B is switched to ISP1 when the network quality of ISP2 is low.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 122987

Downloads: 269

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