HP 6125XLG Layer 3 - Ip Routing Configuration Manual page 126

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

<SwitchD> system-view
[SwitchD] ospf 1 router-id 4.4.4.4
[SwitchD-ospf-1] area 2
[SwitchD-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255
[SwitchD-ospf-1-area-0.0.0.2] quit
# Display the OSPF routing table on Switch B.
[SwitchB] display ospf routing
OSPF Process 1 with Router ID 2.2.2.2
Routing for Network
Destination
10.2.1.0/24
10.1.1.0/24
Total Nets: 2
Intra Area: 2
Area 0 has no direct connection to Area 2, so the routing table of Switch B has no route to Area
2.
3.
Configure a virtual link:
# Configure Switch B.
[SwitchB] ospf
[SwitchB-ospf-1] area 1
[SwitchB-ospf-1-area-0.0.0.1] vlink-peer 3.3.3.3
[SwitchB-ospf-1-area-0.0.0.1] quit
[SwitchB-ospf-1] quit
# Configure Switch C.
[SwitchC] ospf 1
[SwitchC-ospf-1] area 1
[SwitchC-ospf-1-area-0.0.0.1] vlink-peer 2.2.2.2
[SwitchC-ospf-1-area-0.0.0.1] quit
# Display the OSPF routing table on Switch B.
[SwitchB] display ospf routing
OSPF Process 1 with Router ID 2.2.2.2
Routing for Network
Destination
10.2.1.0/24
10.3.1.0/24
10.1.1.0/24
Total Nets: 3
Intra Area: 2
The output shows that Switch B has learned the route 10.3.1.0/24 to Area 2.
Routing Tables
Cost
Type
2
Transit 10.2.1.1
2
Transit 10.1.1.2
Inter Area: 0
ASE: 0
Routing Tables
Cost
Type
2
Transit 10.2.1.1
5
Inter
2
Transit 10.1.1.2
Inter Area: 1
ASE: 0
114
NextHop
AdvRouter
3.3.3.3
2.2.2.2
NSSA: 0
NextHop
AdvRouter
3.3.3.3
10.2.1.2
3.3.3.3
2.2.2.2
NSSA: 0
Area
0.0.0.1
0.0.0.0
Area
0.0.0.1
0.0.0.0
0.0.0.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents