Link to home
Start Free TrialLog in
Avatar of 2003domainadmin
2003domainadmin

asked on

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 10.7.4.0/255.255.255.0 with a gateway 10.7.4.1
2: Ports 25-48 have the network 172.24.0.0/255.255.255.0 with a gateway 172.24.0.1
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)

Thanks

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
esses)
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"
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC################################
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

ASKER CERTIFIED SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 2003domainadmin
2003domainadmin

ASKER

Could you please explain lines 2,3, and 6?  Thanks
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 10.7.4.2 to the switch and places it in vlan 7
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?
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
nfigured
...
..........................................................

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


VLAN AREHops STEHops Backup CRF 1q VLAN
---- ------- ------- ---------- -------
1003 7       7       off
Console> (enable)
set vtp domain <name>
Ok. now I have my laptop 10.7.4.3 and a san server 10.7.4.4 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
Correction: That works. but the second vlan does not work.  It is on our actual network the 172.24.0.0 network.
When I switch the SANs primary ehternet (172.24.0.230) to the switch and then connect the switch to our network via 25-48 ports nothing works
Do you have a router that is routing traffic between the two networks?
Can the devices on each network ping it's default gateway?
Oh How do I find the port mac address for port 48?  It needs to be registered with our network
Also how do I make sure that only 172.24.0.0 addresses work on vlan 24 and 10.7.4.0 address work on vlan 7
Why? There won't be an traffic sourced from that MAC.
whatever port connects the 1172.24.0.0. vlan to the 172.24.0.0. 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.
Thanks.  I got everything working.