nerdexam
Cisco

200-301 · Question #152

Which Cisco IOS command will indicate that interface GigabitEthernet 0/0 is configured via DHCP?

The correct answer is D. show ip interface GigabitEthernet 0/0. The show ip interface <interface_id> command displays detailed IP information for a specific interface, including whether its IP address was obtained via DHCP.

Submitted by chen.hong· Mar 5, 2026IP Connectivity

Question

Which Cisco IOS command will indicate that interface GigabitEthernet 0/0 is configured via DHCP?

Options

  • Ashow ip interface GigabitEthernet 0/0 dhcp
  • Bshow interface GigabitEthernet 0/0
  • Cshow ip interface dhcp
  • Dshow ip interface GigabitEthernet 0/0
  • Eshow ip interface GigabitEthernet 0/0 brief

How the community answered

(20 responses)
  • B
    5% (1)
  • D
    90% (18)
  • E
    5% (1)

Why each option

The `show ip interface <interface_id>` command displays detailed IP information for a specific interface, including whether its IP address was obtained via DHCP.

Ashow ip interface GigabitEthernet 0/0 dhcp

There is no standard Cisco IOS command syntax `show ip interface <interface_id> dhcp`; `dhcp` is not a valid keyword in this context.

Bshow interface GigabitEthernet 0/0

The `show interface GigabitEthernet 0/0` command displays Layer 2 and physical interface status but does not typically include the IP address acquisition method (DHCP vs. static).

Cshow ip interface dhcp

The `show ip interface dhcp` command is not a valid Cisco IOS command; `dhcp` is not a recognized keyword after `show ip interface`.

Dshow ip interface GigabitEthernet 0/0Correct

The `show ip interface GigabitEthernet 0/0` command provides comprehensive IP-related details for the specified interface, and if DHCP is in use, it will explicitly state "Address determined by DHCP."

Eshow ip interface GigabitEthernet 0/0 brief

The `show ip interface GigabitEthernet 0/0 brief` command provides a concise summary of the interface's IP address and status but typically does not detail the method of IP address assignment.

Concept tested: Verifying interface IP configuration method (DHCP)

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_cfg/command/ipaddr-cr-book/ipaddr-cr-s3.html#wp4007624953

Topics

#Cisco IOS show commands#Interface IP configuration#DHCP client status

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice