|
|
This chapter describes the command line interface (CLI) commands for the Cisco 1548M Micro Switch 10/100.
Use the cdp enable interface configuration command to enable Cisco Discovery Protocol (CDP) on a particular port. Use the no cdp enable command to disable CDP on a port.
cdp enable
no cdp enable
This command has no arguments or keywords.
CDP is enabled on all interfaces.
Interface configuration
The following example shows how to disable CDP on Fast Ethernet port 0/2.
hostname(config)# interface fastethernet 0/2
hostname(config-if)# no cdp enable
cdp holdtime
cdp run
cdp timer
show cdp interface
show cdp neighbors
Use the cdp holdtime global configuration command to set the Cisco Discovery Protocol (CDP) hold time. Use the no cdp holdtime command to reset the hold time to its default value.
cdp holdtime holdtime
no cdp holdtime
holdtime | Number of seconds receiver keeps packet (10 to 255). |
180 seconds
Global configuration
This example shows how to set the CDP holdtime to 15 seconds.
hostname(config)# cdp holdtime 15
cdp enable
cdp timer
cdp run
show cdp interface
show cdp neighbors
Use the cdp run interface configuration command to globally enable Cisco Discovery Protocol (CDP) for a switch. Use the no cdp run command to disable CDP on the switch.
This command has no arguments or keywords.
CDP is globally enabled.
Global configuration
If you globally disable CDP for all the ports on a switch using the cdp run command, enabling CDP using the per-port command cdp enable will have no effect. If you use the cdp run command to globally enable CDP, you can still disable CDP on a port-by-port basis using cdp enable.
The following example shows how to disable CDP on a switch.
hostname(config)# no cdp run
cdp enable
cdp holdtime
cdp timer
show cdp interface
show cdp neighbors
Use the cdp timer global configuration command to specify the rate at which Cisco Discovery Protocol (CDP) packets are sent. Use the no cdp timer command to reset the CDP rate to its default value.
cdp timer timer
no cdp timer
timer | Number between 5 and 900 seconds. |
60 seconds
Global configuration
This example shows how to set the CDP packet rate to once every 5 seconds.
hostname(config)# cdp timer 5
cdp enable
cdp holdtime
cdp run
show cdp interface
show cdp neighbors
Use the clear counters privileged EXEC command to clear the interface counter for a selected port.
clear counters [type module/port]
type | Interface type. The valid value is fastethernet. |
module | Module interface number. Valid value for the switch is 0. |
port | Port number. Valid range is 1 to 8. |
This command has no default value.
Privileged EXEC
If you do not specify type module/port, this command prompts you to confirm clearing the counters for all interfaces.
This example shows how to clear counters for the Fast Ethernet port 1.
hostname# clear counters fastethernet 0/1
Use the clear mac-address-table privileged EXEC command to remove a specified address (or set of addresses) from the MAC address table.
clear mac-address-table [dynamic] [address mac-address] [interface type module/port]
dynamic | Optional. The only valid address type for the Micro Switch. |
mac-address | MAC address number. |
type | Interface type. Valid value for type is fastethernet. |
module | Module number. Not for use with the Micro Switch. Valid value for module is 0. |
port | Port number. Valid range is 1 to 8. |
This command has no default value.
Privileged EXEC
If clear mac-address-table is invoked with no options, all dynamic addresses are removed.
This command clears all addresses in the MAC forwarding table.
hostname# clear mac-address-table dynamic
This command clears the static address 0040.C80A.2F07 on port 1.
hostname# clear mac-address-table address 0040.C80A.2F07 interface fa 0/1
Use the configure privileged EXEC command to enter global configuration mode.
configure [terminal]
terminal | Configure terminal attached at console port. |
This command has no default value.
Privileged EXEC
This example shows how to enter global configuration mode.
hostname# configure
hostname(config)#
Use the copy tftp privileged EXEC command to download an operation code file from the Trivial File Transport Protocol (TFTP) server.
copy tftp://[host]/[src_file] opcode [temporary | permanent]
host | IP address of the TFTP server. |
src_file | Operation code filename. Filename can be up to 80 characters long. |
opcode | Upgrade operational firmware. |
temporary | Download the operation code using the temporary mode, that is, store the downloaded code in RAM. |
permanent | Download the operation code using the permanent mode, that is, store the downloaded code in NVRAM. |
Permanent mode.
If users do not specify host, src_file name or upgrade mode, the default host IP, src_file name, and upgrade mode is the same as those specified in the tftp server host, tftp filename filename, and upgrade mode mode commands.
Privileged EXEC
When downloading an operation code file, the entire system (including other CLI sessions) is inactive for about 30 seconds after the file is retrieved.
This example shows how to download the new system operational code op.bin from host IP address 210.68.150.15 by using the mode specified by the upgrade mode command.
hostname# copy tftp://210.68.150.15/op.bin
This example shows how to download the new system operational code op.bin from host IP address 210.68.150.15 by using the permanent mode.
hostname# copy tftp://210.68.150.15/op.bin opcode permanent
This example shows how to download the new system operational code op.bin from host IP address 210.68.150.15 by using the temporary mode (RAM).
hostname# copy tftp://210.68.150.15/op.bin opcode temporary
TFTP successfully downloaded firmware file
This example shows how to download the new system operational code op.bin from the host IP address specified by the upgrade mode command.
hostname# copy tftp:///op.bin opcode
This example shows how to download the new system operational code as specified by the tftp server (host_ip), tftp filename (filename), and upgrade mode commands.
hostname# copy tftp:///opcode
copy xmodem
show running-config
show tftp
show version
tftp filename
tftp server
upgrade mode
Use the copy xmodem privileged EXEC command to download an operation code or firmware file by using the XMODEM protocol.
copy xmodem: [src_file] opcode [temporary | permanent]
src_file | Name of operation code or firmware file. |
opcode | Upgrade operational firmware. |
temporary | Download the operation code using the temporary mode, that is, store the downloaded code into RAM. |
permanent | Download the operation code using the permanent mode, that is, store the downloaded code into nonvolatile RAM. |
Permanent mode.
If users do not specify src_file name, the default src_file name is the name specified in the tftp filename filename command. If opcode is omitted, system attempts to use the host information set by the command upgrade mode mode.
Privileged EXEC
If users do not specify the src_file name or the download mode, the src_file name, and download mode is the same as that specified in the tftp filename and upgrade mode commands.
The downloaded file executes immediately. You cannot enter any new information or commands until the download is completed. After downloading operation code file, the entire system (including other CLI sessions) is inactive for about 30 seconds.
This example shows how to download new system operational code by using the upgrade mode set by the upgrade mode command. The file name is assigned by the tftp filename command.
hostname# copy xmodem: opcode
This example shows how to download new system operational code into NVRAM by using the file name assigned by the tftp filename command.
hostname# copy xmodem: opcode permanent
This example shows how to download new system operational code op.bin into RAM.
hostname# copy xmodem: op.bin opcode temporary
copy tftp
show running-config
show version
Use the databits line-configuration command to set the data bits per character for the console port. Use the no databits command to set the number of data bits to its default value.
databits {7 | 8}
no databits
7 or 8 | Number of data bits per character. |
8 data bits per character.
Line configuration
This example shows how to set the number of data bits per character to 7.
hostname(config)# line console
hostname(config-line)# databits 7
parity
speed (line configuration)
stopbits
terminal
Use the debug memory read privileged EXEC command to display the system memory addresses.
debug memory read {byte | hword | word} address_begin length
byte | Display address by byte unit. |
hword | Display address by 4-byte half-word unit. |
word | Display address by 8-byte word unit. |
address_begin | First memory address in display. |
length | Number of addresses in display. |
This command has no default value.
Privileged EXEC
This example shows how to display three memory addresses by byte, starting with 0x10000.
hostname# debug memory read byte 0x10000 0x30 Address 00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F --------- ------------------------------------------------- 0x0010000 00 10 23 22 32 22 22 7c - 12 33 22 33 44 2f 11 22 0x0010010 02 20 23 25 32 22 22 7d - ff ff ff 33 4d 22 10 22 0x0010020 04 30 29 22 32 22 22 7c - cc 3f 22 3e 44 22 11 d2
This example shows how to display three memory addresses by word, starting with 0x10000.
hostname# debug memory read word 0x10000 0x30 Address 00 04 - 08 0C --------- ------------------------------------------------- 0x0010000 00102322 3222227c - 12332233 442f1122 0x0010010 02202325 3222227d - ffffff33 4d221022 0x0010020 04302922 3222227c - cc3f223e 442211d2
Use the debug memory write privileged EXEC command to to write address data to the switch.
debug memory write {byte | hword | word} address_begin length
byte | Display address by byte unit. |
hword | Display address by 4-byte half-word unit. |
word | Display address by 8-byte word unit. |
address_begin | First memory address in display. |
length | Number of addresses in display. |
This command has no default value.
Privileged EXEC
This example shows how to write address 0x123456 to the switch memory for debugging.
hostname# debug memory write word 0x10000 0x123456 hostname# debug memory read byte 0x10000 0x30 Address 00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F ------- ------------------------------------------------- 0x10000 00 12 34 56 32 22 22 7c - 12 33 22 33 44 2f 11 22 0x10010 02 20 23 25 32 22 22 7d - ff ff ff 33 4d 22 10 22 0x10020 04 30 29 22 32 22 22 7c - cc 3f 22 3e 44 22 11 d2
Use the delete nvram privileged EXEC command to reset the switch configuration to factory defaults.
Factory defaults.
Privileged EXEC
This example shows how to reset system configuration to factory defaults.
hostname(config)# delete nvram
Reset system configuration to factory defaults [Y]es or [N]o?
Press Y or N to proceed, any other key to abort.
Use the description interface configuration command to describe or name an interface. Use the no description command to remove a description from an interface.
description name-string
no description
name-string | A text description between 1 and 80 alphanumeric characters. |
This command has no default value.
Interface configuration
If you want to enter a description with spaces between characters, you must enclose the string in quotation marks (see "Paul's machine" example.)
This example shows how to give the name Hal to Fast Ethernet port 1.
hostname(config)# interface fastethernet 0/1
hostname(config-if)# description Hal
This example shows how to give the name Paul's machine to Fast Ethernet port 8.
hostname(config)# interface fastethernet 0/8
hostname(config-if)# description "Paul's machine"
Use the disable privileged EXEC command to exit the privileged access mode and enter user EXEC mode.
disable
This command has no arguments or keywords.
Privileged EXEC
This example shows how to exit the privileged EXEC mode and change to user EXEC mode.
hostname# disable
hostname>
Use the duplex interface configuration command to enable duplex mode for a selected port interface.
duplex {auto | full | half}
auto | Auto-negotiation of duplex mode. |
full | Full-duplex mode only. |
half | Half-duplex mode only. |
Auto
Interface configuration
The switched media module first attempts to connect in full-duplex mode. If unsuccessful, the module operates in half-duplex mode. This process is repeated whenever there is a change in link status.
This example shows how to set Fast Ethernet switch port 1 to full-duplex mode.
hostname(config)# interface fastethernet 0/2 hostname(config-if)# duplex full
interface
speed (interface configuration)
Use the enable privileged EXEC command to set the EXEC mode access level.
enable [access-level]
access-level | Either 1 (user EXEC level) or 15 (privileged EXEC level). |
The access-level default for initial login is 1. The default access level after login is 15.
Privileged EXEC
If a password is configured, you are prompted for the password:
Password:
You have three attempts to provide the correct password. If you exceed the maximum number of attempts, you are automatically logged out.
This example shows you how to move from the initial login prompt to the privileged EXEC mode access where the password is cisco.
Cisco console system $ enable 15
password: <cisco>
hostname#
configure
disable
interface
line console
Use the enable password privileged EXEC command to set the password for an access level. Use the no enable password command to clear the password.
enable password [level level] password
no enable password [level level]
level | Level for which the password applies: 1 User EXEC privileges. |
password | A string of between 4 and 8 alphanumeric characters (not case sensitive). |
No passwords are set. Privilege level defaults to level 15.
Global configuration
Use the level-1 or level-15 password to log into the CLI. The level-15 password can also be used with the enable command.
Both of these examples show how to set the privileged EXEC password to willow.
hostname(config)# enable password willow hostname(config)# enable password level 15 willow
This example shows how to set the user EXEC password to minnow.
hostname(config)# enable password level 1 minnow
Use the end configuration command to exit any configuration mode and enter privileged EXEC mode.
end
This command has no arguments or keywords.
This command has no default value.
All configuration modes.
This example shows how to exit the global configuration mode and enter privileged EXEC mode.
hostname(config)# end hostname#
Use the exit configuration command to exit the system or current configuration mode.
exit
This command has no arguments or keywords.
All configuration modes.
If the current mode is privileged or user EXEC, this command exits the system and terminates the console or Telnet session. If the current mode is global configuration, this commands sets the mode to privileged EXEC. If the current mode is any other configuration mode, this command sets the mode to global configuration.
This example shows how to exit from global configuration mode and enter privileged EXEC mode:
hostname(config)# exit hostname#
This example shows how to exit from interface configuration mode and enter global configuration mode:
hostname(config-if)# exit hostname(config)#
Use the help user EXEC command to display an overview of the CLI help system or to get help for specific command syntax, arguments, and keywords.
help
This command has no arguments or keywords.
This command has no default value.
User EXEC
This example shows how to display the summary of command-line entries.
hostname> help Help may be requested at any point in a command by entering a question mark `?'. If nothing matches, the help list will be empty and you must backup until entering a `?' shows the available options. Two styles of help are provided: 1. Full help is available when you are ready to enter a command argument (e.g. `show?') and describes each possible argument. 2. Partial help is provided when an abbreviated argument is entered and you want to know what arguments match the input. (e.g. `show pr?')
This example shows how to display all the commands available from the line configuration mode.
hostname(config-line)# ? Line configuration commands: databits Set Number of data bits per character end Exit from line configuration mode, to Privileged mode exit Exit from line configuration mode, to Global mode help Description of the interactive help system no Negate a command or set its defaults parity Set terminal parity password-thresh Configure the maximum password threshold silent-time Configure the silent time on login intrusion speed Set transmit and receive speeds stopbits Set asynch line stop bits time-out Configure the line idle time-out period
This example shows how to display arguments for the command clear counters.
hostname# clear counters ? fastethernet FastEthernet IEEE 802.3 hub Clear hub's counters segment Clear segment's counters
None
Use the hostname global configuration command to set the system name. Use the no hostname command to clear the name.
hostname name
no hostname
name | System name between 1 and 255 alphanumeric characters. |
There is no default for this command.
Global configuration
This example shows how to set the system name to the string Zorro.
(config)# hostname Zorro
Zorro(config)#
None
Use the interface global configuration command to enter interface configuration mode for a designated port.
interface type module/port
type | Interface type. The valid value is fastethernet. |
module | Module interface number. Valid value for module is 0. |
port | Port number from 1 to 8. |
This command has no default interface.
Global configuration
This example shows how to enter interface configuration mode for Fast Ethernet port 5.
hostname(config)# interface fastethernet 0/5 hostname(config-if)#
configure
disable
enable
line console
show interfaces
Use the ip address global configuration command to configure switch IP address and subnet mask. Use the no ip address command to clear the IP address and subnet mask values.
ip address ipaddress mask
no ip address
ipaddress | IP address in dotted decimal notation. |
mask | Subnet mask in dotted decimal notation. |
IP address and subnet mask are not configured.
Global configuration
If the IP address you enter is not in the same subnet as the default gateway you enter with the command ip default-gateway, this command substitutes a default value of 0.0.0.0.
This example shows how to set the switch IP address to 210.68.150.15 and the subnet mask to 255.255.255.0.
hostname(config)# ip address 210.68.150.15 255.255.255.0
ip state
ip default-gateway
show ip
Use the ip default-gateway global configuration command to configure the default gateway. Use the no ip default-gateway command to delete a configured default gateway and set the gateway address to the default value (0.0.0.0).
ip default-gateway ipaddress
no ip default-gateway
ip-address | Gateway IP address in dotted decimal notation. |
Gateway address is not configured.
Global configuration
The default gateway IP address must be in the same subnet as the IP address entered for the command ip address, or the system shows the following error message:
The setting default-gateway IP address must be in the same subnet as the IP address.
This example shows how to set the default gateway address to 210.68.150.15.
hostname(config)# ip default-gateway 210.68.150.15
Use the ip http port global configuration command to select a Transmission Control Protocol (TCP) port on which the Hypertext Transfer Protocol (HTTP) server accepts connections. Use the no ip http port command to select the default TCP port.
ip http port port-number
no ip http port
port-number | TCP port number between 0 and 65535. Note Port 23 is reserved as the Telnet port. |
TCP port 80.
Global configuration
This example shows how to set the server to listen on TCP port 8080 for HTTP connections. Using this (nondefault) setting, you must instruct your browser to connect to port 8080 rather than 80.
hostname(config)# ip http port 8080
Use the ip http server global configuration command to enable Hypertext Transfer Protocol (HTTP) server functions. Use the no ip http server command to disable HTTP server functions.
ip http server
no ip http server
This command has no arguments or keywords.
HTTP server functions are enabled.
Global configuration
This example shows how to disable HTTP server functions.
hostname(config)# no ip http server
Use the ip state global configuration command to select the method for discovering the hub's IP address source.
ip state {user | bootp}
user | User supplies IP address in response to a system prompt. |
bootp | BootP Protocol provides the IP address. |
User configuration mode
Global configuration
This example shows how to select BootP to find the system IP address.
hostname(config)# ip state bootp
This example shows how to select user to find the system IP address.
hostname(config)# ip state user
Use the line console global configuration command to change to line-configuration mode for the console port.
This command has no additional arguments or keywords.
Global configuration
This example shows how to change the command mode from global configuration to line configuration.
hostname(config)# line console
hostname(config-line)#
Use the monitor-port global configuration command to enable port monitoring features. Use the no monitor-port command to clear the monitor port and disable monitoring.
This command has no arguments or keywords.
Monitor port is disabled.
Global configuration
Frames are monitored only if the capture-list is not empty and a monitor port is assigned.
This example shows how to enable port monitoring.
hostname(config)# monitor-port
monitor-port port
monitor-port monitored
show port monitor
Use the monitor-port monitored global configuration command to designate the port that is monitored by the monitor-port port command. Use the no monitor-port monitored command to set the monitor port to the default value.
monitor-port monitored port
no monitor-port monitored [port]
port | A port number between 1 and 8. If a port is not specified in the no monitor-port monitored command, all ports are deleted. |
No ports are monitored.
Global configuration
This example shows how to designate port 5 as the port to be monitored.
hostname(config)# monitor-port monitored 5
monitor-port
monitor-port port
show port monitor
Use the monitor-port port global configuration command to specify which port acts as the monitor port. Use the no monitor-port port command to clear the monitor port and disable port monitoring.
monitor-port port port_no
no monitor-port port
port_no | Port number between 1 and 8. |
The default is no monitor port.
Global configuration
This example shows how to specify port 8 as the monitor port for the switch.
hostname(config)# monitor-port port 8
This example shows how to clear the monitor port and disable port monitoring.
hostname(config)# no monitor-port port
monitor-port
monitor-port monitored
show port monitor
Use the parity line-configuration command to set the parity of the console port. Use the no parity command to disable parity for the port.
parity {none | odd | even | mark | space}
no parity
none | No parity. |
odd | Odd parity. |
even | Even parity. |
mark | Mark parity. |
space | Space parity. |
The default is no parity.
Line configuration
The following example shows how to set the Ethernet port parity to odd.
hostname(config)# line console hostname(config-line)# parity odd
databits
speed (line configuration)
stopbits
terminal
Use the password-thresh line configuration command to set the password intrusion threshold, which limits the number of failed logon attempts allowed.
password-thresh threshold
threshold | A value between zero and 65500 password attempts. A value of 0 equals no password checking. |
The default value is three attempts.
Line configuration
When the logon attempt threshold is reached, the hub interface becomes silent for a user-defined amount of time before allowing the next logon attempt. See silent-time command to set this time interval. A password-thresh value of 0 equals no password checking.
This example shows how to set the password attempt threshold to 5.
hostname(line-config)# password_thresh 5
Use the ping user EXEC command to test the connectivity between the switch and a connected host. The ping command sends an ICMP echo message (ping) to the specified IP address.
ping {ip-address}
ip-address | Target IP address in dotted-decimal notation. |
This command has no default value.
User EXEC
The following example shows how to ping the host at IP address 210.68.150.254.
hostname> ping 210.68.150.254 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 210.68.150.254, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/6/ ms
ip address
ip default-gateway
show ip
Use the reload privileged EXEC command to reset the switch. This command prompts the user to confirm the reset. This command retains configured system parameters and static addresses and deletes dynamic addresses.
reload
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
After you enter this command, the system displays the following message:
Reset system, [Y]es or [N]o?
Press Y to proceed or N to abort.
The following example shows how to reset the hub.
hostname# reload This command resets the hub. All configured system parameters and static addresses will be retained. All dynamic addresses will be removed. Reset system, [Y]es or [N]o?
delete nvram
copy tftp
copy xmodem
Use the show cdp privileged EXEC command to display Cisco Discovery Protocol (CDP) status and configuration information for the switch.
show cdp
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
The following example shows how to display the CDP configuration for a switch.
hostname> show cdp Global CDP information: Sending CDP packets every 60 seconds Sending a holdtime value of 180 seconds
show cdp interface
show cdp neighbors
Use the show cdp interface privileged EXEC command to display CDP status and configuration.
show cdp interface [type module/port]
type | Interface type. The valid value for type is fastethernet. |
module | The module interface number. The valid value for module is 0. |
port | A port number between 1 and 8. |
This command has no default value.
Privileged EXEC
If the type and module/port of the interface are not specified, CDP configuration on all interfaces is displayed.
The following example shows how to display CDP status information for port 1.
hostname# show cdp interface fa 0/1 Cdp enabled
Use the show cdp neighbors privileged EXEC command to display Cisco Discovery Protocol (CDP) information about other devices directly connected to a switch (neighbors).
show cdp neighbors [type module/port] [detail]
type | Interface type. Valid value is fastethernet. |
module | Module interface number. The valid value for module is 0. |
port | Port number between 1 and 8. |
detail | Optional command to show detail information for the port. |
This command has no default value.
Privileged EXEC
The following example shows how to display all discovered switch neighbors using CDP.
hostname# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, P - Repeater, H - Host, I - IGMP
DeviceID IP Addr Local Port Capability Platform Remote Port
Internal-Rou 210.68.150.254 Fa0/6 R Cisco 2500 Ethernet1
This example shows how to display detail information about port 6 neighbors using CDP.
hostname# show cdp neighbors fastethernet 0/6 detail Device ID: Internal-Router Entry Address: 210.68.150.254 Platform: Cisco 2500 Capabilities: Router Remote Interface: Ethernet 1 Local Interface: FastEthernet 0/6
cdp enable
cdp holdtime
cdp run
cdp timer
show cdp interface
Use the show history user EXEC command to display the EXEC commands used that session.
show history
This command has no arguments or keywords.
This command has no default value.
User EXEC
Configuration commands are not included in the command list.
This example shows how to list the nonconfiguration EXEC commands used during a session.
hostname# show history enable config end disable show history
None
Use the show interfaces privileged EXEC command to display statistics and status for all or specified switch interfaces.
show interfaces [type module/port]
type | Interface type. The valid value is fastethernet. |
module | Module number. Valid range module is 0. |
port | Port number. Valid range is 1 to 8. |
If you do not specify a type or a module/port, statistics and status for all interfaces appear.
Privileged EXEC
The output to this command varies depending on the network for which an interface has been configured.
The following example shows how to display statistics and status for Ethernet port 1.
hostname# show interfaces fastethernet 0/1 FastEthernet 0/1 is Enabled Hardware is Fast Ethernet Address is 0000.ffff.0104 MTU 1500 bytes, BW 100000 Kbits 802.1d STP State: FORWARDING, Forward Transitions: 1 Port monitoring: Disabled, Description: port-1 Speed settings: Auto-negotiation Auto-negotiation Status: 100M Duplex settings: Auto-negotiation Auto-negotiation Status: Half Counters -------------------------------------------------------------------------- Bytes Received 5251647 Bytes Sent 19753 Frames Received 34411 Frames Sent 249 Total Bytes 5271400 Total Frames 34660 Broadcast Frames Received 30106 Multicast Frames Received 3242 CRC Error 0 Oversize Frames 0 Fragments 0 Frame Too Long Events 0 Collision 0 Late Collision 0 64 Byte Frames 6021 65-127 Byte Frames 18209 128-255 Byte Frames 7722 256-511 Byte Frames 2643 512-1023 Byte Frames 65 1024-1518 Byte Frames 0 MAC Rx Error 0 Dropped Frames 0
interface
duplex
description
speed (line configuration)
Use the show ip privileged EXEC command to display global IP configuration information, including the switch IP address, subnet mask, and default gateway.
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display global IP configuration information.
hostname# show ip IP state: user IP Address : 10.1.10.115 Subnet Mask : 255.255.255.0 Default Gateway : 10.1.10.254 HTTP server: enabled HTTP port: 80
ip address
ip default-gateway
ip state
Use the show line privileged EXEC command to display line-configuration information including baud rate, data bits, stop bits, parity setting, password threshold, silent time and time-out setting.
show line
This command has no additional arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display line-configuration information.
hostname# show line Baud rate9600 baud Data bits8 bit(s) Stop bits1 bit(s) Parity settingNone Password Threshold5 times Silent Time180 second(s) Time-out60 second(s)
databits
parity
password-thresh
silent-time
speed (line configuration)
stopbits
time-out
Use the show mac-address-table privileged EXEC command to display addresses in the MAC address table. If show mac-address-table is invoked with no options, all information in the address table is displayed.
show mac-address-table [dynamic] [address mac-address] [interface type module/port]
dynamic | Optional. The only valid address type for the Micro Switch. |
mac-address | MAC address number. |
type | Interface type. Valid value for type is fastethernet. |
module | Module number. Not for use with the Micro Switch. Valid value for module is 0. |
port | Port number. Valid range is 1 to 8. |
This command has no default value.
Privileged EXEC
This example shows how to display all the restricted addresses configured in the system.
hostname# show mac-address-table dynamic Number of dynamic addressees: 10 Dest Address Dest Interface ----------------------------------- 0000.0c5c.e176 FastEthernet 0/7 0000.2425.2ad2 FastEthernet 0/7 0053.4500.0106 FastEthernet 0/7 0053.4500.0900 FastEthernet 0/2 0053.4500.0902 FastEthernet 0/2 0060.5cf4.0076 FastEthernet 0/7 0060.5cf4.0077 FastEthernet 0/7 0060.5cf4.0079 FastEthernet 0/3 0060.70cb.f301 FastEthernet 0/7 0060.8337.a7d1 FastEthernet 0/7
This example shows how to display the restricted addresses configured in the system for port 7.
hostname# show mac-address-table dynamic interface fa0/7 Dest Address Dest Interface ----------------------------------- 0000.0c5c.e176 FastEthernet 0/7 0000.2425.2ad2 FastEthernet 0/7 0053.4500.0106 FastEthernet 0/7 0060.5cf4.0076 FastEthernet 0/7 0060.5cf4.0077 FastEthernet 0/7 0060.70cb.f301 FastEthernet 0/7 0060.8337.a7d1 FastEthernet 0/7
Use the show port monitor privileged EXEC command to display the current status of the monitor port setting and if enabled, the monitor port and the ports being monitored.
show port monitor
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
These examples show two typical displays of the monitor port settings.
hostname# show port monitor Port Monitoring State : Enabled Monitor Port : 8 Port being monitored : 5 hostname# show port monitor Port Monitoring State : Disabled
monitor-port
monitor-port monitored
monitor-port port
Use the show running-config privileged EXEC command to display the list of configuration commands that modify the system default configuration.
show running-config
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display the configuration commands that modify the system configuration.
hostname# show running-config Building configuration... Current configuration: ! version 2.2 ! hostname jason-t1 ! ! ! interface fa0/1 cdp ! ! line con stopbits 1 ! end
Use the show snmp privileged EXEC command to display Simple Network Management Protocol (SNMP) configuration information such as community string, trap manager, set host, and trap status.
show snmp
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display SNMP information for the switch.
hostname# show snmp Read community string: public Write community string: private Contact: John Doe Location: Building 12 Trap managerCommunity string ------------------------------- 172.20.128.165public 172.20.128.166private 172.20.128.167public 172.20.128.168private Set hosts --------------- 172.20.128.170 172.20.128.171 172.20.128.172 172.20.128.173
snmp-server community
snmp-server contact
snmp-server enable-trap
snmp-server host
snmp-server location
snmp-server set-host
Use the snmp-server contact user EXEC command to display the contact name for the person responsible for Simple Network Management Protocol (SNMP) monitoring as set by the command snmp-server contact.
show snmp contact
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display the SNMP contact.
hostname# show snmp contact John Smith
snmp-server contact
snmp-server location
Use the show snmp hostname user EXEC command to display the name of the Simple Network Management Protocol (SNMP) host server as set by the command hostname.
show snmp hostname
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
Use the hostname command to provide the name of the SNMP host server.
This example shows how to display the name of the SNMP host server:
hostname# show snmp hostname MegaHostServer
hostname
show snmp contact
snmp-server host
snmp-server set-host
Use the show snmp location privileged EXEC command to display the location string for the Simple Network Management Protocol (SNMP) server as set by the command snmp-server location.
show snmp location
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display the SNMP server location:
hostname# show snmp location Building 1234-A-6
show snmp contact
snmp-server location
Use the show snmp set-hosts privileged EXEC command to display the read and write settings and IP address for the Simple Network Management Protocol (SNMP) set hosts as set by the command snmp-server set-host.
show snmp set-hosts
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display SNMP set host information:
hostname# show snmp set-hosts Read community string: public Write community string: private Set hosts configured: 172.20.128.126
Use the show snmp traps privileged EXEC command to display all Simple Network Management Protocol (SNMP) trap information for the switch as set by the command snmp-server enable-trap.
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display all SNMP trap information.
hostname# show snmp traps Authentication trap: Enabled Link up/link down trap: Enabled Host Community String -------------------------------------------- 172.20.128.126 172.20.127.123 private
Use the show spantree privileged EXEC command to display the path cost and port priority of the Spanning-Tree Protocol port.
show spantree [interface type module/port]
type | Interface type. Valid value for type is fastethernet. |
module | Module number. Valid value for module is 0. |
port | Port number. Valid range is 1 to 8. |
This command has no default value.
Privileged EXEC
This example shows how to display the path cost and port priority for the Fast Ethernet Spanning-Tree Protocol port 3.
hostname# show spantree interface fastethernet 0/3 Path-cost: 200 Port Priority: 25
spantree (port) priority
spantree cost
Use the show spantree vlan privileged EXEC command to display Spanning-Tree Protocol configuration status for the switch.
show spantree vlan
vlan | A VLAN number from 1 to 4. Valid value for vlan is 1. |
The default display is for VLAN 1.
Privileged EXEC
This example shows how to display the Spanning-Tree Protocol configuration status for VLAN 1.
hostname# show spantree 1
Number of Spanning Trees running : 1
VLAN spanning trees enabled : 1
VLAN1 is EXECuting the IEEE compatible Spanning-Tree Protocol
Bridge Identifier has priority 32768, address 00e0.1e69.2300
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address 0053.4500.0000
Root port is 4 (fa0/4), cost of root path is 130
Topology change flag not set, detected flag not set
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0
Port 1 (fa0/1) of VLAN1 is down
Port path cost 10, Port priority 128
Designated root has priority 32768, address 0053.4500.0000
Designated bridge has priority 32768, address 00e0.1e69.2300
Designated port is 1, path cost 130
Timers: message age 0, forward delay 14, hold 0
BPDU: sent 1, received 0
Port 4 (fa0/4) of VLAN1 is FORWARDING
Port path cost 10, Port priority 128
Designated root has priority 32768, address 0053.4500.0000
Designated bridge has priority 32768, address 00c0.1d80.55ee
Designated port is 3, path cost 120
Timers: message age 4, forward delay 0, hold 0
BPDU: sent 10, received 31574
Port 6 (fa0/6) of VLAN1 is FORWARDING
Port path cost 10, Port priority 128
Designated root has priority 32768, address 0053.4500.0000
Designated bridge has priority 32768, address 00e0.1e69.2300
Designated port is 6, path cost 130
Timers: message age 0, forward delay 0, hold 0
BPDU: sent 31584, received 3
Use the show terminal user EXEC command to displays line configuration information including baud rate, data bits, stop bits, and parity setting.
This command has no arguments or keywords.
This command has no default value.
User EXEC
This example shows how to display line configuration information for the switch.
hostname# show terminal RS-232 CONFIGURATION: 38400 baud, 8 data bits, 2 stop bits, None parity
databits
parity
speed (line configuration)
stopbits
terminal
Use the show tftp privileged EXEC command to display firmware configurations, including the default TFTP server IP address, the filename for firmware upgrades, the download mode, and the upgrade status.
show tftp
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display the firmware configurations for the switch.
hostname# show tftp TFTP Server: 203.10.234.23 TFTP Firmware Upgrade File: op.bin
Upgrade Mode: permanent Upgrade Status: No upgrade currently in progress.
copy tftp
tftp filename
tftp server
upgrade mode
Use the show version user EXEC command to display basic hardware and firmware version information.
show version
This command has no arguments or keywords.
This command has no default value.
User EXEC
This example shows how to display the basic switch hardware and firmware:
hostname> show version Cisco 1548M Micro Switch 10/100 Software, V0.22.3(6) Copyright (c) Cisco Systems, Inc. 1993-1999 ROM: System Bootstrap, V1.9.0(2) Host uptime 0 days 0 hrs 36 mins 4 secs MPC801 processor with 4096K bytes of memory. Serial number: ACT98420119 Hardware board version is 3 Upgrade status: No upgrade currently in progress. 8K bytes of non-volatile configuration memory. 8 Fast Ethernet/IEEE 802.3 interface(s) Base ethernet MAC Address: 0000.ffff.00ff
None
Use the show vlan privileged EXEC command to display the settings of one or more virtual LAN configuration parameters. Up to four VLANs can be specified in the optional argument vlan-list.
show vlan vlan-list
vlan-list | VLAN identification number from 1 to 4. |
This command has no default value.
Privileged EXEC
If vlan-list is not specified, the system displays all VLAN configuration parameters.
This example shows how to display the settings of all VLAN configuration parameters:
hostname# show vlan VLAN Ports ---- --------------- 1 1-3, 5 2 4, 8 3 7 4 6
show vlan-membership
vlan-membership
The show vlan-membership privileged EXEC command displays the VLAN assignment and membership type for all switch ports.
show vlan-membership
This command has no arguments or keywords.
This command has no default value.
Privileged EXEC
This example shows how to display the VLAN assignment and membership type for all switch ports.
hostname# show vlan-membership Port# VLAN# ------------- 1 1 2 1 3 4 4 3 5 2 6 1 7 1 8 3
Use the shutdown interface configuration command to disable an interface. Use the no shutdown command to restart a disabled interface.
This command has no arguments or keywords.
This command has no default value.
Interface configuration
To disable an interface, you must first select that interface from the global configuration mode by using the interface command.
This example shows how to disable Fast Ethernet port 7:
hostname(config)# interface fastethernet 0/7 hostname(config-if)# shutdown
Use the silent-time line configuration command to set the amount of time the management console is inaccessible after the number of unsuccessful logon attempts exceeds the threshold set by the password-thresh command. Use the no silent-time command to automatically set the silent time value to 0.
silent-time time
no silent-time
time | A value in seconds between zero and 65500. A value of zero means that silent time is off. |
The default value is no silent time.
Line configuration
If the password threshold was not set with the password-thresh command, silent-time begins after the default value three attempts to logon.
This example shows how to set the console port silent-time value to 60 seconds.
hostname(config)# line console
hostname(line-config)# silent-time 60
Use the snmp-server community global configuration command to configure read-only or read-write Simple Network Management Protocol (SNMP) community strings. Use the no snmp-server community command to delete the existing community string.
snmp-server community string [ro | rw]
no snmp-server community string
string | Community string of 1 to 32 alphanumeric characters. No blank character spaces are allowed. |
ro | Configures read-only access. |
rw | Configures read-write access. |
Read-only (ro).
The default value of the read-only community string is public. The default value of the read-write community string is private.
Global configuration
This example shows how to set the read-write community string to newstring.
hostname(config)# snmp-server community newstring rw
snmp-server host
snmp-server set-host
snmp-server enable-trap
Use the snmp-server contact global configuration command to enter the name of a Simple Network Management Protocol (SNMP) contact person. Use the no snmp-server contact command to delete the existing SNMP contact name.
snmp-server contact contact-string
no snmp-server contact
contact-string | Character string of 1 to 255 alphanumeric characters. |
This command has no default value.
Global configuration
This example shows how to set the SNMP contact name to system_admin:
hostname(config)# snmp-server contact system_admin
Use the snmp-server enable-trap global configuration command to enable one or all available Simple Network Management Protocol (SNMP) trap operations. Use the no snmp-server contact command to disable one or all traps.
snmp-server enable-trap {all | authentication | link-up-down}
no snmp-server enable-trap {all | authentication | link-up-down}
all | All traps. |
authentication | Authentication failure trap. |
link-up-down | Link-up and link-down traps. |
Authentication failure and link-up and link-down traps are enabled.
Global configuration
This example shows how to disable the generation of link-up and link-down traps:
hostname(config)# no snmp-server enable-trap link-up-down
snmp-server community
snmp-server host
snmp-server set-host
Use the snmp-server host global configuration command to add a Simple Network Management Protocol (SNMP) trap host and its corresponding community string to the list of hosts that are allowed to perform trap operations on the switch. Use the no snmp-server host command to delete an existing trap host.
snmp-server host host_ip community-string
no snmp-server host host_ip
host_ip | IP address of trap host in dotted-decimal notation. |
community-string | Community string value between 1 and 32 alphanumeric characters. |
No trap hosts are configured.
Global configuration
You can keep up to four trap hosts in your trap host list. If you need to add another trap host and four trap hosts have already been entered, you must remove one from the list using the no form of this command.
This example shows how to specify 172.20.128.126 as the recipient of SNMP traps and trap-string as the community string:
hostname(config)# snmp-server host 172.20.128.126 trap-string
snmp-server community
snmp-server enable-trap
snmp-server set-host
Use the snmp-server location global configuration command to specify the physical location of a Simple Network Management Protocol (SNMP) server. Use the no snmp-server location command to delete the existing SNMP server location.
snmp-server location location-string
no snmp-server location
location-string | String between 1 and 255 alphanumeric characters. |
No SNMP location is specified.
Global configuration
This example shows how to specify the SNMP location string as sysadmin-office:
hostname(config)# snmp-server location sysadmin-office
Use the snmp-server set-host global configuration command to add a Simple Network Management Protocol (SNMP) set host to the list of hosts that are allowed to perform set operations on the switch. Use the no snmp-server set-host command to delete an existing set host.
snmp-server set-host host_ip
no snmp-server set-host host_ip
host_ip | IP address of set host in dotted-decimal notation. |
No set hosts are configured.
Global configuration
You can keep up to four set hosts in your set host list. If you need to add another set host and four have already been entered, you must remove one from the list using the no form of this command.
This example shows how to specify 172.20.128.126 as the recipient of SNMP set operations.
hostname(config)# snmp-server set-host 172.20.128.126
snmp-server community
snmp-server enable-trap
snmp-server host
Use the spantree global configuration command to enable the Spanning-Tree Protocol (STP) for a given virtual LAN (VLAN) list. Use the no spantree command to disable STP on specified VLANS.
spantree vlan-list
no spantree vlan-list
vlan-list | Up to four numbers, each from 1 to 4. |
Spanning tree is enabled for VLAN 1.
Global configuration
Up to four VLAN groups can be specified. If you specify more than one VLAN group, separate group numbers with spaces.
This example shows how to disable STP on VLAN 4 and VLAN 2:
hostname(config)# no spantree 4 2
Use the spantree cost interface configuration command to change the spanning-tree path cost for an interface. Use the no spantree cost command to select the default port path cost value.
spantree cost cost-value
no spantree cost
cost-value | Valid range is 1 to 65535. |
19 for 100-Mbps ports, 100 for 10-Mbps ports.
Interface configuration
This example shows how to change the spanning-tree path cost for Ethernet port 1 to the value 10:
hostname(config)# interface fastethernet 0/1 hostname(config-if)# spantree cost 10
Use the spantree forwarding-time global configuration command to specify the Spanning-Tree Protocol (STP) forward-delay interval for a given virtual LAN (VLAN).
spantree vlan-id forwarding-time [seconds]
vlan-id | A VLAN ID number from 1 to 4. |
seconds | Forward delay in seconds. Valid range is 4 to 30. |
15 seconds
Global configuration
Cisco recommends that the value you specify for forwarding delay reflects the following relationship:

This example shows how to assign a forward-delay interval of 20 seconds to VLAN 1:
hostname(config)# spantree 1 forwarding-time 20
spantree hello-time
spantree max-age
spantree (vlan-id) priority
Use the spantree hello-time global configuration command to specify the Spanning-Tree Protocol (STP) hello time for a given virtual LAN (VLAN).
spantree vlan-id hello-time seconds
vlan-id | A VLAN identification number from 1 to 4. |
seconds | Hello-time in seconds. Valid range is 1 to 10. |
2 seconds
Global configuration
Cisco recommends that the value you specify for hello-time reflects the following relationship:

This example shows how to specify a hello-time of 5 seconds for bridge template 1:
hostname(config)# spantree 1 hello-time 5
spantree forwarding-time
spantree max-age
spantree (vlan-id) priority
Use the spantree max-age global configuration command to specify the Spanning-Tree Protocol (STP) maximum age for a specified virtual LAN (VLAN). Use the no spantree vlan max-age command to set the maximum age argument to its default value.
spantree vlan-id max-age seconds
no spantree vlan max-age
vlan-id | Number from 1 to 4. |
seconds | Maximum age in seconds. Valid range is 6 to 40. |
20 seconds
Global configuration
The maximum age is the age of the Bridge Protocol Data Unit (BPDU) message since the generation of the BPDU by a root bridge for the VLAN. This value is useful for discarding old or obsolete information.
Cisco recommends that the value you specify reflects the following relationship:

This example shows how to specify a maximum age of 30 seconds for VLAN 1:
hostname(config)# spantree 1 max-age 30
spantree forwarding-time
spantree hello-time
spantree (vlan-id) priority
Use the spantree portfast interface configuration command to enable Port Fast mode. Use the no spantree portfast to disable Port Fast mode.
spantree portfast
no spantree portfast
This command has no arguments or keywords.
Disabled
Interface configuration
When a port moves from blocking to forwarding state, the Port-Fast mode omits the intermediate listening and learning states, providing instant network access.
This example shows how to enable Port Fast mode for Fast Ethernet interface 3.
hostname(config)# interface fa 0/3 hostname(config-if)# spantree portfast
Use the spantree (port) priority interface configuration command to change the spanning-tree port priority of an interface.
spantree (port) priority priority-value
priority-value | A priority value between 0 and 255. |
128
Interface configuration
This example shows how to change the spanning-tree port priority for Fast Ethernet port 1 to the value 100:
hostname(config)# interface fastethernet 0/1
hostname(config-if)# spantree priority 100
spantree (vlan-id) priority
show spantree
Use the spantree (vlan-id) priority global configuration command to specify the Spanning-Tree Protocol (STP) bridge priority for a specified virtual LAN (VLAN).
spantree vlan-id priority value
vlan-id | Number from 1 to 4. |
value | Bridge priority. Valid range is 0 to 65535. |
The default bridge priority is 32768.
Global configuration
This example shows how to specify a bridge priority value of 30 for bridge template 1:
hostname(config)# spantree 1 priority 30
spantree forwarding-time
spantree hello-time
spantree max-age
Use the speed (line configuration) command to set the baud rate for a management terminal connected to a Micro Switch console port.
speed {2400 | 9600 | 19200 | 38400 | 57600}
2400 | 9600 | 19200 | 38400 | 57600 | Baud rate. |
9600
Line configuration
This example shows how to set the console port baud rate to 19200.
hostname(config)# line console
hostname(line-config)# speed 19200
databits
parity
stopbits
terminal
Use the speed (interface configuration) command to select the way in which a selected port adjusts its port speed to that of its neighbor.
speed {auto | 100M | 10M}
auto | Auto-negotiation mode. |
100M | 100 Mbps mode only. |
10M | 10 Mbps mode only. |
Auto
Interface configuration
Use auto mode when you want the port to automatically adjust to more than one connecting device. This mode first attempts to connect at 100 Mbps. If that attempt fails, the port operates at 10 Mbps. This process repeats at each change in link status.
This example shows how to set port 4 to operate exclusively at 100 Mbps.
hostname(config)# interface fastethernet 0/4 hostname(config-if)# speed 100M
Use the stopbits Line configuration command to set the number of stop bits for the console port.
stopbits {1 | 2}
no stopbits
1 | 2 | RS-232 port stop bits. |
1 stop bit
Line configuration
This example shows how to set the number of console port stop bits to 2:
hostname(config)# line console
hostname(config-line)# stopbits 2
databits
parity
speed (interface configuration)
terminal
Use the terminal user EXEC command to set the attributes of the Micro Switch console port without entering privileged EXEC mode.
terminal [speed {2400 | 9600 | 19200 | 38400 | 57600}] [databits {7 | 8}] [stopbits {1 | 2}]
[parity {none | odd | even}]
speed | Transmit and receive speeds: 2400, 9600, 19200, 38400, or 57600. |
databits | Number of data bits per character: 7 or 8. |
stopbits | Asynchronous line stop bits: 1 or 2. |
parity | Terminal parity: none, odd, even. |
9600 baud, 8 data bits, 1 stop bit, and no parity.
User EXEC
This example shows how to set the console port baud rate to 19200:
hostname> terminal speed 19200
This example shows how to set the baud rate to 19200, the data bits to 7, and the stop bits to 1:
hostname> terminal speed 19200 databits 7 stopbits 1
databits
parity
speed (line configuration)
stopbits
Use the tftp filename global configuration command to designate the TFTP server download file name. Use the no tftp filename command to clear the file name.
tftp filename
filename
no tftp filename
filename | Designated TFTP download file name. |
This command has no default value.
Global configuration
This example shows how to designate the TFTP download file name as jerry.bin.
hostname(config)# tftp filename jerry.bin
Use the tftp server global configuration command to specify the IP address of the TFTP server. Use the no tftp server command to clear the IP address of the TFTP server.
tftp server host_ip
no tftp server
host_ip | IP address of TFTP server. |
0.0.0.0
Global configuration
This example shows how to specify the IP address of the TFTP server as 210.68.150.15.
hostname(config)# tftp server 210.68.150.15
copy tftp
show tftp
tftp filename
upgrade mode
Use the time-out line configuration command to specify how long the management console remains logged in but inactive before the console times out and requires a new login. Use the no time-out command to set the timeout value to 0 (no timeout).
time | A time in seconds between 30 to 65500. |
The default value is no time-out.
Line configuration
It is a good idea to set this value for security reasons.
This example shows how to set the console port timeout value to 90 seconds.
hostname(config)# line console
hostname(line-config)# time-out 90
Use the vlan-membership interface configuration command to assign a port to a specified virtual LAN (VLAN). Use the no vlan-membership command to remove a port from a VLAN.
vlan-membership {vlan_no | all}
no vlan-membership {vlan_no | all}
vlan_no | VLAN identifier value between 1 and 4. |
all | Port belongs to all configured VLANs. |
All ports belong to VLAN 1.
Interface configuration
This example shows how to set Fast Ethernet port 5 to VLAN 2.
hostname(config)# interface fastethernet 0/5
hostname(config-if)# vlan-membership 2
This example shows how to remove Fast Ethernet port 1 from all VLANs.
hostname(config)# interface fastethernet 0/1
hostname(config-if)# no vlan-membership all
Use the upgrade mode global configuration command to designate the destination of firmware upgrade files from the Trivial File Transfer Protocol (TFTP) server.
upgrade mode {permanent | temporary}
permanent | Copy upgrade file to nonvolatile RAM (NVRAM). |
temporary | Copy upgrade file to RAM. |
Permanent mode
Global configuration
This example shows how to designate the TFTP upgrade mode to RAM.
hostname(config)# upgrade mode temporary
copy tftp
show tftp
tftp server
tftp filename
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Mar 19 17:06:05 PST 1999
Copyright 1989-1999©Cisco Systems Inc.