Cisco Catalyst 2948G Configuration

How can I configure a Cisco Catalyst 2948G running CatOS to have the following configuration:

1: Ports 1-24 have the network with a gateway
2: Ports 25-48 have the network with a gateway
3: both passwords are set to "cisco"
4: telnet into the switch is enabled
5: the configuration is saved so that it is there upon reboot
This is our first time using a cisco switch, and we are using it to setup a test environment (eBay purchase)


PS: I know nothing of the CatOS so please type out the commands step by step.  What happens when booted is in the code box below.
0:00.573688: Please set IPAddr variable
0:00.574267: Please set Netmask variable
0:00.574624: Please set Broadcast variable
0:00.574989: No gateway has been specified
0:00.575484: Network is not configured
WS-C2948G bootrom version 6.1(4), built on 2001.07.30 14:43:26
H/W Revisions:    Fin: 2    Head: 11    Board: 1
Supervisor MAC addresses: 00:09:44:4f:98:00 through 00:09:44:4f:9b:ff (1024 addr
Installed memory: 64 MB
Testing LEDs.... done!
The system will autoboot in 5 seconds.
Type control-C to prevent autobooting.
rommon 1 >
The system will now begin autobooting.
Autobooting image: "bootflash:cat4000.6-3-5.bin"
Starting Off-line Diagnostics
Mapping in TempFs
Board type is WS-X2948
DiagBootMode value is "post"
Loading diagnostics...
Power-on-self-test for Module 1:  WS-X2948
Status: (. = Pass, F = Fail)
processor: .           cpu sdram: .           eprom: .
nvram: .               flash: .               enet console port: .
switch registers: .    switch sram: .
Module 1 Passed
Exiting Off-line Diagnostics
IP address for Catalyst not configured
DHCP/BOOTP will commence after the ports are online
Ports are coming online ...
Cisco Systems, Inc. Console
Enter password:
2009 May 26 15:04:01 %SYS-5-MOD_OK:Module 1 is online
2009 May 26 15:04:09 %SYS-5-MOD_OK:Module 2 is online

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Don JohnstonInstructorCommented:
I hope you know that switch went End of Sale a couple year ago and it only has a 6gbps backplane.

That said, it is a layer 2 switch so the switch doesn't care about the IP addresses of the devices.

You don't say what VLAN (or network) you want the management of the switch in so we'll use VLAN 7 as an example.

set vlan 7 2/1-24
set vlan 24 2/24-48
set password
set enablepass
set int sc0 7
set ip route default

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
2003domainadminAuthor Commented:
Could you please explain lines 2,3, and 6?  Thanks
Don JohnstonInstructorCommented:
Line 2 creates vlan 7 and places port 2/1 - 24 in vlan 7
Line 3 creates vlan 24 and places port 2/25 - 48 in vlan 24
 Line 7 assigns an IP address of to the switch and places it in vlan 7
Prepare for an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program curriculum features two internationally recognized certifications from the EC-Council at no additional time or cost.

2003domainadminAuthor Commented:
Set vlan 7 state active results in
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Cannot add/modify VLANs on a VTP server without a domain name.

now what?
2003domainadminAuthor Commented:
I just ran clear config all, and show vlan.  These are the results:
Console> (enable) clear config all
This command will clear all configuration in NVRAM.
This command will cause ifIndex to be reassigned on the next system startup.
Do you want to continue (y/n) [n]? y
......2009 May 26 16:40:24 %SECURITY-1-DOT1X_BACKEND_SERVER:No Radius servers co

System configuration cleared.
Console> (enable) 2009 May 26 16:40:45 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge
port 2/1

Console> (enable) show vlan
VLAN Name                             Status    IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------

1    default                          active    64      2/1-50
1002 fddi-default                     active    65
1003 token-ring-default               active    68
1004 fddinet-default                  active    66
1005 trnet-default                    active    67

VLAN Type  SAID       MTU   Parent RingNo BrdgNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
1    enet  100001     1500  -      -      -      -    -        0      0
1002 fddi  101002     1500  -      -      -      -    -        0      0
1003 trcrf 101003     1500  -      -      -      -    -        0      0
1004 fdnet 101004     1500  -      -      -      -    -        0      0
1005 trbrf 101005     1500  -      -      -      ibm  -        0      0

VLAN Inst DynCreated  RSPAN
---- ---- ---------- --------
1    -    static     disabled
1002 -    static     disabled
1003 -    static     disabled
1004 -    static     disabled
1005 -    static     disabled

---- ------- ------- ---------- -------
1003 7       7       off
Console> (enable)
Don JohnstonInstructorCommented:
set vtp domain <name>
2003domainadminAuthor Commented:
Ok. now I have my laptop and a san server on the switch on vlan 1 but nothing is happening.  it can't connect to the web interface on the san.  The san has another ethernet port on another network and that network can see the interface.  I can ping it though
2003domainadminAuthor Commented:
Correction: That works. but the second vlan does not work.  It is on our actual network the network.
2003domainadminAuthor Commented:
When I switch the SANs primary ehternet ( to the switch and then connect the switch to our network via 25-48 ports nothing works
Don JohnstonInstructorCommented:
Do you have a router that is routing traffic between the two networks?
Can the devices on each network ping it's default gateway?
2003domainadminAuthor Commented:
Oh How do I find the port mac address for port 48?  It needs to be registered with our network
2003domainadminAuthor Commented:
Also how do I make sure that only addresses work on vlan 24 and address work on vlan 7
Don JohnstonInstructorCommented:
Why? There won't be an traffic sourced from that MAC.
2003domainadminAuthor Commented:
whatever port connects the 1172.24.0.0. vlan to the existing network in our production environment has to have its mac address registered otherwise it gets blocked.  only half the switch is for testing, the other 24 ports (25-48) are for routing traffic in my office area.
2003domainadminAuthor Commented:
Thanks.  I got everything working.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.