IOS vs. CatOS: Basic Configuration: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
Line 60: Line 60:
|  (config-t)banner-motd # ''banner here'' #
|  (config-t)banner-motd # ''banner here'' #
|  (enable)set banner motd # ''banner here'' #
|  (enable)set banner motd # ''banner here'' #
|-
!Clear Banner
|  (config-t)
|  (enable)clear banner motd
|-
|-
!System / Hostname
!System / Hostname
|  (config)hostname ''name''
|  (config)hostname ''name''
|  (enable)set system name ''name''
|  (enable)set system name ''name''
|-
!Set Idle Logout time
|  (config-t)
|  (enable)set logout ''time'' (in minutes)
|-
|-
!Bandwidth
!Bandwidth
Line 74: Line 82:
|-
|-
!Enabling VLANS
!Enabling VLANS
|  (config-t) vlan ''number'' (will put switch into sub-config mode, but the vlan will become active)
|  (config-t)vlan ''number'' (will put switch into sub-config mode, but the vlan will become active)
|  (enable)set vlan ''number'' state ''active''
|  (enable)set vlan ''number'' state ''active''
|-
|-
Line 82: Line 90:
|-
|-
!Delete VLANS
!Delete VLANS
|  (config-t) no vlan ''number''  
|  (config-t)no vlan ''number''  
|  (enable) clear vlan ''number''
|  (enable)clear vlan ''number''
|-
|-
!Enabling Trunking
!Enabling Trunking
Line 95: Line 103:
!Delete files from Flash Device
!Delete files from Flash Device
|   
|   
|  (enable) delete bootflash:''filename.cfg''
|  (enable)delete bootflash:''filename.cfg''
|-
|-
!Crypto Key rsa
!Crypto Key rsa
|  (config-t)
|  (config-t)
|  (enable) set crypto key rsa 1004
|  (enable)set crypto key rsa 1004
|-
|-
!Spanning Tree
!Spanning Tree
|  (config-t)
|  (config-t)
|  (enable) set spantree enable all
|  (enable)set spantree enable all
|-
|-
!
!

Revision as of 22:04, 15 February 2011

CatOS

CatOS is the operating system used on Cisco's Catalyst switches before changing over to IOS. Before purchasing the technology from Crescendo in 1993, CatOS was called XDI. CatOS is a Unix-like operating system for many legacy Cisco switches. CatOS runs on the following switch series: 1200, 4000, 4500, 5000, 5500, 6000 and 6500. Some of the high end switches such as the Catalyst 6500 series still run CatOS.

On this page we will be comparing two switches; a Catalyst 2960 running IOS and a Catalyst 4006 running CatOS.

captioncaption

Commands

In IOS, the user is required to issue a command to save to NVRAM.

IOS configuration modes used below:

(enable) - Priviledged Exec mode. command: enable

(config-t) - Global Configuration mode. command: config terminal


Sub-configuration modes entered through Global Configuration Mode:

(config-if) - Interface configuration mode. Switchports, EtherChannel groups, VLAN interfaces. command: interface interface"module/port". Example: interface fastethernet0/20

(config-vlan) - VLAN configuration mode. vlan "number"

(config-line) - Console, Auxillary, VTY. line "line-mode" "number". Example: line con 0


Commands entered in CatOS are committed to NVRAM instantaneously.

In CatOS there are 2 configuration modes. User Mode and Priviledged Mode (enable)

User mode is used for system monitoring. Priviledged (enable) mode is used to change system configurations. All configurations in CatOS are done by a set command sequence.

IOS Command CatOS Command
Privileged Enable Enable
Interface (config-t)interface int (which puts you into interface configuration mode) (enable)set port command mod/port
Set Console Password (config-line)password password (enable)set password (you will be prompted to change password)
Turn on ports (config-if)no shutdown (enable)set port enable mod/port
Turn off ports (config-if)shutdown (enable)set port disable mod/port
Banner-MOTD (config-t)banner-motd # banner here # (enable)set banner motd # banner here #
Clear Banner (config-t) (enable)clear banner motd
System / Hostname (config)hostname name (enable)set system name name
Set Idle Logout time (config-t) (enable)set logout time (in minutes)
Bandwidth (config-if)bandwidth number in kb (enable)set port speed speed in megabits
Setting up a domain name for VTP (config-t)vtp domain domain-name (enable)set vtp domain domain-name
Enabling VLANS (config-t)vlan number (will put switch into sub-config mode, but the vlan will become active) (enable)set vlan number state active
VLAN names (config-vlan)name name (enable)set vlan vlan number name name
Delete VLANS (config-t)no vlan number (enable)clear vlan number
Enabling Trunking (config-t) (enable)set trunk mod_num/port_num [on/off/desirable/auto/nonegotiate] [vlan_range] [isl/dot1q/dot10/lane/negotiate]
Clear Trunking (config-t) (enable)clear trunk mod/port vlan range
Delete files from Flash Device (enable)delete bootflash:filename.cfg
Crypto Key rsa (config-t) (enable)set crypto key rsa 1004
Spanning Tree (config-t) (enable)set spantree enable all

Troubleshooting

IOS Command CatOS Command
Ping
tracert
show ip route
show int int
show run
copy run start
erase start


[[File:]]


== WIP ==