EasyManua.ls Logo

H3C S7500E Series

H3C S7500E Series
1565 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands
6-17
Description
Use the if-match interface command to specify interface(s) for matching against the
outbound interfaces of routing information.
Use the undo if-match interface command to remove the match criterion.
The match criterion is not configured by default.
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
# Create a routing policy named policy1 with node 10, matching mode as permit. Define
an if-match clause to permit the 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
6.1.22 if-match route-type
Syntax
if-match route-type { internal | external-type1 | external-type2 | external-type1or2 |
is-is-level-1 | is-is-level-2 | nssa-external-type1 | nssa-external-type2 |
nssa-external-type1or2 } *
undo if-match route-type [ internal | external-type1 | external-type2 |
external-type1or2 | is-is-level-1 | is-is-level-2 | nssa-external-type1 |
nssa-external-type2 | nssa-external-type1or2 ] *
View
Routing policy view
Parameters
internal: Internal routes (OSPF intra-area and inter-area routes).
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.
nssa-external-type1: OSPF NSSA Type 1 external routes.
nssa-external-type2: OSPF NSSA Type 2 external routes.

Table of Contents

Other manuals for H3C S7500E Series

Related product manuals