QuestionQ211

IP Connectivity

Which Cisco IOS command shows that interface GigabitEthernet 0/0 is configured through DHCP?

  • A show ip interface GigabitEthernet 0/0 dhcp
  • B show interface GigabitEthernet 0/0
  • C show ip interface dhcp
  • D show ip interface GigabitEthernet 0/0
  • E show ip interface GigabitEthernet 0/0 brief
Explanation

show ip interface GigabitEthernet 0/0 displays the detailed IP status of that interface, including the method by which its IP address was assigned. When the interface is using DHCP, the output indicates that the IP address was obtained by DHCP, which is the direct confirmation that the interface is configured that way.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!