域名
Syntax
域名 没有域名[ ]
描述
Specifies the domain name of the switch.
The没有
这个命令的形式ts the domain name to the default, which is no domain name.
Command context
config
Parameters
-
-
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-nameswitch#configswitch(config)#域名example.comswitch(config)#show domain-nameexample.com switch(config)#
Setting the domain name to the default value:
switch(config)#没有域名switch(config)#show domain-nameswitch(config)#