Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-14
Example
# A if-match sub-statement is defined, which allows the routing information with routing
cost 8 to pass this if-match sub-statement.
[Quidway-route-policy] if-match cost 8
6.1.18 if-match interface
Syntax
if-match interface
{
interface-name
|
interface-type interface-number
}
undo if-match interface
View
Route policy view
Parameter
interface-type
: Specify interface type.
interface-number
: Specify interface number.
interface-name
: Specify interface name.
Description
Using
if-match interface
command, you can configure to match the route whose next
hop is designated interface. Using
undo if-match interface
command, you can cancel
the setting of matching condition.
By default, no if-match sub-statement is defined.
It matches the corresponding interface of route next hop when filtering route.
For the related commands, see
if-match acl
,
if-match ip-prefix
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
route-policy
,
apply ip next-hop
,
apply cost
,
apply
local-preference
,
apply origin
and
apply tag
.
Example
# Define one if-match sub-statement to match the route whose next hop interface is
Vlan-interface 1
[Quidway-route-policy] if-match interface Vlan-interface 1
6.1.19 if-match ip next-hop
Syntax
if-match ip next-hop
{
acl acl-number
|
ip-prefix
ip-prefix-name
}
undo if-match ip next-hop
[
ip-prefix
]
Содержание Quidway S6500 Series
Страница 38: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Port ...
Страница 75: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual VLAN ...
Страница 102: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Network Protocol ...
Страница 169: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Routing Protocol ...
Страница 378: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Multicast Protocol ...
Страница 436: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual QoS ACL ...
Страница 499: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual STP ...
Страница 547: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Security ...
Страница 613: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Reliability ...
Страница 630: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual System Management ...
Страница 793: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual PoE ...
Страница 818: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Appendix ...