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

set port name <modnumber>

 

port name

<description>

duplex

Sets the port

set port duplex

<autofullfull−flow−controlhalf>

duplex

<halffull>

<modnumber>

 

 

enable password level 1 <password>

Sets the switch

set password

 

password

 

enable password level 15 <password>

Sets the enable

set enablepass

 

password

 

hostname <name>

Sets the

set prompt <name>

 

prompt/hostname

 

ip address <ip_address> <netmask>

Sets the IP

set interface sc0

 

address

<ip_address><netmask>

N/A

Sets the port

set port speed <mod/number>

 

speed

<10100auto>

N/A

Sets the system

set system name <name>

 

name

 

no trunk−vlan <vlan_range>

Clears a trunk

clear trunk <mod/num>

 

port

<vlan_range>

no spantree <vlan−list>

Disables

set spantree disable <modnumber>

 

Spanning−Tree

 

 

Protocol (STP)

 

port−channel mode

Sets the port

set port channel <modnumber>

<onoffautodesirable>

channel mode

<onoffautodesirable>

show interface<type><modport>

Shows the port

show port <mod/number>

 

configuration

 

show ip

Shows the

show interface

 

configured IP

 

 

address

 

show running−config

Shows the

show config

 

running

 

 

configuration

 

show spantree <vlan>

Shows the

show spantree <vlan>

 

spanning−tree

 

 

configuration

 

show uplink−fast

Shows the

show spantree uplinkfast

 

UplinkFast

 

 

 

 

345

Page 361
Image 361
Cisco Systems RJ-45-to-AUX manual Appendix B Basic IOS CLI−to−Set/Clear Commands