Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration
Huawei Technologies Proprietary
6-5
Operation Command
Cancel the tag domain of the matched
OSPF routing information
undo if-match tag
By default, no matching will be performed.
But please note:
z The if-match clauses for a node in the route-policy have the relationship of “AND”
for matching. That is, the route must satisfy all the clauses to match the node
before the actions specified by the apply clauses can be executed.
z If no if-match clauses are specified, all the routes will pass the filtering on the
node.
6.2.3 Defining apply clauses for a Route-policy
The apply clauses specify actions, which are the configuration commands executed
after a route satisfies the filtering conditions specified by the if-match clauses. Thereby,
some attributes of the route can be modified.
Perform the following configurations in Route policy view.
Table 6-3 Defining apply clauses
Operation Command
Add the specified AS number before the
as-path series of the BGP routing
information
apply as-path as-number-1
[ as-number-2 [ as-number-3 ... ] ]
Cancel the specified AS number added
before the as-path series of the BGP
routing information
undo apply as-path
Set the community attribute in the BGP
routing information
apply community { [ { aa:nn |
no-export-subconfed | no-advertise |
no-export ]... } | [ additive | none ]
Cancel the set community attribute in the
BGP routing information
undo apply community
Set the next-hop address of the routing
information
apply ip next-hop ip-address
Cancel the next-hop address of the
routing information
undo apply ip next-hop
Set the local preference of the BGP
routing information
apply local-preference localpref
Cancel the local preference of the BGP
routing information
undo apply local-preference
Set the routing cost of the routing
information
apply cost value