F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
1072
Default command level
2: System level
Parameters
basic-community-list-number: Specifies a basic community list by its number, in the range of 1 to 99.
adv-community-list-number: Specifies an advanced community list by its number, in the range of 100 to
199.
comm-list-name: Specifies a community list by its name, a string of 1 to 31 characters, which can contain
letters, numbers, and signs.
whole-match: Exactly matches the specified community lists.
&<1-16>: Indicates that the argument before it can be entered up to 16 times.
Usage guidelines
The following matrix shows the if-match community command and firewalls and UTM devices
compatibility:
Hardware Command com
p
atible
F1000-A-EI/F1000-S-EI Yes
F1000-E Yes
F5000 Yes
Firewall module Yes
U200-A Yes
U200-S No
Examples
# Configure community list 1 to permit BGP routes with community number 100 or 200, and then
configure node 10 in permit mode of routing policy test. Specify 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] if-match community 1
Related commands
ip community-list
if-match cost
Use if-match cost to match routing information having the specified cost.
Use undo if-match cost to remove the match criterion.
Syntax
if-match cost value
undo if-match cost
Default
No cost match criterion is not configured.