R21xx-HP FlexFabric 11900 Layer 3 IP Routing Command Reference
429
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
ext-comm-list-number&<1-32>: Specifies an extended community list by its number in the range of 1 to
199. &<1-32> indicates that the argument before it can be entered up to 32 times.
Examples
# Configure node 10 in permit mode for routing policy policy1 to match BGP routes whose extended
community attribute matches extended community lists 100 and 150.
<Sysname> system-view
[Sysname] ip extcommunity-list 100 permit rt 100:100
[Sysname] ip extcommunity-list 150 permit rt 150:150
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match extcommunity 100 150
Related commands
• apply extcommunity
• ip extcommunity-list
if-match interface
Use if-match interface to match routes having the specified output interface.
Use undo if-match interface to remove the configuration.
Syntax
if-match interface { interface-type interface-number }&<1-16>
undo if-match interface [ interface-type interface-number ]&<1-16>
Default
No match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
&<1-16>: Indicates that the argument before it can be entered up to 16 times.
Usage guidelines
BGP does not support criteria for matching against the output interface of routing information.
Examples
# Configure node 10 in permit mode for routing policy policy1 to permit routes with the output interface
VLAN-interface 1.










