Question : config two 3750 stackwise

I need to configure the following.

two Cisco 3750G 24port switches with stackwise cable.
WAN link goes to port 1 on first switch, all other ports for workstations (gigabit).

Can anyone show a basic config I could use to begin with. (unfamiliar with stackwise).

Also: How do i configure a 2gbps trunk using ports 23 & 24 of switch 1

Answer : config two 3750 stackwise

Below is a script that can be used to configure the switches. I used it to stack two 3750s out of the box.
You may have to make minor tweaks for your gig ports
Connect using RS232 cable and cut and paste commands as needed
Type in your network information where you see X's
Make the 2GBPS trunk using port 23 adn 24 a second question  :)


enable
configure terminal
interface vlan 1
no shutdown
ip address XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX
ip default-gateway XXX.XXX.XXX.XXX
snmp-server location XXX
hostname XXX
no logging console
line console 0
exec-timeout 15 0
transport preferred none
line vty 0 4
transport preferred none
password 0 XXXXXX
end
configure terminal
service password-encryption
line vty 0 4
login
line vty 5-15
transport preferred none
no login
end
configure terminal
snmp-server community XXXXXX ro
snmp-server community XXXXXX rw
snmp-server contact XXXXXXX
snmp-server host XXXXXX private
snmp-server enable trap snmp
snmp-server enable trap envmon
snmp-server enable trap stackwise
int range gig 1/0/1-24
no shutdown
spanning-tree portfast
end
configure terminal
banner login #
********************************************************************
!!     W A R N I N G     -    W A R N I N G   -  W A R N I N G    !!
!!                                                                !!
!!              Restricted to Authorized Users Only               !!
!!                                                                !!
!!       Unauthorized Access of This Switch is Strictly Forbidden
!!                  And Will Not be invited to X-Mas Party!
!!                                                                !!
********************************************************************
#
enable secret XXXXXX
end
copy running-config startup-config
copy running-config tftp
XXX.XXX.XXX.XXX
Random Solutions  
 
programming4us programming4us