cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1880
Views
15
Helpful
4
Replies

SG350-28P

Hazem.hussain
Level 1
Level 1

Hello

i have cisco SG-350 switches 

 

is it possible to know all IP's connected to the switch interfaces using GUI 

and how to open the command line from GUI 

 

thanks 

1 Accepted Solution

Accepted Solutions

TJ-20933766
Spotlight
Spotlight

"Is it possible to know all IP's connected to the switch interfaces using GUI"

Not through the GUI. Through the CLI, you could look at the DHCP Snooping table (if you have enabled the feature and configured it for all VLANs).

 

IT-SG500-52P#show ip dhcp snooping binding
Total number of binding: 1
   MAC Address       IP Address    Lease (sec)     Type    VLAN Interface
------------------ --------------- ------------ ---------- ---- ----------
f8:9e:28:70:55:ee  10.1.70.2       7160         learned    40   gi1/1/23

 

Another option might be to ping the broadcast address of each VLAN so long as your switch has a VLAN interface configured and in the up/up state for each VLAN. Then you could look at the ARP table to get both the MAC address and the IP address of the devices

 

Library-SG350X-24PV#ping 10.0.10.255
Pinging 10.0.10.255 with 18 bytes of data:
PING: no reply from 10.0.10.255
PING: timeout
PING: no reply from 10.0.10.255
PING: timeout
PING: no reply from 10.0.10.255
PING: timeout
PING: no reply from 10.0.10.255
PING: timeout
----10.0.10.255 PING Statistics----
4 packets transmitted, 0 packets received, 100% packet loss

Library-SG350X-24PV#show arp
Total number of entries: 34
  VLAN    Interface     IP address        HW address          status
--------------------- --------------- ------------------- ---------------
vlan 10    gi1/0/15   10.0.10.2       b4:b5:2f:d3:5d:77   dynamic
vlan 10    fi1/0/24   10.0.10.3       ec:b1:d7:50:d0:9c   dynamic

 

 

 

"how to open the command line from the GUI"

There isn't a way to do this from the GUI. You will need to setup SSH or Telnet to remotely access the CLI or you can access the CLI using the console port located on the back side of the switch. To setup SSH or Telnet:

1. Go to IP Configuration > Security > TCP/UDP Services and check mark next to SSH and/or Telnet then click the Apply button.

2. Then go to IP Configuration > Security >Management Access Authentication, choose SSH (or Telnet) from the drop down and make sure "Local" is set on the right side under "Selected Methods"

3. Since you can get to the Web UI, I'm assuming you already have an IP address configured. Use this as the IP address you put into your terminal emulator (something like Putty for Windows: https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe). When prompted for credentials, use the same one you used for the Web UI.

View solution in original post

4 Replies 4

TJ-20933766
Spotlight
Spotlight

"Is it possible to know all IP's connected to the switch interfaces using GUI"

Not through the GUI. Through the CLI, you could look at the DHCP Snooping table (if you have enabled the feature and configured it for all VLANs).

 

IT-SG500-52P#show ip dhcp snooping binding
Total number of binding: 1
   MAC Address       IP Address    Lease (sec)     Type    VLAN Interface
------------------ --------------- ------------ ---------- ---- ----------
f8:9e:28:70:55:ee  10.1.70.2       7160         learned    40   gi1/1/23

 

Another option might be to ping the broadcast address of each VLAN so long as your switch has a VLAN interface configured and in the up/up state for each VLAN. Then you could look at the ARP table to get both the MAC address and the IP address of the devices

 

Library-SG350X-24PV#ping 10.0.10.255
Pinging 10.0.10.255 with 18 bytes of data:
PING: no reply from 10.0.10.255
PING: timeout
PING: no reply from 10.0.10.255
PING: timeout
PING: no reply from 10.0.10.255
PING: timeout
PING: no reply from 10.0.10.255
PING: timeout
----10.0.10.255 PING Statistics----
4 packets transmitted, 0 packets received, 100% packet loss

Library-SG350X-24PV#show arp
Total number of entries: 34
  VLAN    Interface     IP address        HW address          status
--------------------- --------------- ------------------- ---------------
vlan 10    gi1/0/15   10.0.10.2       b4:b5:2f:d3:5d:77   dynamic
vlan 10    fi1/0/24   10.0.10.3       ec:b1:d7:50:d0:9c   dynamic

 

 

 

"how to open the command line from the GUI"

There isn't a way to do this from the GUI. You will need to setup SSH or Telnet to remotely access the CLI or you can access the CLI using the console port located on the back side of the switch. To setup SSH or Telnet:

1. Go to IP Configuration > Security > TCP/UDP Services and check mark next to SSH and/or Telnet then click the Apply button.

2. Then go to IP Configuration > Security >Management Access Authentication, choose SSH (or Telnet) from the drop down and make sure "Local" is set on the right side under "Selected Methods"

3. Since you can get to the Web UI, I'm assuming you already have an IP address configured. Use this as the IP address you put into your terminal emulator (something like Putty for Windows: https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe). When prompted for credentials, use the same one you used for the Web UI.

balaji.bandi
Hall of Fame
Hall of Fame

You can view those information in GUI IP configuration --ipv interface or ARP

 

you can ssh to device and issue show ip arp and show mac

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

TJ-20933766
Spotlight
Spotlight

@balaji.bandiYou're right! I was looking at an SG500 when making that post. Now that I've logged into an SG350X and going to IP Configuration > IPv4 Management and Interfaces > IPv4 Forwarding Table & ARP, I can see those entries.

You can also see the DHCP Snooping entries under IP Configuration > IPv4 Management and Interfaces > DHCP Snooping/Relay > DHCP Snooping Binding Database. You'll have to change the Display Mode in the upper right corner from Basic to Advanced to see DHCP Snooping information.

Hazem.hussain
Level 1
Level 1

@TJ-20933766  @balaji.bandi thank you very much guys .. you helped alot 

Review Cisco Networking for a $25 gift card