Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

getting the IP adress of the switch on witch my endstation is connected.

please is there a method or a DOS command that display the ip adress of my switch??

3 REPLIES
Purple

Re: getting the IP adress of the switch on witch my endstation i

By IP address, I presume you mean the management address of your switch, right ?

There is no way to determine that from a command on a host attached to your switch. You can only determine that by console'ing into the switch itself.

Hope that helps - pls rate the post if it does.

Paresh.

Bronze

Re: getting the IP adress of the switch on witch my endstation i

If the switch is running CDP, you could install a CDP monitor tool on your PC. Then you should be able to see the management address of the switch.

Re: getting the IP adress of the switch on witch my endstation i

Hello,

to sum up the previous posts and add some info:

A) in case CDP on your switchport is enabled, you will get CDP announcements from the switch, which contain one IP of the switch. This CDP info can be extracted by a CDP monitoring tool or a network analyzer like ethereal. The IP obtained this way might not be in the VLAN your port is assigned to, so you might not have connectivity.

B) If CDP is turned off the only IP you could potentially have access to must be within your VLAN. The switch might or might not have an IP within your VLAN. If not, then you cannot determine the management IP from a PC connected to an ethernet port of the switch. You could call this a security feature.

C) In case you have console access and the proper password(s) you can use a console cable and a program like Hyperterminal to obtain CLI access and get the desired info.

Hope this helps! Please rate all posts.

regards, Martin

123
Views
0
Helpful
3
Replies