3com S7906E Guide De Référence
1-16
[Sysname-route-policy] if-match extcommunity 100 150
if-match interface
Syntax
if-match interface { interface-type interface-number }&<1-16>
undo if-match interface [ interface-type interface-number ]&<1-16>
View
Route 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 the if-match interface command to specify interface(s) for matching against the outbound
interface of routing information.
Use the undo if-match interface command to remove the match criterion.
The match criterion is not configured by default.
Related commands: if-match acl, if-match ip-prefix, if-match ip next-hop, if-match cost, if-match
tag, route-policy, apply ip-address next-hop, apply cost, apply local-preference, apply origin,
apply tag.
Examples
# Configure node 10 in permit mode of route policy policy1 to permit routing information with the
outbound interface as VLAN-interface 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface vlan-interface 1
if-match mpls-label
Syntax
if-match mpls-label
undo if-match mpls-label
View
Route policy view
Default Level
2: System level