
298
# Configure the VAM server not to authenticate VAM clients.
[Server-vam-server-domain-abc] authentication-method none
# Enable the VAM server.
[Server-vam-server-domain-abc] server enable
# Create hub group 0.
[Server-vam-server-domain-abc] hub-group 0
# Specify private IPv6 addresses for hubs in hub group 0.
[Server-vam-server-domain-abc-hub-group-0] hub ipv6 private-address 192:168::1
[Server-vam-server-domain-abc-hub-group-0] hub ipv6 private-address 192:168::2
# Specify a private IPv6 address range for spokes in hub group 0.
[Server-vam-server-domain-abc-hub-group-0] spoke ipv6 private-address range
192:168:: 192:168::FFFF:FFFF:FFFF:FFFF
[Server-vam-server-domain-abc-hub-group-0] quit
[Server-vam-server-domain-abc] quit
b.
Configure Hub 1:
# Create a VAM client named
hub1
.
<Hub1> system-view
[Hub1] vam client name Hub1
# Specify ADVPN domain
abc
for the VAM client.
[Hub1-vam-client-Hub1] advpn-domain abc
# Specify the VAM server.
[Hub1-vam-client-Hub1] server primary ipv6-address 1::11
# Set the pre-shared key to
123456
.
[Hub1-vam-client-Hub1] pre-shared-key simple 123456
# Enable the VAM client.
[Hub1-vam-client-Hub1] client enable
c.
Configure Hub 2:
# Create a VAM client named
hub2
.
<Hub2> system-view
[Hub2] vam client name hub2
# Specify ADVPN domain
abc
for the VAM client.
[Hub2-vam-client-hub2] advpn-domain abc
# Specify the VAM server.
[Hub2-vam-client-hub2] server primary ipv6-address 1::11
# Set the pre-shared key to
123456
.
[Hub2-vam-client-hub2] pre-shared-key simple 123456
# Enable the VAM client.
[Hub2-vam-client-hub2] client enable
d.
Configure Spoke 1:
# Create a VAM client named
Spoke1
.
<Spoke1> system-view
[Spoke1] vam client name Spoke1
# Specify ADVPN domain
abc
for the VAM client.
[Spoke1-vam-client-Spoke1] advpn-domain abc
# Specify the VAM server.
[Spoke1-vam-client-Spoke1] server primary ipv6-address 1::11