Huawei S6700 Series Configuration Manual page 236

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
# View the OSPFv3 routing table of Switch D, and you can see a new default route in the routing
table. The cost of the default route is the sum of the cost of the directly connected routes and the
configured cost.
[Switch D] display ospfv3 routing
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,
OSPFv3 Process (1)
IA ::/0
IA 1000::/64
IA 1001::/64
IA 2000::/64
Step 5 Configure the totally sub area.
# On Switch C, configure Area 2 as the totally stub area.
[Switch C] ospfv3
[Switch C-ospfv3-1] area 2
[Switch C-ospfv3-1-area-0.0.0.2] stub no-summary
[Switch C-ospfv3-1-area-0.0.0.2] quit
Step 6 Verify the configuration.
# View the OSPFv3 routing table of Switch D, and you can see that the entries in the routing
table are reduced; other non-directly connected routes are suppressed; only the default route is
reserved.
[Switch D] display ospfv3 routing
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,
OSPFv3 Process (1)
IA ::/0
----End
Configuration Files
l
Issue 01 (2012-03-15)
N - NSSA, U - Uninstalled
Destination
Next-hop
via FE80::1572:0:5EF4:1, vlanif40
via FE80::1572:0:5EF4:1, vlanif40
via FE80::1572:0:5EF4:1, vlanif40
1002::/64
directly-connected, vlanif40
via FE80::1572:0:5EF4:1, vlanif40
N - NSSA, U - Uninstalled
Destination
Next-hop
via FE80::1572:0:5EF4:1, vlanif40
1002::/64
directly-connected, vlanif40
Configuration file of Switch A
#
sysname Switch A
#
ipv6
#
vlan batch 20
#
interface Vlanif20
ipv6 enable
ipv6 address 1001::2/64
ospfv3 1 area 0.0.0.1
#
interface XGigabitEthernet0/0/1
port hybrid pvid vlan 20
port hybrid untagged vlan 20
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 OSPFv3 Configuration
Metric
11
2
3
1
4
Metric
11
1
217

Advertisement

Table of Contents
loading

Table of Contents