Set As-Path - Edge-Core AS6700-32X Cli Reference Manual

10g/40g top-of-rack switches
Hide thumbs Also See for AS6700-32X:
Table of Contents

Advertisement

set as-path

set atomic-aggregate
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)#
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)#
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
– 1003 –
Chapter 29
| IP Routing Commands
Policy-based Routing for BGP

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

As5700-54x

Table of Contents