© Copyright Lenovo 2017
Chapter 30: OSPF
485
Example 2: Virtual Links
In
the
example
shown
in
,
area
2
is
not
physically
connected
to
the
backbone
as
is
usually
required.
Instead,
area
2
will
be
connected
to
the
backbone
via
a
virtual
link
through
area 1.
The
virtual
link
must
be
configured
at
each
endpoint.
Figure 52.
Configuring
a
Virtual
Link
Note:
OSPFv2
supports
IPv4
only.
IPv6
is
supported
in
OSPFv3
(see
).
Configuring OSPF for a Virtual Link on Switch #1
1.
Configure
IP
interfaces
on
each
network
that
will
be
attached
to
the
switch.
In
this
example,
two
IP
interfaces
are
needed:
Interface
1
for
the
backbone
network
on
10.10.7.0/24
Interface
2
for
the
transit
area
network
on
10.10.12.0/24
2.
Configure
the
router
ID.
A
router
ID
is
required
when
configuring
virtual
links.
Later,
when
configuring
the
other
end
of
the
virtual
link
on
Switch
2,
the
router
ID
specified
here
will
be
used
as
the
target
virtual
neighbor
(
nbr
)
address.
3.
Enable
OSPF.
4.
Define
the
backbone.
BladeCenter
IF 1
10.10.7.1
IF 2
10.10.12.1
IF 1
10.10.12.2
IF 1
10.10.24.1
Backbone
Transit Area
Stub Area
Application
Switch 1
Switch 2
Area 0
(0.0.0.0)
Area 1
(0.0.0.1)
Area 2
(0.0.0.2)
Virtual Link 1
10.10.12.0/24
Network
10.10.7.0/24
Network
10.10.24.0/24
Network
Router ID:
10.10.10.1
Router ID:
10.10.14.1
CN 4093(config)#
interface ip 1
CN 4093(config-ip-if)#
ip address 10.10.7.1 255.255.255.0 enable
CN 4093(config-ip-if)#
exit
CN 4093(config)#
interface ip 2
CN 4093(config-ip-if)#
ip address 10.10.12.1 255.255.255.0 enable
CN 4093(config-ip-if)#
exit
CN 4093(config)#
ip router-id 10.10.10.1
CN 4093(config)#
router ospf
CN 4093(config-router-ospf)#
enable
CN 4093(config-router-ospf)#
area 0 area-id 0.0.0.0
CN 4093(config-router-ospf)#
area 0 type transit
CN 4093(config-router-ospf)#
area 0 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 ...