If-Match Cost; If-Match Extcommunity - 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

Examples

if-match cost

Syntax
View
Parameters
Description
Related commands:
Examples

if-match extcommunity

Syntax
View
Parameters
# Define community-list 1, allowing routing information with community number
100 or 200 to pass. Then define a routing policy named test, whose node 10 is
defined with an if-match clause to reference the community-list for matching.
<Sysname> system-view
[Sysname] ip community-list 1 permit 100 200
[Sysname] route-policy test permit node 10
[Sysname-route-policy] if-match community 1
if-match cost value
undo if-match cost
Routing policy view
cost: Specifies the cost to match, ranging from 0 to 4294967295.
Use the
if-match cost
of a route.
Use the
undo if-match cost
The match criterion is not configured by default.
This command is one of the if-match clauses of routing policy, used for matching
routes with the specified route cost.
if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop,
if-match tag, route-policy, apply ip-address next-hop, apply cost, apply
local-preference, apply origin and apply tag.
# Create routing policy policy1 with node 10, matching mode as permit. Define
an if-match clause to permit routing information with a cost of 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match cost 8
if-match extcommunity ext-comm-list-number&<1-16>
undo if-match extcommunity [ ext-comm-list-number&<1-16> ]
Routing policy view
ext-comm-list-number: Extended community list number, in the range of 1 to 199.
command to specify a cost for matching against the cost
command to remove the match criterion.
1199

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