If-Match Tag; Ip As-Path - 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

1202
C
78: R
HAPTER
OUTING
Description
Examples

if-match tag

Syntax
View
Parameters
Description
Related commands:
Examples

ip as-path

Syntax
P
C
C
OLICY
OMMON
ONFIGURATION
nssa-external-type1or2: OSPF NSSA Type 1 or 2 external routes.
Use the
if-match route-type
criterion.
Use the
undo if-match route-type
The match criterion is not configured by default.
# Create a routing policy named policy1 with node 10, matching mode as permit.
Define an if-match clause to match internal routes.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match route-type internal
if-match tag value
undo if-match tag
Routing policy view
value: Specifies a tag value, ranging from 0 to 4294967295.
Use the
if-match tag
field of the routes.
Use the
undo if-match tag
The match criterion is not configured by default.
if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop,
if-match cost, route-policy, apply ip-address next-hop, apply cost, apply
local-preference, apply origin and apply tag.
# Create a routing policy named policy1 with node 10, matching mode as permit.
Define an if-match clause to permit RIP, OSPF and IS-IS routing information with
the tag as 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8
ip as-path as-path-number { deny | permit } regular-expression
undo ip as-path as-path-number
C
OMMANDS
command to configure a route type match
command to remove the match criterion.
command to specify a tag for matching against the tag
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