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.
DELL CONFIDENTIAL – PRELIMINARY 9/12/06 – FOR PROOF ONLY
19
Page 20
DELL CONFIDENTIAL – PRELIMINARY 9/12/06 – FOR PROOF ONLY
20
Page 21
Command Groups
Introduction
The Command Language 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, you have greater configuration flexibility. The CLI is a basic
command-line interpreter similar to the UNIX C shell.
A device can be configured and maintained by entering commands from the CLI, which is based
solely on textual input and output with commands being entered from a terminal keyboard and the
output displayed as text via a terminal monitor. The CLI can be accessed from a VT100 terminal
connected to the console port of the device or through a Telnet connection from a remote host.
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
The system commands can be broken down into the functional groups shown below.
Command GroupDescription
AAAConfigures connection security including authorization and
Address TableConfigures bridging address tables.
Configuration and Image FilesManages the device configuration files.
ClockConfigures clock commands on the device.
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
IP AddressingConfigures and manages IP addresses on the device.
LACPConfigures and displays LACP information.
LineConfigures the console and remote Telnet connection.
LLDPConfigures and displays LLDP information.
Management ACLConfigures and displays management access-list information.
and must be completed before using this document.
passwords.
control, port speed and auto-negotiation.
IGMP information.
Command Groups21
Page 22
PHY DiagnosticsDiagnoses and displays the interface status.
Port ChannelConfigures and displays Port channel information.
Port MonitorMonitors activity on specific target ports.
QoSConfigures and displays QoS information.
RADIUSConfigures and displays RADIUS information.
RMONDisplays RMON statistics.
SNMPConfigures SNMP communities, traps and displays SNMP
Spanning Tree
www.dell.com | support.dell.com
SSHConfigures SSH authentication.
Syslog CommandsManages and displays syslog messages.
System ManagementConfigures the device clock, name and authorized users.
TACACS
User InterfaceDescribes user commands used for entering CLI commands.
VLANConfigures VLANs and displays VLAN information.
Web ServerConfigures Web based access to the device.
802.1x
information.
Configures and reports on Spanning Tree protocol
Configures TACACS commands
Configures commands related to 802.1x security protocol.
enable passwordSets a local password to control access to normal and privilege levels.
endEnds the current configuration session and returns to the previous
command mode.
gvrp enable (global)Enables GVRP globally.
hostnameSpecifies or modifies the device host name.
interface ethernetEnters the interface configuration mode to configure an Ethernet type
interface.
interface port-channelEnters the interface configuration mode of a specific port-channel.
Command Modes45
Page 46
interface range ethernetEnters the interface configuration mode to configure multiple ethernet
interface range port-channelEnters the interface configuration mode to configure multiple port-
interface range vlanEnters the interface configuration mode to configure multiple VLANs.
interface vlanEnters the interface configuration (VLAN) mode.
ip default-gatewayDefines a default gateway.
ip domain-lookupEnables the IP Domain Naming System (DNS)-based host name-to-
ip domain-nameDefines a default domain name, that the software uses to complete
www.dell.com | support.dell.com
ip hostDefines static host name-to-address mapping in the host cache.
ip http authenticationSpecifies authentication methods for http.
ip http portSpecifies the TCP port for use by a web browser to configure the
ip http server
ip https authenticationSpecifies authentication methods for https
ip https certificateConfigures the active certificate for HTTPS. Use the
ip https server
ip https portConfigures a TCP port for use by a secure web browser to configure
ip igmp snooping (Global)Enables Internet Group Management Protocol (IGMP) snooping
ip name-serverSets the available name servers.
ip ssh portSpecifies the port to be used by the SSH server.
ip ssh pubkey-authEnables public key authentication for incoming SSH sessions.
ip ssh serverEnables the device to be configured from a SSH server.
lacp system-priorityConfigures the system LACP priority.
lineIdentifies a specific line for configuration and enters the line
loggingLogs messages to a syslog server.
logging bufferedLimits syslog messages displayed from an internal buffer based on
logging buffered sizeChanges the number of syslog messages stored in the internal buffer.
logging consoleLimits messages logged to the console based on severity.
type interfaces.
channels.
address translation.
unqualified host names.
device.
Enables the device to be configured from a browser
command to return to default.
Enables the device to be configured from a secured browser
the device.
configuration command mode.
severity.
.
no
form of this
.
46Command Modes
Page 47
logging fileLimits syslog messages sent to the logging file based on severity.
logging onControls error messages logging.
login authenticationSpecifies the login authentication method list for a remote telnet or
console.
management access-classDefines which management access-list is used.
management access-listDefines a management access-list, and enters the access-list for
configuration.
port jumbo-frameEnables jumbo frames for the device.
port storm-control includemulticast
priority-queue out num-ofqueues
qosEnables quality of service (QoS) on the device and enters QoS basic or
qos map dscp-queueModifies the DSCP to CoS map.
qos trust (Global)Configure the system to "trust" state.
radius-server deadtimeImproves RADIUS response times when servers are unavailable.
radius-server hostSpecifies a RADIUS server host.
radius-server keySets the authentication and encryption key for all RADIUS
radius-server retransmitSpecifies the number of times the software searches the list of RADIUS
radius-server source-ipSpecifies the source IP address used for communication with RADIUS
radius-server timeoutSets the interval for which a router waits for a server host to reply.
rmon alarmConfigures alarm conditions.
rmon eventConfigures a RMON event.
rmon table-sizeConfigures the maximum RMON tables sizes.
snmp-server communitySets up the community access string to permit access to SNMP
snmp-server contactSets up a system contact.
snmp-server enable trapsEnables the switch to send SNMP traps or SNMP notifications.
snmp-server host
snmp-server locationSets up the information on where the device is located.
Enables the device to count multicast packets.
Enables the egress queues to be expedite queues.
advance mode.
communications between the router and the RADIUS daemon.
server hosts.
servers.
protocol.
Specifies the recipient of Simple Network Management Protocol
notification operation
.
Command Modes47
Page 48
snmp-server setSets SNMP MIB value by the CLI.
snmp-server trap
authentication
sntp authenticateGrants authentication for received Network Time Protocol (NTP)
sntp authentication-keyDefines an authentication key for Simple Network Time Protocol
spanning-treeEnables spanning tree functionality.
spanning-tree bpduDefines BPDU handling when spanning tree is disabled on an interface
www.dell.com | support.dell.com
spanning-tree forward-timeConfigures the spanning tree bridge forward time.
spanning-tree hello-timeConfigures the spanning tree bridge Hello Time.
spanning-tree max-ageConfigures the spanning tree bridge maximum age.
spanning-tree modeConfigures the spanning tree protocol.
spanning-tree pathcost methodSets the default pathcost method.
spanning-tree priorityConfigures the spanning tree priority.
tacacs-server keySets the authentication encryption key used for all TACACS+
tacacs-server source-ipSpecifies the source IP address that will be used for the communication
tacacs-server timeoutSets the timeout value.
tacacs-server hostSpecifies a TACACS+ host.
usernameEstablishes a username-based authentication system.
vlan databaseEnters the VLAN database configuration mode.
wrr-queue cos-map
Enables the switch to send Simple Network Management Protocol traps
when authentication failed.
traffic from servers.
(SNTP).
communications between the device and the TACACS+ daemon.
with TACACS servers.
Maps assigned CoS values to select one of the egress queues.
IC (Interface Configuration) Mode
CommandDescription
back-pressureEnables Back Pressure on a given interface.
channel-groupAssociates a port with a Port-channel.
clear host dhcpSets an IP address on the device.
descriptionAdds a description to an interface.
dot1x auth-not-reqEnables unauthorized users access to that VLAN
48Command Modes
Page 49
dot1x max-reqSets the maximum number of times that the switch sends an EAP -
request/identity frame to the client, before restarting the authentication
process.
show dot1xAllows multiple hosts on an 802.1X-authorized port, that has the dot1x
port-control interface configuration command set to auto.
dot1x port-controlEnables manual control of the authorization state of the port
dot1x re-authenticationEnables periodic re-authentication of the client.
dot1x single-host-violationConfigures the action to be taken, when a station whose MAC address is
not the supplicant MAC address, attempts to access the interface.
dot1x timeout quiet-periodSets the number of seconds that the switch remains in the quiet state
following a failed authentication exchange.
dot1x timeout re-authperiodSets the number of seconds between re-authentication attempts.
dot1x timeout server-timeoutSets the time for the retransmission of packets to the authentication
server
dot1x timeout supp-timeoutSets the time for the retransmission of an EAP-request frame to the
client.
dot1x timeout tx-period
Sets the number of seconds that the switch waits for a response to
an Extensible Authentication Protocol (EAP) - request/identity
frame, from the client, before resending the request.
show dot1xSets the number of seconds that the switch waits for a response to an
EAP request/identity frame, from the client, before resending the
request.
duplexConfigures the full/half duplex operation of a given ethernet interface
when not using auto-negotiation.
flowcontrolConfigures the Flow Control on a given interface.
garp timerAdjusts the GARP application join, leave, and leaveall GARP timer
values.
gvrp enable (interface)Enables GVRP on an interface.
gvrp registration-forbidDe-registers all VLANs, and prevents dynamic VLAN registration on the
port.
gvrp vlan-creation-forbidEnables or disables dynamic VLAN creation.
ip address
ip address dhcpAcquires an IP address on an interface from the DHCP server.
ip internal-usage-vlan
lacp port-priorityConfigures the priority value for physical ports.
lacp timeoutAssigns an administrative LACP timeout.
mdixEnables automatic crossover on a given interface.
Sets an IP address
Reserves a VLAN as the internal usage VLAN of an interface.
Command Modes49
Page 50
nameConfigures a name to a VLAN.
negotiationEnables auto-negotiation operation for the speed and duplex parameters
port monitorStarts a port monitoring session.
port securityDisables new address learning on an interface.
port security routed secureaddress
port storm-control broadcast
enable
www.dell.com | support.dell.com
port storm-control broadcast
rate
qos cosConfigures the default port CoS value.
qos trust (Interface)Enables each port trust state while the system is in basic mode.
rmon collection historyEnables a Remote Monitoring (RMON) MIB history statistics group on
shutdownDisables interfaces.
sntp client enable (interface)
spanning-tree costConfigures the spanning tree path cost for a port.
spanning-tree disableDisables spanning tree on a specific port.
spanning-tree link-typeOverrides the default link-type setting.
spanning-tree portfastEnables PortFast mode.
spanning-tree port-priorityConfigures port priority.
speedConfigures the speed of a given ethernet interface when not using auto-
qos map dscp-queueDefines the wrr-queue mechanism on an egress queue.
wrr-queue bandwidthAssigns Weighted Round Robin (WRR) weights to egress queues.
of a given interface.
Adds MAC-layer secure addresses to a routed port.
Enables broadcast storm control.
Configures the maximum broadcast rate.
an interface.
Enables the Simple Network Time Protocol (SNTP) client on an
interface.
negotiation.
LC (Line Configuration) Mode
CommandDescription
enable authenticationSpecifies the authentication method list when accessing a higher
exec-timeoutConfigures the interval that the system waits until user input is detected.
historyEnables the command history function.
50Command Modes
privilege level from a remote telnet or console.
Page 51
history sizeChanges the command history buffer size for a particular line.
passwordSpecifies a password on a line.
autobaud
speedSets the line baud rate.
Sets the line for automatic baud rate detection
MA (Management Access-level) Mode
CommandDescription
deny (management)Defines a deny rule.
permit (management)Defines a permit rule.
PE (Privileged User EXEC) Mode
CommandDescription
show dot1x usersDisplays 802.1X statistics for the specified interface.
boot systemSpecifies the system image that the device loads at startup.
clear arp-cacheDeletes all dynamic entries from the ARP cache.
clear bridgeRemoves any learned entries from the forwarding database.
clear gvrp statisticsClears all the GVRP statistics information.
clear hostDeletes entries from the host name-to-address cache
clear host dhcpDeletes entries from the host name-to-address mapping received from
Dynamic Host Configuration Protocol (DHCP).
clear loggingClears messages from the internal logging buffer.
clear logging fileClears messages from the logging file
clear spanning-tree detectedprotocols
clock setManually sets the system clock.
configureEnters the global configuration mode.
copyCopies files from a source to a destination.
crypto certificate requestGenerates and displays certificate requests for HTTPS.
dot1x re-authenticateManually initiates a re-authentication of all 802.1X-enabled ports or the
loginReturns to User EXEC mode.
reloadReloads the operating system.
Restarts the protocol migration process on all interfaces or on the
specified interface.
specified 802.1X-enabled port.
Command Modes51
Page 52
set interface activeReactivates an interface that was suspended by the system.
show arpDisplays entries in the ARP table.
show authentication methodsDisplays information about the authentication methods.
show bootvarDisplays the active system image file that the device loads at startup
show bridge address-tableDisplays dynamically created entries in the bridge-forwarding database.
show bridge address-table
count
show bridge multicast addresstable
www.dell.com | support.dell.com
show bridge multicast addresstable
show bridge multicast filteringDisplays the multicast filtering configuration.
show copper-ports cablelength
show copper-ports tdrDisplays the last TDR (Time Domain Reflectometry) tests on specified
show crypto key mypubkeyDisplays the SSH public keys stored on the device.
show crypto key pubkey-chain
ssh
show crypto certificate
mycertificate
show dot1xDisplays 802.1X status for the switch or for the specified interface.
show dot1x advancedDisplays 802.1X enhanced features for the switch or for the specified
show dot1x usersDisplays 802.1X users for the switch.
show fiber-ports opticaltransceiver
show ip sshDisplays the SSH server configuration.
show lacp port-channelDisplays LACP information for a port-channel.
show loggingDisplays the state of logging and the syslog messages stored in the
show logging fileDisplays the state of logging and the syslog messages stored in the
show management access-classDisplays the active management access-list.
show management access-listDisplays management access-lists.
show ports securityDisplays the port-lock status.
Displays the number of addresses present in all VLANs or at specific
VLAN.
Displays statically created entries in the bridge-forwarding database.
Displays multicast MAC address table information.
Displays the estimated copper cable length attached to a port.
ports.
Displays SSH public keys stored on the device.
Displays the SSL certificates of the device
interface.
Displays the optical transceiver diagnostics.
internal buffer.
logging file.
52Command Modes
Page 53
show ports storm-controlDisplays the storm control configuration.
show radius-serversDisplays the RADIUS server settings.
show running-configDisplays the contents of the currently running configuration file.
show snmpDisplays the SNMP status.
show spanning-treeDisplays spanning tree configuration.
show startup-configDisplays the startup configuration file contents.
show syslog-serversDisplays the syslog servers settings.
show tacacsDisplays configuration and statistics for a TACACS+ servers.
show users accountsDisplays information about the local user database.
test copper-port tdrDiagnoses with TDR (Time Domain Reflectometry) technology the
quality and characteristics of a copper cable attached to a port.
SP (SSH Public Key) Mode
CommandDescription
key-stringManually specifies a SSH public key.
user-keySpecifies which SSH public key is manually configured and enters the
SSH public key-string configuration command
UE (User EXEC) Mode
CommandDescription
clear countersClears statistics on an interface.
enableEnters the privileged EXEC mode.
exit(EXEC)Closes an active terminal session by logging off the device.
loginChanges a login username.
pingSends ICMP echo request packets to another node on the network.
show clockDisplays the time and date from the system clock.
show gvrp configurationDisplays GVRP configuration information.
show gvrp error-statisticsDisplays GVRP error statistics.
clear gvrp statisticsDisplays GVRP statistics.
show historyLists the commands entered in the current session.
Command Modes53
Page 54
show hostsDisplays the default domain name, a list of name server hosts, the static
show interfaces configurationDisplays the configuration for all configured interfaces.
show interfaces countersDisplays traffic seen by the physical interface.
show interfaces descriptionDisplays the description for all configured interfaces.
port channel load balanceDisplays Port-channel information.
show interfaces statusDisplays the status for all configured interfaces.
show ip igmp snooping groupsDisplays multicast groups learned by IGMP snooping.
show ip igmp snooping
www.dell.com | support.dell.com
interface
show ip igmp snooping
mrouter
show ip interfaceDisplays the usability status of interfaces configured for IP.
show lacp ethernetDisplays LACP information for Ethernet ports.
show lineDisplays line parameters.
show ports jumbo-frameDisplays the jumbo frames configuration.
show ports monitorDisplays the port monitoring status.
show privilegeDisplays the current privilege level.
show qosDisplays the QoS status.
show qos interfaceAssigns CoS values to select one of the egress queues.
show qos mapDisplays all the maps for QoS.
show rmon alarmDisplays alarm configurations.
show rmon alarm-tableDisplays the alarms summary table.
show rmon collection historyDisplays the requested history group configuration.
show rmon eventsDisplays the RMON event table.
show rmon historyDisplays RMON Ethernet Statistics history.
show rmon logDisplays the RMON logging table.
show rmon statisticsDisplays RMON Ethernet Statistics.
show systemDisplays system information.
show system idDisplays the service id information.
show usersDisplays information about the active users.
show versionDisplays the system version information.
and the cached list of host names and addresses.
Displays IGMP snooping configuration.
Displays information on dynamically learned multicast router
interfaces.
54Command Modes
Page 55
VC (VLAN Configuration) Mode
CommandDescription
bridge addressAdds a static MAC-layer station source address to the bridge table.
bridge multicast addressRegisters MAC-layer multicast addresses to the bridge table, and adds
static ports to the group.
bridge multicast forbidden
address
bridge multicast forbidden
forward-all
bridge multicast forward-allEnables forwarding of all multicast frames on a port.
ip igmp snooping (Interface)Enables Internet Group Management Protocol (IGMP) snooping on a
ip igmp snooping host-timeout
ip igmp snooping leave-timeout
show ip igmp snooping mrouterEnables automatic learning of multicast router ports in the context of a
ip igmp snooping mroutertime-out
vlanCreates a VLAN.
Forbids adding a specific multicast address to specific ports.
Enables forbidding forwarding of all multicast frames to a port.
specific VLAN.
Configures the host-time-out.
Configures the leave-time-out.
specific VLAN.
Configures the mrouter-time-out.
Command Modes55
Page 56
www.dell.com | support.dell.com
56Command Modes
Page 57
Using the CLI
This chapter describes how to start using the CLI and describes implemented command editing
features to assist in using the CLI.
CLI Command Modes
Introduction
To assist in configuring devices, the CLI [Command Line Interface] is divided into different
command modes. Each command mode has its own set of specific commands. Entering a question
mark "
?
" at the system prompt (console prompt) displays a list of commands available for that
particular command mode.
From each mode a specific command is used to navigate from one command mode to another. The
standard order to access the modes is as follows:
Configuration
command mode access path.
mode, and
Interface Configuration
User EXEC
mode. The following figure illustrates the
mode,
Privileged EXEC
mode,
Global
Using the CLI57
Page 58
When starting a session, the initial mode is the User EXEC mode. Only a limited subset of
commands are available in User EXEC 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 mode gives access to commands that are restricted on EXEC mode and provides
access to the device Configuration mode.
The Global Configuration mode manages the device configuration on a global level.
The Interface Configuration mode configures specific interfaces in the device.
User EXEC Mode
After logging into the device, the user is automatically in User EXEC command mode unless the
www.dell.com | support.dell.com
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 device "host name" followed by the angle bracket (>).
console>
The default host name is "Console" unless it has been changed using the
hostname
command in
the Global Configuration mode.
Privileged EXEC Mode
Privileged access is password protected to prevent unauthorized use because many of the privileged
commands set operating system parameters: The password is not displayed on the screen and is
case sensitive.
Privileged users enter directly into the Privileged EXEC mode. To enter the Privileged EXEC mode
from the User EXEC mode, perform the following steps:
1
At the prompt enter the command
displayed.
2
Enter the password and press <Enter>. The password is displayed as "*". The Privileged
EXEC mode prompt is displayed. The Privileged EXEC mode prompt consists of the device
"host name" followed by "
console#
#
".
To return from Privileged Exec mode to User EXEC mode, type the
command prompt.
enable
and press <Enter>. A password prompt is
disable
command at the
58Using the CLI
Page 59
The following example illustrates how to access Privileged Exec mode and return back to the User
EXEC mode:
console>enable
Enter Password: ******
console#
console#disable
console>
The Exit command is used to return from any mode to the previous mode except when returning
to User EXEC mode from the Privileged EXEC mode. For example, the Exit command is used to
return from the Interface Configuration mode to the Global Configuration mode
Global Configuration Mode
Global Configuration mode 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.
To enter the Global Configuration mode perform the following steps:"
1
At the Privileged EXEC mode prompt enter the command
The Global Configuration mode prompt is displayed. The Global Configuration mode
prompt consists of the device "host name" followed by the word "(config)" and "
configure
configure
is used to enter the
and press
<Enter>
#
".
.
console(config)#
To return from the Global Configuration mode to the Privileged EXEC mode, the user can use one
of the following commands:
•exit
•end
•Ctrl+Z
The following example illustrates how to access Global Configuration mode and returns to the
Privileged EXEC mode:
console#
console#configure
console(config)#exit
console#
Using the CLI59
Page 60
Interface Configuration Mode and Specific Configuration Modes
Interface Configuration mode commands are to modify specific interface operations. The
following are the Interface Configuration modes:
•
Line Interface
include commands such as line speed, timeout settings, etc. The Global Configuration mode
command
•
VLAN Database
Configuration mode command
Configuration mode.
Management Access List
•
www.dell.com | support.dell.com
Global Configuration mode command
Management Access List Configuration mode.
•
Ethernet
mode command
configure an Ethernet type interface.
•
Port Channel
to a VLAN or 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
Channel Interface Configuration mode.
•
SSH Public Key-chain
keys. The Global Configuration mode command
the SSH Public Key-chain Configuration mode.
•
Interface
mode command
•
QoS—Contains commands related to service definitions. The Global Configuration mode
command qos config-services is used to enter the QoS services configuration mode.
—Contains commands to configure the management connections. These
line
is used to enter the Line Configuration command mode.
—Contains commands to create a VLAN as a whole. The Global
vlan database
—Contains commands to define management access-lists. The
—Contains commands to manage port configuration. The Global Configuration
interface ethernet
—Contains commands to configure port-channels, for example, assigning ports
—Contains commands to manually specify other device SSH public
—Contains commands that configure the interface. The Global Configuration
interface ethernet
is used to enter the Interface Configuration mode to
is used to enter the Interface Configuration mode.
is used to enter the VLAN Database Interface
management access-list
interface port-channel
crypto key pubkey-chain ssh
is used to enter the
is used to enter the Port
is used to enter
Starting the CLI
The switch can be managed over a direct connection to the switch console port, or via a Telnet
connection. The switch is managed by entering command keywords and parameters at the prompt.
Using the switch command-line interface (CLI) is very similar to entering commands on a UNIX
system.
If access is via a Telnet connection, ensure the device has an IP address defined, corresponding
management access is granted, and the workstation used to access the device is connected to the
device prior to using CLI commands.
NOTE: The following steps are for use on the console line only.
To start using the CLI, perform the following steps:
60Using the CLI
Page 61
1
Start the device and wait until the startup procedure is complete.
The User Exec mode is entered, and the prompt "Console>" is displayed.
2
Configure the device and enter the necessary commands to complete the required tasks.
3
When finished, exit the session with the
When a different user is required to log onto the system, in the Privileged EXEC mode command
mode the
user.
login
command is entered. This effectively logs off the current user and logs on the new
quit
or
exit
command.
Editing Features
Entering 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 g5
interface type, and
To enter commands that require parameters, enter the required parameters after the command
keyword. For example, to set a password for the administrator, enter:
Console(config)#
When working with the CLI, the command options are not displayed. The command is not
selected from a menu but is manually entered. To see what commands are available in each mode
or within an interface configuration, the CLI does provide 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 help is
There are two instances where the help information can be displayed:
•
•
To assist in using the CLI, there is an assortment of editing features. The following features are
described:
•Terminal Command Buffer
•Command Completion
•Keyboard Shortcuts
,"
show, interfaces
g5
specifies the port.
username admin password smith
Keyword lookup
commands and corresponding help messages are displayed.
Partial keyword lookup
a parameter. The matched parameters for this command are displayed.
—The character ? is entered in place of a command. A list of all valid
and
status
are keywords,
—A command is incomplete and the character ? is entered in place of
ethernet
is an argument that specifies the
?
.
show interfaces status
Using the CLI61
Page 62
Terminal Command Buffer
Every time a command is entered in the CLI, it is recorded on an internally managed Command
History buffer. Commands stored in the buffer are maintained on a
basis.These commands can be recalled, reviewed, modified, and reissued. This buffer is not
preserved across device resets.
KeywordSource or destination
Up-arrow key
Ctrl+P
Down-arrow keyReturns to more recent commands in the history buffer after recalling
www.dell.com | support.dell.com
By default, the history buffer system is enabled, but it can be disabled at any time. For information
about the command syntax to enable or disable the history buffer, see history.
There is a standard default number of commands that are stored in the buffer. The standard
number of 10 commands can be increased to 256. 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 history size.
To display the history buffer, see show history.
Negating the Effect of Commands
For many configuration commands, the prefix keyword "no" can be entered to cancel the effect of a
command or reset the configuration to the default value. This guide describes the negation effect
for all applicable commands.
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.
commands with the up-arrow key. Repeating the key sequence will recall
successively more recent commands.
Command Completion
If the command entered is incomplete, invalid, or has missing or invalid parameters, then the
appropriate error message is displayed. This assists in entering the correct command. By pressing
the <Tab> button, an incomplete command is entered. If the characters already entered are not
enough for the system to identify a single matching command, press "?" to display the available
commands matching the characters already entered.
Incorrect or incomplete commands are automatically re-entered next to the cursor. If a parameter
must be added, the parameter can be added to the basic command already displayed next to the
cursor. The following example indicates that the command interface ethernet requires a missing
parameter.
(config)#interface ethernet
%missing mandatory parameter
(config)#interface ethernet
62Using the CLI
Page 63
Keyboard Shortcuts
The CLI has a range of keyboard shortcuts to assist in editing the CLI commands. The following
table describes the CLI shortcuts.
Keyboard KeyDescription
Up-arrow keyRecalls commands from the history buffer, beginning with the most recent
command. Repeat the key sequence to recall successively older commands.
Down-arrow keyReturns the most recent commands from the history buffer after recalling
commands with the up arrow key. Repeating the key sequence will recall
successively more recent commands.
Ctrl+AMoves the cursor to the beginning of the command line.
Ctrl+EMoves the cursor to the end of the command line.
Ctrl+Z / EndReturns back to the Privileged EXEC mode from any mode.
Backspace keyMoves the cursor back one space.
CLI Command Conventions
When entering commands there are certain command entry standards that apply to all commands.
The following table describes the command conventions.
ConventionDescription
[ ]In a command line, square brackets indicates an optional entry.
{ }In a command line, curly brackets indicate a selection of compulsory
Italic font
<Enter>
Ctrl+F4
Screen
parameters separated by the
example:
command either
flowcontrol {auto|on|off}
auto, on
Indicates a parameter.
Any individual key on the keyboard. For example click
Any combination keys pressed simultaneously on the keyboard.
Indicates system messages and prompts appearing on the console.
|
character. One option must be selected. For
or
off
must be selected.
means that for the
flowcontrol
<Enter>
.
Display
all
When a parameter is required to define a range of ports or parameters
and all is an option, the default for the command is all when no
parameters are defined. For example, the command interface range port-
channel has the option of either entering a range of channels, or selecting
all. When the command is entered without a parameter, it automatically defaults to all.
Global Configuration mode commands defines login authentication.
no
form of this command.
...]
no aaa authentication login {default | list-name
•
default
—Uses the listed authentication methods that follow this argument as the default
list of methods when a user logs in.
•
list-name
when a user logs in.
•
method1 [method2
KeywordSource or destination
enableUses the enable password for authentication.
lineUses the line password for authentication.
localUses the local username database for authentication.
noneUses no authentication.
radiusUses the list of all RADIUS servers for authentication.
tacacsUses the list of all TACACS servers for authentication.
Default Configuration
The local user database is checked. This has the same effect as the command
authentication login list-name local
NOTE: On the console, login succeeds without any authentication check if the authentication method is
not defined.
Command Mode
Global Configuration mode
—Character string used to name the list of authentication methods activated
...]—Specify at least one from the following table:
.
}
aaa
User Guidelines
•The default and optional list names created with the
used with the
login authentication
command.
aaa authentication login
command are
AAA Commands65
Page 66
•Create a list by entering the
particular protocol, where
argument identifies the list of methods that the authentication algorithm tries, in the given
sequence.
•The additional methods of authentication are used only if the previous method returns an
error, not if it fails. To ensure that the authentication succeeds even if all methods return an
error, specify
Example
The following example configures authentication login.
www.dell.com | support.dell.com
Console (config)# aaa authentication login default radius local
enable none
aaa authentication enable
The
aaa authentication enable
method lists for accessing higher privilege levels. To return to the default configuration use the
form of this command.
Syntax
aaa authentication enable {default | list-name
aaa authentication login
list-name
none
as the final method in the command line.
is any character string used to name this list. The
Global Configuration mode command defines authentication
}
list-name method
method1 [method2
command for a
...]
method
no
no aaa authentication enable default
•
default
list of methods, when using higher privilege levels.
•
list-name
when using access higher privilege levels.
•
method1 [method2
KeywordSource or destination
enableUses the enable password for authentication.
lineUses the line password for authentication.
noneUses no authentication.
radiusUses the list of all RADIUS servers for authentication. Uses username
tacacsUses the list of all TACACS+ servers for authentication. Uses
66AAA Commands
—Uses the listed authentication methods that follow this argument as the default
—Character string used to name the list of authentication methods activated,
...]—Specify at least one from the following table:
"$enabx$." where x is the privilege level.
username "$enabx$." where x is the privilege level.
Page 67
Default Configuration
If the
default
the command
list is not set, only the enable password is checked. This has the same effect as
aaa authentication enable default enable
.
On the console, the enable password is used if it exists. If no password is set, the process still
succeeds. This has the same effect as using the command
enable none
Command Mode
.
aaa authentication enable default
Global Configuration mode
User Guidelines
•The default and optional list names created with the
used with the
•Create a list by entering the
list-name
enable authentication
command.
aaa authentication enable
is any character string used to name this list. The
aaa authentication enable
list-name method
method
command where
argument identifies the
command are
list of methods that the authentication algorithm tries, in the given sequence.
•The additional methods of authentication are used only if the previous method returns an
error, not if it fails. To ensure that the authentication succeeds even if all methods return an
error, specify
•All
aaa authentication enable default
none
as the final method in the command line.
requests sent by the device to a RADIUS or TACACS
server include the username "$enab15$".
Example
The following example sets authentication when accessing higher privilege levels.
methods for http. To return to the default, use the
Syntax
ip http authentication
no ip http authentication
•
method1 [method2
KeywordSource or destination
localUses the local username database for authentication.
noneUses no authentication.
radiusUses the list of all RADIUS servers for authentication.
tacacsUses the list of all TACACS servers for authentication.
Default Configuration
The local user database is checked. This has the same effect as the command
authentication local
Global Configuration mode command specifies authentication
no
form of this command.
method1 [method2
...]
...]—Specify at least one from the following table:
.
ip http
Command Mode
Global Configuration mode
User Guidelines
•The additional methods of authentication are used only if the previous method returns an
error, not if it fails. To ensure that the authentication succeeds even if all methods return an
error, specify
Example
none
as the final method in the command line.
The following example configures the http authentication.
Console (config)# ip http authentication radius local
Console (config)# ip http authentication tacacs local
AAA Commands69
Page 70
ip https authentication
The
ip https authentication
methods for https servers. To return to the default, use the
Syntax
ip https authentication
no ip https authentication
•
method1 [method2
KeywordSource or destination
www.dell.com | support.dell.com
localUses the local username database for authentication.
noneUses no authentication.
radiusUses the list of all RADIUS servers for authentication.
tacacsUses the list of all TACACS servers for authentication.
Default Configuration
The local user database is checked. This has the same effect as the command
authentication local
Command Mode
Global Configuration mode
Global Configuration mode command specifies authentication
no
form of this command.
method1 [method2
...]
...]—Specify at least one from the following table:
.
ip https
User Guidelines
•The additional methods of authentication are used only if the previous method returns an
error, not if it fails. To ensure that the authentication succeeds even if all methods return an
error, specify
Example
The following example configures https authentication.
Console (config)# ip https authentication radius local
Console (config)# ip https authentication tacacs local
show authentication methods
The
authentication methods
authentication methods.
70AAA Commands
none
as the final method in the command line.
Privilege EXEC mode command displays information about the
Page 71
Syntax
show authentication methods
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•There are no user guidelines for this command.
Example
The following example displays the authentication configuration.
AAA Commands71
Page 72
Console# show authentication methods
Login Authentication Method Lists
-----------------------------------
Console_Default: None
Network_Default: Local
Enable Authentication Method Lists
www.dell.com | support.dell.com
-----------------------------------
Console_Default: Enable None
Network_Default: Enable
LineLogin Method ListEnable Method List
-------------------------------------------------
ConsoleDefaultDefault
TelnetDefaultDefault
SSHDefaultDefault
http: Tacacs Local
https: Tacacs Local
dot1x :
password
The
password
password, use the
Syntax
password
Line Configuration mode command specifies a password on a line. To remove the
no
form of this command.
password [encrypted
]
no password
•
password
•
encrypted
configuration.
72AAA Commands
—Password for this level, from 1 to 159 characters in length.
—Encrypted password to be entered, copied from another device
Page 73
Default Configuration
No password is required.
Command Mode
Line Configuration mode
User Guidelines
•There are no user guidelines for this command.
Example
The following example specifies a password "secret" on a line.
Console (config-line)# password secret
enable password
The
enable password
to normal and privilege levels. To remove the password requirement, use the
command.
Syntax
enable password [level
Global Configuration mode command sets a local password to control access
level] password [encrypted
]
no
form of this
no enable password [level
•
•
password
level level
—Password for this level, from 1 to 159 characters in length.
—Level for which the password applies. If not specified the level is 15
level
]
(Range: 1-15).
•
encrypted
Default Configuration
—Encrypted password entered, copied from another device configuration.
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
•There are no user guidelines for this command.
AAA Commands73
Page 74
Example
The following example sets a local level 15 password "secret" to control access to user and privilege
levels.
Console (config)# enable password level 15 secret
username
The
username
system. To remove a user name use the
Global Configuration mode command establishes a username-based authentication
no
form of this command.
www.dell.com | support.dell.com
Syntax
username
no username
•
name
password
•
•
level
•
encrypted
Default Configuration
No user is defined.
Command Mode
Global Configuration mode
User Guidelines
•No password is required.
Example
The following example configures user "bob" with the password "lee" and user level 15 to the
system.
Console (config)# username bob password lee level 15
name [password password
] [
level level
] [
encrypted
]
name
—The name of the user. (Range: 1 - 20 characters)
—The authentication password for the user. (Range: 1 - 159 characters).
—The user level (Range: 1 -15).
—Encrypted password entered, copied from another device configuration.
show users accounts
The
show users accounts
user database.
74AAA Commands
Privileged EXEC mode command displays information about the local
Page 75
Syntax
show users accounts
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•There are no user guidelines for this command.
Example
The following example displays the local users configured with access to the system.
Console# show users accounts
UsernamePrivilege
-----------------
Bob15
Robert15
AAA Commands75
Page 76
www.dell.com | support.dell.com
76AAA Commands
Page 77
Address Table Commands
bridge address
The
bridge address
station source address to the bridge table. To delete the MAC address, use the
bridge address
deletes all static MAC addresses belonging to this VLAN).
Syntax
bridge address
[
permanent
VLAN Interface Configuration mode command adds a static MAC-layer
command (using the no form of the command without specifying a MAC address
spaces; a hyphen is used to designate a range of ports.
•
port-channel-number-list
and no spaces; a hyphen is used to designate a range of port-channels.
www.dell.com | support.dell.com
Default Configuration
By default, this setting is disabled (for example, forwarding to the port is not forbidden).
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
•IGMP snooping dynamically discovers multicast router ports. When a multicast router port is
discovered, all the multicast packets are forwarded to it unconditionally.
•This command prevents a port to be a multicast router port.
}
—Forbids forwarding all multicast packets.
—Does not forbid forwarding all multicast packets.
—Separates non consecutive valid Ethernet ports with a comma and no
—Separates non consecutive valid port-channels with a comma
Example
In this example, forwarding all multicast packets to g6 are forbidden.
—Specify a MAC address in the format of xx:xx:xx:xx:xx:xx.
mac-address
No addresses are defined.
Command Mode
Interface configuration (Ethernet, port-channel). Cannot be configured for a range of
interfaces (range context).
User Guidelines
•The command enables adding secure MAC addresses to a routed ports in port security mode.
The command is available when the port is a routed port and in port security mode. The
address is deleted if the port exits the security mode or is not a routed port.
Example
In this example, the MAC-layer address 66:66:66:66:66:66 is added to port g1.
Console (config)# interface ethernet g1
Console (config-if)# port security routed secure-address
66:66:66:66:66:66
show bridge address-table
The
show bridge address-table
forwarding database.
Syntax
show bridge address-table [vlan
]
number
vlan
•
•
—Specific valid VLAN, such as VLAN 1.
interface—
A valid Ethernet port
Privileged EXEC mode command displays all entries in the bridge-
vlan
] [
ethernet interface |
port-channel
port-channel-
.
Address Table Commands85
Page 86
•
port-channel-number
Default Configuration
—A valid port-channel number.
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•Internal usage VLANs (VLANs that are automatically allocated on routed ports) would be
presented in the VLAN column by a port number and not by a VLAN ID.
www.dell.com | support.dell.com
Example
In this example, all classes of entries in the bridge-forwarding database are displayed.
86Address Table Commands
Page 87
Console# show bridge address-table
Aging time is 300 sec
vlanmac addressporttype
-----------------------
100:60:70:4C:73:FFg8dynamic
100:60:70:8C:73:FFg7dynamic
20000:10:0D:48:37:FFg4static
800:10:0D:48:37:FFg2dynamic
show bridge address-table static
The
show bridge address-table static
entries in the bridge-forwarding database.
Syntax
show bridge address-table static [vlan
number
]
vlan
•
•
•
—Specific valid VLAN, such as VLAN 1.
interface—
A valid Ethernet port
port-channel-number
Privileged EXEC mode command displays statically created
vlan
] [
ethernet interface |
.
—A valid port-channel number.
port-channel
port-channel-
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•There are no user guidelines for this command.
Example
In this example, all static entries in the bridge-forwarding database are displayed.
Address Table Commands87
Page 88
Console# show bridge address-table static
Aging time is 300 sec
vlanmac addressporttype
-----------------------
100:60:70:4C:73:FFg8permanent
100:60:70:8C:73:FFg8delete-on-timeout
www.dell.com | support.dell.com
20000:10:0D:48:37:FFg8delete-on-reset
show bridge address-table count
The
show bridge address-table count
addresses present in all VLANs or in a specific VLAN.
Syntax
show bridge address-table count [vlan vlan
vlan
•
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•This command displays the count for 1 VLAN, for all VLANs or for a specific port.
•No commas are allowed.
Example
In this example, the number of addresses present in the VLANs are displayed.
Privileged EXEC mode command displays the number of
]
—Specific VLAN.
88Address Table Commands
Page 89
Console# show bridge address-table count
Capacity: 8192
Free: 8084
Used: 108
Static addresses: 2
Dynamic addresses: 97
Internal addresses: 9
show bridge multicast address-table
The
show bridge multicast address-table
MAC address table information.
Syntax
show bridge multicast address-table [vlan
multicast-address
vlan_id
•
•
mac-multicast-address
ip-multicast-address—
•
•
format—Multicast address format. Can be ip or
is
mac
] [
format ip
—A VLAN ID value.
—A MAC multicast address in the format of xx:xx:xx:xx:xx:xx.
An IP multicast address.
.
Privileged EXEC mode command displays multicast
vlan-id] [address
|
mac
]
mac-multicast-address | ip-
mac
. If format is unspecified, the default
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•There are no user guidelines for this command.
Example
In this example, multicast MAC address table information is displayed.
Address Table Commands89
Page 90
Console # show bridge multicast address-table
VlanMAC AddressType Ports
------------------------------
101:00:5e:02:02:03staticg1, g2
1901:00:5e:02:02:08staticg1-8
1901:00:5e:02:02:08dynamicg9-11
Forbidden ports for multicast addresses:
www.dell.com | support.dell.com
VlanMAC AddressPorts
-------------------------
101:00:5e:02:02:03g8
1901:00:5e:02:02:08g8
Console # show bridge multicast address-table format ip
VlanIP AddressType Ports
------------------------------
1224-239.130|2.2.3staticg1,g2
19224-239.130|2.2.8staticg1-8
19224-239.130|2.2.8dynamicg9-11
Forbidden ports for multicast addresses:
VlanIP AddressPorts
-------------------------
1224-239.130|2.2.3 g8
19224-239.130|2.2.8 g8
NOTE: A multicast MAC address maps to multiple IP addresses, as shown above.
90Address Table Commands
Page 91
show bridge multicast filtering
The
show bridge multicast filtering
filtering configuration.
Syntax
show bridge multicast filtering vlan-id
•
vlan_id—
Default Configuration
A valid VLAN ID value.
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•There are no user guidelines for this command.
Example
In this example, the multicast configuration for VLAN 1 is displayed.
Console # show bridge multicast filtering 1
Filtering: Enabled
VLAN: 1
Privileged EXEC mode command displays the multicast
PortStaticStatus
-----------------------------------
g1ForbiddenFilter
g2ForwardForward(s)
g3-Forward(d)
show ports security
The
show ports security
Syntax
show ports security [ethernet interface |
interface
•
•
port-channel-number—
Privileged EXEC mode command displays the port-lock status.
—A valid Ethernet port
A valid port-channel number
port-channel
.
port-channel-number
.
]
Address Table Commands91
Page 92
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
•There are no user guidelines for this command.
Example
In this example, all classes of entries in the port-lock status are displayed.
www.dell.com | support.dell.com
Console # show ports security
Port StatusActionTrapFrequencyCounter
-------------------------------------------
g1 LockedDiscardEnable 10088
g2Unlocked- ---
g3LockedDiscard,
Frequency: Minimum time in seconds between consecutive traps
Disable--
Shutdown
Counter: Number of actions since last trap
92Address Table Commands
Page 93
Clock
clock set
The
clock set
Syntax
clock set
or
clock set hh:mm:ss month day year
•
•
•
•
Default Configuration
The default time set is 0:0:0:0 Jan 1 2000 or xxxxx Month Day Year.
Command Mode
Privileged EXEC mode
Privileged EXEC mode command manually sets the system clock.
hh:mm:ss day month year
hh:mm:ss
- 59, ss: 0 - 59
day
month
year
—Current time in hours (military format), minutes, and seconds (0 - 23, mm: 0
).
—Current day (by date) in the month (1 - 31)
—Current month using the first three letters by name (Jan, …, Dec).
—Current year (2000 - 2097).
.
User Guidelines
•There are no user guidelines for this command.
Example
The following example sets the system time to 13:32:00 on the 7th March 2002.
Console# clock set 13:32:00 7 Mar 2002
clock source
The
clock source
system clock.
Syntax
clock source {sntp
no clock source
•
Privileged EXEC mode command configures an external time source for the
}
sntp
—SNTP servers
Clock93
Page 94
Default Configuration
No external clock source
Command Mode
Global Configuration mode
User Guidelines
•There are no user guidelines for this command.
Examples
The following example configures an external time source for the system clock.
www.dell.com | support.dell.com
Console# clock source sntp
clock timezone
The
clock timezone
To set the time to Coordinated Universal Time (UTC), use the
Global Configuration mode command sets the time zone for display purposes.
no
form of this command.
] [
Hours difference from UTC. (Range: -12
minutes-offset—
Minutes difference from UTC. (Range: 0 – 59)
zone acronym
– +
]
13)
The acronym of the time zone. (Range: Up to 4 characters)
Default Configuration
Command Mode
User Guidelines
Examples
The following example sets the timezone to 6 hours difference from UTC.
94Clock
UTC
Global Configuration mode
•The system internally keeps time in UTC, so this command is used only for display purposes
and when the time is manually set.
Console# (config)
# clock timezone -6 zone CST
Page 95
clock summer-time
The
clock summer-time
automatically switch to summer time (daylight saving time). To configure the software to not
automatically switch to summer time, use the
Syntax
clock summer-time recurring {usa
[
offset
offset
Global Configuration mode command configures the system to
no
form of this command.
] [
zone acronym
| eu | {
]
week day month hh:mm week day month hh:mm
}}
clock summer-time date date month year hh:mm date month year hh:mm [offset offset
acronym
clock summer-time date month date year hh:mm month date year hh:mm [offset
acronym
]
offset
]
no clock summer-time
•
recurring
—Indicates that summer time should start and end on the corresponding
specified days every year.
•
date
—Indicates that summer time should start on the first specific date listed in the
command and end on the second specific date in the command.
usa
•
•
•
•
•
•
•
•
•
•
—The summer time rules are the United States rules.
eu
—The summer time rules are the European Union rules.
week—
day—
date—
month—
year—
hh:mm—
offset
zone acronym
Week of the month. (Range: 1 - 4,
first, last
)
Day of the week (Range: first three letters by name, like
Date of the month (Range:1 - 31)
Month (Range: first three letters by name)
year - no abbreviation (Range: 2000 - 2097)
Time in military format, in hours and minutes (Range: hh: 0 - 23, mm:0 - 59)
offset—
Number of minutes to add during summer time (Range: 1 - 1440).
—The acronym of the time zone to be displayed when summer time is in
sun
)
effect. If unspecified default to the timezone acronym. (Range: Up to 4 characters)
] [
] [
zone
zone
Default Configuration
Summer time is disabled.
offset
offset—
zone acronym
default is 60
— If unspecified default to the timezone acronym.
If the timezone has not been defined, the default will be UTC.
Clock95
Page 96
Command Mode
Global Configuration mode
User Guidelines
•In both the
when summer time begins, and the second part specifies when it ends. All times are relative to
the local time zone. The start time is relative to standard time. The end time is relative to
summer time. If the starting month is chronologically after the ending month, the system
assumes that you are in the southern hemisphere.
•USA rule for daylight saving time:
•Start: First Sunday in April
www.dell.com | support.dell.com
•End: Last Sunday in October
•Time: 2 am local time
•EU rule for daylight saving time:
•Start: Last Sunday in March
•End: Last Sunday in October
•Time: 1.00 am (01:00) Greenwich Mean Time (GMT)
Examples
The following example sets summer time starting on the first Sunday in April at 2am and finishing
on the last Sunday in October at 2 am.
date
and
recurring
forms of the command, the first part of the command specifies
sntp authentication-key
The
for Simple Network Time Protocol (SNTP). To remove the authentication key for SNTP, use the
form of this command.
Syntax
sntp authentication-key
no sntp authentication-key
Default Configuration
96Clock
Console (config)# clock summer-time recurring first sun apr 2:00
last sun oct 2:00
sntp authentication-key
Global Configuration mode command defines an authentication key
no
number
md5 value
number
•
•
number—
value—
Key number (Range: 1 - 4294967295)
Key value (Range: Up to 8 characters)
No authentication key is defined.
Page 97
Command Mode
Global Configuration mode
User Guidelines
•Multiple keys can be generated.
Examples
The following example defines the authentication key for SNTP.