Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
17/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
2.2 Using the CLI
2.2.1 How to Enter Commands
z Command Entry Format
Separate each command, subcommand and argument with a single space.
<command> <subcommand> <argument 1> <argument 2> ... (" " indicates a space.)
xg(config)# management-interface ip 192.168.1.10/24 default-gw 192.168.1.150
xg(config)# management-interface dns-server 192.168.1.150
z Characters that can be entered:
Any letter (A-Z, a-z) and digit (0-9)
Space (ASCII code: 0x20)
Symbols: !, ". #, $, %, `, ', (, ), _, -, ~, ^, ¥, {, }, :, +, ,, ., @, =, [, ], &, *, ;, /, ?, |, >
Command and option separators are recognized as one or more space characters (ASCII code:
0x20). Enclose a parameter in quotes if it contains a blank space.
The commands are not case-sensitive. Note that some entries (password, etc.) are
case-sensitive.
2.2.2 Context-Sensitive Help
Entering a question mark "?" at the command prompt displays a list of commands available for each command mode. A list of
command's associated with the keywords and parameters will be displayed.
z A list of commands that are available in the current mode
Entering a question mark "?" at the system prompt displays a list of commands and brief
descriptions available for the current command mode.
xg # ?
Exec commands:
boot-system Change firmware to boot
clear Reset functions
configure Enter configuration mode
copy Copy from one file to another
date Manage the system date and time
delete Delete files on current system
dir List files on current system
:
(The rest is omitted.)
xg# _
z Word help
Entering a question mark "?" in the middle of a command name, will list the possible command
options required to complete the command. The prompt will show the letters previously typed.
Enter the rest of the letters to complete the command entry.
xg # co?
Exec commands:
configure Enter configuration mode
copy Copy from one file to another
xg# co_
The CLI lists all possible commands that begin with "co".
z A list of options that are available in the current entry position
Entering a question mark "?" followed by a space after typing a command name, will cause
the CLI to list the possible commands or keywords that may be entered at the current option
position. For option 2 and 3 positions, the CLI also lists options
that can be entered at these positions. The prompt will show the letters previously typed.
Enter the rest of the letters to complete the command entry.
xg# configure ?
terminal Configure from the terminal
xg# configure _
CLI lists possible options that follow the "configure" command.
The <cr> symbol may appear in the list to indicate that the command can be executed without
entering any subsequent options. Parameters enclosed in square brackets can be omitted and,
therefore, the <cr> symbol does not appear.