nerdexam
Huawei

H12-311_V3.0 · Question #118

According to the following configuration example, which of the following statement is correct? [AC] dhcp enable [AC] interface VLANif100 [AC-VLANif100] ip address 10.1.100.1 24 [AC-VLANif100] dhcp…

The correct answer is C. If VLAN100 is a user VLAN, the gateway after the user receives the address is 10.1.100.1, and the. Option C is correct because when dhcp select interface is configured on VLANif100, the AC acts as a DHCP server using an interface address pool derived from that interface's own IP subnet (10.1.100.0/24). The interface IP address, 10.1.100.1, is automatically used as the…

WLAN Planning and Deployment

Question

According to the following configuration example, which of the following statement is correct? [AC] dhcp enable [AC] interface VLANif100 [AC-VLANif100] ip address 10.1.100.1 24 [AC-VLANif100] dhcp select interface [AC-VLANif100] quit

Options

  • AThe DHCP service is enabled by default in the global mode, so dhcp enable does not need to be
  • BThe command dhcp select interface is to enable the DHCP client function on the VLAN 100
  • CIf VLAN100 is a user VLAN, the gateway after the user receives the address is 10.1.100.1, and the
  • DIf VLAN 100 is the management VLAN where the AP is located, the option 43 field in the DHCP

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    17% (6)
  • C
    71% (25)
  • D
    3% (1)

Explanation

Option C is correct because when dhcp select interface is configured on VLANif100, the AC acts as a DHCP server using an interface address pool derived from that interface's own IP subnet (10.1.100.0/24). The interface IP address, 10.1.100.1, is automatically used as the default gateway option sent to clients, so any user in VLAN 100 who obtains an address will have 10.1.100.1 as their gateway.

Option A is wrong because DHCP is not enabled by default on Huawei devices; the dhcp enable command is mandatory in global configuration before any DHCP server or relay functionality can work. Option B is wrong because dhcp select interface enables the DHCP server function on that interface using an interface address pool, not the DHCP client function; a client would be configured with dhcp client. Option D is wrong because basic interface-mode DHCP does not automatically populate Option 43 (which carries the AC IP address for AP discovery); that requires additional explicit configuration such as option 43 commands.

Memory tip: Think of dhcp select interface as "the interface serves itself" - the interface's own IP becomes both the pool boundary and the gateway handed to clients, while dhcp enable at the global level is always the prerequisite that must come first.

Topics

#DHCP Server Configuration#VLAN Interface#Gateway Assignment#AC Configuration

Community Discussion

No community discussion yet for this question.

Full H12-311_V3.0 Practice