#configure terminal | Enter Configure mode. |
(config)#feature dhcp | Enable the feature dhcp. This will be enabled by default. |
(config)#interface xe1 | Specify the interface(xe1) to be configured and enter the interface mode. |
(config-if)#ip address dhcp | The client requests for the IP address to the server, once it receives the acknowledgment from the server, it assigns the IP address to the interface in which this command is enabled. |
(config if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#interface eth0 | Enter management interface mode. |
(config-if)#ip address dhcp | The client requests for the IP address to the server, once it receives the Acknowledgement from the server, it assigns the IP address to the management interface. |
(config if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
#configure terminal | Enter Configure mode. |
(config)#feature dhcp | Enable the feature dhcp. This will be enabled by default. |
(config)#interface xe1 | Specify the interface(xe1) to be configured and enter the interface mode. |
(config-if)#ipv6 dhcp client request dns-nameserver | The client request for name-server configured in server |
(config-if)#ipv6 dhcp client request domain-search | The client request for domain names with ip |
(config-if)#ipv6 dhcp client request ntp-server | The client request for Ntp server details configured in server |
(config-if)#ipv6 dhcp client request rapid-commit | Enables rapid commit option |
(config-if)#ipv6 dhcp client request vendor-specific-information | The client request for vendor specific information |
(config-if)#ipv6 dhcp client duid llt | Set duid type for DHCP Client. Possible values are llt or ll |
(config-if)#ipv6 dhcp client dad-wait-time 300 | Max time that the client process should wait for the duplicate address detection to complete before initiating DHCP requests |
Values range from 1 - 600 | |
(config-if)#ipv6 address dhcp | The client requests for the IP address to the server, once it receives the acknowledgment from the server, it assigns the IP address to the interface in which this command is enabled. |
(config if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#interface eth0 | Enter management interface mode. |
(config-if)#ip address dhcp | The client requests for the IP address to the server, once it receives the Acknowledgement from the server, it assigns the IP address to the management interface. |
(config if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running. configuration |