Ip Domain-Name - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

ip domain-name

S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
ip domain-name
To configure a domain name, use the ip domain-name command. To delete a domain name, use the no
form of the command.
Syntax Description
domain-name
use-vrf name
Command Default
None
Command Modes
Global configuration mode
VRF context configuration mode
Command History
Release
5.0(3)U1(1)
Usage Guidelines
Use the ip domain-name command to configure the domain name for the device. Use the vrf context
command to enter the VRF context mode to configure the domain monastery for a particular VRF.
Examples
This example shows how to configure the IP domain name for the default VRF:
switch# configure terminal
switch(config)# ip domain-name Mysite.com
switch(config)#
This example shows how to configure the IP domain name for the management VRF:
switch# configure terminal
switch(config)# vrf context management
switch(config-vrf)# ip domain-name Mysite.com
switch(config-vrf)#
This example shows how to configure the IP domain name for the default VRF to use the management
VRF as a backup if the domain name cannot be resolved through 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)#
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-92
ip domain-name domain-name [use-vrf name]
no ip domain-name domain-name [use-vrf name]
Domain name. The name can be any case-sensitive, alphanumeric string up
to 63 characters.
(Optional) Specifies the virtual routing and forwarding (VRF) to use to
resolve the domain name. The name can be any case-sensitive, alphanumeric
string up to 32 characters.
Modification
This command was introduced.
Chapter
System Management Commands
OL-29557-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents