Reproduction in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Trademarks used in this text: Dell, the DELL logo, and PowerConnect are trademarks of Dell Inc.
Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or
their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
The Command Line Interface (CLI) is a network management application operated through an
ASCII terminal without the use of a Graphic User Interface (GUI) driven software application. By
directly entering commands, the user has greater configuration flexibility. The CLI is a basic
command-line interpreter similar to the UNIX C shell.
A switch can be configured and maintained by entering commands from the CLI, which is based
solely on textual input and output with commands being entered by a terminal keyboard and the
output displayed as text via a terminal monitor. The CLI can be accessed from a console terminal
connected to an EIA/TIA-232 port or through a Telnet session.
This guide describes how the Command Line Interface (CLI) is structured, describes the
command syntax, and describes the command functionality.
This guide also provides information for configuring the PowerConnect switch, details the
procedures and provides configuration examples. Basic installation configuration is described in
the
User’s Guide
Command Groups
and must be completed before using this document.
The system commands can be broken down into two sets of functional groups, Layers 2 and 3.
Command GroupDescription
Layer 2 Groups
AAAConfigures connection security including authorization and passwords.
ACLConfigures and displays ACL information.
Address TableConfigures bridging address tables.
ClockConfigures the system clock.
Configuration and Image FilesManages the switch configuration files.
Denial of ServiceProvides several Denial of Service options.
Command Groups1
Page 40
Command GroupDescription
DHCP FilteringConfigures DHCP filtering and whether an interface is trusted for
Ethernet ConfigurationConfigures all port configuration options for example ports, storm
GVRPConfigures and displays GVRP configuration and information.
IGMP SnoopingConfigures IGMP snooping and displays IGMP configuration and
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
IC
GC
GC
IC
IC
PE
IC
IC
Command Groups9
Page 48
GVRP Commands
CommandDescriptionMode*
clear gvrp statisticsClears all the GVRP statistics information.PE
garp timerAdjusts the GARP application join, leave, and leaveall
gvrp enable (global)Enables GVRP globally. GC
gvrp enable (interface)Enables GVRP on an interface.IC
gvrp registration-forbidDe-registers all VLANs, and prevents dynamic VLAN
www.dell.com | support.dell.com
gvrp vlan-creation-forbidEnables or disables dynamic VLAN creation. IC
show gvrp configurationDisplays GVRP configuration information,
show gvrp error-statisticsDisplays GVRP error statistics.UE
show gvrp statisticsDisplays GVRP statistics.UE
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
IGMP Snooping Commands
GARP timer values.
registration on the port.
including
timer values, whether GVRP and dynamic VLAN
creation is enabled, and which ports are running GVRP
IC
IC
PE
CommandDescriptionMode*
ip igmp snooping (Global)In Global Config mode, Enables Internet Group
ip igmp snooping (Interface)Enables Internet Group Management Protocol (IGMP)
ip igmp snooping host-time-outConfigures the host-time-out.IC
ip igmp snooping leave-time-outConfigures the leave-time-out. IC
ip igmp snooping mrouter-timeout
show ip igmp snooping groupsDisplays Multicast groups learned by IGMP snooping.UE
show ip igmp snooping interfaceDisplays IGMP snooping configuration.PE
show ip igmp snooping mrouterDisplays information on dynamically learned Multicast
ip igmp snooping (VLAN)In VLAN Config mode, enables IGMP snooping on a
10Command Groups
GC
Management Protocol (IGMP) snooping.
snooping on a specific VLAN.
Configures the mrouter-time-out.IC
router interfaces.
particular VLAN or on all interfaces participating in a
VLAN.
VLAN
IC
PE
GC
VLAN
Page 49
CommandDescriptionMode*
ip igmp snooping fast-leaveEnables or disables IGMP Snooping fast-leave mode on a
selected VLAN.
ip igmp snooping
groupmembership-interval
ip igmp snooping maxresponseSets the IGMP Maximum Response time on a particular
ip igmp snooping mcrtrexpiretime Sets the Multicast Router Present Expiration time.VLAN
Sets the IGMP Group Membership Interval time on a
VLAN.
VLAN.
VLAN
VLAN
VLAN
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
IGMP Snooping Querier Commands
CommandDescriptionMode*
ip igmp snooping querierEnables/disables IGMP Snooping Querier on the system
(Global Configuration mode) or on a VLAN.
ip igmp snooping querier queryinterval
ip igmp snooping querier timer
expiry
ip igmp snooping querier versionSets the IGMP version of the query that the snooping
ip igmp snooping querier election
participate
show igmpsnooping querierDisplays IGMP Snooping Querier information.PE
Sets the IGMP Querier Query Interval time.GC
Sets the IGMP Querier timer expiration period.GC
switch is going to send periodically.
Enables the Snooping Querier to participate in the Querier
Election process when it discovers the presence of another
Querier in the VLAN.
GC,
VLAN
GC
VLAN
LACP Commands
CommandDescriptionMode*
lacp port-priorityConfigures the priority value for physical ports. IC
lacp system-priorityConfigures the system LACP priority. GC
lacp timeoutAssigns an administrative LACP timeout.IC
show lacp ethernetDisplays LACP information for Ethernet ports.PE
show lacp port-channelDisplays LACP information for a port-channel.PE
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Command Groups11
Page 50
Link Dependency Commands
CommandDescriptionMode*
link-dependency group Enters the link-dependency mode to configure a
no link-dependency group Removes the configuration for a link-dependency
add ethernet Adds member Ethernet port(s) to the
no add ethernetRemoves member Ethernet port(s) from the
www.dell.com | support.dell.com
add port-channelAdds member port-channels to the dependency
no add port-channelRemoves member port-channels from the
depends-on ethernetAdds the dependent Ethernet ports list.Link Dependency
no depends-on ethernetRemoves the dependent Ethernet ports list.Link Dependency
depends-on port-channelAdds the dependent port-channels list.Link Dependency
no depends-on port-channelRemoves the dependent port-channels list.Link Dependency
show link-dependencyShows the link dependencies configured on a
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Link Dependency
link-dependency group.
Link Dependency
group.
Link Dependency
dependency list.
Link Dependency
dependency list.
Link Dependency
list.
Link Dependency
dependency list.
PE
particular group.
LLDP Commands
CommandDescriptionMode*
clear lldp remote dataDeletes all data from the remote data table.PE
clear lldp statisticsResets all LLDP statistics.PE
lldp notificationEnables remote data change notifications.IC
lldp notification-intervalLimits how frequently remote data change notifications are
lldp receiveEnables the LLDP receive capability.IC
lldp timersSets the timing parameters for local data transmission on
12Command Groups
GC
sent.
GC
ports enabled for LLDP.
Page 51
CommandDescriptionMode*
lldp transmitEnables the LLDP advertise capability.IC
lldp transmit-mgmtSpecifies that transmission of the local system
management address information in the LLDPDUs is
included.
lldp transmit-tlvSpecifies which optional TLVs in the 802.1AB basic
management set will be transmitted in the LLDPDUs.
show lldpDisplays the current LLDP configuration summary.PE
show lldp connectionsDisplays the current LLDP remote data.PE
show lldp interfaceDisplays the current LLDP interface state.PE
show lldp local-deviceDisplays the LLDP local dataPE
show lldp remote-deviceDisplays the LLDP remote dataPE
show lldp statisticsDisplays the current LLDP traffic statistics.PE
IC
IC
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Password Management
CommandDescriptionMode*
passwords agingImplements aging on the passwords such that users are
required to change passwords when they expire.
passwords historyEnables the administrator to set the number of previous
passwords that are stored to ensure that users do not reuse
their passwords too frequently.
passwords lock-outEnables the administrator to strengthen the security of the
switch by enabling the user lockout feature. When a
lockout count is configured, a user who is logging in must
enter the correct password within that count.
passwords min-lengthEnables the administrator to enforce a minimum length
required for a password.
show passwords configurationDisplays the configuration parameters for password
configuration.
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
GC
GC
GC
GC
PE
Command Groups13
Page 52
Port Monitor Commands
CommandDescriptionMode*
monitor sessionConfigures a port monitoring session. GC
show monitor sessionDisplays the port monitoring status.PE
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
PHY Diagnostics Commands
www.dell.com | support.dell.com
CommandDescriptionMode*
show copper-ports cable-lengthDisplays the estimated copper cable length attached to a
show copper-ports tdrDisplays the last TDR (Time Domain Reflectometry) tests
show fiber-ports opticaltransceiver
test copper-port tdrDiagnoses with TDR (Time Domain Reflectometry)
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
System Management Commands
CommandDescriptionMode*
asset-tagSpecifies the switch asset-tag. GC
cut-through modeEnables the cut-through mode on the switch.GC
hostnameSpecifies or modifies the switch host name. GC
ip addressSets a static OOB port IP address.IC (out-of-
ip address noneDisables DHCP/BOOTP on the OOB port.IC (out-of-
ip address {dhcp/bootp}Enables DHCP/BOOTP on the OOB port.IC (out-of-
memberConfigures the switch.SG
movemanagementMoves the Management Switch functionality from one
PE
port.
PE
on specified ports.
Displays the optical transceiver diagnostics.PE
PE
technology the quality and characteristics of a copper cable
attached to a port.
band)
band)
band)
GC
switch to another.
14Command Groups
Page 53
CommandDescriptionMode*
no cut-through modeDisables the cut-through mode on the switch.GC
no standbyUnconfigures the standby in the stack.Stack GC
pingSends ICMP echo request packets to another node on the
network.
reloadReloads the operating system.PE
set descriptionAssociates a text description with a switch in the stack.GC
show boot-versionDisplays the boot image version details.PE
show cut-through modeShow the cut-through mode on the switch.PE
show ip interface out-of-band Disables DHCP/BOOTP on the OOB port.PE
show memory cpuChecks the total and available RAM space on the switch.PE
show process cpuChecks the CPU utilization for each process currently
running on the switch.
show sessionsDisplays a list of the open telnet sessions to remote hosts.PE
show stack-portDisplays summary stack-port information for all interfaces. PE
show stack-port countersDisplays summary data counter information for all
interfaces.
show stack-port diagDisplays front panel stacking diagnostics for each port.PE
show stack-standbyShows the Standby configured in the stack.PE
show supported switchtypeDisplays information about all supported switch types.UE
show switchDisplays information about the switch status.UE
show systemDisplays system information.UE
show system idDisplays the service ID information.UE
show usersDisplays information about the active users.PE
show versionDisplays the system version information.UE
stackSets the mode to Stack Global Config.GC
standbyConfigures the standby in the stack.Stack GC
switch priorityConfigures the ability of the switch to become the
Management Switch.
switch renumberChanges the identifier for a switch in the stack.GC
telnetLogs into a host that supports Telnet.PE
tracerouteDiscovers the IP routes that packets actually take when
travelling to their destinations.
UE
PE
PE
GC
PE
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Command Groups15
Page 54
ACL Commands
CommandDescriptionMode*
access-listCreates an Access Control List (ACL) that is identified by
deny|permitThe deny command denies traffic if the conditions defined
ip access-groupAttaches a specified access-control list to an interface.GC or
www.dell.com | support.dell.com
ip access-group <name> outApplies an IP based egress ACL on an Ethernet interface or
mac access-groupAttaches a specific MAC Access Control List (ACL) to an
mac access-list extendedCreates the MAC Access Control List (ACL) identified by
mac access-list extended renameRenames the existing MAC Access Control List (ACL)
show ip access-listsDisplays an Access Control List (ACL) and all of the rules
show mac access-listDisplays a MAC access list and all of the rules that are
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
the parameter accesslistnumber.
in the deny statement are matched. The permit command
allows traffic if the conditions defined in the permit
statement are matched.
a group of interfaces.
interface in a given direction.
the name parameter.
name.
that are defined for the ACL.
defined for the ACL.
IC
ML
IC
IC
GC or
IC
GC
GC
PE
PE
Line Commands
CommandDescriptionMode*
exec-timeoutConfigures the interval that the system waits for user input. LC
historyEnables the command history function.UE
history sizeChanges the command history buffer size for a particular
lineIdentifies a specific line for configuration and enters the
show lineDisplays line parameters.UE
speedSets the line baud rate. LC
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
16Command Groups
UE
line.
GC
line configuration command mode.
Page 55
IP Addressing Commands
CommandDescriptionMode*
clear hostDeletes entries from the host name-to-address cachePE
helper addressEnable forwarding User Datagram Protocol (UDP)
Broadcast packets received on an interface.
interface out-of-bandBrings up the OOB port configuration menu.GC
ip addressSets a management IP address on the switch.GC
ip address dhcpAcquires an IP address on an interface from the DHCP
server.
ip address vlanSets the management VLAN.GC
ip default-gatewayDefines a default gateway (router).GC
ip domain-lookupEnables IP DNS-based host name-to-address translation.GC
ip domain-nameDefines a default domain name to complete unqualified
host names.
ip helper addressAllows the device to forward User Datagram Protocol
(UDP) broadcasts received on an interface.
ip hostConfigures static host name-to-address mapping in the
host cache.
ip name-serverConfigures available name servers.GC
show arp switchDisplays
show hostsDisplays the default domain name, a list of name server
hosts, static and cached list of host names and addresses.
show ip helper addressDisplays the ip helper addresses configuration.PE
show ip interface managementDisplays the management IP interface information.UE
the entries in the ARP table.
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
IC
GC
GC
GC
GC
PE
PE
802.1x Commands
CommandDescriptionMode*
aaa authentication dot1xSpecifies one or more authentication, authorization and
accounting (AAA) methods for use on interfaces running
IEEE 802.1X.
dot1x max-reqSets the maximum number of times the switch sends an
EAP-request frame to the client before restarting the
authentication process.
Command Groups17
GC
IC
Page 56
CommandDescriptionMode*
dot1x port-controlEnables manual control of the authorization state of the
dot1x re-authenticateManually initiates a re-authentication of all 802.1x-enabled
dot1x re-authenticationEnables periodic re-authentication of the client.IC
maximum-pathsSets the number of paths that OSPF can report for a given
destination.
redistributeConfigures the OSPFv3 protocol to allow redistribution of
routes from the specified source protocol/routers.
router-idSets a 4-digit dotted-decimal number uniquely identifying
the Router OSPF ID.
show ipv6 ospfDisplays information relevant to the OSPF router.PE
show ipv6 ospf abrDisplays the internal OSPFv3 routes to reach Area Border
Routers (ABR).
show ipv6 ospf areaDisplays information about the area.PE
show ipv6 ospf asbrDisplays the internal OSPFv3 routes to reach Autonomous
System Boundary Routes (ASBR).
show ipv6 ospf databaseDisplays information about the link state database when
OSPFv3 is enabled.
ROSV3
IC
IC
IC
ROSV3
ROSV3
ROSV3
PE
UE
PE
UE
PE
Command Groups43
Page 82
Command DescriptionMode*
show ipv6 ospf database databasesummary
show ipv6 ospf interfaceDisplay the information for the IFO object or virtual
show ipv6 ospf interface briefDisplays brief information for the IFO object or virtual
show ipv6 ospf interface statsDisplays the statistics for a specific interface.UE
show ipv6 ospf interface vlanDisplays OSPFv3 configuration and status information for
www.dell.com | support.dell.com
show ipv6 ospf neighborDisplays information about OSPF neighbors.PE
show ipv6 ospf rangeDisplays information about the area ranges for the
show ipv6 ospf stub tableDisplays the OSPF stub table.PE
show ipv6 ospf virtual-linkDisplays the OSPF Virtual Interface information for a
show ipv6 ospf virtual-link briefDisplays the OSPFV3 Virtual Interface information for all
trapflags Enables OSPF trapsROSV3
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Displays the number of each type of LSA in the database
and the total number of LSAs in the database.
interface tables.
interface tables.
a specific vlan
specified area identifier.
specific area and neighbor.
areas in the system.
PE
PE
PE
PE
PE
PE
PE
PIM-DM Commands
Command DescriptionMode*
ip pimdmEnables the administrative mode of PIM-DM in the router. GC
ip pimdm mode Sets administrative mode of PIM-DM on an interface to
ip pimdm query-intervalConfigures the transmission frequency of hello messages
show ip pimdmDisplays system-wide information for PIM-DM.PE
show ip pimdm interfaceDisplays interface information for PIM-DM on the
show ip pimdm interface statsDisplays the statistical information for PIM-DM on the
show ip pimdm neighborDisplays the neighbor information for PIM-DM on the
44Command Groups
IC
enabled.
IC
between PIM enabled neighbors.
PE
specified interface.
UE
specified interface.
PE
specified interface.
Page 83
Command DescriptionMode*
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
PIM-SM Commands
Command DescriptionMode*
ip pimsmSets administrative mode of PIM-SM multicast routing
across the router to enabled.
ip pimsm cbsrhasmasklength Configures the CBSR hash mask length to be advertised in
bootstrap messages for a particular PIM-SM interface.
ip pimsm cbsrpreferenceConfigures the CBSR preference for a particular PIM-SM
interface.
ip pimsm crppreferenceConfigures the Candidate Rendezvous Point (CRP) for a
particular PIM-SM interface.
ip pimsm message-intervalConfigures the global join/prune interval for PIM-SM
router.
ip pimsm modeSets to enabled the administrative mode of PIM-SM
multicast routing on a routing interface.
ip pimsm query-intervalConfigures the transmission frequency of hello messages in
seconds between PIM enabled neighbors.
ip pimsm register-rate-limitSets the Register Threshold rate for the RP (Rendezvous
Point) router to switch to the shortest path.
ip pimsm spt-thresholdConfigures the threshold rate for the RP router to switch to
the shortest path.
ip pimsm staticrpCreates RP IP address for the PIM-SM router.GC
ip pim-trapflagsEnables the PIM trap mode for both Sparse Mode (SM)
and Dense Mode (DM).
show ip pimsmDisplays the system-wide information for PIM-SM.PE
show ip pimsm componenttableDisplays the table containing objects specific to a PIM
domain.
show ip pimsm interfaceDisplays interface information for PIM-SM on the
specified interface.
show ip pimsm interface statsDisplays the statistical information for PIM-SM on the
specified interface.
show ip pimsm neighborDisplays neighbor information for PIM-SM on the
specified interface.
GC
IC
IC
IC
GC
IC
IC
GC
GC
GC
PE
PE
UE
PE
Command Groups45
Page 84
Command DescriptionMode*
show ip pimsm rpDisplays PIM information for candidate Rendezvous
show ip pimsm rphashDisplays the RP router being selected from the set of active
show ip pimsm staticrpDisplays the static RP information for the PIM-SM router. PE
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Router Discovery Protocol Commands
www.dell.com | support.dell.com
Command DescriptionMode*
ip irdpEnables Router Discovery on an interface. IC
ip irdp address Configures the address that the interface uses to send the
ip irdp holdtimeConfigures the value, in seconds, of the holdtime field of
ip irdp maxadvertintervalConfigures the maximum time, in seconds, allowed
ip irdp minadvertintervalConfigures the minimum time, in seconds, allowed
ip irdp preferenceConfigures the preference of the address as a default router
show ip irdpDisplays the router discovery information for all interfaces,
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
PE
Points (RPs) for all IP multicast groups or for the specific
group address or group mask provided in the command.
PE
RP routers.
IC
router discovery advertisements.
IC
the router advertisement sent from this interface.
IC
between sending router advertisements from the interface.
IC
between sending router advertisements from the interface.
IC
address relative to other router addresses on the same
subnet.
PE
or for a specified interface.
Routing Information Protocol (RIP) Commands
Command DescriptionMode*
auto-summary Enables the RIP auto-summarization mode. RIP
default-information originateControls the advertisement of default routes.RIP
default-metricSets a default for the metric of distributed routes.RIP
distance ripSets the route preference value of RIP in the router.RIP
46Command Groups
Page 85
Command DescriptionMode*
distribute-list outSpecifies the access list to filter routes received from the
source protocol.
enableResets the default administrative mode of RIP in the router
(active).
hostroutesacceptEnables the RIP hostroutesaccept mode.RIP
ip ripEnables RIP on a router interface. IC
ip rip authenticationSets the RIP Version 2 Authentication Type and Key for the
specified interface.
ip rip receive versionConfigures the interface to allow RIP control packets of the
specified version(s) to be received.
ip rip send versionConfigures the interface to allow RIP control packets of the
specified version to be sent.
redistributeConfigures OSPF protocol to allow redistribution of routes
from the specified source protocol/routers.
router ripEnters Router RIP mode.GC
show ip ripDisplays information relevant to the RIP router.PE
show ip rip interfaceDisplays information related to a particular RIP interface.PE
show ip rip interface briefDisplays general information for each RIP interface.PE
split-horizon Sets the RIP split horizon mode.RIP
RIP
RIP
IC
IC
IC
ROSPF
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Tunnel Interface Commands
Command DescriptionMode*
interface tunnelEnables the interface configuration mode for a tunnel.GC
show interface tunnelDisplays the parameters related to tunnel such as tunnel
mode, tunnel source address and tunnel destination
address.
tunnel destinationSpecifies the destination transport address of the tunnel.IC
tunnel mode ipv6ipSpecifies the mode of the tunnel.IC
tunnel sourceSpecifies the source transport address of the tunnel, either
explicitly or by reference to an interface.
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Command Groups47
PE
IC
Page 86
Virtual LAN Routing Commands
Command DescriptionMode*
show ip vlanDisplays the VLAN routing information for all VLANs with
routing enabled.
vlan routing Creates routing on a VLANVLAN
PE
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Virtual Router Redundancy Commands
www.dell.com | support.dell.com
Command DescriptionMode*
ip vrrpEnables the administrative mode of VRRP for the router.GC
ip vrrp authenticationSets the authorization details value for the virtual router
ip vrrp ipSets the virtual router IP address value for an interface.IC
ip vrrp modeEnables the virtual router configured on an interface.
ip vrrp preemptSets the preemption mode value for the virtual router
ip vrrp prioritySets the priority value for the virtual router configured on a
ip vrrp timers advertiseSets the frequency, in seconds, that an interface on the
show ip vrrpDisplays whether VRRP functionality is enabled or disabled
show ip vrrp interfaceDisplays all configuration information and VRRP router
show ip vrrp interface briefDisplays information about each virtual router configured
show ip vrrp interface stats Displays the statistical information about each virtual
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
IC
configured on a specified interface.
IC
Enabling the status field starts a virtual router.
IC
configured on a specified interface.
IC
specified interface.
IC
specified virtual router sends a virtual router
advertisement.
PE
on the switch.
PE
statistics of a virtual router configured on a specific
interface.
PE
on the switch.
UE
router configured on the switch.
48Command Groups
Page 87
Using the CLI
This chapter describes the basics of entering and editing the Dell PowerConnect 62xx Series
Command Line Interface (CLI) commands and defines the command hierarchy. It also explains
how to activate the CLI and implement its major functions.
Entering and Editing CLI Commands
A CLI command is a series of keywords and arguments. Keywords identify a command and
arguments specify configuration parameters. For example, in the command
ethernet
interface type, and
When working with the CLI, the command options are not displayed. The command is not
selected by a menu but is entered manually. To see what commands are available in each mode or
within an Interface Configuration, the CLI provides a method of displaying the available
commands, the command syntax requirements and in some instances parameters required to
complete the command. The standard command to request context-sensitive help is the <?> key.
Two instances where the help information can be displayed are:
The following features and conventions are applicable to CLI command entry and editing:
1/g5, show, interfaces
1/g5
•
Keyword lookup
commands and corresponding help messages is displayed.
•
Partial keyword lookup
parameter. The matched parameters for this command are displayed.
•History Buffer
•Negating Commands
•Show Command
•Command Completion
•Short Form Commands
•Keyboard Shortcuts
•Operating on Multiple Objects (Range)
—The <?> key is entered in place of a command. A list of all valid
and
status
are keywords;
specifies the unit/port.
—A command is incomplete and the <?> key is entered in place of a
ethernet
is an argument that specifies the
show interfaces status
Using the CLI49
Page 88
•Command Scripting
•CLI Command Notation Conventions
•Interface Naming Conventions
History Buffer
Every time a command is entered in the CLI, it is recorded in an internally managed Command
History buffer. Commands are stored in the buffer, which operates on a
basis. These commands can be recalled, reviewed, modified, and reissued. This buffer is not
preserved after switch resets.
KeywordSource or Destination
www.dell.com | support.dell.com
Up-arrow key
<Ctrl>+<P>
Down-arrow key
<Ctrl>+<N>
By default, the history buffer system is enabled, but it can be disabled at any time. The standard
number of 10 stored commands can be increased to 216. By configuring 0, the effect is the same as
disabling the history buffer system. For information about the command syntax for configuring the
command history buffer, see the
guide.
First In First Out (FIFO)
Recalls commands in the history buffer, beginning with the most recent command.
Repeats the key sequence to recall successively older commands.
Returns to more recent commands in the history buffer after recalling commands
with the up-arrow key. Repeating the key sequence recalls more recent commands
in succession.
history-size
command in the Line command mode chapter of this
Negating Commands
For many commands, the prefix keyword no is entered to cancel the effect of a command or reset
the configuration to the default value. All configuration commands have this capability. This guide
describes the negation effect for all commands to which it applies.
Show Command
The
show
modes.
Command Completion
CLI can complete partially entered commands when the user presses the <tab> or <space> key.
If a command entered is not complete, is not valid, or if some parameters of the command are not
valid or missing, an error message is displayed to assist in entering the correct command. By
pressing the <tab> key, an incomplete command is changed into a complete command. If the
characters already entered are not enough for the system to identify a single matching command,
the <?>key displays the available commands matching the characters already entered.
50Using the CLI
command executes in the User Executive (EXEC) and Privileged Executive (EXEC)
Page 89
Short Form Commands
The CLI supports the short forms of all commands. As long as it is possible to recognize the
entered command unambiguously, the CLI accepts the short form of the command as if the user
typed the full command.
Keyboard Shortcuts
The CLI has a range of keyboard shortcuts to assist in editing the CLI commands. The
command, when used in the User EXEC and Privileged EXEC modes, displays the keyboard short
cuts.
help
The following table contains the CLI shortcuts displayed by the
Keyboard KeyDescription
<Delete, Backspace>Delete previous character
<Ctrl>+<A>Go to beginning of line
<Ctrl>+<E>Go to end of line
<Ctrl>+<F>Go forward one character
<Ctrl>+<B>Go backward one character
<Ctrl>+<D>Delete current character
<Ctrl>+<U,X>Delete to beginning of line
<Ctrl>+<K>Delete to the end of the line.
<Ctrl>+<W>Delete previous word
<Ctrl>+<T>Transpose previous character
<Ctrl>+<P>Go to previous line history buffer
<Ctrl>+<R>Rewrites or pastes the line
<Ctrl>+<N>Go to next line in history buffer
<Ctrl>+<Y>Print last deleted character
<Ctrl>+<Q>Enables serial flow
<Ctrl>+<S>Disables serial flow
<Ctrl>+<Z>Return to root command prompt
<Tab, SPACE>Command-line completion
endReturn to the root command prompt
exitGo to next lower command prompt
<?>List choices
command.
help
Using the CLI51
Page 90
Operating on Multiple Objects (Range)
The CLI allows the user to operate on the set of objects at the same time. The guidelines are as
follows for range operation:
•Operations on objects with four or more instances support the range operation.
•The
•The range may be specified in the following manner:
range
key word is used to identify the range of objects on which to operate.
(#-#) — a range from a particular instance to another instance (inclusive). For example,
1/g1-g10 indicates that the operation applies to the gigabit Ethernet ports 1 to 10 on unit
1.
www.dell.com | support.dell.com
(#, #, #) — a list of non-consecutive instances. For example, (1/g1, 1/g3,1/g5) indicates
that the operation applies to the gigabit Ethernet ports 1, 3, and 5 on unit 1.
(#, #-#, #) — ranges and non-consecutive instances listed together. For example, (1/g1,
1/g3-g5, 1/g7) indicates that the operation applies to the gigabit Ethernet ports 1, 7, and
3 to 5 on unit 1.
NOTE: Each # must be a fully qualified port identifier, that is,
type<unit>/<port_type><port_number>, where unit is 1-12, port_type is g or xg and port_number is
1-24 or 1-48 in the case of port_type g and 1-4 for port_type xg. The following formats are allowed:(##,#), (#,#-#,#), (#,#-#,#-#,#). For LAG, use "interface range port-channel 1-18".
•When operating on a range of objects, the CLI implementation hides the parameters
that may not be configured in a range (for example, parameters that must be uniquely
configured for each instance).
•The CLI uses best effort when operating on a list of objects. If the user requests an
operation on a list of objects, the CLI attempts to execute the operation on as many
objects in the list as possible even if failure occurs for some of the items in the list. The
CLI provides the user with a detailed list of all failures, listing the objects and the reasons
for the failures.
•Some parameters must be configured individually for each port or interface.
Command Scripting
The CLI can be used as a programmable management interface. To facilitate this function, any
command line starting with the <!> character is treated as a comment line and ignored by the
CLI. Also, the CLI allows the user to disable session timeouts.
52Using the CLI
Page 91
CLI Command Notation Conventions
When entering commands there are certain command-entry notations which apply to all
commands. The following table describes these conventions as they are used in syntax definitions.
ConventionDescription
[ ]In a command line, square brackets indicate an optional entry.
{ }In a command line inclusive brackets indicate a selection of compulsory
parameters separated by the |character. One option must be selected. For
example:
command either
Italic
<
Enter> Any individual key on the keyboard.
<
Ctrl
>+<F4>
Screen
Display
all
Indicates a variable.
Any combination of keys pressed simultaneously on the keyboard.
Indicates system messages and prompts appearing on the console.
Indicates a literal parameter, entered into the command as it is.
flowcontrol {auto|on|off}
auto, on
or
off
must be selected.
means that for the
flowcontrol
Interface Naming Conventions
The conventions for naming interfaces in CLI commands are as follows:
•Unit#/Interface ID—each interface is identified by the
and then the
second unit.
•Unit#—the unit number is used only in a stacking solution where a number of switches
are stacked to form a virtual switch. In this case, the
identifier within the stack.
•Interface ID—is formed by the interface type followed by the interface number. For
example,
Ethernet port 1 on the first unit within the stack.
•Interface Types—the following interface types are defined.
port (for example,
example, xg2 is the 10 gigabit Ethernet port 2).
Interface ID
2/g10
identifies the gigabit port 10 on the second unit;
. For example,
g2
is the gigabit port 2). xg stands for 10 Gigabit Ethernet port (for
2/g10
identifies the gigabit port 10 within the
Unit#
followed by a </> symbol
Unit #
identifies the physical switch
1/g1
identifies the fast
g
stands for gigabit Ethernet
CLI Command Modes
Since the set of CLI commands is very large, the CLI is structured as a command-tree hierarchy,
where related command sets are assigned to command modes for easier access. At each level, only
the commands related to that level are available to the user and only those commands are shown in
the context sensitive help for that level.
Using the CLI53
Page 92
In this guide, commands are organized in two separate categories: Data Link Layer commands and
Network Layer commands. The Data Link Layer (Layer 2) describes the logical organization of data
bits transmitted on a particular medium. This layer defines the framing, addressing and
checksumming of Ethernet packets. The Network Layer (Layer 3) describes how a series of
exchanges over various data links can deliver data between any two nodes in a network. This layer
defines the addressing and routing structure of the Internet.
Commands that cause specific actions to be taken immediately by the system and do not directly
affect the system configurations are defined at the top of the command tree. For example,
commands for rebooting the system or for downloading or backing up the system configuration
files are placed at the top of the hierarchy tree.
Commands that result in configuration changes to the switch are grouped in a Configuration sub
www.dell.com | support.dell.com
tree.
There are levels beneath the Configuration mode for further grouping of commands. The system
prompt reflects these sub-Configuration modes.
All the parameters are provided with reasonable defaults where possible.
When starting a session, the initial mode is the User EXEC mode. Only a limited subset of
commands is available in this mode. This level is reserved for tasks that do not change the
configuration. To enter the next level, the Privileged EXEC mode, a password is required.
The Privileged EXEC mode provides access to commands that can not be executed in the User
EXEC mode and permits access to the switch Configuration mode.
The Global Configuration mode manages switch configuration on a global level. For specific
interface configurations, command modes exist at a sub-level.
Entering a <
command mode. A specific command is used to navigate from one command mode to another.
The standard order to access the modes is as follows: User EXEC mode, Privileged EXEC mode,
Global Configuration mode, and Interface Configuration and other specific configuration modes.
?
> at the system prompt displays a list of commands available for that particular
User EXEC Mode
After logging into the switch, the user is automatically in the User EXEC command mode unless
the user is defined as a privileged user. In general, the User EXEC commands allow the user to
perform basic tests, and list system information.
The user-level prompt consists of the switch host name followed by the angle bracket (>).
console>
The default host name is Console unless it has been changed using the
Global Configuration mode.
54Using the CLI
hostname
command in the
Page 93
Privileged EXEC Mode
Because many of the privileged commands set operating parameters, privileged access is passwordprotected to prevent unauthorized use. The password is not displayed on the screen and is case
sensitive.
Privileged users enter into the Privileged EXEC mode from User EXEC mode, where the following
prompt is displayed.
console#
Global Configuration Mode
Global Configuration commands apply to features that affect the system as a whole, rather than
just a specific interface. The Privileged EXEC mode command
Global Configuration mode.
console(config)#
configure
is used to enter the
Interface and Other Specific Configuration Modes
Interface configuration modes are used to modify specific interface operations. The following are
the Interface Configuration and other specific configuration modes:
•MST—
to enter into the Multiple Spanning Tree configuration mode.
•
Line Interface
include commands such as line speed and timeout settings. The Global Configuration mode
command
•
VLAN Database
Configuration mode command
•
Router OSPF Configuration
enter into the Router OSPF Configuration mode.
•
Router RIP Configuration
into the Router RIP Configuration mode.
•
Router OSPFv3 Configuration
used to enter into the Router OSPFv3 Configuration mode.
•
IPv6 DHCP Pool Mode
enter into the IPv6 DHCP Pool mode.
•
Management Access List
administration lists. The Global Configuration mode command
used to enter the Management Access List configuration mode.
The Global Configuration mode command
—Contains commands to configure the management connections. These
line
is used to enter the Line Interface mode.
—Contains commands to create a VLAN as a whole. The Global
vlan database
– Global configuration mode command
– Global configuration mode command
– Global configuration mode command
– Global configuration mode command
—Contains commands to define management access
spanning-tree mst configuration
is used to enter the VLAN Database mode.
router ospf
router rip
ipv6 router ospf
ipv6 dhcp pool
management access-list
is used
is used to
is used to enter
is
is used to
is
Using the CLI55
Page 94
•
Policy-map
mode to configure the QoS policy map.
Policy Class
•
remove a diffserv class from a policy and to configure the QoS policy class.
•
Class-Map—
class matching commands specify layer 2, layer 3 and general match criteria. Use the classmap class-map-name commands to access the QoS Class Map Configuration mode to
configure QoS class maps.
•
Stack
—Use the stack command to access the Stack Configuration Mode.
•
Ethernet
www.dell.com | support.dell.com
Configuration mode command
to configure an Ethernet interface.
•
Port Channel
port-channel. Most of these commands are the same as the commands in the Ethernet
interface mode and are used to manage the member ports as a single entity. The Global
Configuration mode command
mode.
Tunnel
•
-Contains commands to manage tunnel interfaces. The Global Configuration mode
command interface tunnel enters the Tunnel Configuration mode to configure an tunnel type
interface.
•
Loopback
mode command interface loopback enters the Loopback Configuration mode to configure an
loopback type interface.
•
SSH Public Key-chain
keys. The Global Configuration mode command
enter the SSH Public Key-
SSH Public Key-string
•
remote SSH Client. The SSH Public-Key Chain Configuration mode command
command is used to enter the SSH Public-Key Configuration mode
•
MAC Access-List
The Global Configuration mode command
List configuration mode.
•
TACAC S
Radius
•
•
•
•
— Configures the parameters for the RADIUS server.
SNMP Host Configuration
SNMP v3 Host Configuration
SNMP Community Configuration
community.
—Use the
—Use the
policy-map
class
command to access the QoS policy map configuration
command to access the QoS Policy-class mode to attach or
This mode consists of class creation/deletion and matching commands. The
—Contains commands to manage Ethernet port configuration. The Global
interface ethernet
enters the Interface Configuration mode
—Contains commands to configure port-channels, i.e., assigning ports to a
interface port-channel
is used to enter the Port Channel
-Contains commands to manage loopback interfaces. The Global Configuration
—Contains commands to manually specify other switch SSH public
chain
configuration mode.
crypto key pub-key chain ssh
is used to
—Contains commands to manually specify the SSH Public-key of a
user-key
.
—Configures conditions required to allow traffic based on MAC addresses.
mac-access-list
is used to enter the MAC Access-
— Configures the parameters for the TACACS server.
— Configures the parameters for the SNMP server host.
—Configures the parameters for the SNMP v3 server host.
—Configures the parameters for the SNMP server
56Using the CLI
Page 95
•
Crypto Certificate Request
•
Crypto Certificate Generation
•
Logging
—Configures the parameters for syslog log server.
— Configures the parameters for crypto certificate request.
—Configures the parameters for crypto certificate generate.
Identifying the Switch and Command Mode from the System Prompt
The system prompt provides the user with the name of the switch (hostname) and identifies the
command mode. The following is a formal description of the system command prompt:
[
device name
[
device name]— is the name of the managed switch, which is typically the user-configured
hostname established by the
[
command mode]—is the current configuration mode and is omitted for the top configuration
levels.
[
object]—indicates specific object or range of objects within the configuration mode.
For example, if the current configuration mode is config-if and the object being operated on is
gigabit ethernet 1 on unit 1, the prompt displays the object type and unit (for example, 1/g1).
[# | >]
symbol indicates that the system is in the User EXEC mode, which is a read-only mode in which
the system does not allow configuration.
][([
command mode-[object
hostname
—The # sign is used to indicate that the system is in the Privileged EXEC mode. The >
]])][#|>]
command.
Using the CLI57
Page 96
Navigating CLI Command Modes
The following table describes how to navigate through the CLI Command Mode hierarchy.
Command ModeAccess MethodCommand PromptExit or Access
User EXECThe user is
www.dell.com | support.dell.com
Privileged EXECUse the enable
Global Configuration From Privileged EXEC
Line InterfaceFrom Global
Management AccessList
Policy-Class-MapFrom Global
automatically in User
EXEC mode unless the
user is defined as a
privileged user.
command to enter into
this mode. This mode
is password protected.
mode, use the
configure command.
Configuration mode,
use the line command.
From Global
Configuration mode,
use the management access-list command.
Configuration mode,
use the policy-map class command.
console>
console#
console(config)#
console(configline)#
console(configmacal)#
console(configpolicy-classmap)#
Previous Mode
logout
Use the exit
command, or press
<Ctrl>+<Z> to
return to the User
EXEC mode.
Use the exit
command, or press
<Ctrl>+<Z> to
return to the
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
58Using the CLI
Page 97
Command ModeAccess MethodCommand PromptExit or Access
Previous Mode
Class-Map From Global
Configuration mode,
use the class-map
command.
MAC Access ListFrom Global
Configuration mode,
use the mac access-list
command.
SSH Public Key-ChainFrom Global
Configuration mode,
use the crypto key pubkey-chain ssh
command.
SSH Public Key StringFrom the SSH Public
Key- Chain mode, use
the user-key <user name > {rsa|dsa}
command.
TACACSFrom Global
Configuration mode,
use the tacacs-server host command.
console(configclassmap)#
console(configmac-access-list)#
console(configpubkey-chain)#
console(configpubkey-key)#
console(tacacs)#
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To return to the
SSH Public keychain mode, use
the exit command,
or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
Using the CLI59
Page 98
Command ModeAccess MethodCommand PromptExit or Access
RadiusFrom Global
SNMP Host
Configuration
www.dell.com | support.dell.com
SNMP v3 Host
Configuration
SNMP Community
Configuration
Crypto Certificate
Generation
Crypto Certificate
Request
Configuration mode,
use the radius-server host command.
From Global
Configuration mode,
use the snmp-server
command.
From Global
Configuration mode,
use the snmp-server v3-host command.
From Global
Configuration mode,
use the snmp-server community command.
From Global
Configuration mode,
use the crypto
certificate number
generate command.
From Privileged EXEC
mode, use the crypto
certificate number
request command.
console(configradius)#
console(configsnmp)#
console(configsnmp)#
console(configsnmp)#
console(configcrypto-cert)#
console(configcrypto-cert)#
Previous Mode
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to
Privileged EXEC
mode, use the exit
command, or press
<Ctrl>+<Z>.
60Using the CLI
Page 99
Command ModeAccess MethodCommand PromptExit or Access
Previous Mode
StackFrom Global
Configuration mode,
use the stack
command.
LoggingFrom Global
Configuration mode,
use the logging
command.
MST From Global
Configuration mode,
use the spanning-tree mst configuration
command.
VLAN ConfigFrom Global
Configuration mode,
use the vlan database
command.
Router OSPF ConfFrom Global
Configuration mode,
use the router ospf
command.
Router RIP ConfigFrom Global
Configuration mode,
use the router rip
command.
console(configstack)#
console(configlogging)#
console(configmst)#
console(configvlan)#
console(configrouter)#
console(configrouter)#
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode
Using the CLI61
Page 100
Command ModeAccess MethodCommand PromptExit or Access
Router OSPFv3 ConfigFrom Global
IPv6 DHCP Pool ModeFrom Global
www.dell.com | support.dell.com
Interface Configuration Modes
EthernetFrom Global
Port ChannelFrom Global
VLANFrom Global
Configuration mode,
use the ipv6 router ospf command.
Configuration mode,
use the ipv6 dhcp pool
command.
Configuration mode,
use the interface ethernet command.
Configuration mode,
use the interface port-channel command.
Configuration mode,
use the interface vlan
command.
console(configrtr)#
console(configdhcp6s-pool)#
console (configif-n/gn or n/xgn)#
console (configif-chn)#
console(config-ifvlann)#
Previous Mode
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or
<Ctrl>+<Z> to
Privileged EXEC
mode.
To exit to Global
Configuration
mode, use the exit
command, or press
<Ctrl>+<Z> to
Privileged EXEC
mode.
62Using the CLI
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.