H3C Technologies H3C S5560 Series Switches User Manual

Page 405

Advertising
background image

389

Type : IA Cost : 4

NextHop : FE80::F40D:0:93D0:1 Interface: Vlan400

AdvRouter : 3.3.3.3 Area : 0.0.0.2

Preference : 10

Total: 4

Intra area: 1 Inter area: 3 ASE: 0 NSSA: 0

3.

Configure Area 2 as a stub area:
# Configure Switch D.

[SwitchD] ospfv3

[SwitchD-ospfv3-1] area 2

[SwitchD-ospfv3-1-area-0.0.0.2] stub

# Configure Switch C, and specify the cost of the default route sent to the stub area as 10.

[SwitchC] ospfv3

[SwitchC-ospfv3-1] area 2

[SwitchC-ospfv3-1-area-0.0.0.2] stub

[SwitchC-ospfv3-1-area-0.0.0.2] default-cost 10

# Display OSPFv3 routing table information on Switch D.

[SwitchD] display ospfv3 routing

OSPFv3 Process 1 with Router ID 4.4.4.4

-------------------------------------------------------------------------

I - Intra area route, E1 - Type 1 external route, N1 - Type 1 NSSA route

IA - Inter area route, E2 - Type 2 external route, N2 - Type 2 NSSA route

* - Selected route

*Destination: ::/0

Type : IA Cost : 11

NextHop : FE80::F40D:0:93D0:1 Interface: Vlan400

AdvRouter : 4.4.4.4 Area : 0.0.0.2

Preference : 10

*Destination: 2001::/64

Type : IA Cost : 2

NextHop : FE80::F40D:0:93D0:1 Interface: Vlan400

AdvRouter : 3.3.3.3 Area : 0.0.0.2

Preference : 10

*Destination: 2001:1::/64

Type : IA Cost : 3

NextHop : FE80::F40D:0:93D0:1 Interface: Vlan400

AdvRouter : 3.3.3.3 Area : 0.0.0.2

Preference : 10

*Destination: 2001:2::/64

Type : I Cost : 1

Nexthop : :: Interface: Vlan400

AdvRouter : 4.4.4.4 Area : 0.0.0.2

Advertising
This manual is related to the following products: