show domain-name

Syntax

show domain-name[vsx-peer]

描述

Shows the current domain name.

Command context

Manager (#)

Parameters

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

权威

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

Usage

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

Example

设置和显示《婚姻保护法》in name:

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