if-match cost
Syntax
if-match cost value
undo if-match cost
View
Routing policy view
Default level
2: System level
Parameters
value: Cost in the range of 0 to 4294967295.
Description
Use if-match cost to match routing information having the specified cost.
Use undo if-match cost to remove the match criterion.
The match criterion is not configured by default.
Examples
# Configure node 10 in permit mode of routing policy policy1: define an if-match clause to permit routing
information with a cost of 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match cost 8
if-match extcommunity
Syntax
if-match extcommunity ext-comm-list-number&<1- 1 6>
undo if-match extcommunity [ ext-comm-list-number&<1- 1 6> ]
View
Routing policy view
Default level
2: System level
Parameters
ext-comm-list-number: Extended community list number, in the range of 1 to 199.
&<1- 1 6>: Indicates the argument before it can be entered up to 16 times.
Description
Use if-match extcommunity to specify extended community lists for matching against the extended
community attribute of BGP routing information.
Use undo if-match extcommunity to remove the match criterion.
The match criterion is not configured by default.
347