H3C Technologies H3C SR8800 User Manual
Page 130

114
2.
Configure OSPF basic functions (see “
Configuring OSPF basic functions
3.
Configure Router D to redistribute static routes:
[RouterD] ip route-static 3.1.3.1 24 GigabitEthernet 1/1/2 10.5.1.10
[RouterD] ospf
[RouterD-ospf-1] import-route static
[RouterD-ospf-1] quit
# Display ABR/ASBR information on Router C.
OSPF Process 1 with Router ID 10.4.1.1
Routing Table to ABR and ASBR
Type Destination Area Cost Nexthop RtType
Intra 10.2.1.1 0.0.0.1 1 10.2.1.1 ABR
Inter 10.3.1.1 0.0.0.1 2 10.2.1.1 ABR
Inter 10.5.1.1 0.0.0.1 3 10.2.1.1 ASBR
# Display OSPF routing information on Router C.
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
10.2.1.0/24 1 Transit 10.2.1.2 10.2.1.1 0.0.0.1
10.3.1.0/24 3 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.4.1.0/24 1 Stub 10.4.1.1 10.4.1.1 0.0.0.1
10.5.1.0/24 4 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.1.1.0/24 2 Inter 10.2.1.1 10.2.1.1 0.0.0.1
Routing for ASEs
Destination Cost Type Tag NextHop AdvRouter
3.1.3.0/24 1 Type2 1 10.2.1.1 10.5.1.1
Total Nets: 6
Intra Area: 2 Inter Area: 3 ASE: 1 NSSA: 0
NOTE:
Since Router C resides in a normal OSPF area, its routing table contains an external route.
4.
Configure Area1 as a Stub area:
# Configure Router A.
[RouterA] ospf
[RouterA-ospf-1] area 1
[RouterA-ospf-1-area-0.0.0.1] stub
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module