Cisco Cisco ASR 5000

Page of 9109
Context Configuration Mode Commands I-M   
▀  ip domain-name 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
2552 
   
ip domain-name 
Configures or removes a logical domain name for the current context. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration 
configure > context context_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-ctx)# 
Syntax
 
[ no ] ip domain-name name 
no
 
Indicates the logical domain name for the current context is to be removed. 
name
 
Specifies the logical domain name to use for domain name server address resolution. 
name
 is an 
alphanumeric string of 1 through 1023 characters formatted to be a valid IP domain name. 
Usage 
Set a logical domain name if the context is to be accessed by logical domain name in addition to direct IP 
address. 
Example
 
ip domain-name sampleName.org