3Com MSR 50 Series Configuration Manual page 966

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

966
C
58: OSPF C
HAPTER
n
ONFIGURATION
<RouterA> system-view
[RouterA] ospf 1 router-id 1.1.1.1
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255
[RouterA-ospf-1-area-0.0.0.0] quit
[RouterA-ospf-1] area 1
[RouterA-ospf-1-area-0.0.0.1] network 192.168.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.1] quit
# Configure RouterB
<RouterB> system-view
[RouterB] ospf 1 router-id 2.2.2.2
[RouterB-ospf-1] area 1
[RouterB-ospf-1-area-0.0.0.1] network 192.168.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.1] quit
[RouterB-ospf-1] area 2
[RouterB-ospf-1-area-0.0.0.2] network 172.16.0.0 0.0.255.255
[RouterB-ospf-1-area-0.0.0.2] quit
# Display OSPF routing information on RouterA.
[RouterA] display ospf routing
OSPF Process 1 with Router ID 1.1.1.1
Routing for Network
Destination
10.0.0.0/8
192.168.1.0/24
Total Nets: 2
Intra Area: 2
Since Area 2 has no direct connection to Area 0, the OSPF routing table of Router
A has no route to Area 2.
3 Configure a virtual link
# Configure Router A.
[RouterA] ospf
[RouterA-ospf-1] area 1
[RouterA-ospf-1-area-0.0.0.1] vlink-peer 2.2.2.2
[RouterA-ospf-1-area-0.0.0.1] quit
[RouterA-ospf-1] quit
# Configure Router B.
[RouterB] ospf 1
[RouterB-ospf-1] area 1
[RouterB-ospf-1-area-0.0.0.1] vlink-peer 1.1.1.1
[RouterB-ospf-1-area-0.0.0.1] quit
# Display OSPF routing information on Router A
[RouterA] display ospf routing
OSPF Process 1 with Router ID 1.1.1.1
Routing Tables
Cost
type
NextHop
1
Stub
10.1.1.1
1562
Stub
192.168.1.1
Inter Area: 0
ASE: 0
Routing Tables
AdvRouter
1.1.1.1
1.1.1.1
NSSA: 0
Area
0.0.0.0
0.0.0.1

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents