
Chapter 4: Commands for CLI configuration
Enabled
Usage Guide:
To configure DNS server IP address
.
Example:
To configure DNS server IP address (8.8.8.8)
.
Switch# configure terminal
Switch (config)#
ip name-server 8.8.8.8
ip name-server dhcp
Command:
ip name-server dhcp
ip
Internet Protocol
name-server
Domain Name System
dhcp
Dynamic Host Configuration Protocol
Default:
None
Usage Guide:
To configure DNS IP address via DHCP Server
.
Example:
To configure DNS IP address via DHCP Server
.
Switch# configure terminal
Switch (config)#
ip name-server 8.8.8.8
ip name-server dhcp interface vlan
Command:
ip name-server dhcp interface vlan <vlan_id>
ip
Internet Protocol
name-server
Domain Name System
dhcp
Dynamic Host Configuration Protocol
vlan
VLAN Interface
<vlan_id>
VLAN identifier(s): VID
Default:
None
Usage Guide:
To configure DNS IP address via specific VLAN DHCP Server
.
Example:
To configure DNS IP address via specific VLAN 5 DHCP Server
.
Switch# configure terminal
Switch (config)#
ip name-server dhcp interface vlan 5
NS3500-24T-4C Managed Switch Command Guide
145