460
CN4093 Application Guide for N/OS 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.
CN 4093(config)#
router bgp
CN 4093(config_router_bgp)#
local-preference <0-4294967294>
CN 4093(config_router_bgp)#
exit
CN 4093(config)#
route-map 1
CN 4093(config_route_map)#
local-preference <0-4294967294>
CN 4093(config_route_map)#
enabled
CN 4093(config_router_map)#
exit
CN 4093(config)#
router bgp
CN 4093(config_router_bgp)#
neighbor {
<number>/group
<number>
}
route-map
{
<in/out>
<1
‐
255>
}
Содержание Flex System Fabric CN4093
Страница 27: ... Copyright Lenovo 2017 27 Part 1 Getting Started ...
Страница 28: ...28 CN4093 Application Guide for N OS 8 4 ...
Страница 58: ...58 CN4093 Application Guide for N OS 8 4 ...
Страница 72: ...72 CN4093 Application Guide for N OS 8 4 ...
Страница 85: ... Copyright Lenovo 2017 85 Part 2 Securing the Switch ...
Страница 86: ...86 CN4093 Application Guide for N OS 8 4 ...
Страница 98: ...98 CN4093 Application Guide for N OS 8 4 ...
Страница 112: ...112 CN4093 Application Guide for N OS 8 4 ...
Страница 136: ...136 CN4093 Application Guide for N OS 8 4 ...
Страница 156: ...156 CN4093 Application Guide for N OS 8 4 ...
Страница 192: ...192 CN4093 Application Guide for N OS 8 4 ...
Страница 228: ...228 CN4093 Application Guide for N OS 8 4 ...
Страница 229: ... Copyright Lenovo 2017 229 Part 4 Advanced Switching Features ...
Страница 230: ...230 CN4093 Application Guide for N OS 8 4 ...
Страница 298: ...298 CN4093 Application Guide for N OS 8 4 ...
Страница 382: ...382 CN4093 Application Guide for N OS 8 4 ...
Страница 392: ...392 CN4093 Application Guide for N OS 8 4 ...
Страница 416: ...416 CN4093 Application Guide for N OS 8 4 ...
Страница 452: ...452 CN4093 Application Guide for N OS 8 4 ...
Страница 466: ...466 CN4093 Application Guide for N OS 8 4 ...
Страница 496: ...496 CN4093 Application Guide for N OS 8 4 ...
Страница 508: ...508 CN4093 Application Guide for N OS 8 4 ...
Страница 510: ...510 CN4093 Application Guide for N OS 8 4 ...
Страница 514: ...514 CN4093 Application Guide for N OS 8 4 ...
Страница 538: ...538 CN4093 Application Guide for N OS 8 4 ...
Страница 539: ... Copyright Lenovo 2017 539 Part 7 Network Management ...
Страница 540: ...540 CN4093 Application Guide for N OS 8 4 ...
Страница 554: ...554 CN4093 Application Guide for N OS 8 4 ...
Страница 576: ...576 CN4093 Application Guide for N OS 8 4 ...
Страница 596: ...596 CN4093 Application Guide for N OS 8 4 ...
Страница 604: ...604 CN4093 Application Guide for N OS 8 4 ...
Страница 609: ... Copyright Lenovo 2017 609 Part 9 Appendices ...
Страница 610: ...610 CN4093 Application Guide for N OS 8 4 ...
Страница 626: ...626 CN4093 Application Guide for N OS 8 4 ...
Страница 633: ......
Страница 634: ...Part Number 00MY375 Printed in USA IP P N 00MY375 ...