12-20-2021 02:56 PM
I have two Cisco 2250-50 switches that are currently on DHCP. I inherited this network and there is almost no documentation. It appears that there was no configuration done on these switches before they were put into production; the default user id and password as still in place and I see zero configuration changes in the running config. The issue I'm having is that I cannot access the web based management console as there doesn't appear to be an address assigned. I have been aware from Cisco products for quite a few years and I'm having difficulty trying to figure out how to assign an IP address in the CLI. The switches are in production so doing a factory reset and starting fresh is a no go.
Any assistance you can provide would be much appreciated.
Solved! Go to Solution.
12-21-2021 06:58 AM
>...Is there not a way to set the IP through the CLI
These small business devices are gui-configurable only and don't have the capabilities that a bigger ios-based switch has (cli-configurable). Is it plugged into a parent cisco switch somewhere ? If so you could use show cdp neighbors detail to get the networking details. If not you could just connect another 'dead end' cisco switch to it and try the same from that device.
M.
12-20-2021 11:55 PM
- Is that the exact model-name of the device because it looks confusing ?
M.
12-20-2021 11:55 PM
Hello,
what device is the 2250 ?
12-21-2021 04:00 AM
12-21-2021 04:46 AM
Hello,
I guess you have tried the default settings for the Web GUI:
Username cisco
Password cisco
Switch IP 192.168.1.254
If that doesn't work, your only option is to access the switch through the console port. Chances are that the console-only access profile has been activated, so in that case you won't be able to use the Web GUI anyway.
The CLI commands available are different/less than on the IOS routers/switches you are used to. Below is a reference:
The link below (page 12) describes how to connect a PC to the console port:
12-21-2021 04:52 AM
I am connected to the console port and am able to log in with the default credentials. The issue I'm having is being able to assign an IP address to the management vlan so I can access the Web GUI. I've tried going into the vlan config and can't use any of the commands that would allow me to assign an IP. I've attached my latest attempt. I'm sure this is my lack of familiarity with recent Cisco IOS commands. Hopefully you can shed some light on my ignorance.
12-21-2021 05:08 AM
- Note that these devices do not run IOS , from the admin guide :
>...To access the switch with a web-based interface, you must know the IP
address that the switch is using. The default configuration of the switch is
to use its factory default IP address of 192.168.1.254 until it has obtained
an IP address from a DHCP server.
If it has been getting an address from a DHCP server (e.g.), then check the logs on your DHCP server, lookup the switch mac-address, and find out which IP-address it is using.
M.
12-21-2021 10:30 AM
Hello,
the CLI screenshot you have posted shows that you are on the right track. You are just in the wrong context mode. You are in the Vlan database configuration context.
Try the below:
SwitchCCD028#conf t
SwitchCCD028(config)#interface vlan 1
SwitchCCD028(config-if)#ip address x.x.x.x
12-21-2021 06:34 AM
I appreciate your responses but I'm still at a loss. I've scanned all of my subnets and I do not see the MAC address for the switch anywhere. It's not listed in DHCP either. Is there not a way to set the IP through the CLI? This seems counter-intuitive.
12-21-2021 06:58 AM
>...Is there not a way to set the IP through the CLI
These small business devices are gui-configurable only and don't have the capabilities that a bigger ios-based switch has (cli-configurable). Is it plugged into a parent cisco switch somewhere ? If so you could use show cdp neighbors detail to get the networking details. If not you could just connect another 'dead end' cisco switch to it and try the same from that device.
M.
12-21-2021 07:00 AM
I'll give that a try. Thanks.
12-21-2021 10:00 AM
This got me pointed in the right direction. Fortunately I had another switch laying around that I could plug in. Looks like I'm going to have to tear the whole network apart and start from scratch. Should be a good time.
12-21-2021 10:15 AM
- Alright ! - Have a good Christmas,
M.
12-21-2021 10:16 AM
You as well.
12-21-2021 10:32 AM
--> These small business devices are gui-configurable only and don't have the capabilities that a bigger ios-based switch has (cli-configurable).
Is that true ? Might depend on the model, but the screenshot posted by OP shows there actually is a CLI, and it is configurable.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide