
18–14
MULTILINK ML3000 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL
MISCELLANEOUS COMMANDS
CHAPTER 18: MISCELLANEOUS COMMANDS
18.7 Prompt
18.7.1 Changing the Command Line Prompt
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 ML3000 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.
ML3000# snmp
ML3000(snmp)##
setvar sysname=Core
System variable(s) set successfully
ML3000(snmp)##
exit
ML3000#
set prompt $n
Core#
set prompt $n$b$i
Core 192.168.5.5#
set prompt $n$b$i$b
Core 192.168.5.5 #
snmp
Core 192.168.5.5 (snmp)##
setvar sysname=ML3000
System variable(s) set successfully
Core 192.168.5.5 (snmp)##
exit
Core 192.168.5.5 #
set prompt $b$b$i$b
192.168.5.5 #
set prompt $n$b$i$b
ML3000 192.168.5.5 #
ML3000 192.168.5.5 #
set prompt Some$bthing$i
Some thing192.168.5.5#
set prompt Some$bthing$b$i
Some thing 192.168.5.5#
Содержание Multilink ML3000
Страница 8: ...0 8 MULTILINK ML3000 ETHERNET COMMUNICATIONS SWITCH INSTRUCTION MANUAL CHAPTER 0 ...
Страница 68: ...3 10 MULTILINK ML3000 ETHERNET COMMUNICATIONS SWITCH INSTRUCTION MANUAL INSTALLATION CHAPTER 3 INSTALLATION ...
Страница 274: ...16 14 MULTILINK ML3000 ETHERNET COMMUNICATIONS SWITCH INSTRUCTION MANUAL SNMP CHAPTER 16 SNMP ...
Страница 290: ...17 14 MULTILINK ML3000 ETHERNET COMMUNICATIONS SWITCH INSTRUCTION MANUAL LACP CHAPTER 17 LACP ...
Страница 317: ...CHAPTER 19 MODBUS PROTOCOL MODBUS PROTOCOL MULTILINK ML3000 ETHERNET COMMUNICATIONS SWITCH INSTRUCTION MANUAL 19 3 ...