vsx-sync dhcp-server


vsx-sync dhcp-server

no vsx-sync dhcp-server


Enables VSX synchronization of all DHCPv4 server configurations, including external storage configurations, on the primary VSX node to the secondary peer. To synchronize DHCPv4 server configurations associated with a particular VRF, configure the same VRF on the peer device. Only the primary VSX node answers DHCP service requests, and leases can only be exported from the primary VSX node.

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

Command context



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


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

switch(config)# dhcp-server external-storage dhcp-dbs file dhcpv4_lease_file delay 600
switch(config)# dhcp-server vrf default
switch(config-dhcp-server)# pool test
switch(config-dhcp-server-pool)# range
switch(config-dhcp-server-pool)# default-router
switch(config-dhcp-server-pool)# static-bind ip mac 24:be:05:24:75:73
switch(config)# vsx
switch(config-vsx)# vsx-sync dhcp-server

Disabling VSX synchronization for global DHCPv4 server configurations:

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