Release 1.0
Configuring Routing Policy
526360-001-00 Rev. B
MGBI
8-5
MOT
(config-rmap)#
set as-path prepend
<
1-65535
> [...<
1-65535
>]
2.
Use the
set community
command in Route Map Configuration mode to set the
BGP community attribute:
MOT
(config-rmap)#
set community
<
1-4294967295
> [...<
1-4294967295
>]
3.
Use the
set ip next-hop
command in Route Map Configuration mode to set the
next-hop attribute of a route:
MOT
(config-rmap)#
set ip next-hop
<
A.B.C.D
>
4.
Use the
set local
command in Route Map Configuration mode to set the local
preference value:
MOT
(config-rmap)#
set local
<
0-4294967295
>
5.
Use the
set metric
command in Route Map Configuration mode to set the metric:
MOT
(config-rmap)#
set metric
<
0-4294967295
>
6.
Use the
set metric-type
command in Route Map Configuration mode to set the
metric type:
MOT
(config-rmap)#
set metric-type
{
internal
|
external
|
type-1
|
type-2
}
7.
Use the
set origin
command in Route-map Configuration mode to set the BGP
origin:
MOT
(config-rmap)#
set origin
{
egp
|
igp
|
incomplete
}
8.
Use the set tag command in Route-map Configuration mode to set a tag value for
the destination protocol:
MOT
(config-rmap)#
set tag <
0-294967295
>
Example
The configuration
example below creates the route map named
locpref
, creates the
AS-path access list 1, and applies the route map to a BGP neighbor.
The route map sets the local preference for BGP updates. The route map also uses an
AS-path access list to p
ermit any update whose AS-path attribute begins and ends
with 400. This sets the local preference on updates coming from AS 400.
route-map locpref permit 10
match as-path 1
set local-preference 50
route-map locpref permit 20
ip as-path-access-list 1 permit ^400$
Содержание BSR 2000
Страница 1: ...BSR 2000 Configuration and Management Guide 526360 001 00 Rev B Release 1 0 MGBI ...
Страница 6: ... Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola ...
Страница 50: ......
Страница 130: ......
Страница 164: ......
Страница 458: ......
Страница 490: ......
Страница 580: ......
Страница 632: ......
Страница 648: ......
Страница 649: ......
Страница 650: ...526360 001 00 Rev B 7 06 MGBI Visit our website at www motorola com ...