Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco Catalyst 4006 configuration

Status
Not open for further replies.

fluxburn

MIS
Apr 27, 2009
12
US
Hi. I know some stuff about Cisco routers from the CCNA classes, but not much on switches.

For one, I do not exactly understand the interfaces and what their purpose is. sc0, sd10, me1

I bet sc0 is for the supervisor module, but lost on sd10 and me1. The I am not sure if I need the default route set, that seems more like a router then a switch.



begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Sun May 3 2009, 04:55:58
!
#version 7.3(2)
!
!
#system web interface version(s)
set banner motd ^C hi ^C
!
#test
set test diaglevel minimal
!
#frame distribution method
set port channel all distribution mac both
!
#ip
set interface sc0 1 198.16.8.33/255.255.255.240 198.16.8.47

set interface sl0 down
set interface me1 198.16.8.9 255.255.255.240 198.16.8.15

set ip route 0.0.0.0/0.0.0.0 198.16.8.4
!
#set boot command
set boot config-register 0x2
set boot system flash bootflash:cat4000-k8.7-3-2.bin
set boot system flash bootflash:cat4000-k9.6-3-2.bin
set boot system flash bootflash:cat4000-k9.6-2-1.bin
!
#port channel
set port channel 1/1-2 101
set port channel 2/1-2 201
set port channel 2/3-10 211
set port channel 2/11-18 212
set port channel 2/19-26 213
set port channel 2/27-34 214
set port channel 3/1-2 301
set port channel 3/3-10 311
set port channel 3/11-18 312
set port channel 3/19-26 313
set port channel 3/27-34 314
set port channel 4/13-14 401
set port channel 4/1-6 411
set port channel 4/7-12 412
!
#multicast filter
set igmp filter disable
!
#module 1 : 2-port 1000BaseX Supervisor
set spantree portfast 1/1-2 disable
set spantree guard none 1/1-2
set port channel 1/1-2 mode off
!
#module 2 : 34-port 10/100/1000 Ethernet
set spantree portfast 2/1-34 disable
set spantree portinstancecost 2/3 cost -1 mst
set spantree portinstancecost 2/4 cost -1 mst
set spantree portinstancecost 2/5 cost -1 mst
set spantree portinstancecost 2/6 cost -1 mst
set spantree portinstancecost 2/7 cost -1 mst
set spantree portinstancecost 2/8 cost -1 mst
set spantree portinstancecost 2/9 cost -1 mst
set spantree portinstancecost 2/10 cost -1 mst
set spantree portinstancecost 2/11 cost -1 mst
set spantree portinstancecost 2/12 cost -1 mst
set spantree portinstancecost 2/13 cost -1 mst
set spantree portinstancecost 2/14 cost -1 mst
set spantree portinstancecost 2/15 cost -1 mst
set spantree portinstancecost 2/16 cost -1 mst
set spantree portinstancecost 2/17 cost -1 mst
set spantree portinstancecost 2/18 cost -1 mst
set spantree portinstancecost 2/19 cost -1 mst
set spantree portinstancecost 2/20 cost -1 mst
set spantree portinstancecost 2/21 cost -1 mst
set spantree portinstancecost 2/22 cost -1 mst
set spantree portinstancecost 2/23 cost -1 mst
set spantree portinstancecost 2/24 cost -1 mst
set spantree portinstancecost 2/25 cost -1 mst
set spantree portinstancecost 2/26 cost -1 mst
set spantree portinstancecost 2/27 cost -1 mst
set spantree portinstancecost 2/28 cost -1 mst
set spantree portinstancecost 2/29 cost -1 mst
set spantree portinstancecost 2/30 cost -1 mst
set spantree portinstancecost 2/31 cost -1 mst
set spantree portinstancecost 2/32 cost -1 mst
set spantree portinstancecost 2/33 cost -1 mst
set spantree portinstancecost 2/34 cost -1 mst
set spantree guard none 2/1-34
set port channel 2/1-34 mode off
!
#module 3 : 34-port 10/100/1000 Ethernet
set spantree portfast 3/1-34 disable
set spantree portinstancecost 3/3 cost -1 mst
set spantree portinstancecost 3/4 cost -1 mst
set spantree portinstancecost 3/5 cost -1 mst
set spantree portinstancecost 3/6 cost -1 mst
set spantree portinstancecost 3/7 cost -1 mst
set spantree portinstancecost 3/8 cost -1 mst
set spantree portinstancecost 3/9 cost -1 mst
set spantree portinstancecost 3/10 cost -1 mst
set spantree portinstancecost 3/11 cost -1 mst
set spantree portinstancecost 3/12 cost -1 mst
set spantree portinstancecost 3/13 cost -1 mst
set spantree portinstancecost 3/14 cost -1 mst
set spantree portinstancecost 3/15 cost -1 mst
set spantree portinstancecost 3/16 cost -1 mst
set spantree portinstancecost 3/17 cost -1 mst
set spantree portinstancecost 3/18 cost -1 mst
set spantree portinstancecost 3/19 cost -1 mst
set spantree portinstancecost 3/20 cost -1 mst
set spantree portinstancecost 3/21 cost -1 mst
set spantree portinstancecost 3/22 cost -1 mst
set spantree portinstancecost 3/23 cost -1 mst
set spantree portinstancecost 3/24 cost -1 mst
set spantree portinstancecost 3/25 cost -1 mst
set spantree portinstancecost 3/26 cost -1 mst
set spantree portinstancecost 3/27 cost -1 mst
set spantree portinstancecost 3/28 cost -1 mst
set spantree portinstancecost 3/29 cost -1 mst
set spantree portinstancecost 3/30 cost -1 mst
set spantree portinstancecost 3/31 cost -1 mst
set spantree portinstancecost 3/32 cost -1 mst
set spantree portinstancecost 3/33 cost -1 mst
set spantree portinstancecost 3/34 cost -1 mst
set spantree guard none 3/1-34
set port channel 3/1-34 mode off
!
#module 4 : 14-port 1000 Ethernet
set port name 4/1 gi.4.1
set port name 4/2 gi.4.2
set spantree portfast 4/1-14 disable
set spantree guard none 4/1-14
set port channel 4/1-14 mode off
!
#module 5 empty
!
#module 6 empty
end
 
PS you do need to set the default route , same as default gateway if you want to manage the switch from anywhere other than the switches management subnet.
 
The CCNA classes do not teach anything on CatOS, and I do not know when the last time they did...however, the concepts are all the same.

Burt
 
This is just my opinion so take with a grain of salt but, I've noticed a lot of used 4006 switches for sale on the Internet lately. Is this a production switch or is it a part of a study lab?

Either way you may want to consider bumping up the supervisor to a version that supports IOS. WS-4013+ or WS-4014 support IOS and work well for lab work. Ebay is a good source.
 
It was pulled from production, this is for learning stuff right now. It already has the ws-x4013, and the other interfaces listed below.

1 ws-x4013, 2 ws-x4232-gb-rj, 1ws-x44112-2gb-t
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top