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

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

Advertisement

<SwitchC> system-view
[SwitchC] ospf
[SwitchC-ospf-1] area 1
[SwitchC-ospf-1-area-0.0.0.1] stub
[SwitchC-ospf-1-area-0.0.0.1] quit
[SwitchC-ospf-1] quit
# Display OSPF routing information on Switch C
[SwitchC] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing for Network
Destination
0.0.0.0/0
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
Total Nets: 6
Intra Area: 2
Inter Area: 4
After the area where Switch C resides is configured as a stub area, a default route takes the place
of the AS external route.
# Configure the area as a totally stub area by filtering Type-3 LSAs out of the stub area.
[SwitchA] ospf
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] stub no-summary
[SwitchA-ospf-1-area-0.0.0.1] quit
# Display OSPF routing information on Switch C.
[SwitchC] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing for Network
Destination
0.0.0.0/0
10.2.1.0/24
10.4.1.0/24
Total Nets: 3
Intra Area: 2
Inter Area: 1
After this configuration, inter-area routes are removed, and only one external route (a default route)
exists.
Routing Tables
Cost
Type
NextHop
4
Inter
10.2.1.1
3
Transit 10.2.1.2
7
Inter
10.2.1.1
3
Stub
10.4.1.1
17
Inter
10.2.1.1
5
Inter
10.2.1.1
ASE: 0
Routing Tables
Cost
Type
NextHop
4
Inter
10.2.1.1
3
Transit 10.2.1.2
3
Stub
10.4.1.1
ASE: 0
106
AdvRouter
10.2.1.1
10.2.1.1
10.2.1.1
10.4.1.1
10.2.1.1
10.2.1.1
NSSA: 0
AdvRouter
10.2.1.1
10.4.1.1
10.4.1.1
NSSA: 0
Area
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
Area
0.0.0.1
0.0.0.1
0.0.0.1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents