Alcatel-Lucent 6850-48 補足マニュアル
Command Entry Rules and Syntax
Using the CLI
page 6-4
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
Using “Show” Commands
The CLI contains show commands that allow you to view configuration and switch status on your console
screen. The show syntax is used with other command keywords to display information pertaining to those
keywords.
screen. The show syntax is used with other command keywords to display information pertaining to those
keywords.
For example, the show vlan command displays a table of all VLANs currently configured, along with
pertinent information about each VLAN. Different forms of the show vlan command can be used to
display different subsets of VLAN information. For example the show vlan rules command displays all
rules defined for a VLAN.
pertinent information about each VLAN. Different forms of the show vlan command can be used to
display different subsets of VLAN information. For example the show vlan rules command displays all
rules defined for a VLAN.
Using the “No” Form
The OmniSwitch CLI Reference Guide defines all CLI commands and explains their syntax. Whenever a
command
command
has a “no” form, it is described on the same page as the original command. The “no” form of a
command will mean one of the following:
• It can remove the configuration created by a command. For example, you create a VLAN with the vlan
command, and you delete a VLAN with the no vlan command.
• It can reset a configuration value to its default. For example, you can create a static IGMP entry on a
specified port of a specified VLAN with the ip multicast static-group command. You can remove the
static IGMP entry from a specified port on a specified VLAN with the no ip multicast static-group
command.
static IGMP entry from a specified port on a specified VLAN with the no ip multicast static-group
command.
Using “Alias” Commands
You may define substitute text for the switch’s CLI commands by using the
command. There are two
main reasons for defining aliases:
• You can eliminate excess typing by reducing the number of characters required for a command.
To reduce the number of characters required to use the group term in a CLI command, you can change the
syntax to gp as follows:
syntax to gp as follows:
-> alias gp group
• You can change unfamiliar command words into familiar words or patterns.
If you prefer the term “privilege” to the term “attribute” with reference to a login account’s read-write
capabilities, you can change the CLI word from attrib to privilege by using the following command.
capabilities, you can change the CLI word from attrib to privilege by using the following command.
-> alias privilege attrib
After an alias has been defined, both the alias and the original CLI term will be supported as valid CLI
terms. For example if privilege is defined as an alias as shown above, both privilege and attrib will work
as CLI commands and both words are shown when you use the CLI help feature.
terms. For example if privilege is defined as an alias as shown above, both privilege and attrib will work
as CLI commands and both words are shown when you use the CLI help feature.
You can save command aliases for the current user account by executing the
command.
If the aliases are not saved they will be stored until the user session ends. In this case, once you log off the
switch, substitute terms configured with the
switch, substitute terms configured with the
command are destroyed.
command. To set all alias values back to their factory defaults, use
the