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

Table Of Contents
1057
Usage guidelines
The following matrix shows the apply 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 node 16 in permit mode of routing policy setcommunity. Set the NO_EXPORT community
attribute for BGP routes matching AS path list 8.
<Sysname> system-view
[Sysname] route-policy setcommunity permit node 16
[Sysname-route-policy] if-match as-path 8
[Sysname-route-policy] apply community no-export
Related commands
if-match community
ip community-list
apply cost
Use apply cost to set a cost for routing information.
Use undo apply cost to remove the clause configuration.
Syntax
apply cost [ + | - ] value
undo apply cost
Default
No cost is set for routing information.
Views
Routing policy view
Default command level
2: System level
Parameters
+: Increases a cost value.
-: Decreases a cost value.
value: Cost in the range of 0 to 4294967295.