If-Match Route-Type - H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

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.
BGP does not support criteria for matching against the outbound interface of routing
information.
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 routing 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 route-type

Syntax
if-match route-type { external-type1 | external-type2 | external-type1or2 | is-is-level-1 |
is-is-level-2
nssa-external-type1or2 } *
undo if-match route-type [ external-type1 | external-type2 | external-type1or2 |
is-is-level-1 | is-is-level-2 | internal | nssa-external-type1 | nssa-external-type2 |
nssa-external-type1or2 ] *
View
Route policy view
Default Level
2: System level
Parameters
external-type1: OSPF Type 1 external routes.
external-type2: OSPF Type 2 external routes.
external-type1or2: OSPF Type 1 or 2 external routes.
is-is-level-1: IS-IS Level-1 routes.
is-is-level-2: IS-IS Level-2 routes.
internal: Internal routes (OSPF intra-area and inter-area routes).
|
internal
|
nssa-external-type1
12-15
|
nssa-external-type2
|

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents