If-Match Community - 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

1198
C
78: R
HAPTER
OUTING
Related commands:
Examples

if-match community

Syntax
View
Parameters
Description
Related commands:
P
C
C
OLICY
OMMON
ONFIGURATION
This command is one of the if-match clauses of a route policy, used for filtering
BGP routing information and specifying match criteria according to the AS path
attribute of routing information.
route-policy, ip as-path acl.
# Define as-path-acl 2, allowing routing information containing AS 200 or 300 to
pass. Define routing policy test with node 10, and set an if-match clause using the
as-path-acl for matching.
<Sysname> system-view
[Sysname] ip as-path 2 permit _*200.*300
[Sysname] route-policy test permit node 10
[Sysname-route-policy] if-match as-path 2
if-match community { basic-community-list-number [ whole-match ] |
adv-community-list-number }&<1-16>
undo if-match community [ basic-community-list-number |
adv-community-list-number ]&<1-16>
Routing policy view
basic-community-list-number: Basic community list number, in the range of 1 to
99.
adv-community-list-number: Advanced community list number, in the range of
100 to 199.
whole-match: Specifies the exact match. All and only the specified communities
must be present.
&<1-16>: Indicates the argument before it can be entered up to 16 times.
Use the
if-match community
matching against the community attribute of BGP routing information.
Use the
undo if-match community
The match criterion is not configured by default.
This command is one of the if-match clauses of route policy, used for filtering BGP
routing information and specifying match criterion according to the community
attribute of BGP routing information.
route-policy and ip community-list.
C
OMMANDS
command to specify community list(s) for
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