F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
1074
Hardware Command com
p
atible
U200-S No
Examples
# Configure node 10 in permit mode of routing policy policy1 to match BGP routing information to
extended community lists 100 and 150.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match extcommunity 100 150
if-match interface
Use if-match interface to specify interfaces for matching against the outbound interface of routing
information.
Use undo if-match interface to remove the match criterion.
Syntax
if-match interface { interface-type interface-number }&<1-16>
undo if-match interface [ interface-type interface-number ]&<1-16>
Default
The match criterion is not configured.
Views
Routing policy view
Default command level
2: System level
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 outbound interface of routing information.
Examples
# Configure node 10 in permit mode of routing policy policy1 to permit routing information with the
outbound 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
Use if-match route-type to configure a route type match criterion.
Use undo if-match route-type to remove the match criterion.