Appendix B: Basic IOS CLI−to−Set/Clear Commands
Overview
Many features are supported by the Set/Clear−based switches, which include the Catalyst 5000 and 6000
families of switches. Most basic commands on a Command Line Interface (CLI)−based IOS can be mapped to
commands that provide similar functionality on the Set/Clear−based CLI.
Table B.1 maps the 1900EN commands with those of the 5000 family of switches.
Table B.1: 1900EN commands mapped to 5000 commands.
1900EN IOS−Based Switch Description Set/Clear−Based Switch
description <description_string> Configures the
port name set port name <modnumber>
<description>
duplex
<auto|full|full−flow−control|half>
<mod|number>
Sets the port
duplex set port duplex
<half|full>
enable password level 1 <password> Sets the switch
password set password
enable password level 15 <password> Sets the enable
password set enablepass
hostname <name> Sets the
prompt/hostname set prompt <name>
ip address <ip_address> <netmask> Sets the IP
address set interface sc0
<ip_address><netmask>
N/A Sets the port
speed set port speed <mod/number>
<10|100|auto>
N/A Sets the system
name set system name <name>
no trunk−vlan <vlan_range> Clears a trunk
port clear trunk <mod/num>
<vlan_range>
no spantree <vlan−list> Disables
Spanning−Tree
Protocol (STP)
set spantree disable <mod|number>
port−channel mode
<on|off|auto|desirable> Sets the port
channel mode set port channel <mod|number>
<on|off|auto|desirable>
show interface<type><mod|port> Shows the port
configuration show port <mod/number>
show ip Shows the
configured IP
address
show interface
show running−config Shows the
running
configuration
show config
show spantree <vlan> Shows the
spanning−tree
configuration
show spantree <vlan>
show uplink−fast Shows the
UplinkFast show spantree uplinkfast
345