< Home

sysname

Function

The sysname command sets the host name of the FW.

The undo sysname command restores the default host name of the FW.

By default, the host name of the FW is USG.

Format

sysname host-name

undo sysname

Parameters

Parameter Description Value

host-name

Specifies the host name.

The name is a string of 1 to 246 case-sensitive space-tolerant characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Modifying the host name of the FW affects the prompt of command line interface. If the host name of the FW is "sysname", the prompt in the user view is <sysname>.

Example

# Set the host name of the FW as sysnameA.

<sysname> system-view
[sysname] sysname sysnameA
[sysnameA]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >