© Copyright Lenovo 2017
Chapter 30: OSPF
475
Interface Cost
The
OSPF
link
‐
state
algorithm
(Dijkstra’s
algorithm)
places
each
routing
device
at
the
root
of
a
tree
and
determines
the
cumulative
cost
required
to
reach
each
destination.
Usually,
the
cost
is
inversely
proportional
to
the
bandwidth
of
the
interface.
Low
cost
indicates
high
bandwidth.
You
can
manually
enter
the
cost
for
the
output
route
with
the
following
command:
Electing the Designated Router and Backup
In
any
area
with
more
than
two
routing
devices,
a
Designated
Router
(DR)
is
elected
as
the
central
contact
for
database
exchanges
among
neighbors,
and
a
Backup
Designated
Router
(BDR)
is
elected
in
case
the
DR
fails.
DR
and
BDR
elections
are
made
through
the
hello
process.
The
election
can
be
influenced
by
assigning
a
priority
value
to
the
OSPF
interfaces
on
the
CN4093.
The
command
is
as
follows:
A
priority
value
of
255
is
the
highest,
and
1
is
the
lowest.
A
priority
value
of
0
specifies
that
the
interface
cannot
be
used
as
a
DR
or
BDR.
In
case
of
a
tie,
the
routing
device
with
the
highest
router
ID
wins.
Interfaces
configured
as
passive
do
not
participate
in
the
DR
or
BDR
election
process:
Summarizing Routes
Route
summarization
condenses
routing
information.
Without
summarization,
each
routing
device
in
an
OSPF
network
would
retain
a
route
to
every
subnet
in
the
network.
With
summarization,
routing
devices
can
reduce
some
sets
of
routes
to
a
single
advertisement,
reducing
both
the
load
on
the
routing
device
and
the
perceived
complexity
of
the
network.
The
importance
of
route
summarization
increases
with
network
size.
Summary
routes
can
be
defined
for
up
to
16
IP
address
ranges
using
the
following
command:
where
<range
number>
is
a
number
1
to
16,
<IPv4
address>
is
the
base
IP
address
for
the
range,
and
<subnet
mask>
is
the
IPv4
address
mask
for
the
range.
For
a
detailed
configuration
example,
see
.
Note:
OSPFv2
supports
IPv4
only.
IPv6
is
supported
in
OSPFv3
(see
).
CN 4093(config-ip-if)#
ip ospf cost
<cost
value
(1
‐
65535)>
CN 4093(config-ip-if)#
ip ospf priority
<priority
value
(0
‐
255)>
CN 4093(config-ip-if)#
ip ospf passive-interface
CN 4093(config-ip-if)#
exit
CN 4093(config)#
router ospf
CN 4093(config-router-ospf)#
area-range
<range
number>
address
<IP address>
<mask>
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 ...