The nbns command configures the primary or secondary NetBIOS Name Service (NBNS) server in a service scheme.
The undo nbns command cancels the configuration of the primary or secondary NBNS server in a service scheme.
By default, no primary or secondary NBNS server is configured in a service scheme.
| Parameter | Description | Value |
|---|---|---|
| ip-address | Specifies the IP address of an NBNS server. | The value is in dotted decimal notation. |
| secondary | Specifies the secondary NBNS server. |
- |
If no NBNS server is specified when a local address pool, DHCP server, or RADIUS server assigns IP addresses to users, the NBNS server configured in the service scheme view is used.
# Set the IP address of the primary NBNS server in the service scheme svcscheme1 to 10.10.10.1.
<sysname> system-view [sysname] aaa [sysname-aaa] service-scheme svcscheme1 [syanem-aaa-service-svcscheme1] nbns 10.10.10.1
# Set the IP address of the secondary NBNS server in the service scheme svcscheme1 to 10.10.20.1.
<sysname> system-view [sysname] aaa [sysname-aaa] service-scheme svcscheme1 [sysname-aaa-service-svcscheme1] nbns 10.10.20.1 secondary