Solved

Cisco sg300 - port to IP mapping ?

Posted on 2012-12-26
8
2,440 Views
Last Modified: 2013-01-09
Hello

is there a way to find out a mapping between physical port on the switch and the IP address of the connected device ?

Thanks & regards
0
Comment
Question by:atak2983
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 9

Expert Comment

by:Sandeep Gupta
ID: 38721113
more specifically..I think you want to see an IP address of the device connected to your cisco box?

if yes...

see your arp table..it will show you IP coming through connected port.

if it is DSL modem connected and you want to see the IP...then do "who" or "sh user"
0
 
LVL 1

Author Comment

by:atak2983
ID: 38721159
see your arp table..it will show you IP coming through connected port.
Hmmm... Here is what I get:

  VLAN 1   00:08:5d:82:d1:e4    GE6    
  VLAN 1   00:08:9b:cc:cb:85    GE48    
  VLAN 1   00:0f:fe:2d:00:4c    GE7    
  VLAN 1   00:12:79:48:a2:56    GE50    
  VLAN 1   00:14:c2:3b:11:08    GE49    
  VLAN 1   00:15:99:4b:ac:15    GE50    
  VLAN 1   00:16:46:a2:f6:ce    GE8    
  VLAN 1   00:19:66:2d:15:02    GE29    
  VLAN 1   00:21:9b:72:f6:d0    GE5    
  VLAN 1   00:21:9b:73:00:63    GE23    
  VLAN 1   00:22:19:ca:7e:16    GE24    
  VLAN 1   00:23:18:f3:4e:93    GE35    
  VLAN 1   00:23:f8:62:ea:81    GE52    
  VLAN 1   00:25:64:b2:17:37    GE14    
  VLAN 1   00:40:8c:78:a8:6f    GE26    
  VLAN 1   00:c0:b7:61:58:21    GE36    
  VLAN 1   08:00:37:8e:ae:a8    GE50    
  VLAN 1   08:2e:5f:bc:95:b3    GE12    
  VLAN 1   14:fe:b5:de:4b:6e    GE30    
  VLAN 1   3c:07:54:27:ff:55    GE35    
  VLAN 1   80:ee:73:40:71:0a    GE31    
  VLAN 1   8c:89:a5:7d:c4:26    GE15    
  VLAN 1   8c:89:a5:7d:c6:41    GE25    
  VLAN 1   8c:89:a5:7d:cb:f1    GE3    
  VLAN 1   bc:30:5b:b0:e3:4b    GE9    
  VLAN 1   bc:30:5b:b0:e3:7b    GE11  

Open in new window


Better than nothing but if i could resolve the MAC to IP it would be most useful...
0
 
LVL 9

Expert Comment

by:Sandeep Gupta
ID: 38721166
to which port of your device it is connected?

check cdp neighbor.
0
 
LVL 57

Accepted Solution

by:
giltjr earned 250 total points
ID: 38721168
That shows you the MAC address in the forwarding table and which port it see's that MAC address on.

That looks more like the output of "show mac table".  Not sure if on the SG300 the command to see the arp table is "show arp" or "show ip arp".  Try one of those, once you find the IP address you want to know about then do "show mac table | i x.x.x.x" where "x.x.x.x" is the IP address you want to know about.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 17

Expert Comment

by:TimotiSt
ID: 38731562
You could enable DHCP snooping on the switch. That won't show you static IPs, though.

Tamas
0
 
LVL 1

Author Comment

by:atak2983
ID: 38743057
Sorry a bit late responding - no sure how to "enable DHCP snooping" ? Most of our IPs are dynamic so it would be a godd starting point.
0
 
LVL 17

Assisted Solution

by:TimotiSt
TimotiSt earned 250 total points
ID: 38743300
Attached a CLI reference, see at "DHCP snooping".
Basically it inspects every DHCP request, and stores the IP addresses in them in a nice table on the switch. It's for preventing rogue DHCP servers primarily, but also great for port-to-IP mapping.

Tamas
CLI-300-1-2-5.pdf
0
 
LVL 1

Author Comment

by:atak2983
ID: 38760355
Thanks - I believe that with the various pointers you gave me I shall be able to figure out which IP is used on which port.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco MAC address finding 5 62
Nortel Baystack 5510-48T Web GUI problems 27 66
cradle point vpn to sonicwall 5 44
network error 8 32
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now