H3C LS-5100-16P-SI-OVS-H3 Configuration page 142

Low-end ethernet switches
Table of Contents

Advertisement

Routing
H3C Low-End Ethernet Switches Configuration Examples
Total Nets: 2
Intra Area: 2
Note:
Since Area2 has no direct connection to Area0, the routing table of RouterA has no
route to Area2.
2)
Configure a virtual link
# Configure Switch A.
[SwitchA] ospf
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] vlink-peer 2.2.2.2
[SwitchA-ospf-1-area-0.0.0.1] quit
[SwitchA-ospf-1] quit
# Configure Switch B.
[SwitchB-ospf-1] area 1
[SwitchB-ospf-1-area-0.0.0.1] vlink-peer 1.1.1.1
[SwitchB-ospf-1-area-0.0.0.1] quit
# Display the OSPF routing table on Switch A.
[SwitchA]display ospf routing
Routing for Network
Destination
196.1.1.0/24
197.1.1.0/24
152.1.1.0/24
Total Nets: 3
Intra Area: 2
Switch A has learned the route 152.1.1.0/24 to Area2.
Inter Area: 0
ASE: 0
OSPF Process 1 with Router ID 1.1.1.1
Routing Tables
Cost Type NextHop
10 Stub 196.1.1.2
10 Net
197.1.1.1
20 SNet 197.1.1.1
Inter Area: 1
ASE: 0
2-8
Chapter 2 Configuration Examples
NSSA: 0
AdvRouter
1.1.1.1
2.2.2.2
2.2.2.2
NSSA: 0
Area
0.0.0.0
0.0.0.1
0.0.0.0

Advertisement

Table of Contents
loading

Table of Contents