Configuring Ospf To Advertise A Summary Route - H3C S5800 Series Configuration Manual

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

Advertisement

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
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
10.1.1.0/24
Routing for ASEs
Destination
3.1.2.0/24
Total Nets: 6
Intra Area: 2 Inter Area: 3 ASE: 1 NSSA: 0

Configuring OSPF to Advertise a Summary Route

Network requirements
As shown in the following figure:
Switch A and Switch B are in AS 200, which runs OSPF.
Switch C, Switch D, and Switch E are in AS 100, which runs OSPF.
An eBGP connection is established between Switch B and Switch C. Switch B and Switch C are
configured to redistribute OSPF routes and direct routes into BGP and BGP routes into OSPF.
Routing Table to ABR and ASBR
Area
0.0.0.2
0.0.0.2
Routing Tables
Cost
Type
22
Inter
10.3.1.1
10
Transit 10.3.1.2
25
Inter
10.3.1.1
10
Stub
10.5.1.1
12
Inter
10.3.1.1
Cost
Type
1
Type2
1
Cost Nexthop
10
10.3.1.1
22
10.3.1.1
NextHop
AdvRouter
10.3.1.1
10.3.1.1
10.3.1.1
10.5.1.1
10.3.1.1
Tag
NextHop
10.3.1.1
4-56
RtType
ABR
ASBR
Area
0.0.0.2
0.0.0.2
0.0.0.2
0.0.0.2
0.0.0.2
AdvRouter
10.4.1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820x series

Table of Contents