Modifying Routing Attributes with Apply Clauses in Huawei Route-Policy
Short answer
ABCD The apply clause in a Huawei route-policy supports modifying OSPF cost type, IS-IS route level, BGP AS_Path, and general route cost.
Question
Key Takeaways
Huawei route-policy apply clauses are versatile and can manipulate specific protocol-level attributes (like OSPF/IS-IS/BGP) as well as generic metric values like cost.
Learn how to use apply clauses in Huawei route-policies to modify key routing attributes including OSPF cost types, IS-IS levels, BGP AS_Paths, and route costs.
Common mistake: Candidates may overlook that 'apply' clauses extend beyond simple filtering to active modification of complex protocol-specific attributes, leading them to select only generic options like 'Cost'.
Expert Analysis
The question asks which routing attributes can be modified using the apply clauses within a route-policy node in Huawei VRP. A route-policy is a powerful tool for manipulating routing information, and its nodes can contain multiple if-match conditions followed by one or more apply actions.
Let's evaluate each option based on Huawei VRP documentation:
A. OSPF cost type: The apply ospf cost-type command allows you to modify the cost type (e.g., Type 1 or Type 2) of an OSPF route. This is a valid application.
B. Level of IS-IS routes: The apply level command enables the modification of the IS-IS route level (Level-1, Level-2, or Level-1-2). This is also supported.
C. AS_Path attribute of BGP routes: For BGP routes, the apply as-path command can be used to append, delete, or replace entries in the AS_Path attribute. This is a standard BGP policy action.
D. Cost of routes: The apply cost command allows direct modification of the administrative cost of a route, regardless of the protocol (though it's most commonly associated with IGP metrics like OSPF or IS-IS). This is definitely supported.
Since all four options represent valid parameters that can be manipulated via apply clauses in a Huawei route-policy, the correct answer includes all of them.
Official Reference
https://support.huawei.com/enterprise/en/doc/EDOC1000114965/7a3b7c5d/route-policy
This link opens the official vendor documentation in a new tab.
Exam Strategy
When facing questions about route-policy capabilities, remember that 'apply' clauses are not limited to setting simple metrics. They often allow deep manipulation of protocol-specific headers and attributes. If an option describes a specific attribute of a major routing protocol (OSPF, IS-IS, BGP), check if there is a corresponding apply command for it; usually, Huawei supports extensive modification capabilities.
Frequently Asked Questions
Can I modify both OSPF cost and cost type in the same route-policy node?
apply cost and apply ospf cost-type together to modify different aspects of an OSPF route.Does applying these changes affect the local router's LSDB?
Community Votes
25% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
HCIP Resolutor 👍 1En Huawei VRP, la cláusula apply de un objeto route-policy permite modificar los 4 parámetros listados
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All H12-821 Questions
Access 168 questions with complete answers and detailed explanations.
View Full H12-821 Practice Test →