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

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

Advertisement

2.
Enable OSPF (see
3.
Configure route redistribution:
# Configure Switch D to redistribute static routes.
<SwitchD> system-view
[SwitchD] ip route-static 3.1.2.1 24 10.5.1.2
[SwitchD] ospf
[SwitchD-ospf-1] import-route static
[SwitchD-ospf-1] quit
# Display ABR/ASBR information on Switch C.
<SwitchC> display ospf abr-asbr
OSPF Process 1 with Router ID 10.4.1.1
Type
Destination
Intra
10.2.1.1
Inter
10.5.1.1
# Display OSPF routing table on Switch C.
<SwitchC> display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing for Network
Destination
10.2.1.0/24
10.3.1.0/24
10.4.1.0/24
10.5.1.0/24
10.1.1.0/24
Routing for ASEs
Destination
3.1.2.0/24
Total Nets: 6
Intra Area: 2
Because Switch C resides in a normal OSPF area, its routing table contains an AS external route.
4.
Configure Area 1 as a stub area:
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ospf
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] stub
[SwitchA-ospf-1-area-0.0.0.1] quit
[SwitchA-ospf-1] quit
# Configure Switch C.
"Basic OSPF configuration
Routing Table to ABR and ASBR
Area
0.0.0.1
0.0.0.1
Routing Tables
Cost
Type
3
Transit 10.2.1.2
7
Inter
3
Stub
17
Inter
5
Inter
Cost
Type
1
Type2
Inter Area: 3
ASE: 1
105
example").
Cost
Nexthop
3
10.2.1.1
7
10.2.1.1
NextHop
AdvRouter
10.2.1.1
10.2.1.1
10.2.1.1
10.4.1.1
10.4.1.1
10.2.1.1
10.2.1.1
10.2.1.1
10.2.1.1
Tag
NextHop
1
10.2.1.1
NSSA: 0
RtType
ABR
ASBR
Area
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
AdvRouter
10.5.1.1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents