1-4
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter1 Command-Line Interface
Understanding Command Modes
Understanding Command Modes
The CiscoIOS user interface on the Catalyst4500 series switch has many different modes. The
commands that are available to you depend on which mode you are currently in. You can obtain a list of
commands available for each command mode by entering a question mark (?) at the system prompt.
Switch(config-if)# channel-group ?
<1-256> Channel group number
Switch(config-if)#channel-group
After you enter the group keyword,
enter a ? to display what you must
enter next on the command line. In
this example, you must enter a channel
group number from 1to 256.
Because a <cr> is not displayed, it
indicates that you must enter more
information to complete the
command.
Switch(config-if)# channel-group 1 ?
mode Etherchannel Mode of the interface
Switch(config-if)#
After you enter the channel group
number, enter a ? to display what you
must enter next on the command line.
In this example, you must enter the
mode keyword.
Because a <cr> is not displayed, it
indicates that you must enter more
information to complete the
command.
Switch(config-if)# channel-group 1 mode ?
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
Switch(config-if)#
After you enter the mode keyword,
enter a ? to display what you must
enter next on the command line. In
this example, you must enter the auto,
desirable, or on keyword.
Because a <cr> is not displayed, it
indicates that you must enter more
information to complete the
command.
Switch(config-if)# channel-group 1 mode auto ?
<cr>
Switch(config-if)#
In this example, the auto keyword is
entered. After you enter the auto
keyword, enter a ? to display what you
must enter next on the command line.
Because a <cr> is displayed, it
indicates that you can press Return to
complete the command. If additional
keywords are listed, you can enter
more keywords or press Return to
complete the command.
Switch(config-if)# channel-group 1 mode auto
Switch(config-if)#
In this example, press Return to
complete the command.
Table1-2 How to Find Command Options (continued)
Command Purpose