© 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
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 ...