< Home

dhcp server netbios-type

Function

The dhcp server netbios-type command specifies the NetBIOS node type for a DHCP client connecting to an interface.

The undo dhcp server netbios-type command deletes the specified NetBIOS node type of a DHCP client connecting to an interface.

By default, no NetBIOS node type is specified for a DHCP client connecting to an interface.

Format

dhcp server netbios-type { b-node | h-node | m-node | p-node }

undo dhcp server netbios-type

Parameters

Parameter

Description

Value

b-node

Indicates a node in broadcast mode. A b-node obtains the mapping in broadcast mode.

-

h-node

Indicates a node in hybrid mode. An h-node is a b-type node enabled with the end-to-end communication mechanism.

-

m-node

Indicates a node in mixed mode. An m-node is a p-type node with some broadcast features.

-

p-node

Indicates a node in peer-to-peer mode. This node obtains mappings by communicating with the NetBIOS server.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command applies to DHCP servers. When DHCP clients use NetBIOS on the WAN to communicate, their host names and IP addresses need to be mapped. You can run the dhcp server netbios-type command to configure the NetBIOS node type for an interface address pool. When assigning an IP address to the client, the DHCP server also sends the specified NetBIOS node type to the client.

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.

Precautions

To specify the NetBIOS node type for a client in the global address pool, run the netbios-type command.

Example

# Set the NetBIOS node type for a client in the address pool on VLANIF100 to p-node.

<HUAWEI> system-view 
[HUAWEI] dhcp enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ip address 10.10.10.10 24 
[HUAWEI-Vlanif100] dhcp select interface
[HUAWEI-Vlanif100] dhcp server netbios-type p-node
# Set the NetBIOS node type for a client in the address pool on GE0/0/1 to p-node.
<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.10.10.10 24 
[HUAWEI-GigabitEthernet0/0/1] dhcp select interface
[HUAWEI-GigabitEthernet0/0/1] dhcp server netbios-type p-node
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >