Cisco Cisco ASR 5000

Page of 9109
  Context Configuration Mode Commands A-D 
domain  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
2427 
domain 
Configures a domain alias for the current context. 
Product
 
HA 
PDSN 
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
 
domain [ * ]domain_name [ default subscriber subscriber_template_name ] 
no domain [ * ]domain_name 
no
 
Indicates the domain specified is to be removed as an alias to the current context. 
[ * ]domain_name
 
domain_name
 specifies the domain alias to create/remove from the current context. If the domain portion of 
a subscribers user name matches this value, the current context is used for that subscriber. 
domain_name
 must be an alphanumeric string of 1 through 79 characters. The domain name can contain all 
special characters, however note that the character * (wildcard character) is only allowed at the beginning of 
the domain name. 
If the domain name is prefixed with * (wildcard character), and an exact match is not found for the domain 
portion of a subscriber’s username, subdomains of the domain name are matched. For example, if the domain 
portion of a subscriber’s user name is abc.xyz.com and you use the domain command 
domain *xyz.com
 it 
matches. But if you do not use the wildcard (
domain xyz.com
) it does not match. 
Important:
  The domain alias specified must not conflict with the name of any existing context or domain names. 
default subscriber subscriber_template_name
 
Specifies the name of the subscriber template to apply to subscribers using this domain alias. 
subscriber_template_name
 must be an alphanumeric string of 1 through 127 characters. If this keyword 
is not specified the default subscriber configuration in the current context is used.