EasyManua.ls Logo

H3C S7500E Series

H3C S7500E Series
1565 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands
6-14
Examples
# Define as-path list 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 list
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
6.1.18 if-match community
Syntax
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>
View
Routing policy view
Parameters
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.
Description
Use the if-match community command to specify community list(s) for matching
against the community attribute of BGP routing information.
Use the undo if-match community command to remove the match criterion.
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.
Related commands: route-policy, ip community-list.

Table of Contents

Other manuals for H3C S7500E Series

Related product manuals