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>
}
Summary of Contents for Flex System Fabric CN4093
Page 27: ... Copyright Lenovo 2017 27 Part 1 Getting Started ...
Page 28: ...28 CN4093 Application Guide for N OS 8 4 ...
Page 58: ...58 CN4093 Application Guide for N OS 8 4 ...
Page 72: ...72 CN4093 Application Guide for N OS 8 4 ...
Page 85: ... Copyright Lenovo 2017 85 Part 2 Securing the Switch ...
Page 86: ...86 CN4093 Application Guide for N OS 8 4 ...
Page 98: ...98 CN4093 Application Guide for N OS 8 4 ...
Page 112: ...112 CN4093 Application Guide for N OS 8 4 ...
Page 136: ...136 CN4093 Application Guide for N OS 8 4 ...
Page 156: ...156 CN4093 Application Guide for N OS 8 4 ...
Page 192: ...192 CN4093 Application Guide for N OS 8 4 ...
Page 228: ...228 CN4093 Application Guide for N OS 8 4 ...
Page 229: ... Copyright Lenovo 2017 229 Part 4 Advanced Switching Features ...
Page 230: ...230 CN4093 Application Guide for N OS 8 4 ...
Page 298: ...298 CN4093 Application Guide for N OS 8 4 ...
Page 382: ...382 CN4093 Application Guide for N OS 8 4 ...
Page 392: ...392 CN4093 Application Guide for N OS 8 4 ...
Page 416: ...416 CN4093 Application Guide for N OS 8 4 ...
Page 452: ...452 CN4093 Application Guide for N OS 8 4 ...
Page 466: ...466 CN4093 Application Guide for N OS 8 4 ...
Page 496: ...496 CN4093 Application Guide for N OS 8 4 ...
Page 508: ...508 CN4093 Application Guide for N OS 8 4 ...
Page 510: ...510 CN4093 Application Guide for N OS 8 4 ...
Page 514: ...514 CN4093 Application Guide for N OS 8 4 ...
Page 538: ...538 CN4093 Application Guide for N OS 8 4 ...
Page 539: ... Copyright Lenovo 2017 539 Part 7 Network Management ...
Page 540: ...540 CN4093 Application Guide for N OS 8 4 ...
Page 554: ...554 CN4093 Application Guide for N OS 8 4 ...
Page 576: ...576 CN4093 Application Guide for N OS 8 4 ...
Page 596: ...596 CN4093 Application Guide for N OS 8 4 ...
Page 604: ...604 CN4093 Application Guide for N OS 8 4 ...
Page 609: ... Copyright Lenovo 2017 609 Part 9 Appendices ...
Page 610: ...610 CN4093 Application Guide for N OS 8 4 ...
Page 626: ...626 CN4093 Application Guide for N OS 8 4 ...
Page 633: ......
Page 634: ...Part Number 00MY375 Printed in USA IP P N 00MY375 ...