The nbns-list command configures the NetBIOS server address for the DHCP client.
The undo nbns-list command deletes a configured NetBIOS server address.
By default, no NetBIOS server address is configured.
Parameter |
Description |
Value |
---|---|---|
ip-address |
Specifies the IP address of a NetBIOS server. |
The value is in dotted decimal notation. A maximum of eight NetBIOS server addresses can be configured. These IP addresses are separated by spaces. |
all |
Deletes all NetBIOS server addresses. |
- |
Usage Scenario
This command applies to DHCP servers. Before hosts communicate with each other, a NetBIOS server needs to resolve the accessedNetBIOS hostname to an IP address. To enable hosts to communicate with each other, run the nbns-list command to configure NetBIOS server addresses. When assigning IP addresses to clients, a DHCP server also assigns the configured NetBIOS server addresses to clients. To configure NetBIOS server addresses for an interface address pool, run the dhcp server nbns-list command.
Precautions
In the IP address pool view and DHCP Option template view, a device can be configured with a maximum of eight NetBIOS server addresses respectively. The first assigned address functions as the primary address, and the other seven addresses function as secondary addresses.
<HUAWEI> system-view [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] nbns-list 192.168.1.1
<HUAWEI> system-view [HUAWEI] dhcp option template template1 [HUAWEI-dhcp-option-template-template1] nbns-list 10.1.1.1