HP 4800G Series Configuration Manual page 485

24/48 port
Table of Contents

Advertisement

Figure 1-22 Network diagram for OSPF redistributing routes from outside of an AS
Configuration procedure
1)
Configure IP addresses for interfaces (omitted).
2)
Configure OSPF basic functions (Refer to
3)
Configure OSPF to redistribute routes.
# On Switch C, configure a static route destined for network 3.1.2.0/24.
<SwitchC> system-view
[SwitchC] ip route-static 3.1.2.1 24 10.4.1.2
# On Switch C, configure OSPF to redistribute static routes.
[SwitchC] ospf 1
[SwitchC-ospf-1] import-route static
4)
Verify the configuration.
# Display the ABR/ASBR information of Switch D.
<SwitchD> display ospf abr-asbr
OSPF Process 1 with Router ID 10.5.1.1
Routing Table to ABR and ASBR
Type
Destination
Intra
10.3.1.1
Inter
10.4.1.1
# Display the OSPF routing table of Switch D.
<SwitchD> display ospf routing
OSPF Process 1 with Router ID 10.5.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
Area
0.0.0.2
0.0.0.2
Routing Tables
Cost
Type
NextHop
22
Inter
10.3.1.1
10
Transit 10.3.1.2
25
Inter
10.3.1.1
10
Stub
10.5.1.1
Configuring OSPF Basic
Cost
Nexthop
10
10.3.1.1
22
10.3.1.1
AdvRouter
10.3.1.1
10.3.1.1
10.3.1.1
10.5.1.1
1-50
Functions).
RtType
ABR
ASBR
Area
0.0.0.2
0.0.0.2
0.0.0.2
0.0.0.2

Advertisement

Chapters

Table of Contents
loading

Table of Contents