CCNP Switch FAQ: Configuring DHCP
Q1. If a DHCP scope is configured on a Catalyst switch, which one of the following must also be configured so that the switch becomes a DHCP server for client machines connected to VLAN 3?
a. A correspondingip dhcp server command configured on interface VLAN 3
b. A corresponding IP address configured on interface VLAN 3
c. Anip helper-address command configured on interface VLAN 3
d. A switch cannot operate as a DHCP server
Q2. Which one of the following commands can be used to prevent IP addresses 192.168.16.10 through 192.168.16.30 from being assigned by the DHCP server running on a switch?
a. ip dhcp reserve-address 192.168.16.10 – 192.168.16.30
b. ip dhcp pool users
no network 192.168.16.10 192.168.16.30
c. ip dhcp excluded-address 192.168.16.10 192.168.16.30
d. ip dhcp pool users
no lease 192.168.16.10 192.168.16.30
Q3. To configure a manual DHCP binding for two different IP addresses, which one of the following approaches should you take?
a. Define two DHCP pools that contain a single host address each.
b. Define a DHCP pool that contains the network of the host addresses.
c. Enter twoip dhcp excluded-address commands to configure the host addresses.
d. Define one DHCP pool that contains ahost command for each host address binding.
Q4. Which one of the following answers represents configuration commands needed to implement a DHCP relay function?
a. interface vlan 5
ip address 10.1.1.1 255.255.255.0
ip helper-address 10.1.1.10
b. interface vlan 5
ip address 10.1.1.1 255.255.255.0
ip dhcp-relay
c. ip dhcp pool staff
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
exit
d. hostname Switch
ip helper-address 10.1.1.10
Q5. Which one of the following commands can be used to display IPv4 addresses that have been assigned through the DHCP server on a switch?
a. show ip dhcp pool
b. show ip dhcp clients
c. show ip dhcp binding
d. show ip dhcp leases
Q6. Which one of the following forms of IPv6 address does a host use to discover its local router?
a. CDPv6
b. ICMPv6
c. Stateless address
d. Link-local address
Q7. Without a DHCP server available, which one of the following represents a valid
method for a host to obtain a unique IPv6 address?
a. The local switch interface will assign one, provided it has an IPv6 address
configured
b. Stateless autoconfiguration
c. DHCP relay
d. Link-local address proxy
Q8. To exclude specific IPv6 addresses from being handed out by a DHCPv6 server configured on a Catalyst switch, which one of the following describes the correct strategy?
a. Enter theip dhcp excluded-address command along with the IPv6 addresses to exclude.
b. Enter theno address prefixipv6-address command as part of the DHCPv6 pool configuration.
c. Define a separate DHCPv6 pool for each excluded address.
d. None of these answers; you cannot exclude addresses with DHCPv6.
More Resources