S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
2-3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 2 Using the Command-Line Interface
Using the CLI
You can abbreviate commands and keywords by entering just enough characters to make the command
unique from other commands. For example, you can abbreviate the
configure terminal
command to
conf t
.
Changing Command Modes
Configuration mode, also known as terminal configuration mode, has several submodes. Each of these
submodes places you further down in the prompt hierarchy. When you type
exit
, the switch backs out of
the current level and returns you to the previous level. When you type
end
, the switch backs out to the
user EXEC level. You can also press
Ctrl-Z
in configuration mode as an alternative to typing
end
.
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
Set bandwidth informational parameter
cdp
Configure CDP interface parameters
channel-group
Add to/remove from a port-channel
delay
Specify interface throughput delay
description
Enter description of maximum 80 characters
exit
Exit from command interpreter
fcoe
Fibre channel over ethernet configuration
fex
Configure FEX fabric
flowcontrol
Configure interface flowcontrol
ip
Configure IP features
ipv6
Configure IPv6 features
lacp
Configure LACP parameters
link
Configure link
lldp
Configure Interface LLDP parameters
logging
Configure logging for interface
mac
MAC configuration commands
no
Negate a command or set its defaults
priority-flow-control
Configure interface priority-flowcontrol
service-policy
Configure QoS service policy
shutdown
Enable/disable an interface
snmp
Modify SNMP interface parameters
spanning-tree
Spanning Tree Subsystem
speed
Enter the port speed
storm-control
Configure Interface storm control
Содержание N5010P-N2K-BE
Страница 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 101: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 2 LAN Switching ...
Страница 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 239: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 3 Switch Security Features ...
Страница 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 311: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 4 System Management ...
Страница 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 399: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 5 Fibre Channel over Ethernet ...
Страница 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 417: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 6 Quality of Service ...
Страница 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 435: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 7 SAN Switching ...
Страница 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 657: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 8 Troubleshooting ...
Страница 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...