HP Mellanox SX1018 Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 60
DHCP, ip dhcp
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 60 highlights
Rev 1.6.9 2.1.5 DHCP ip dhcp ip dhcp {default-gateway yield-to-static| hostname | primary-intf | send-hostname } no ip dhcp {default-gateway yield-to-static| hostname | | primary-intf | send-hostname} Sets global DHCP configuration. The no form of the command deletes the DHCP configuration. Syntax Description yield-to-static| Does not allow you to install a default gateway from DHCP if there is already a statically configured one. hostname Specifies the hostname to be sent during DHCP client negotiation if send-hostname is enabled. primary-intf Sets the interface from which a non-interface-specific configuration (resolver and routes) will be accepted via DHCP. send-hostname Enables the DHCP client to send a hostname during negotiation. Default no ip dhcp yield-to-static no ip dhcp hostname ip ip dhcp primary-intf mgmt0 no ip dhcp send-hostname Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # ip dhcp default-gateway yield-to-static switch (config) # show ip dhcp DHCP primary interface: Configured: mgmt0 Active: mgmt0 DHCP: yield default gateway to static configuration: yes Related Commands DHCP Client Options: Send Hostname: no Client Hostname: switch (using system hostname) switch (config) # show ip dhcp dhcp [renew] Note DHCP is supported for IPv4 networks only. Mellanox Technologies 60 Mellanox® Technologies Confidential