domain-name
Syntax
domain-name <NAME>
no domain-name [<NAME>]
Description
Specifies the domain name of the switch.
The
no
form of this command sets the domain name to the default, which is no domain name.
Command context
config
Parameters
<NAME>
Specifies the domain name to be assigned to the switch. The first character of the name must be a letter or a number. Length: 1 to 32 characters.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Setting and showing the domain name:
switch# show domain-name switch# config switch(config)# domain-name example.com switch(config)# show domain-name example.com switch(config)#
Setting the domain name to the default value:
switch(config)# no domain-name switch(config)# show domain-name switch(config)#