EasyManua.ls Logo

Huawei S6700 Series - Page 245

Huawei S6700 Series
664 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[Switch B-Vlanif10] ospfv3 1 area 2
[Switch B-Vlanif10] quit
[Switch B] interface vlanif 20
[Switch B-Vlanif20] ospfv3 1 area 1
[Switch B-Vlanif20] quit
# On Switch C, enable OSPFv3 and set the router ID to 3.3.3.3.
[Switch C] ospfv3
[Switch C-ospfv3-1] router-id 3.3.3.3
[Switch C-ospfv3-1] quit
[Switch C] interface vlanif 20
[Switch C-Vlanif20] ospfv3 1 area 1
[Switch C-Vlanif20] quit
[Switch C] interface vlanif 30
[Switch C-Vlanif30] ospfv3 1 area 0
[Switch C-Vlanif30] quit
# On Switch D, enable OSPFv3 and set the router ID to 4.4.4.4.
[Switch D] ospfv3
[Switch D-ospfv3-1] router-id 4.4.4.4
[Switch D-ospfv3-1] quit
[Switch D] interface vlanif 30
[Switch D-Vlanif30] ospfv3 1 area 0
[Switch D-Vlanif30] quit
# View the OSPFv3 routing table of Switch C, and you can see that the routing table of Switch
C does not contain the routes of Area 2 because Area 2 is not directly connected to Area 0.
[Switch C] display ospfv3 routing
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,N - NSSA, U -
Uninstalled
OSPFv3 Process (1)
Destination Metric
Next-hop
1000::/64 1
directly connected, Vlanif20
1002::/64 1
directly connected, Vlanif30
Step 4 Configure a vritual link in Area 1 where Switch B and Switch C are located.
# Configure Switch B.
[Switch B] ospfv3
[Switch B-ospfv3-1] area 1
[Switch B-ospfv3-1-area-0.0.0.1] vlink-peer 3.3.3.3
[Switch B-ospfv3-1-area-0.0.0.1] quit
# Configure Switch C.
[Switch C] ospfv3
[Switch C-ospfv3-1] area 1
[Switch C-ospfv3-1-area-0.0.0.1] vlink-peer 2.2.2.2
[Switch C-ospfv3-1-area-0.0.0.1] quit
Step 5 Verify the configuration.
# Check the OSPFv3 routing table of Switch C.
[Switch C] display ospfv3 routing
Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area,N - NSSA, U -
Uninstalled
OSPFv3 Process (1)
Destination Metric
Next-hop
1000::/64 1
directly connected, Vlanif20
1000::1/128 1
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 5 OSPFv3 Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
226

Table of Contents

Other manuals for Huawei S6700 Series

Related product manuals