382
NE2552E Application Guide for ENOS 8.4
BGP Attributes
The
following
two
BGP
attributes
are
discussed
in
this
section:
Local
preference
and
metric
(Multi
‐
Exit
Discriminator).
Local Preference Attribute
When
there
are
multiple
paths
to
the
same
destination,
the
local
preference
attribute
indicates
the
preferred
path.
The
path
with
the
higher
preference
is
preferred
(the
default
value
of
the
local
preference
attribute
is
100).
Unlike
the
weight
attribute,
which
is
only
relevant
to
the
local
router,
the
local
preference
attribute
is
part
of
the
routing
update
and
is
exchanged
among
routers
in
the
same
AS.
The
local
preference
attribute
can
be
set
in
one
of
two
ways:
Using
the
BGP
default
local
preference
method,
affecting
the
outbound
direction
only.
Using
the
route
map
local
preference
method,
which
affects
both
inbound
and
outbound
directions.
Metric (Multi-Exit Discriminator) Attribute
This
attribute
is
a
hint
to
external
neighbors
about
the
preferred
path
into
an
AS
when
there
are
multiple
entry
points.
A
lower
metric
value
is
preferred
over
a
higher
metric
value.
The
default
value
of
the
metric
attribute
is
0.
Unlike
local
preference,
the
metric
attribute
is
exchanged
between
ASs;
however,
a
metric
attribute
that
comes
into
an
AS
does
not
leave
the
AS.
When
an
update
enters
the
AS
with
a
certain
metric
value,
that
value
is
used
for
decision
making
within
the
AS.
When
BGP
sends
that
update
to
another
AS,
the
metric
is
reset
to
0.
Unless
otherwise
specified,
the
router
compares
metric
attributes
for
paths
from
external
neighbors
that
are
in
the
same
AS.
NE2552E(config)#
router bgp
NE2552E(config_router_bgp)#
local-preference <0-4294967294>
NE2552E(config_router_bgp)#
exit
NE2552E(config)#
route-map 1
NE2552E(config_route_map)#
local-preference <0-4294967294>
NE2552E(config_route_map)#
enabled
NE2552E(config_router_map)#
exit
NE2552E(config)#
router bgp
NE2552E(config_router_bgp)#
neighbor {
<number>/group
<number>
}
route-map
{
<in/out>
<1
‐
255>
}
Summary of Contents for ThinkSystem NE2552E
Page 27: ... Copyright Lenovo 2018 27 Part 1 Getting Started ...
Page 28: ...28 NE2552E Application Guide for ENOS 8 4 ...
Page 70: ...70 NE2552E Application Guide for ENOS 8 4 ...
Page 85: ... Copyright Lenovo 2018 85 Part 2 Securing the Switch ...
Page 86: ...86 NE2552E Application Guide for ENOS 8 4 ...
Page 112: ...112 NE2552E Application Guide for ENOS 8 4 ...
Page 134: ...134 NE2552E Application Guide for ENOS 8 4 ...
Page 154: ...154 NE2552E Application Guide for ENOS 8 4 ...
Page 194: ...194 NE2552E Application Guide for ENOS 8 4 ...
Page 218: ...218 NE2552E Application Guide for ENOS 8 4 ...
Page 234: ...234 NE2552E Application Guide for ENOS 8 4 ...
Page 238: ...238 NE2552E Application Guide for ENOS 8 4 ...
Page 239: ... Copyright Lenovo 2018 239 Part 4 Advanced Switching Features ...
Page 240: ...240 NE2552E Application Guide for ENOS 8 4 ...
Page 242: ...242 NE2552E Application Guide for ENOS 8 4 ...
Page 278: ...278 NE2552E Application Guide for ENOS 8 4 ...
Page 284: ...284 NE2552E Application Guide for ENOS 8 4 ...
Page 314: ...314 NE2552E Application Guide for ENOS 8 4 ...
Page 338: ...338 NE2552E Application Guide for ENOS 8 4 ...
Page 374: ...374 NE2552E Application Guide for ENOS 8 4 ...
Page 388: ...388 NE2552E Application Guide for ENOS 8 4 ...
Page 418: ...418 NE2552E Application Guide for ENOS 8 4 ...
Page 430: ...430 NE2552E Application Guide for ENOS 8 4 ...
Page 432: ...432 NE2552E Application Guide for ENOS 8 4 ...
Page 436: ...436 NE2552E Application Guide for ENOS 8 4 ...
Page 460: ...460 NE2552E Application Guide for ENOS 8 4 ...
Page 461: ... Copyright Lenovo 2018 461 Part 7 Network Management ...
Page 462: ...462 NE2552E Application Guide for ENOS 8 4 ...
Page 476: ...476 NE2552E Application Guide for ENOS 8 4 ...
Page 498: ...498 NE2552E Application Guide for ENOS 8 4 ...
Page 520: ...520 NE2552E Application Guide for ENOS 8 4 ...
Page 534: ...534 NE2552E Application Guide for ENOS 8 4 ...
Page 536: ...536 NE2552E Application Guide for ENOS 8 4 ...
Page 544: ...544 NE2552E Application Guide for ENOS 8 4 ...
Page 549: ... Copyright Lenovo 2018 549 Part 9 Appendices ...
Page 550: ...550 NE2552E Application Guide for ENOS 8 4 ...
Page 566: ...566 NE2552E Application Guide for ENOS 8 4 ...
Page 572: ...572 NE2552E Application Guide for ENOS 8 4 ...
Page 573: ......
Page 574: ...Part Number 01KN246 Printed in USA IP P N 01KN246 ...