Edge-Core ECS4660-28F Management Manual page 1902

Layer 3
Hide thumbs Also See for ECS4660-28F:
Table of Contents

Advertisement

| IP Routing Commands
C
51
HAPTER
Policy-based Routing for BGP
match as-path
match community
E
XAMPLE
Console(config)#route-map RD permit 1
Console(config-route-map)#description AS-Path rule
Console(config-route-map)#match as-path 60
Console(config-route-map)#set weight 30
Console(config-route-map)#
This command sets a BGP autonomous system path access list to match.
Use the no form to remove this entry from a route map.
S
YNTAX
[no] match as-path access-list-name
access-list-name – Name of the access list. (Maximum length:
16 characters, no spaces or other special characters)
C
M
OMMAND
ODE
Route Map
C
U
OMMAND
SAGE
The weights assigned by the match as-path and
commands command override the weight assigned using the BGP
weight
command.
E
XAMPLE
Console(config)#route-map RD permit 1
Console(config-route-map)#match as-path 60
Console(config-route-map)#set weight 30
Console(config-route-map)#
R
C
ELATED
OMMANDS
ip as-path access-list (1833)
This command sets a BGP community access list to match. Use the no
form to remove this entry from a route map.
S
YNTAX
match community {1-99 | 100-500 | community-list-name}
[exact-match]
no match community
1-99 – Standard community list number that identifies one or more
groups of communities.
100-500 – Expanded community list number that identifies one or
more groups of communities.
– 1902 –
set weight
route-map
neighbor

Advertisement

Table of Contents
loading

Table of Contents