R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

978
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 interface
Syntax
if-match interface { interface-type interface-number }&<1-16>
undo if-match interface [ interface-type interface-number ]&<1-16>
View
Routing policy view
Default level
2: System level
Parameters
interface-type: Interface type
interface-number: Interface number
&<1-16>: Indicates the argument before it can be entered up to 16 times.
Description
Use if-match interface to specify interface(s) for matching against the outgoing interface of routing
information.
Use undo if-match interface to remove the match criterion.
The match criterion is not configured by default.
BGP does not support criteria for matching against the outgoing interface of routing information.
Examples
# Configure node 10 in permit mode of routing policy policy1 to permit routing information with the
outgoing interface as GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface gigabitethernet 0/1
if-match route-type
Syntax
if-match route-type { external-type1 | external-type1or2 | external-type2 | internal | is-is-level-1 |
is-is-level-2 | nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 } *