< Home

dhcp server option184

Function

The dhcp server option184 command configures Option 184 allocated by a DHCP server to a client.

The undo dhcp server option184 command deletes Option 184 allocated by a DHCP server to a client.

By default, Option 184 allocated by a DHCP server to a client is not configured.

Format

dhcp server option184 { as-ip ip-address | fail-over ip-address dialer-string | ncp-ip ip-address | voice-vlan vlan-id }

undo dhcp server option184 [ as-ip | fail-over | ncp-ip | voice-vlan ]

Parameters

Parameter

Description

Value

ncp-ip ip-address

Specifies the IP address of the network call processor (NCP).

The value is in dotted decimal notation.

as-ip ip-address

Specifies the IP address of the backup NCP.

The value is in dotted decimal notation.

fail-over ip-address

Specifies the IP address in the failover route.

The value is in dotted decimal notation.

dialer-string

Specifies the dialer string.

The value is a string of 1 to 64 characters.

voice-vlan vlan-id

Specifies the ID of a voice VLAN.

The value is an integer that ranges from 1 to 4094.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The dhcp server option184 command applies to only the DHCP server and configures Option 184 allocated by a DHCP server to a client in an interface address pool.

Prerequisites

  1. The DHCP function has been enabled using the dhcp enable command in the system view.
  2. IP addresses in the interface address pool have been configured using the ip address command.

  3. The DHCP server function has been enabled on the interface using the dhcp select interface command.

Example

# Configure Option 184 allocated by a DHCP server to a client in the interface address pool on VLANIF100.
<HUAWEI> system-view
[HUAWEI] dhcp enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ip address 10.1.1.2 24
[HUAWEI-Vlanif100] dhcp select interface
[HUAWEI-Vlanif100] dhcp server option184 as-ip 10.10.10.10
# Configure Option 184 allocated by a DHCP server to a client in the interface address pool on GE0/0/1.
<HUAWEI> system-view
[HUAWEI] dhcp enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ip address 10.1.1.2 24
[HUAWEI-GigabitEthernet0/0/1] dhcp select interface
[HUAWEI-GigabitEthernet0/0/1] dhcp server option184 as-ip 10.10.10.10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >