vsx-sync dhcpv6-server

Syntax

vsx-sync dhcpv6-server

no vsx-sync dhcpv6-server

Description

Enables VSX synchronization of all DHCPv6 server configurations, including external storage configurations, on the primary VSX node to the secondary peer. To synchronize DHCPv6 server configurations associated with a particular VRF, configure the same VRF on the peer device.

The no form of the command disables VSX synchronization of DHCPv6 server configurations to the secondary peer; however, it does not remove the existing DHCPv6 server feature configurations from the secondary peer.

Command context

config-vsx

Authority

Administrators or local user group members with execution rights for this command.

Examples

The first six lines in the following example show the setting of a DHCPv6 server configuration. The last two lines of the example show the enabling of VSX synchronization for global DHCPv6 server configurations.

switch(config)# dhcpv6-server external-storage dhcpv6-dbs file dhcpv6_lease_file delay 600
switch(config)# dhcpv6-server vrf default
switch(config-dhcp-server)# pool test
switch(config-dhcpv6-server-pool)# range 2001::1 2001::10 prefix-len 64
switch(config-dhcpv6-server-pool)# option 22 ipv6 2001::12
switch(config-dhcpv6-server-pool)# static-bind ipv6 2001::11 client-id 1:0:a0:24:ab:fb:9c
switch(config)# vsx
switch(config-vsx)# vsx-sync dhcpv6-server

Disabling VSX synchronization for global DHCPv6 server configurations:

switch(config)# vsx
switch(config-vsx)# no vsx-sync dhcpv6-server