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

Table Of Contents
1054
Routing policy configuration commands
The common routing policy configuration commands are applicable to both IPv4 and IPv6.
The term "router" in this document refers to both routers and routing-capable firewalls and UTM devices.
Common routing policy configuration commands
apply as-path
Use apply as-path to apply the specified AS numbers to BGP routes.
Use undo apply as-path to remove the clause configuration.
Syntax
apply as-path as-number&<1-10> [ replace ]
undo apply as-path
Default
No AS_PATH attribute is set.
Views
Routing policy view
Default command level
2: System level
Parameters
as-number&<1-10>: Specifies an autonomous system by its number, in the range of 1 to 4294967295.
&<1-10> indicates that you can enter up to 10 AS numbers.
replace: Replaces the original AS numbers.
Usage guidelines
With the replace keyword included, the apply as-path command replaces the original AS_PATH attribute
with the specified AS numbers. Without the replace keyword, this command adds the specified AS
numbers before the original AS_PATH attribute.
The following matrix shows the apply as-path 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