Download Print this page

Optional) Configuring The Apply Clause - Huawei Quidway NetEngine80E Configuration Manual

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
l Run:
l Perform as follows to match the type of the route:
l Run:
The commands in Step 3 can be used regardless of the order. A node can have multiple or no
if-match clauses.
----End

10.3.4 (Optional) Configuring the Apply Clause

The apply clauses specify actions to set certain route attributes.
Context
Each node of a Route-Policy can comprise multiple apply clauses or no apply clause at all. The
apply clause is not used when routes need to be filtered but attributes of the routes do not need
to be set.
Perform the following steps on the router to which the Route-Policy is applied:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Issue 02 (2014-09-30)
NOTE
For the same Route-Policy node, you cannot run the if-match acl command and the if-match ip-
prefix command at the same time. This is because the latest configuration overrides the previous
configuration.
if-match ipv6 { address | next-hop | route-source } prefix-list ipv6-prefix-name
The next hop or the source address is configured to match the routes.
– Run:
if-match route-type { external-type1 | external-type1or2 | external-type2 |
internal | nssa-external-type1 | nssa-external-type1or2 | nssa-external-
type2 }
The route type, OSPF in this case, is set to match the routes.
– Run:
if-match route-type { is-is-level-1 | is-is-level-2 }
The route type, IS-IS in this case, is set to match the routes.
if-match tag tag
The tag is set to match the routes.
NOTE
l For the same node in a route-policy, the relationship between if-match clauses is "AND". The route
must meet all the matching rules before the actions defined by the apply clauses are performed. In the
if-match route-type and if-match interface commands, the relationship between the if-match clauses
is "OR". In other commands, the relationship between if-match clauses is "AND".
l If no if-match clause is specified, all the routes meet the matching rules.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 Routing Policy Configuration
1204

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e