Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
Chapter 5 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
5-12
5.1.15 if-match community
Syntax
if-match community
{
basic-community-number
[
whole-match
] |
adv-community-number
}
undo if-match community
View
Route policy view
Parameter
basic-community-list-number:
Basic community list number, ranging from 1 to 99.
adv-community-list-number:
Advanced community list number, ranging from 100 to
199.
whole-match
: Fully matching.
Description
Using
if-match community
command, you can match the community attribute of the
BGP information. Using
undo if-match community
command, you can cancel the
match of the community attribute.
This if-match sub-statement of route-policy is used to filter BGP routing information.
The match condition is specified according to the community attributes of the routing
information.
For the related commands, see
route-policy
,
ip community-list
.
Example
# A community-list numbered as 1 is defined first, allowing the autonomous system
number to contain the routing information of 100 and 200. Then, the route-policy
named test is defined. The node No.10 of the route-policy defines a if-match
sub-statement, which quotes the definition of the community-list.
[Quidway] ip community-list 1 permit 100:200
[Quidway] route-policy test permit node 10
[Quidway-route-policy] if-match community 1
5.1.16 if-match cost
Syntax
if-match cost value
undo if-match cost
Содержание Quidway S3526
Страница 8: ...Huawei Technologies Proprietary Note Comment Tip Knowhow Thought Means a complementary description ...
Страница 36: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Port ...
Страница 66: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual VLAN ...
Страница 95: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Network Protocol ...
Страница 192: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Routing Protocol ...
Страница 350: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Multicast ...
Страница 399: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual QoS ACL ...
Страница 518: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Integrated Management ...
Страница 556: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual STP ...
Страница 598: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Security ...
Страница 688: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Reliability ...
Страница 699: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual System Management ...
Страница 839: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Auto Detecting ...
Страница 851: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Appendix ...