IOS vs. CatOS: Basic Configuration: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
(Created page with '[[File:]] ==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 w…')
 
No edit summary
 
(113 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:]]
{| border="0" width="100%" cellpadding="1"
|
=IOS=
IOS (Internetwork Operating System) is the operating system primarily used for the majority of Cisco's current equipment, including Routers and Switches.


==CatOS==
IOS uses different configuration modes, depending on what your currently configuring. For example - if you wanted to turn a port on in IOS, you would first need to be in priviledged exec -> global configuration -> and move into interface configuration, then issue the ''no shutdown'' command.
[[File:Cat2960.jpg|right]]
|
 
 
 
 
 
 
 
=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.
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.


== Commands ==
User mode is used for system monitoring. Priviledged (enable) mode is used to change all system configurations. All configurations in CatOS are done by a ''set'' command sequence.
Vyatta does not support short hand abbreviations of the commands like cisco routers do. You also have to use the commit command after every command for it to become in effect. Any command that uses a subnet mask in Vyatta uses the slash notation 192.168.0.0/24
[[File:Cat4006.jpg|right]]
|}
= Commands =
On this page we will be comparing two switches; a Catalyst 2960 running IOS and a Catalyst 4006 running CatOS.
 
 


[[File:Vyatta2.JPG]]
In IOS, the user is required to issue a command to save to NVRAM.


Commands entered in CatOS are committed to NVRAM instantaneously.
{| border="0" width="80%"
{| border="0" width="80%"
|-
|-
!
!
Cisco Command
IOS Command
Vyatta Command
CatOS Command
|-
|-
!Global Configure
!Privileged
Configure Terminal
Enable
configure
Enable
|-
|-
!Hostname
!Interface
|  (config)hostname ''Name''
|  (config-t)interface ''int'' (which puts you into interface configuration mode)
|  (configure)set system host-name ''Name''
|  (enable)set port ''command'' ''mod/port''
|-
|-
! Password
!Set Console Password
|  (config)line con 0 (enter)password ''password''
|  (config-line)password ''password''
|  (configure)set system login user ''name'' authentication plaintext-password ''password''
|  (enable)set password (you will be prompted to change password)
|-
|-
!Static Route
!Turn on ports
|  (config)ip route ''ip address subnet mask next hop address or exiting interface''
|  (config-int)no shutdown
|  (configure)set protocols static route ''ip address/subnet mask'' next hop ''next hop ip address''
|  (enable)set port enable ''mod/port''
|-
|-
!IP addressing
!Turn off ports
(config)interface fa0/0 (Enter) (config-int)ip address (ip address) (subnet)
|  (config-int)shutdown
|  (configure)Set interfaces Ethernet eth0 address (ip address)/Subnet
|  (enable)set port disable ''mod/port''
|-
|-
!RIPv2
!Banner-MOTD
|  (config)router rip (enter) version 2 
|  (config-t)banner-motd # ''banner here'' #
|  (configure)set protocols rip interface ethernet ''ethx''
|  (enable)set banner motd # ''banner here'' #
|-
|-
!Networks
!Clear Banner
|  (config-router)network ''ip-address''
|  (config-t)  
|  (configure)set protocols rip network ''ip-address''
|  (enable)clear banner motd
|-
|-
!Passive Interface
!System / Hostname
|  (config-router)passive-interface ''Fa0/0''
|  (config)hostname ''name''
|  (configure)set protocols rip passive-interface ethernet ''ethx''
|  (enable)set system name ''name''
|-
|-
!Default Information
!Set Idle Logout time
| (config-router)default information-originate
| (config-t)  
| (configure)set protocols rip default-information originate
| (enable)set logout ''time'' (in minutes)
|-
|-
!OSPF
!Bandwidth
| (config)router ospf ''instance #''
| (config-int)bandwidth ''number in kb''
| (configure)set protocols ospf4
| (enable)set port speed ''speed in megabits''
|-
|-
!Passive Interface
!Setting up a domain name for VTP
| (config-router)passive-interface ''fa0/0''
| (config-t)vtp domain ''domain-name''
| (configure)set protocols ospf passive-interface ethernet ''ethx''
| (enable)set vtp domain ''domain-name''
|-
|-
!Networks
!Enabling VLANS
| (config-router)network ''ip address wildcard mask'' area ''area#''
| (config-t)vlan ''number'' (will put switch into sub-config mode, but the vlan will become active)
| (configure)set protocols ospf area 0 network ''ip address/subnet mask''
| (enable)set vlan ''number'' state ''active''
|-
|-
!Redistribute Static
!VLAN names
| (config-router)redistribute static
| (config-vlan)name ''name''
| (configure)set protocols ospf redistribute static
| (enable)set vlan ''vlan number'' name ''name''
|-
|-
!Default Information
!Delete VLANS
| (config-router)default information-originate
| (config-t)no vlan ''number''
| (configure)set protocols ospf default-information originate
| (enable)clear vlan ''number''
|-
|-
!Administrative Distance
!Enabling Trunking
| (config-router)distance ''#''
| (config-int)switchport mode trunk
| (configure)set protocols ospf distance ''#''
| (enable)set trunk ''mod_num/port_num [on/off/desirable/auto/nonegotiate] [vlan_range] [isl/dot1q/dot10/lane/negotiate]
|-
|-
!Bandwidth
!Clear Trunking
| (config-if)bandwidth ''number in kb''
| (config-int)no switchport mode trunk
| (configure)interfaces ethernet ''ethx'' ip ospf bandwidth ''bandwidth''
| (enable)clear trunk ''mod/port'' ''vlan range''
|-
|-
!Auto-Cost
!Delete files from Flash Device
| (config-router)ospf auto-cost reference-bandwidth ''bandwidth''
| (enable)delete flash:''filename''  
| (configure)set protocols ospf auto-cost reference-bandwidth ''bandwidth''
| (enable)delete bootflash:''filename''
|-
|-
!Metric
!Spanning-Tree
| (config-if)ip ospf cost ''cost''
| (config-t)spanning-tree ''vlan''
| (configure)interfaces ethernet ''ethx'' ip ospf cost ''cost''
| (enable)set spantree enable all
|-
!Priority
| (config-if)ip ospf priority ''number''
| (configure) interfaces ethernet ''ethx'' ip ospf priority ''number''
|-
|-
|}
|}


== Troubleshooting ==
= Troubleshooting =
In this section we tell you the commands to do all the fun stuff you are required to prove that your network is vastly superior to other networks.Mostly all done in the operational mode on Vyatta!
 
{|border="0" style="width:400px"
{|border="0" style="width:400px"
!
!
!Cisco Command
!IOS Command
!Vyatta Command
!CatOS Command
|-
|-
!
!
|Ping
|ping
|Ping
|ping
|-
|-
!
!
|tracert
|tracert
|tracert
|traceroute
|-
!
|show ip route
|show route
|-
!
| show int ''int''
| show interfaces ethernet ''ethx''
|-
!
|show ip ospf neighbor
|show ospf4 neighbor
|-
!
|(config)debug ip rip
|show debug rip
|-
!
|(config)debug ip opsf events
|debug ospf event
|-
|-
!
!
|show run
|show run
|(config)show running-config
|show running-config all
|-
|-
!
!
|copy run start
|copy run start
|(config)save ''filename''
|copy config
|-
|-
!
!
|erase start
|erase start
|(config)delete ''the load up file path''
|clear config all
|-
|-
|}
|}
 
__NOTOC__
 
[[File:Interface.jpg]]

Latest revision as of 20:46, 3 May 2011

IOS

IOS (Internetwork Operating System) is the operating system primarily used for the majority of Cisco's current equipment, including Routers and Switches.

IOS uses different configuration modes, depending on what your currently configuring. For example - if you wanted to turn a port on in IOS, you would first need to be in priviledged exec -> global configuration -> and move into interface configuration, then issue the no shutdown command.

Cat2960.jpg




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.

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

Cat4006.jpg

Commands

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


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

Commands entered in CatOS are committed to NVRAM instantaneously.

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-int)no shutdown (enable)set port enable mod/port
Turn off ports (config-int)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-int)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-int)switchport mode trunk (enable)set trunk mod_num/port_num [on/off/desirable/auto/nonegotiate] [vlan_range] [isl/dot1q/dot10/lane/negotiate]
Clear Trunking (config-int)no switchport mode trunk (enable)clear trunk mod/port vlan range
Delete files from Flash Device (enable)delete flash:filename (enable)delete bootflash:filename
Spanning-Tree (config-t)spanning-tree vlan (enable)set spantree enable all

Troubleshooting

IOS Command CatOS Command
ping ping
tracert traceroute
show run show running-config all
copy run start copy config
erase start clear config all