Using "Show" Commands; Using The "No" Form; Using "Alias" Commands - Alcatel-Lucent OmniSwitch 6450 Management Manual

Hide thumbs Also See for OmniSwitch 6450:
Table of Contents

Advertisement

Command Entry Rules and Syntax

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.
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.

Using the "No" Form

The OmniSwitch 6250/6450 CLI Reference Guide defines all CLI commands and explains their syntax.
Whenever a command has a "no" form, it is described on the same page as the original command.
The "no" form of a command can be used for the following:
• Remove the configuration created by a command. For example, create a VLAN with the vlan
command, and delete a VLAN using the no vlan command.
• Reset a configuration value to its default. For example, 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.

Using "Alias" Commands

Define substitute text for the CLI commands in the switch by using the
There are two main reasons for defining aliases:
• To 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:
-> alias gp group
• To change unfamiliar command words into familiar words or patterns.
If you prefer the term "privilege" to the term "attribute" with reference to the read-write capabilities of a
login account, 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 are supported as valid CLI terms.
For example if privilege is defined as an alias as shown above, both privilege and attrib 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
If the aliases are not saved they are stored until the user session ends. In this case, once you log off the
switch, substitute terms configured with the
To display aliases, use the
the
user profile reset
page 6-5
alias
show alias
command. To set all alias values back to their factory defaults, use
command.
alias
command are destroyed.
OmniSwitch 6250/6450 Switch Management Guide
Using the CLI
command.
user profile save
command.
June 2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6350Omniswitch 6250

Table of Contents