If-Match Interface - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1200
C
78: R
HAPTER
OUTING
Description
Examples

if-match interface

Syntax
View
Parameters
Description
Related commands:
Examples
P
C
C
OLICY
OMMON
ONFIGURATION
&<1-16>: Indicates the argument before it can be entered up to 16 times.
Use the
if-match extcommunity
list(s) for matching against the extended community attribute of routing
information.
Use the
undo if-match extcommunity
criterion.
The match criterion is not configured by default.
# Create a routing policy named policy1 with node 10, matching mode as permit.
Match the extended community attribute of routes against 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 { interface-type interface-number }&<1-16>
undo if-match interface [ interface-type interface-number ]&<1-16>
Routing policy view
interface-type: Interface type
interface-number: Interface number
&<1-16>: Indicates the argument before it can be entered up to 16 times.
Use the
if-match interface
against the outbound interfaces of routing information.
Use the
undo if-match interface
The match criterion is not configured by default.
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.
# 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 Ethernet1/0.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface ethernet 1/0
C
OMMANDS
command to specify extended community
command to remove the match
command to specify interface(s) for matching
command to remove the match criterion.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents