H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 277

Advertising
background image

25-43

[SwitchB-ospf-1-area-0.0.0.1] quit

[SwitchB-ospf-1] quit

It is recommended to configure the nssa command with the keyword default-route-advertise

no-summary

on AC (an ABR) to reduce the routing table size on NSSA routers. On other NSSA routers,

using the nssa command is ok.

# Display OSPF routing information on Switch B.

[SwitchB] display ospf routing

OSPF Process 1 with Router ID 10.4.1.1

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

0.0.0.0/0 65536 Inter 10.2.1.1 10.2.1.1 0.0.0.1

10.2.1.0/24 65535 Transit 10.2.1.2 10.4.1.1 0.0.0.1

10.4.1.0/24 3 Stub 10.4.1.1 10.4.1.1 0.0.0.1

Total Nets: 3

Intra Area: 2 Inter Area: 1 ASE: 0 NSSA: 0

4) Configure Switch B to redistribute static routes.

[SwitchB] ip route-static 3.1.3.1 24 11.1.1.1

[SwitchB] ospf

[SwitchB-ospf-1] import-route static

[SwitchB-ospf-1] quit

# Display OSPF routing information on Switch C.

[SwitchC-ospf-1] display ospf routing

OSPF Process 1 with Router ID 10.5.1.1

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

10.2.1.0/24 22 Inter 10.3.1.1 10.3.1.1 0.0.0.2

10.3.1.0/24 10 Transit 10.3.1.2 10.3.1.1 0.0.0.2

10.4.1.0/24 25 Inter 10.3.1.1 10.3.1.1 0.0.0.2

10.5.1.0/24 10 Stub 10.5.1.1 10.5.1.1 0.0.0.2

10.1.1.0/24 12 Inter 10.3.1.1 10.3.1.1 0.0.0.2

Routing for ASEs

Destination Cost Type Tag NextHop AdvRouter

3.1.3.0/24 1 Type2 1 10.3.1.1 10.2.1.1

Total Nets: 6

Advertising