domain-name
Syntax
domain-name <NAME>
no domain-name [<NAME>]
Description
Configures the domain name of the switch.
The
no
form of this command removes the domain name from the configuration.
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. Maximum string length: 32.
Authority
Administrators
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)#