Command Line Reference Guide
set as-path
Configure a filter to modify the AS path for border gateway protocol (BGP) routes.
S5000
Syntax
set as-path prepend as-number [... as-number]
Parameters
prepend
as-
number
Enter the keyword prepend and then enter up to eight AS numbers
to be inserted into the BGP path information. The range is 1 to 65535.
Defaults Not configured.
Command Modes ROUTE-MAP
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
You can prepend up to eight AS numbers to a BGP route.
This command influences best path selection in BGP by inserting a tag or AS number into the
AS_PATH attribute.
Related
Commands
match as-path – redistributes routes that match an AS-PATH attribute.
ip as-path access-list – configures an AS-PATH access list.
neighbor filter-list – configures a BGP filter based on the AS-PATH attribute.
show ip community-lists – displays configured IP Community access lists.
set automatic-tag
Configure a filter to automatically compute the tag value of the route.
S5000
Syntax
set automatic-tag
To return to the default, enter no set automatic-tag.
Defaults Not configured.
Command Modes ROUTE-MAP
Command History
Version 9.0(1.3) Introduced on the S5000.
Related
Commands
set level – specify the OSPF area for route redistribution.
set metric – specify the metric value assigned to redistributed routes.
set metric-type – specify the metric type assigned to redistributed routes.
235