Hostname - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

hostname

This command sets the name applied to the device as shown at the prompt. The hostname is:
Use the no parameter to reset the hostname to the default value (awplus).
On a stack, after the stack master is elected, the master will have a host name: awplus by
default, and this also becomes the name of the stack. Individual stack members (excluding the
master) will have a host name that is the stack name hyphenated with a numeric suffix. For
example, awplus-1, awplus-2 and so on.
The hostname command can then be used to change the stack name and the stack master's
host name. For example, for the hostname Lab the stack master's host name will be Lab and
the other stack members will have host names Lab-1, Lab-2 and so on.
In case of stack master fail-over, or stack split, the new stack will use the previous stack name as
its host name and the stack name, unless it is changed by executing hostname command on the
new stack master.
Syntax
hostname <hostname>
no hostname
Parameter
<hostname>
no
Global Configuration mode
Mode
The default hostname is awplus.
Default
To specify or modify the host name, use the hostname global configuration command. The host
Usage
name is used in prompts and default configuration filenames.
The name must also follow the rules for ARPANET host names. The name must start with a
letter, end with a letter or digit, and use only letters, digits, and hyphens. Refer to RFC 1035.
To set the system name to "HQ_Sales", use the command:
Example
awplus(config)#
This changes the prompt to:
HQ_Sales(config)#
show system
Related Commands
C613-50007-01 REV B
displayed in the output of the
displayed in the CLI prompt so you know which device you are configuring
stored in the MIB object sysName
Description
Specifies the network name of the system.
Reverts the hostname setting to its default value
hostname HQ_Sales
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
System Configuration and Monitoring Commands
show system
command
8.11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents