DES-7200 Configuration Guide Chapter 5 OSPF
Configuration
5-18
Area 1. The intercommunication between three switches is realized via vlan
interface.
Application Requirements
Enable OSPFv3 on all switches and specify two areas; IPv6 packets can be
forwarded between two areas.
Configuration Tips
Configure Area0 and Area1, and enable OSPFv3 on the corresponding VLAN
interface of switch (interface vlan 100 or vlan 200 of SwtichA/SwitchB/SwitchC)
The router-id must be specified, or else the adjacency cannot be created.
Automatic acquisition of router-id is supported in 10.4 and subsequent releases.
Vlan must be created first, or else the VLAN interface cannot join OSPFv3.
Configuration Steps
SwitchA
Step 1: Create VLAN and configure IPv6 address
SwitchA# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
! Create and configure interface vlan100
SwitchA(config)# vlan 100
SwitchA(config-vlan)#exit
SwitchA(config-vlan)#interface vlan 100
SwitchA(config-if-VLAN 100)#ipv6 enable
SwitchA(config-if-VLAN 100)#ipv6 address 3001::1/64
SwitchA(config-if-VLAN 100)#exit
! Create and configure interface vlan200
SwitchA(config)#vlan 200
SwitchA(config-vlan)#interface vlan 200
SwitchA(config-if-VLAN 200)#ipv6 enable
SwitchA(config-if-VLAN 200)#ipv6 address 3001:1::1/64
SwitchA(config-if-VLAN 200)#exit
Step 2: Create OSPFv3 process and specify the router-id
SwitchA(config)#ipv6 router ospf 10
SwitchA(config-router)#router-id 1.1.1.1
Change router-id and update OSPFv3 process! [yes/no]:y
SwitchA(config-router)#exit
Step 3: Enable OSPFv3 on interface vlan 100, with area being Area0