show domain-name

Syntax

show domain-name

描述

Shows the current domain name.

命令有限公司ntext

经理(#)

权威

Administrators or local user group members with execution rights for this command.

使用

If there is no domain name configured, the CLI displays a blank line.

Example

Setting and showing the domain name:

switch#show domain-nameswitch#configswitch(config)#domain-name example.comswitch(config)#show domain-nameexample.com switch(config)#