![Enterasys X-Pedition XSR Скачать руководство пользователя страница 316](http://html1.mh-extra.com/html/enterasys/x-pedition-xsr/x-pedition-xsr_cli-reference-manual_2414758316.webp)
BGP Set Commands
6-120 Configuring the Border Gateway Protocol
Mode
Route
‐
map
configuration:
XSR(config-route-map)#
Default
The
dynamically
‐
learned
metric
value.
Example
The
following
example
displays
how
the
set
metric
command
is
used
to
update
the
value
of
the
MED
value
for
BGP
routes
that
are
advertised
to
an
external
neighbor:
XSR(config)#access-list 66 permit 10.0.0.0 255.0.0.0
XSR(config)#route-map 1 permit 1
XSR(config-route-map)#match ip address 66
XSR(config-route-map)#set metric 20
XSR(config-route-map)#exit
XSR(config)#route-map 1 permit 2
XSR(config-route-map)#set metric 30
XSR(config-route-map)#exit
XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 route-map 1 out
The
set
metric
command
is
used
to
change
the
value
of
the
MED,
which
impacts
the
flow
of
inbound
traffic
into
a
multi
‐
homed
AS.
All
of
the
outbound
updates
leaving
this
router
and
matching
ACL
66
will
have
MED
value
of
20
assigned
to
them.
All
of
the
remaining
updates
will
have
the
MED
value
of
30
.
A
lower
value
of
MED
is
preferred
in
the
BGP
route
selection
process.
set origin
This
command
assigns
a
value
to
the
origin
attribute
in
the
BGP
routing
update
message
which
impacts
BGP
route
selection.
Ensure
that
a
match
clause
has
been
specified.
This
attribute
indicates
where
a
routing
update
is
derived.
BGP
prefers
routes
with
the
lowest
origin
type:
IGP
is
preferred
over
EGP
and
EGP
is
preferred
over
incomplete.
Syntax
set origin
{
igp
|
egp
|
incomplete
}
Syntax of the “no” Form
The
no
form
of
this
command
removes
BGP
origin
coding:
no set origin
{
igp
|
egp
|
incomplete
}
igp
Sets
BGP
origin
code
to
Interior
Gateway
Protocol
(IGP).
egp
Sets
BGP
origin
code
to
Exterior
Gateway
Protocol
(EGP).
incomplete
Sets
BGP
origin
code
to
unknown
.
Содержание X-Pedition XSR
Страница 1: ...X Pedition Security Router XSR CLI Reference Guide Version 7 6 P N 9033842 07...
Страница 2: ......
Страница 10: ...viii...
Страница 14: ...xii...
Страница 134: ...Bootrom Monitor Mode Commands 3 128 Configuring the XSR Platform...
Страница 278: ...VRRP Clear and Show Commands 5 202 Configuring the Internet Protocol...
Страница 352: ...IGMP Clear and Show Commands 7 104 Configuring IP Multicast...
Страница 406: ...Multilink Show Commands 8 136 Configuring the Point to Point Protocol...
Страница 436: ...Frame Relay Clear and Show Commands 9 112 Configuring Frame Relay...
Страница 460: ...Dialer Watch Commands 10 106 Configuring the Dialer Interface...