Ip Name-Server - Cisco Nexus 3548 Command Reference Manual

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

ip name-server

ip name-server
To configure a name server, use the ip name-server command. To disable this feature, use the no form
of the command.
Syntax Description
ip-address
use-vrf name
Command Default
None
Command Modes
Global configuration mode
VRF context configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
Use the ip name-server command to configure the name server for the device. Use the vrf context
command to enter the VRF context mode to configure the domain names for a particular VRF.
Examples
This example shows how to configure the IP name server for the default VRF:
switch# configure terminal
switch(config)# vrf context management
switch(config-vrf)# exit
switch(config)# ip domain-name Mysite.com use-vrf management
switch(config)# ip name-server 192.0.2.1
switch(config)#
This example shows how to configure the IP name server for the management VRF:
switch# configure terminal
switch(config)# vrf context management
switch(config-vrf)# ip name-server 192.0.2.1
switch(config-vrf)#
This example shows how to configure the IP name server for the default VRF to use the management
VRF as a backup if the IP name server cannot be reached through the default VRF:
switch# configure terminal
switch(config)# vrf context management
switch(config-vrf)# exit
Cisco Nexus 3548 Switch NX-OS System Management Command Reference
68
ip name-server ip-address [use-vrf name]
no ip name-server ip-address [use-vrf name]
IP address for the name server.
(Optional) Specifies the virtual routing and forwarding (VRF) to use to reach
the name-server. The name can be any case-sensitive, alphanumeric string up
to 32 characters.
Modification
This command was introduced.
System Management Commands
OL-27851-02

Advertisement

Table of Contents
loading

Table of Contents