© Copyright Lenovo 2018
Chapter 27: Border Gateway Protocol
379
Incoming and Outgoing Route Maps
You
can
have
two
types
of
route
maps:
incoming
and
outgoing.
A
BGP
peer
router
can
be
configured
to
support
up
to
eight
route
maps
in
the
incoming
route
map
list
and
outgoing
route
map
list.
If
a
route
map
is
not
configured
in
the
incoming
route
map
list,
the
router
imports
all
BGP
updates.
If
a
route
map
is
configured
in
the
incoming
route
map
list,
the
router
ignores
all
unmatched
incoming
updates.
If
you
set
the
action
to
deny
,
you
must
add
another
route
map
to
permit
all
unmatched
updates.
Route
maps
in
an
outgoing
route
map
list
behave
similar
to
route
maps
in
an
incoming
route
map
list.
If
a
route
map
is
not
configured
in
the
outgoing
route
map
list,
all
routes
are
advertised
or
permitted.
If
a
route
map
in
the
outgoing
route
map
list
is
set
to
permit
,
matched
routes
are
advertised
and
unmatched
routes
are
ignored.
Precedence
You
can
set
a
priority
to
a
route
map
by
specifying
a
precedence
value
with
the
following
commands:
The
smaller
the
value
the
higher
the
precedence.
If
two
route
maps
have
the
same
precedence
value,
the
smaller
number
has
higher
precedence.
Configuration Example
To
configure
route
maps,
you
need
to
do
the
following:
1.
Define
network
filter.
Enter
a
filter
number
from
1
to
256.
Specify
the
IPv4
address
and
subnet
mask
of
the
network
that
you
want
to
match.
Enable
the
network
filter.
You
can
distribute
up
to
256
network
filters
among
32
route
maps
each
containing
eight
access
lists.
2.
(Optional)
Define
the
criteria
for
the
access
list
and
enable
it
.
Specify
the
access
list
and
associate
the
network
filter
number
configured
in
Step
1.
NE2552E(config)#
route-map
<map
number>
(Select
a
route
map)
NE2552E(config-route-map)#
precedence
<1
‐
255>
(Specify
a
precedence)
NE2552E(config-route-map)#
exit
NE2552E(config)#
ip match-address 1
<IPv4
address>
<IPv4
subnet
mask>
NE2552E(config)#
ip match-address 1 enable
NE2552E(config)#
route-map 1
NE2552E(config-route-map)#
access-list 1 match-address 1
NE2552E(config-route-map)#
access-list 1 metric
<metric
value>
NE2552E(config-route-map)#
access-list 1 action deny
NE2552E(config-route-map)#
access-list 1 enable
Содержание ThinkSystem NE2552E
Страница 27: ... Copyright Lenovo 2018 27 Part 1 Getting Started ...
Страница 28: ...28 NE2552E Application Guide for ENOS 8 4 ...
Страница 70: ...70 NE2552E Application Guide for ENOS 8 4 ...
Страница 85: ... Copyright Lenovo 2018 85 Part 2 Securing the Switch ...
Страница 86: ...86 NE2552E Application Guide for ENOS 8 4 ...
Страница 112: ...112 NE2552E Application Guide for ENOS 8 4 ...
Страница 134: ...134 NE2552E Application Guide for ENOS 8 4 ...
Страница 154: ...154 NE2552E Application Guide for ENOS 8 4 ...
Страница 194: ...194 NE2552E Application Guide for ENOS 8 4 ...
Страница 218: ...218 NE2552E Application Guide for ENOS 8 4 ...
Страница 234: ...234 NE2552E Application Guide for ENOS 8 4 ...
Страница 238: ...238 NE2552E Application Guide for ENOS 8 4 ...
Страница 239: ... Copyright Lenovo 2018 239 Part 4 Advanced Switching Features ...
Страница 240: ...240 NE2552E Application Guide for ENOS 8 4 ...
Страница 242: ...242 NE2552E Application Guide for ENOS 8 4 ...
Страница 278: ...278 NE2552E Application Guide for ENOS 8 4 ...
Страница 284: ...284 NE2552E Application Guide for ENOS 8 4 ...
Страница 314: ...314 NE2552E Application Guide for ENOS 8 4 ...
Страница 338: ...338 NE2552E Application Guide for ENOS 8 4 ...
Страница 374: ...374 NE2552E Application Guide for ENOS 8 4 ...
Страница 388: ...388 NE2552E Application Guide for ENOS 8 4 ...
Страница 418: ...418 NE2552E Application Guide for ENOS 8 4 ...
Страница 430: ...430 NE2552E Application Guide for ENOS 8 4 ...
Страница 432: ...432 NE2552E Application Guide for ENOS 8 4 ...
Страница 436: ...436 NE2552E Application Guide for ENOS 8 4 ...
Страница 460: ...460 NE2552E Application Guide for ENOS 8 4 ...
Страница 461: ... Copyright Lenovo 2018 461 Part 7 Network Management ...
Страница 462: ...462 NE2552E Application Guide for ENOS 8 4 ...
Страница 476: ...476 NE2552E Application Guide for ENOS 8 4 ...
Страница 498: ...498 NE2552E Application Guide for ENOS 8 4 ...
Страница 520: ...520 NE2552E Application Guide for ENOS 8 4 ...
Страница 534: ...534 NE2552E Application Guide for ENOS 8 4 ...
Страница 536: ...536 NE2552E Application Guide for ENOS 8 4 ...
Страница 544: ...544 NE2552E Application Guide for ENOS 8 4 ...
Страница 549: ... Copyright Lenovo 2018 549 Part 9 Appendices ...
Страница 550: ...550 NE2552E Application Guide for ENOS 8 4 ...
Страница 566: ...566 NE2552E Application Guide for ENOS 8 4 ...
Страница 572: ...572 NE2552E Application Guide for ENOS 8 4 ...
Страница 573: ......
Страница 574: ...Part Number 01KN246 Printed in USA IP P N 01KN246 ...