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

Configuration Guide - IP Unicast Routing

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.
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).
(Optional) Configuring apply Clauses

(Optional) Configuring apply Clauses

Context

An apply clause specifies the action of setting attributes for routes that have matched a routing policy node. If a node does not have an apply clause configured, the node will only filter routes. If one or more apply clauses are configured in a node, all the apply clauses are applied to routes that match the node.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run route-policy route-policy-name { permit | deny } node node

    The routing policy view is displayed.

  3. According to network requirements, configure apply clauses for the routing policy.

    • Run apply as-path { { as-number-plain | as-number-dot } &<1-10> { additive | overwrite | delete } | none overwrite }

      An apply clause is configured to set the AS_Path attribute of BGP routes.

    • Run apply comm-filter { basic-comm-filter-number | adv-comm-filter-number | comm-filter-name } delete

      An apply clause is configured to delete the specified community attribute of BGP routes.

      NOTE:

      To delete several community attributes, you can run the ip community-filter command several times to configure these community attributes in a community filter one by one, and then apply a routing policy with the apply comm-filter delete command configured to delete all community attributes in the community filter.

    • Run apply community none

      An apply clause is configured to delete all community attributes of BGP routes.

    • Run apply community { community-number | aa:nn | internet | no-advertise | no-export | no-export-subconfed } &<1-32> [ additive ]

      An apply clause is configured to set the community attributes of BGP routes.

    • Run apply cost { [ apply-type ] cost | inherit }

      An apply clause is configured to set the route cost.

    • Run apply cost-type { external | internal | type-1 | type-2 | internal-inc-ibgp | med-plus-igp }

      An apply clause is configured to set the cost type of routes.

    • Run apply dampening half-life-reach reuse suppress ceiling

      An apply clause is configured to set the dampening parameters of EBGP routes.

    • Run apply extcommunity { rt { as-number:nn | ipv4-address:nn } } &<1-16> [ additive ]

      An apply clause is configured to set the RT extended community attributes of BGP routes.

    • Run apply extcommunity soo { source-of-origin } &<1-16> additive

      An apply clause is configured to set the SoO extended community attributes of BGP routes.

    • Run apply ip-address next-hop { ipv4-address | peer-address }

      An apply clause is configured to set the next-hop address of IPv4 routes.

    • Run apply isis { level-1 | level-1-2 | level-2 }

      An apply clause is configured to set the IS-IS route level.

    • Run apply local-preference [ + | - ] preference

      An apply clause is configured to set the local preference of BGP routes.

    • Run apply mpls-lablel

      An apply clause is configured to set the MPLS label.

    • Run apply origin { egp { as-number-plain | as-number-dot } | igp | incomplete }

      An apply clause is configured to set the origin attribute of BGP routes.

    • Run apply ospf { backbone | stub-area }

      An apply clause is configured to import routes to the specified OSPF area.

    • Run apply preference preference

      An apply clause is configured to set the route preference.

    • Run apply preferred-value preferred-value

      An apply clause is configured to set the preferred value of BGP routes.

    • Run apply tag tag

      An apply clause is configured to set the route tag.

    • Run apply gateway-ip { origin-nexthop | ip-address }

      A gateway IP address is set for routes.

    • Run apply ipv6 gateway-ip { origin-nexthop | ipv6-address }

      A gateway IPv6 address is set for routes.

  4. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074760

Views: 50824

Downloads: 60

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