Command Line Reference
High Availability Configuratio...
DHCP Server failover
10 min
dhcp server failover config dhcp server failover config table 1 dhcp server failover config table 1 dhcp server failover config command purpose dhcp failover name enable dhcp server failover adddress { a b c d | loopback 0 } configure failover local ip peer address a b c d configure failover peer ip auto partner down time configure peer offline time max response delay time configure maximum communication interruption time role { primary | secondary } configure primary and secondary roles dhcp failover dhcp failover name \[command] dhcp failover name \[purpose] enable dhcp server failover \[parameters] parameter description name instance name \[view] global configuration view \[notes] run command no dhcp failover name to disable dhcp server failover \[use cases] sonic# configure terminal sonic(config)# dhcp failover t456 adddress { adddress { a b c d |loopback 0} \[command] adddress { a b c d | loopback 0 } \[purpose] configure local ip \[parameters] parameter description a b c d ipv4 address \[view] dhcp failover configuration view \[notes] run command no address to delete local ip \[use cases] sonic# configure terminal sonic(config)# dhcp failover t456 sonic(config dhcp failover t456)# address 20 0 0 1 peer address peer address a b c d \[command] peer address a b c d \[purpose] configure peer ip \[parameters] parameter description a b c d ipv4 address \[view] dhcp failover configuration view \[notes] run command no peer address to delete peer ip \[use cases] sonic# configure terminal sonic(config)# dhcp failover t456 sonic(config dhcp failover t456)# peer address 20 0 0 2 auto partner down auto partner down time \[command] auto partner down time \[purpose] configure peer offline time \[parameters] parameter description time peer offline time, in seconds and ranging from 1 to 3600 by default, peers will not go offline \[view] dhcp failover configuration view \[notes] run command auto partner down to disable peer offline function \[use cases] sonic# configure terminal sonic(config)# dhcp failover t456 sonic(config dhcp failover t456)# auto partner down 100 max response delay max response delay time \[command] max response delay time \[purpose] configure maximum communication interruption time \[parameters] parameter description time the maximum communication interruption time, measured in seconds, ranges from 30 to 3600, with a default value of 60 \[view] dhcp failover configuration view \[notes] run command nomax response delay to restore maximum communication time to default value \[use cases] sonic# configure terminal sonic(config)# dhcp failover t456 sonic(config dhcp failover t456)# max response delay 100 role {primary|secondary} role {primary|secondary} \[command] role { primary | secondary } \[purpose] configure primary and secondary roles \[view] dhcp failover configuration view \[use cases] sonic# configure terminal sonic(config)# dhcp failover t456 sonic(config dhcp failover t456)# role primary
