Set As-Path - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Route Map Commands

set as-path

Use this command to add an AS path set clause to a route map entry.
When a BGP update message matches the route map entry, the device prepends the specified
Autonomous System Number (ASN) or ASNs to the update's AS path attribute.
The AS path attribute is a list of the autonomous systems through which the announcement for
the prefix has passed. As prefixes pass between autonomous systems, each autonomous
system adds its ASN to the beginning of the list. This means that the AS path attribute can be
used to make routing decisions.
Use the no parameter to remove the set clause.
Syntax
set as-path prepend <1-65535> [<1-65535>]...
no set as-path prepend [<1-65535> [<1-65535>]...]
Parameter
prepend
<1-65535>
Route-map mode
Mode
Use the set as-path command to specify an autonomous system path. By specifying the length
Usage
of the AS-Path, the device influences the best path selection by a neighbor. Use the prepend
parameter with this command to prepend an AS path string to routes increasing the AS path
length.
This command is valid for BGP update messages only.
To use entry 3 of the route map called myroute to prepend ASN 8 and 24 to the AS path of
Examples
matching update messages, use the commands:
match as-path
Related Commands
route-map
show route-map
39.20
Description
Prepends the autonomous system path.
The number to prepend to the AS path. If you specify multiple ASNs,
separate them with spaces.
awplus#
awplus(config)#
awplus(config-route-map)#
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
configure terminal
route-map myroute permit 3
set as-path prepend 8 24
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents