EasyManua.ls Logo

Edge-Core AS5700-54X - Set As-Path

Edge-Core AS5700-54X
1116 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 29
| IP Routing Commands
Policy-based Routing for BGP
– 1003 –
Example
Console(config)#route-map RD permit 8
Console(config-route-map)#match pathlimit as 5
Console(config-route-map)#set aggregator 1 192.168.0.0
Console(config-route-map)#
set as-path This command modifies the AS path by prepending or excluding an AS number.
Use the no form to remove this entry from a route map.
Syntax
set as-path {exclude | prepend} as-number...
no set as-path {exclude | prepend}
exclude – Removes one or more autonomous system numbers from the AS
path of the route that is matched.
prepend – Appends one or more autonomous system numbers to the AS
path of the route that is matched.
as-number – Autonomous system number. (Range: 1-4294967295)
Command Mode
Route Map
Command Usage
Note that best path selection may be influenced with this command by varying the
length of the autonomous system path.
Example
Console(config)#route-map RD permit 8
Console(config-route-map)#match peer 192.168.0.99
Console(config-route-map)#set as-path prepend 2
Console(config-route-map)#
set atomic-aggregate This command indicates the loss of some information in the route aggregation
process. Use the no form to remove this entry from a route map.
Syntax
[no] set atomic-aggregate
Command Mode
Route Map
Command Usage
The purpose of the atomic-aggregate attribute is to alert BGP speakers along the
path that some information have been lost due to the route aggregation process

Table of Contents

Related product manuals