Prompt; Changing The Command Line Prompt - GE MultiLink ML1200 Instruction Manual

Managed field switch
Hide thumbs Also See for MultiLink ML1200:
Table of Contents

Advertisement

MISCELLANEOUS COMMANDS

17.6 Prompt

17.6.1 Changing the Command Line Prompt

17–10
Setting a meaningful host prompt can be useful when a network administrator is
managing multiple switches and has multiple telnet or console sessions. To facilitate this,
the ML1200 allows administrators to define custom prompts. The command to set a
prompt is:
set prompt <prompt string>
The length of the prompt is limited to 60 characters.
There are predefined variables that can be used to set the prompt. These are:
• $n: system name
• $c: system contact
• $l: system location
• $i: system IP address
• $m: system MAC address
• $v: version
• $$: the "$" (dollar sign) character
• $r: new line
• $b: space
A few examples on how the system prompt can be setup are shown below.
ML1200# snmp
setvar sysname=Core
ML1200(snmp)##
System variable(s) set successfully
exit
ML1200(snmp)##
set prompt $n
ML1200#
set prompt $n$b$i
Core#
Core 192.168.5.5#
Core 192.168.5.5 #
Core 192.168.5.5 (snmp)##
System variable(s) set successfully
Core 192.168.5.5 (snmp)##
Core 192.168.5.5 #
set prompt $n$b$i$b
192.168.5.5 #
ML1200 192.168.5.5 #
ML1200 192.168.5.5 #
Some thing192.168.5.5#
Some thing 192.168.5.5#
CHAPTER 17: MISCELLANEOUS COMMANDS
set prompt $n$b$i$b
snmp
setvar sysname=ML1200
exit
set prompt $b$b$i$b
set prompt Some$bthing$i
set prompt Some$bthing$b$i
MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents