H3C Technologies H3C SecPath F1000-E User Manual
Page 794
769
# Configure SecPath C, and specify the cost of the default route sent to the stub area as 10.
[SecPathC] ospfv3
[SecPathC-ospfv3-1] area 2
[SecPathC-ospfv3-1-area-0.0.0.2] stub
[SecPathC-ospfv3-1-area-0.0.0.2] default-cost 10
# Display OSPFv3 routing information on SecPath D. You can find a default route is added and its
cost is the cost of a direct route plus the configured cost.
[SecPathD] display ospfv3 routing
E1 - Type 1 external route, IA - Inter area route, I - Intra area route
E2 - Type 2 external route, * - Selected route
OSPFv3 Router with ID (4.4.4.4) (Process 1)
------------------------------------------------------------------------
*Destination: ::/0
Type : IA Cost : 11
NextHop : FE80::F40D:0:93D0:1 Interface: GE0/2
*Destination: 2001::/64
Type : IA Cost : 2
NextHop : FE80::F40D:0:93D0:1 Interface: GE0/2
*Destination: 2001:1::/64
Type : IA Cost : 3
NextHop : FE80::F40D:0:93D0:1 Interface: GE0/2
*Destination: 2001:2::/64
Type : I Cost : 1
NextHop : directly-connected Interface: GE0/2
*Destination: 2001:3::/64
Type : IA Cost : 4
NextHop : FE80::F40D:0:93D0:1 Interface: GE0/2
4.
Configure Area 2 as a totally stub area to reduce the stub area routing table size:
# Configure Area 2 as a totally stub area on SecPath C.
[SecPathC-ospfv3-1-area-0.0.0.2] stub no-summary
# Display OSPFv3 routing table information on SecPath D. You can find route entries are reduced.
All non-direct routes are removed except the default route.
[SecPathD] display ospfv3 routing
E1 - Type 1 external route, IA - Inter area route, I - Intra area route
E2 - Type 2 external route, * - Selected route
OSPFv3 Router with ID (4.4.4.4) (Process 1)
------------------------------------------------------------------------
*Destination: ::/0
Type : IA Cost : 11
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer