H3C S6550X-HI Series Command Reference Manual page 2075

Table of Contents

Advertisement

Related commands
apply extcommunity
ip extcommunity-list
if-match interface
Use
if-match interface
Use
undo if-match interface
Syntax
if-match interface { interface-type interface-number }&<1-16>
undo if-match interface [ interface-type interface-number ]&<1-16>
Default
No output interface match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
interface-type interface-number
: Indicates that you can specify a maximum of 16 interfaces.
&<1-16>
Usage guidelines
BGP does not support criteria for matching the output interfaces of routes.
Examples
# Configure node 10 in permit mode for routing policy policy1 to permit routes with the output
interface VLAN-interface 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match interface vlan-interface 1
if-match local-preference
Use
if-match local-preference
preference.
Use
undo if-match local-preference
Syntax
if-match local-preference preference
undo if-match local-preference
Default
No local preference match criterion is configured.
Views
Routing policy node view
to match routes that have the specified output interfaces.
to remove the specified output interface match criterion.
: Specifies an interface by its type and number.
to match BGP routes that have the specified local
to restore the default.
23

Advertisement

Table of Contents
loading

Table of Contents