426 
[Spoke1-ipsec-transform-set-abc] encapsulation-mode transport 
[Spoke1-ipsec-transform-set-abc] esp encryption-algorithm des-cbc 
[Spoke1-ipsec-transform-set-abc] esp authentication-algorithm sha1 
[Spoke1-ipsec-transform-set-abc] quit 
[Spoke1] ipsec profile abc isakmp 
[Spoke1-ipsec-profile-isakmp-abc] transform-set abc 
[Spoke1-ipsec-profile-isakmp-abc] ike-profile abc 
[Spoke1-ipsec-profile-isakmp-abc] quit 
4.  Configure OSPFv3. 
[Spoke1] ospfv3 1 
[Spoke1-ospfv3-1] router-id 0.0.0.4 
[Spoke1-ospfv3-1] area 0 
[Spoke1-ospfv3-1-area-0.0.0.0] quit 
[Spoke1-ospfv3-1] area 1 
[Spoke1-ospfv3-1-area-0.0.0.1] quit 
[Spoke1-ospfv3-1] quit 
[Spoke1] interface gigabitethernet 2/0/2 
[Spoke1-GigabitEthernet2/0/2] ospfv3 1 area 1 
[Spoke1-GigabitEthernet2/0/2] quit 
5.  Configure UDP-mode IPv6 ADVPN tunnel interface tunnel1. Configure its DR priority as 0 so 
Spoke 1 will not participate in DR/BDR election.  
[Spoke1] interface tunnel1 mode advpn udp ipv6 
[Spoke1-Tunnel1] ipv6 address 192:168:1::3 64 
[Spoke1-Tunnel1] ipv6 address fe80::1:3 link-local 
[Spoke1-Tunnel1] vam ipv6 client Spoke1 
[Spoke1-Tunnel1] ospfv3 1 area 1 
[Spoke1-Tunnel1] ospfv3 network-type broadcast 
[Spoke1-Tunnel1] ospfv3 dr-priority 0 
[Spoke1-Tunnel1] advpn ipv6 network 192:168:10::0 64 
[Spoke1-Tunnel1] source gigabitethernet 2/0/1 
[Spoke1-Tunnel1] tunnel protection ipsec profile abc 
[Spoke1-Tunnel1] quit 
Configuring Spoke 2 
1.  Configure IP addresses for the interfaces. (Details not shown.) 
2.  Configure the VAM client: 
# Create VAM client Spoke2. 
<Spoke2> system-view 
[Spoke2] vam client name Spoke2 
# Specify ADVPN domain abc for the VAM client. 
[Spoke2-vam-client-Spoke2] advpn-domain abc 
# Set the pre-shared key to 123456. 
[Spoke2-vam-client-Spoke2] pre-shared-key simple 123456 
# Set both the username and password to spoke2. 
[Spoke2-vam-client-Spoke2] user spoke2 password simple spoke2 
# Specify the primary and secondary VAM servers. 
[Spoke2-vam-client-Spoke2] server primary ipv6-address 1::11 
[Spoke2-vam-client-Spoke2] server secondary ipv6-address 1::12