H3C S6550X-HI Series Command Reference Manual page 2073

Table of Contents

Advertisement

Syntax
if-match community { { basic-community-list-number | name comm-list-name }
[ whole-match ] | adv-community-list-number }&<1-32>
undo
if-match
comm-list-name } [ whole-match ] | adv-community-list-number ]&<1-32>
Default
No community list match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
basic-community-list-number
of 1 to 99.
adv-community-list-number
range of 100 to 199.
comm-list-name
characters that cannot contain only numbers.
whole-match
communities specified must be present.
: Indicates that you can specify a maximum of 32 community lists.
&<1-32>
Examples
# Configure community list 1 to permit BGP routes with community number 100 or 200. Then
configure node 10 in permit mode for routing policy test to use community list 1 to match BGP
routes.
<Sysname> system-view
[Sysname] ip community-list 1 permit 100 200
[Sysname] route-policy test permit node 10
[Sysname-route-policy-test-10] if-match community 1
Related commands
apply community
ip community-list
if-match cost
Use
if-match cost
Use
undo if-match cost
Syntax
if-match cost cost-value
undo if-match cost
Default
No cost match criterion is configured.
community
: Specifies an advanced community list by its number in the
: Specifies a community list by its name, a case-sensitive string of 1 to 63
: Exactly matches the specified community list. All of the communities and only those
to match routes that have the specified cost.
to restore the default.
[
{
basic-community-list-number
: Specifies a basic community list by its number in the range
21
|
name

Advertisement

Table of Contents
loading

Table of Contents