ROUTING POLICY COMMON

78 CONFIGURATION COMMANDS

n RoutingIPv6. policy common configuration commands are applicable to both IPv4 and

apply as-path

Syntax apply as-path as-number&<1-10> [ replace ]

undo apply as-path

View Routing policy view

Parameters as-number: Autonomous system number, in the range of 1 to 65535.

&<1-10>: Indicates you can enter as-numberup to 10 times.

replace: Replaces the original AS number.

Description Use the apply as-pathcommand to apply the specified AS numbers to BGP routes.

Use the undo apply as-pathcommand to remove the clause configuration.

No AS_PATH attribute is set by default.

With the replace keyword, using the apply as-pathcommand replaces the original AS_PATH attribute with specified AS numbers. Without the replace keyword, using this command adds the specified AS numbers before the original AS_PATH attribute.

Examples # Create routing policy policy1 with node 10, matching mode as permit. If BGP routing information matches AS-path-ACL 1, add AS number 200 before the original AS_PATH attribute.

<Sysname> system-view

[Sysname] route-policy policy1 permit node 10

[Sysname-route-policy] if-match as-path 1

[Sysname-route-policy] apply as-path 200

apply comm-list delete

Syntax apply comm-list comm-list-numberdelete

Page 1187
Image 1187
3Com MSR 50, MSR 30 manual Routing Policy Common Configuration Commands, Apply as-path, Apply comm-list delete