339
Configuring hub groups
Hub groups apply to large ADVPN networks. You can classify spokes to different hub groups, and
specify one or more hubs for each group.
When a VAM client registers with the VAM server, the VAM server selects a hub group for the client
as follows:
1.
The server matches the private address of the client against the private addresses of hubs in
different hub groups in lexicographic order.
2.
If a match is found, the server assigns the client to the hub group as a hub.
3.
If no match is found, the server matches the client's private address against the private
addresses of spokes in different hub groups in lexicographic order.
4.
If a match is found, the server assigns the client to the hub group as a spoke.
5.
If no match is found, the registration fails.
The VAM server only assigns hub information in the matching hub group to the client. The client only
establishes permanent ADVPN tunnels to the hubs in the matching hub group.
Creating a hub group
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter ADVPN domain view.
vam server advpn-domain
domain-name
[
id
domain-id
]
N/A
3.
Create a hub group and
enter hub group view.
hub-group
group-name
By default, no hub group exists.
Configuring hub private addresses in a hub group
A hub group must have at least one hub private address.
To configure hub private addresses in the hub group:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter ADVPN domain view.
vam server advpn-domain
domain-name
[
id
domain-id
]
N/A
3.
Enter hub group view.
hub-group
group-name
N/A
4.
Configure a hub private
address.
•
Configure a hub private IPv4 address:
hub private-address
private-ip-address
[
public-address
{
public-ip-address
|
public-ipv6-address
} [
advpn-port
port-number
] ]
•
Configure a hub private IPv6 address:
hub
ipv6 private-address
private-ipv6-address
[
public-address
{
public-ip-address
|
public-ipv6-address
} [
advpn-port
port-number
] ]
Use either command.
By default, no hub
private address is
configured.
Configuring a spoke private address range in a hub group
You can configure multiple spoke private address ranges in a hub group. The ranges are listed from
low to high.