HPE 5800 Series Configuration Manual page 104

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

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 external route.
Configure Area 1 as a stub area:
4.
# 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.
<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
When Switch C resides in the a stub area, a default route replaces the AS external route.
# Filter 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
Cost
Type
1
Type2
Inter Area: 3
ASE: 1
Routing Tables
Cost
Type
4
Inter
3
Transit 10.2.1.2
7
Inter
3
Stub
17
Inter
5
Inter
Inter Area: 4
ASE: 0
93
Tag
NextHop
1
10.2.1.1
NSSA: 0
NextHop
AdvRouter
10.2.1.1
10.2.1.1
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
NSSA: 0
AdvRouter
10.5.1.1
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents