Listing The Commands Used With Each Command Mode; Cli Command Hierarchy; Exec Mode Commands - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Listing the Commands Used with Each Command Mode

Listing the Commands Used with Each Command Mode
You can display the commands available in any command mode by typing a question mark (?) at the switch
prompt.

CLI Command Hierarchy

CLI commands are organized hierarchically, with commands that perform similar functions grouped under
the same level. For example, all commands that display information about the system, configuration, or
hardware are grouped under the show command, and all commands that allow you to configure the switch
are grouped under the configure terminal command.
To execute a command, you enter the command by starting at the top level of the hierarchy. For example, to
configure an interface, use the config terminal command. Once you are in configuration mode, enter the
interface command. When you are in the interface submode, you can query the available commands.
The following example shows how to query the available command in the interface submode:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# ?
bandwidth
cdp
channel-group
delay
description
exit
fcoe
fex
flowcontrol
ip
ipv6
lacp
link
lldp
logging
mac
no
priority-flow-control
service-policy
shutdown
snmp
spanning-tree
speed
storm-control
switchport
untagged

EXEC Mode Commands

When you start a session on the switch, you begin in EXEC mode. From EXEC mode, you can enter
configuration mode. Most of the EXEC commands are one-time commands, such as show commands, which
display the current configuration status.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
18
Set bandwidth informational parameter
Configure CDP interface parameters
Add to/remove from a port-channel
Specify interface throughput delay
Enter description of maximum 80 characters
Exit from command interpreter
Fibre channel over ethernet configuration
Configure FEX fabric
Configure interface flowcontrol
Configure IP features
Configure IPv6 features
Configure LACP parameters
Configure link
Configure Interface LLDP parameters
Configure logging for interface
MAC configuration commands
Negate a command or set its defaults
Configure interface priority-flowcontrol
Configure QoS service policy
Enable/disable an interface
Modify SNMP interface parameters
Spanning Tree Subsystem
Enter the port speed
Configure Interface storm control
Configure switchport parameters
default to use for untagged packets on interface
Using the CLI
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents