Understanding the Command Syntax
ExtremeWare XOS 11.0 Command Reference Guide
31
Understanding the Command Syntax
When entering a command at the prompt, ensure that you have the appropriate privilege level. Most
configuration commands require you to have the administrator privilege level.
You may see a variety of symbols shown as part of the command syntax. These symbols explain how to
enter the command, and you do not type them as part of the command itself. Table 3 summarizes
command syntax symbols.
Command Completion with Syntax Helper
The CLI has a built-in syntax helper. If you are unsure of the complete syntax for a particular command,
enter as much of the command as possible and press [Tab]. The syntax helper provides a list of options
for the remainder of the command, and places the cursor at the end of the command you have entered
so far, ready for the next option.
If the command is one where the next option is a named component, such as a VLAN, access profile, or
route map, the syntax helper will also list any currently configured names that might be used as the
next option. In situations where this list might be very long, the syntax helper will list only one line of
names, followed by an ellipses to indicate that there are more names than can be displayed.
The syntax helper also provides assistance if you have entered an incorrect command.
Table 3: Command syntax symbols
Symbol
Description
angle brackets < >
Enclose a variable or value. You must specify the variable or value. For
example, in the syntax
configure vlan <vlan_name> ipaddress <ip_address>
you must supply a VLAN name for
<vlan_name>
and an address for
<ip_address>
when entering the command. Do not type the angle
brackets. You may not include spaces within angle brackets.
square brackets [ ]
Enclose a required value or list of required arguments. One or more
values or arguments can be specified. For example, in the syntax
use image [primary | secondary]
you must specify either the primary or secondary image when entering
the command. Do not type the square brackets.
vertical bar |
Separates mutually exclusive items in a list, one of which must be
entered. For example, in the syntax
configure snmp community [readonly | readwrite]
<alphanumeric_string>
you must specify either the read or write community string in the
command. Do not type the vertical bar.
braces { }
Enclose an optional value or a list of optional arguments. One or more
values or arguments can be specified. For example, in the syntax
reboot {time <month> <day> <year> <hour> <min> <sec>
{msm <slotid>} | cancel {msm <slotid>}| {msm <slotid>}
you can specify either a particular date and time combination, or the
keyword
cancel
to cancel a previously scheduled reboot. If you do not
specify an argument, the command will prompt asking if you want to
reboot the switch now. Do not type the braces.
Summary of Contents for ExtremeWare XOS 11.0
Page 26: ...26 ExtremeWare XOS 11 0 Command Reference Guide Contents...
Page 176: ...176 ExtremeWare XOS 11 0 Command Reference Guide Commands for Managing the Switch...
Page 262: ...262 ExtremeWare XOS 11 0 Command Reference Guide VLAN Commands...
Page 280: ...280 ExtremeWare XOS 11 0 Command Reference Guide FDB Commands...
Page 492: ...492 ExtremeWare XOS 11 0 Command Reference Guide EAPS Commands...
Page 536: ...536 ExtremeWare XOS 11 0 Command Reference Guide STP Commands...
Page 580: ...580 ExtremeWare XOS 11 0 Command Reference Guide ESRP Commands...
Page 876: ...876 ExtremeWare XOS 11 0 Command Reference Guide BGP Commands...
Page 926: ...926 ExtremeWare XOS 11 0 Command Reference Guide IP Multicast Commands...