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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C4006 config questions

Status
Not open for further replies.

jstotz

Technical User
Sep 18, 2008
1
US
I have a catalyst 4006 switch running IOS 12.2(20)EW1. It came from another office and I want to wipe it and reconfigure it.

I think I managed to wipe the setup info, but when I reboot it, it doesn't run the setup program. I tried to run setup manually by typing "setup" in exec mode but it doesn't recognize the command and tries to resolve it as an address.

So I tried to configure it manually, but I'm confused about setting the IP address of the switch. On the Extreme switch i have, you assign an IP address to the whole switch. I can't figure out how to do that to the Cisco. I can only find info about assigning IP addresses to individual ports.

Thanks
 
To make sure it is wiped out do a "write erase" then reload the box , if you want to get rid of the vlan and vtp info also delete the vlan.dat file in bootflash also. It depends on what vlan you want your management address on . Not reccomended to keep it in vlan 1 . Use say vlan 2 .
Create the layer 2 vlan
conf t
vlan 2
end
conf t
int vlan 2
ip address xxx.xxx.xxx.xxx <mask>
exit
if not running routing configure default gateway
ip default-gateway xxx.xxx.xxx.xxx , this will be the address of the device doing the routing .
If you have ip routing running on the box you have to use a default static route
0.0.0.0 0.0.0.0 <gateway ip address> of next hop.
 
I'm not sure the 4000 series has a setup mode. Never used it anyways so I don't know. :)

I would follow vipergg's advice and just configure it manually.

If you want just 1 IP address for the entire switch, just assign one to the management vlan's interface, not a physical ethernet interface. However, if you plan to use this as a layer3 switch, you'll need an address on each vlan interface you want to route.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top