Ospf Gr Configuration Example - HP FlexFabric 12900E Series Configuration Manual

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

# Display the OSPF routing table on Switch B.
[SwitchB] display ospf routing
Routing for network
Destination
10.2.1.0/24
10.1.1.0/24
Total nets: 2
Intra area: 2
The output shows that Switch B does not have routes to Area 2 because Area 0 is not directly
connected 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
[SwitchC-ospf-1] quit
# Display the OSPF routing table on Switch B.
[SwitchB] display ospf routing
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.

OSPF GR configuration example

Network requirements
As shown in
Switch A, Switch B, and Switch C that belong to the same AS and the same OSPF routing
domain are GR capable.
OSPF Process 1 with Router ID 2.2.2.2
Routing Table
Cost
2
2
Inter area: 0
OSPF Process 1 with Router ID 2.2.2.2
Routing Table
Cost
2
5
2
Inter area: 1
Figure
31:
Type
NextHop
Transit 10.2.1.1
Transit 10.1.1.2
ASE: 0
NSSA: 0
Type
NextHop
Transit 10.2.1.1
Inter
10.2.1.2
Transit 10.1.1.2
ASE: 0
NSSA: 0
121
AdvRouter
Area
3.3.3.3
0.0.0.1
2.2.2.2
0.0.0.0
AdvRouter
Area
3.3.3.3
0.0.0.1
3.3.3.3
0.0.0.0
2.2.2.2
0.0.0.0

Advertisement

Table of Contents
loading

Table of Contents