© Copyright Lenovo 2017
Chapter 29: Border Gateway Protocol
457
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.
CN 4093(config)#
route-map
<map
number>
(Select
a
route
map)
CN 4093(config-route-map)#
precedence
<1
‐
255>
(Specify
a
precedence)
CN 4093(config-route-map)#
exit
CN 4093(config)#
ip match-address 1
<IPv4
address>
<IPv4
subnet
mask>
CN 4093(config)#
ip match-address 1 enable
CN 4093(config)#
route-map 1
CN 4093(config-route-map)#
access-list 1 match-address 1
CN 4093(config-route-map)#
access-list 1 metric
<metric
value>
CN 4093(config-route-map)#
access-list 1 action deny
CN 4093(config-route-map)#
access-list 1 enable
Содержание 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 ...