Capital City Christian Church
Network Switches (both layer 2 and 3)
Over time I have created small text files with info about different tasks regarding the switches. These were scratch notes at the time, but I am collecting them here for later review and reference.
Schema switch="switch" switchport= the switch port that a host is plugged in hostmac= the mac of the device connected to the switchport in this record. trunk ="trunk" if this is a trunk lobe. -------- Getting the ip/mac of an unmanaged switch; One way is to list the mac address table on the managed switches and look for ports with multiple mac addresses with are not links to other known switches. Then, using arp lookup and ping -a, you can find the ip address/dns names of the hosts connected to the unmanaged switches. When a switch reports more than one mac on a switch port could be another switch. If the number of macs is low, then it could be a host running a vm or proxy. Note that unmanaged switches use the MAC address, but do not have, use, or understand IP addresses. An IP address is used to access a device. So a switch which has software to allow settings, might need an IP address to let a user access its management system or web interface. But by definition, a dumb switch is never accessed that way by a user. -------- Check the ARP tables and see which ports have multiple MAC addresses in the ARP. You can then identify which switch that port goes to by seeing which switch has those addresses on discrete ports in its ARP table. when you look at the mac address table and see many mac addresses via a single port then that indicates it is an uplink. Start with the Cisco Switches and use show cdp neighbors this should show you which cisco switches are connected to eachother and show the local port and the remote port. This will at least get you the Cisco information. On Cisco type “SHOW CDP NEIGHBORS DETAIL” This will show you every Cisco device connected to the switch you are on and the port that connects it. What’s Connected Where? Go switch-by-switch. Log in with PuTTY/SSH. Go port-by-port & see what’s connected. Useful commands: • sh cdp nei (det) o This shows CDP-compliant Neighbors (Cisco equipment, Polycom phones, etc.) • sh mac add | i 0/24 o This gets a MAC address, if something is connected. Go port-by-port. • sh mac add | i 0cbd o This gets a port number from part of a MAC address. Investigate each MAC address: • DHCP on the Server o (hard to search – sort by Unique ID – might give Name) • On your PC o First ping subnet broadcast address, e.g. “ping 192.168.1.255” o “arp –a | find “a4-37-ee” (break last part of MAC into doublets with ‘-‘) • On a Switch or Router o First ping subnet broadcast address, e.g. “ping 192.168.1.255” o “sh arp | i a437” • MAC Address Lookup on the WWWeb o 1st 6 digits to show manufacturer (if arp & DHCP don’t help – may need to guess or touch these) <hr> Identify switches by HTTP headers ┌──(parth㉿Wintermute)-[~] └─$ nc -vv -n 127.0.0.169 80 (UNKNOWN) [127.0.0.169] 80 (http) open GET / HTTP/1.0 HTTP/1.1 302 Redirect Server: GoAhead-Webs Date: Sun Jul 30 22:37:32 2023 Connection: close Pragma: no-cache Cache-Control: no-cache Content-Type: text/html X-Frame-Options: SAMEORIGIN Location: http://Device/cs9e76935f/mts/config/log_off_page.htm <html><head></head><body> This document has moved to a new <a href="http://Device/cs9e76935f/mts/config/log_off_page.htm">location</a>. Please update your documents to reflect the new location. </body></html> sent 16, rcvd 546 ┌──(parth㉿Wintermute)-[~] └─$ nc -vv -n 127.0.0.14 80 (UNKNOWN) [127.0.0.14] 80 (http) open GET / HTTP/1.0 HTTP/1.1 302 Redirect Server: GoAhead-Webs Date: Fri Jun 01 08:13:50 2018 Connection: close Pragma: no-cache Cache-Control: no-cache Content-Type: text/html Location: http://Device/cs39c1756/ <html><head></head><body> This document has moved to a new <a href="http://Device/cs39c1756/">location</a>. Please update your documents to reflect the new location. </body></html> sent 16, rcvd 461 <hr> Resetting a password ---[Connect using Putty]--- https://www.cisco.com/c/en/us/support/docs/smb/switches/ cisco-small-business-300-series-managed-switches/ smb4984-access-the-cli-via-putty-using-a-console-connection-on-300-a.html Step 1. Connect the switch to the computer using a standard 9-pin serial cable. The switch uses the factory default IP address of 192.168.1.254 by default. Enter the default login information: • Username is cisco • Default password is cisco (passwords are case sensitive 10 300 Series Managed Switches 115200 bits per second (with release 1.2.5 of the firmware, autobaud detection is enabled by default detect the speed after you press Enter • 8 data bits • no parity • 1 stop bit • no flow control ---[Reset at cli]--- https://www.cisco.com/c/en/us/support/docs/smb/switches/ cisco-small-business-300-series-managed-switches/ smb4985-administrator-password-recovery-for-300-and-500-series-manag.html Step 1. Access the CLI via a local console connection. Step 2. Power cycle the switch by unplugging the power cord and plugging it back in to the back of the device. After a couple of seconds you should see the Cisco ASCII logo with a prompt to escape the Autoboot loader. Press Return or Esc immediately to enter the Startup Menu. Note: Power cycle with the console cable and Putty connected. If the device goes into Autoboot sequence, you can reattempt to enter the Startup Menu by power cycling the device again. Step 3. Select menu item 3. Password Recovery Procedure Step 4. Press Enter to go back to the Startup Menu, and then press Esc to exit. This will start the Autoboot sequence. Step 5. After the switch has fully booted, you will be in password recovery mode. However, before changing any usernames or passwords, enter the following commands to avoid overwriting the existing configuration on the switch: Switch#enable Switch#copy startup-config running-config Note: In order to use backspace in the CLI, use the arrow keys to highlight the desired character and then hit Backspace to delete the character. You can also hold down Backspace to continuously delete characters to the right of the highlighted cursor. Step 6. In order to change the administrator password, you must enter configuration mode. To enter configuration mode, enter one of the following commands based on your access level: Switch(config)#username<new or previous username> privilege 15 password <new password> Switch(config)#username admin privilege 15 password password Note: Default password complexity settings require that the password contain at least 3 character classes such as a capital letter, a lowercase letter, and a number. Step 8. Enter the following commands to exit configuration mode and write to the configuration file. Switch#exit Switch#write Step 9. Enter Y to overwrite the startup configuration file. Step 10. Enter the following command to reboot the system so that you can log in with your newly configured username and password: Switch#reload Step 11. Enter Y to continue. Your device will then reboot. <hr> Switch Info 3q23 -------- This file deals with tracing each switch port to it's node. -------- UPDATE inventory SET datestamp = CURRENT_TIMESTAMP; -------- Article on resetting admin password; https://www.cisco.com/c/en/us/support/docs/smb/switches/ cisco-small-business-300-series-managed-switches/ smb4985-administrator-password-recovery-for-300-and-500-series-manag.html #:~:text=Simply%20press%20the%20Reset%20button,the%20default%20password%20of%20cisco. Cisco console https://www.youtube.com/watch?v=NBq5AIE8plI -------- sudo nmap -Pn -sS --open -T4 -p 1-10000 -oN port.127.0.0.14.1-10000.nmap.full.versions.txt 127.0.0.14 This lists the mac of each switch port. 'MAC Address / Dynamic Address' <hr> NetworkSwitchWork.txt On 8.7.24 I enabled Telnet on 127.0.0.169 and was able to telnet into that switch using telnet (duh). Add much of this to TheRedPill and try to sort out the info. switchaeaac8#sh mac add Flags: I - Internal usage VLAN Aging time is 300 sec Vlan Mac Address Port Type ------------ --------------------- ---------- ---------- 1 00:04:05:11:d4:eb 25 dynamic 1 00:04:c4:09:16:c9 25 dynamic 1 00:0a:45:20:c9:0c 25 dynamic 1 00:0a:45:24:96:45 25 dynamic 1 00:0a:45:2d:63:fa 25 dynamic 1 00:0a:45:2d:64:02 25 dynamic 1 00:0c:1e:05:d1:23 25 dynamic 1 00:0e:dd:48:01:91 25 dynamic 1 00:0e:dd:48:4f:40 25 dynamic 1 00:0e:dd:f0:1a:fc 25 dynamic 1 00:0e:dd:f0:2b:24 25 dynamic 1 00:11:32:d1:c3:3c 2 dynamic 1 00:1d:c1:03:10:e6 25 dynamic 1 00:1d:c1:03:98:4c 25 dynamic 1 00:1d:c1:50:f6:98 25 dynamic 1 00:23:a8:ff:e0:19 25 dynamic 1 00:26:73:55:a5:77 7 dynamic 1 00:2f:5c:b1:0f:cb 13 dynamic 1 00:2f:5c:b1:0f:cc 13 dynamic 1 00:50:41:8a:1b:ed 25 dynamic 1 00:50:b6:f6:cd:0e 13 dynamic 1 00:84:bc:4a:b0:2e 25 dynamic 1 00:e0:4c:68:02:f8 25 dynamic 1 00:e0:4c:68:03:82 25 dynamic 1 00:e0:4c:68:05:75 13 dynamic 1 00:e0:4c:68:0b:26 25 dynamic 1 00:e0:4c:68:0b:5d 25 dynamic 1 00:e0:4c:68:0b:bc 25 dynamic 1 00:e0:4c:68:bd:14 21 dynamic 1 02:4d:48:20:0a:45 25 dynamic 1 08:02:8e:e5:8b:6a 25 dynamic 1 0c:4d:e9:9b:dd:5e 6 dynamic 1 10:b3:c6:ae:aa:c8 0 self 1 10:dd:b1:a8:af:1d 25 dynamic 1 14:9d:99:7a:7d:2c 6 dynamic 1 14:9d:99:7a:a1:70 25 dynamic 1 14:9d:99:7c:4c:60 25 dynamic 1 18:7e:b9:06:c4:f8 25 dynamic 1 28:80:88:6e:5b:c4 13 dynamic 1 28:ff:3c:a1:16:f3 6 dynamic 1 2c:57:41:61:6b:0c 25 dynamic 1 2c:57:41:61:7c:42 6 dynamic 1 2c:64:1f:47:fe:cf 13 dynamic 1 34:1a:4c:d8:92:be 25 dynamic 1 34:1a:4c:d8:93:50 25 dynamic 1 34:1a:4c:d8:9c:6e 13 dynamic 1 34:1a:4c:d8:9f:f7 25 dynamic 1 34:1a:4c:d9:01:02 25 dynamic 1 34:29:8f:91:08:30 25 dynamic 1 34:fd:6a:04:a2:b3 7 dynamic 1 40:f8:df:74:38:fd 25 dynamic 1 44:c6:5d:87:f0:c3 13 dynamic 1 48:e1:5c:68:29:3d 6 dynamic 1 58:38:79:7c:72:d1 13 dynamic 1 68:5b:35:c9:cd:cf 25 dynamic 1 74:38:b7:ff:19:b9 25 dynamic 1 74:38:b7:ff:30:58 25 dynamic 1 74:38:b7:ff:30:59 25 dynamic 1 78:02:b1:18:b8:10 25 dynamic 1 78:7b:8a:b0:d5:b5 25 dynamic 1 7c:2e:0d:04:4a:c9 25 dynamic 1 7c:2e:0d:10:ec:46 13 dynamic 1 7c:2e:0d:12:08:89 25 dynamic 1 80:5e:0c:51:52:4f 13 dynamic 1 80:5e:0c:96:6b:76 25 dynamic 1 80:5e:0c:96:6b:88 13 dynamic 1 80:5e:0c:96:6b:95 13 dynamic 1 80:5e:0c:96:6f:23 13 dynamic 1 80:5e:0c:96:6f:69 20 dynamic 1 80:5e:0c:96:6f:95 13 dynamic 1 80:5e:0c:96:6f:a1 13 dynamic 1 80:5e:0c:96:6f:a8 13 dynamic 1 80:5e:0c:96:6f:cd 13 dynamic 1 80:5e:0c:96:6f:d0 13 dynamic 1 80:5e:0c:96:6f:d1 13 dynamic 1 80:5e:0c:97:20:58 5 dynamic 1 84:d8:1b:81:ea:3e 24 dynamic 1 92:21:c1:13:04:b5 25 dynamic 1 94:db:56:29:61:58 25 dynamic 1 a0:ce:c8:b9:1c:79 25 dynamic 1 a4:8d:3b:58:54:de 25 dynamic 1 a4:b2:39:96:e5:c8 25 dynamic 1 a4:fc:14:29:6a:9c 25 dynamic 1 b4:22:00:3c:58:89 25 dynamic 1 bc:4a:56:27:6b:ff 7 dynamic 1 bc:4a:56:27:6c:07 7 dynamic 1 bc:4a:56:27:eb:97 6 dynamic 1 bc:4a:56:27:eb:9f 6 dynamic 1 d0:ec:35:1d:2a:c8 13 dynamic 1 d4:ad:71:22:e7:8c 25 dynamic 1 d4:ad:71:22:e7:a5 25 dynamic 1 d8:ec:5e:ea:10:ff 25 dynamic 1 dc:cd:2f:2c:e4:6c 6 dynamic 1 dc:eb:94:75:6b:91 25 dynamic 1 e0:89:7e:5c:77:70 13 dynamic 1 e0:89:7e:63:38:52 6 dynamic 1 e0:89:7e:65:70:02 6 dynamic 1 e4:77:d4:08:72:86 25 dynamic 1 e4:77:d4:08:76:f0 25 dynamic 1 e8:9f:80:43:55:04 6 dynamic 1 f2:89:5c:a6:9e:5b 25 dynamic switchaeaac8# switchaeaac8#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - VoIP Phone M - Remotely-Managed Device, C - CAST Phone Port, W - Two-Port MAC Relay Device ID Local Adv Time To Capability Platform Port ID Interface Ver. Live ------------------ ----------- ---- ------- ---------- ------------ ----------- T46U805E0C972058 5 2 155 H P T46U WAN PORT bc4a5627eb97 6 2 142 R S I Cisco 8 SG350-20 (PID:SG350-2 0-K9)-VSD bc4a56276bff 7 2 165 R S I Cisco 8 SG350-10 (PID:SG350-1 0-K9)-VSD 002f5cb10fcb 13 2 126 R S I Cisco 1 SG350-28 (PID:SG350-2 8-K9)-VSD T46U805E0C966F69 20 2 146 H P T46U WAN PORT d4ad7122e78c 25 2 164 R S I Cisco 25 SG350-28 (PID:SG350-2 8-K9)-VSD switchaeaac8#SHOW CDP NEIGHBORS DETAIL --------------------------------------------- Device-ID: T46U805E0C972058 Advertisement version: 2 Platform: T46U Capabilities: Host Phone Interface: 5, Port ID (outgoing port): WAN PORT Holdtime: 172 Version: 108.86.0.45 Duplex: full Power drawn: 7000 milliwatts Addresses: IP 127.0.0.133 --------------------------------------------- Device-ID: bc4a5627eb97 Advertisement version: 2 Platform: Cisco SG350-20 (PID:SG350-20-K9)-VSD Capabilities: Router Switch IGMP Interface: 6, Port ID (outgoing port): 8 Holdtime: 159 Version: 2.5.0.83 Duplex: full Native VLAN: 1 SysName: switch27eb97 Addresses: IP 127.0.0.143 IPv6 fe80::be4a:56ff:fe27:eb97 (link-local) --------------------------------------------- Device-ID: bc4a56276bff Advertisement version: 2 Platform: Cisco SG350-10 (PID:SG350-10-K9)-VSD Capabilities: Router Switch IGMP Interface: 7, Port ID (outgoing port): 8 Holdtime: 179 Version: 2.5.0.83 Duplex: full Native VLAN: 1 SysName: switch276bff Addresses: IP 127.0.0.101 IPv6 fe80::be4a:56ff:fe27:6bff (link-local) --------------------------------------------- Device-ID: 002f5cb10fcb Advertisement version: 2 Platform: Cisco SG350-28 (PID:SG350-28-K9)-VSD Capabilities: Router Switch IGMP Interface: 13, Port ID (outgoing port): 1 Holdtime: 140 Version: 2.5.9.54 Duplex: full Native VLAN: 1 SysName: switchb10fcb Addresses: IP 127.0.0.225 IPv6 fe80::22f:5cff:feb1:fcb (link-local) --------------------------------------------- Device-ID: T46U805E0C966F69 Advertisement version: 2 Platform: T46U Capabilities: Host Phone Interface: 20, Port ID (outgoing port): WAN PORT Holdtime: 159 Version: 108.86.0.45 Duplex: full Power drawn: 7000 milliwatts Addresses: IP 127.0.0.208 --------------------------------------------- Device-ID: d4ad7122e78c Advertisement version: 2 Platform: Cisco SG350-28 (PID:SG350-28-K9)-VSD Capabilities: Router Switch IGMP Interface: 25, Port ID (outgoing port): 25 Holdtime: 179 Version: 2.5.9.54 Duplex: full Native VLAN: 1 SysName: switch22e78c Addresses: IP 127.0.0.14 IPv6 fe80::d6ad:71ff:fe22:e78c (link-local) switchaeaac8# switchaeaac8#sh cdp nei Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - VoIP Phone M - Remotely-Managed Device, C - CAST Phone Port, W - Two-Port MAC Relay Device ID Local Adv Time To Capability Platform Port ID Interface Ver. Live ------------------ ----------- ---- ------- ---------- ------------ ----------- T46U805E0C972058 5 2 145 H P T46U WAN PORT bc4a5627eb97 6 2 132 R S I Cisco 8 SG350-20 (PID:SG350-2 0-K9)-VSD bc4a56276bff 7 2 155 R S I Cisco 8 SG350-10 (PID:SG350-1 0-K9)-VSD 002f5cb10fcb 13 2 176 R S I Cisco 1 SG350-28 (PID:SG350-2 8-K9)-VSD T46U805E0C966F69 20 2 136 H P T46U WAN PORT d4ad7122e78c 25 2 154 R S I Cisco 25 SG350-28 (PID:SG350-2 8-K9)-VSD switchaeaac8#show lldp neighbors System capability legend: B - Bridge; R - Router; W - Wlan Access Point; T - telephone; D - DOCSIS Cable Device; H - Host; r - Repeater; TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other Port Device ID Port ID System Name Capabilities TTL --------- ----------------- ----------------- ----------------- ------------ ----- gi5 127.0.0.133 80:5e:0c:97:20:58 SIP-T46U B, T 148 gi6 bc:4a:56:27:eb:97 8 switch27eb97 B, R 118 gi7 bc:4a:56:27:6b:ff 8 switch276bff B, R 104 gi13 00:2f:5c:b1:0f:cb 1 switchb10fcb B, R 118 gi20 127.0.0.208 80:5e:0c:96:6f:69 SIP-T46U B, T 138 gi25 d4:ad:71:22:e7:8c 25 switch22e78c B, R 105 switchaeaac8#show lldp neighbors switchaeaac8#show ip interface IP Address I/F I/F Status Type Directed Prec Redirect Status admin/oper Broadcast ------------------ --------- ---------- ------- --------- ---- -------- ------ 127.0.0.169/24 vlan 1 UP/UP Static disable No enable Valid switchaeaac8#show interfaces status Flow Link Back Mdix Port Type Duplex Speed Neg ctrl State Pressure Mode -------- ------------ ------ ----- -------- ---- ----------- -------- ------- gi1 1G-Copper -- -- -- -- Down -- -- gi2 1G-Copper Full 1000 Enabled Off Up Disabled On gi3 1G-Copper -- -- -- -- Down -- -- gi4 1G-Copper -- -- -- -- Down -- -- gi5 1G-Copper Full 1000 Enabled Off Up Disabled Off gi6 1G-Copper Full 1000 Enabled Off Up Disabled On gi7 1G-Copper Full 1000 Enabled Off Up Disabled Off gi8 1G-Copper -- -- -- -- Down -- -- gi9 1G-Copper -- -- -- -- Down -- -- gi10 1G-Copper -- -- -- -- Down -- -- gi11 1G-Copper Full 1000 Enabled Off Up Disabled Off gi12 1G-Copper -- -- -- -- Down -- -- gi13 1G-Copper Full 1000 Enabled Off Up Disabled On gi14 1G-Copper -- -- -- -- Down -- -- gi15 1G-Copper -- -- -- -- Down -- -- gi16 1G-Copper -- -- -- -- Down -- -- gi17 1G-Copper -- -- -- -- Down -- -- gi18 1G-Copper -- -- -- -- Down -- -- gi19 1G-Copper -- -- -- -- Down -- -- gi20 1G-Copper Full 1000 Enabled Off Up Disabled Off gi21 1G-Copper Full 1000 Enabled Off Up Disabled On gi22 1G-Copper -- -- -- -- Down -- -- gi23 1G-Copper -- -- -- -- Down -- -- gi24 1G-Copper Full 1000 Enabled Off Up Disabled On gi25 1G-Combo-F Full 1000 Disabled Off Up Disabled Off gi26 1G-Combo-C -- -- -- -- Down -- -- gi27 1G-Fiber -- -- -- -- Down -- -- gi28 1G-Fiber -- -- -- -- Down -- -- traceroute mac 10:b3:c6:ae:aa:c8 dc:eb:94:75:6b:91 traceroute mac ip 127.0.0.169 127.0.0.20 detail ------------------- TechBooth10port#show mac add Flags: I - Internal usage VLAN Aging time is 300 sec Vlan Mac Address Port Type ------------ --------------------- ---------- ---------- 1 00:04:c4:09:16:c9 7 dynamic 1 00:0a:45:20:c9:0c 7 dynamic 1 00:0a:45:24:96:45 7 dynamic 1 00:0a:45:2d:63:fa 7 dynamic 1 00:0a:45:2d:64:02 7 dynamic 1 00:0c:1e:05:d1:23 8 dynamic 1 00:0e:dd:48:01:91 7 dynamic 1 00:0e:dd:48:4f:40 7 dynamic 1 00:0e:dd:f0:1a:fc 7 dynamic 1 00:0e:dd:f0:2b:24 7 dynamic 1 00:11:32:d1:c3:3c 7 dynamic 1 00:1d:c1:03:10:e6 7 dynamic 1 00:1d:c1:03:98:4c 7 dynamic 1 00:1d:c1:50:f6:98 7 dynamic 1 00:23:a8:ff:e0:19 7 dynamic 1 00:2f:5c:b1:0f:cb 7 dynamic 1 00:50:41:8a:1b:ed 7 dynamic 1 00:50:b6:f6:cd:0e 7 dynamic 1 00:84:bc:4a:b0:2e 4 dynamic 1 00:e0:4c:68:02:f8 7 dynamic 1 00:e0:4c:68:03:82 7 dynamic 1 00:e0:4c:68:05:75 7 dynamic 1 00:e0:4c:68:0b:26 7 dynamic 1 00:e0:4c:68:0b:5d 7 dynamic 1 00:e0:4c:68:0b:bc 7 dynamic 1 00:e0:4c:68:bd:14 7 dynamic 1 02:4d:48:20:0a:45 7 dynamic 1 10:b3:c6:ae:aa:c8 7 dynamic 1 10:dd:b1:a8:af:1d 7 dynamic 1 14:9d:99:7a:7d:2c 7 dynamic 1 14:9d:99:7c:4c:60 7 dynamic 1 18:7e:b9:06:c4:f8 7 dynamic 1 28:80:88:6e:5b:c4 7 dynamic 1 28:ff:3c:a1:16:f3 7 dynamic 1 2c:57:41:61:6b:0c 7 dynamic 1 2c:57:41:61:7c:42 7 dynamic 1 2c:64:1f:47:fe:cf 7 dynamic 1 34:1a:4c:d8:92:be 7 dynamic 1 34:1a:4c:d8:93:50 7 dynamic 1 34:29:8f:91:08:30 7 dynamic 1 34:fd:6a:04:a2:b3 7 dynamic 1 3c:18:a0:90:7a:c6 7 dynamic 1 40:f8:df:74:38:fd 6 dynamic 1 44:c6:5d:87:f0:c3 7 dynamic 1 48:e1:5c:68:29:3d 7 dynamic 1 68:5b:35:c9:cd:cf 3 dynamic 1 74:38:b7:ff:19:b9 6 dynamic 1 74:38:b7:ff:30:58 6 dynamic 1 74:38:b7:ff:30:59 6 dynamic 1 78:02:b1:18:b8:10 7 dynamic 1 78:7b:8a:b0:d5:b5 7 dynamic 1 7c:2e:0d:04:4a:c9 2 dynamic 1 7c:2e:0d:12:08:89 5 dynamic 1 80:5e:0c:51:52:4f 7 dynamic 1 80:5e:0c:96:6b:76 7 dynamic 1 80:5e:0c:96:6b:88 7 dynamic 1 80:5e:0c:96:6b:95 7 dynamic 1 80:5e:0c:96:6f:23 7 dynamic 1 80:5e:0c:96:6f:69 7 dynamic 1 80:5e:0c:96:6f:95 7 dynamic 1 80:5e:0c:96:6f:a8 7 dynamic 1 80:5e:0c:96:6f:d1 7 dynamic 1 84:d8:1b:81:ea:3e 7 dynamic 1 92:21:c1:13:04:b5 6 dynamic 1 94:db:56:29:61:58 7 dynamic 1 94:db:56:29:64:fb 7 dynamic 1 a0:ce:c8:b9:1c:79 7 dynamic 1 a4:8d:3b:58:54:de 7 dynamic 1 a4:b2:39:96:e5:c8 7 dynamic 1 a4:fc:14:29:6a:9c 9 dynamic 1 b4:22:00:3c:58:89 7 dynamic 1 bc:4a:56:27:6b:ff 7 dynamic 1 bc:4a:56:27:eb:97 7 dynamic 1 d0:ec:35:1d:2a:c8 7 dynamic 1 d4:ad:71:22:e7:8c 7 dynamic 1 d4:ad:71:22:e7:a2 7 dynamic 1 dc:eb:94:75:6b:91 0 self 1 e0:89:7e:5c:77:70 7 dynamic 1 e0:89:7e:63:38:52 7 dynamic 1 e0:89:7e:65:70:02 7 dynamic 1 e4:77:d4:08:72:86 7 dynamic 1 e8:9f:80:43:55:04 7 dynamic TechBooth10port# TechBooth10port#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - VoIP Phone M - Remotely-Managed Device, C - CAST Phone Port, W - Two-Port MAC Relay Device ID Local Adv Time To Capability Platform Port ID Interface Ver. Live ------------------ ----------- ---- ------- ---------- ------------ ----------- d4ad7122e78c 7 2 143 R S I Cisco 22 SG350-28 (PID:SG350-2 8-K9)-VSD TechBooth10port#SHOW CDP NEIGHBORS DETAIL --------------------------------------------- Device-ID: d4ad7122e78c Advertisement version: 2 Platform: Cisco SG350-28 (PID:SG350-28-K9)-VSD Capabilities: Router Switch IGMP Interface: 7, Port ID (outgoing port): 22 Holdtime: 180 Version: 2.5.9.54 Duplex: full Native VLAN: 1 SysName: switch22e78c SysObjectID: 0.0 Addresses: IP 127.0.0.14 IPv6 fe80::d6ad:71ff:fe22:e78c (link-local) TechBooth10port# TechBooth10port#show ip interface IP Address I/F I/F Status Type Redirect Status admin/oper ------------------ --------- ---------- ------- -------- ------ 127.0.0.20/24 vlan 1 UP/UP Static enable Valid Gateway IP Address Activity status Type ----------------------- ----------------------- -------- 127.0.0.1 Active static TechBooth10port#show lldp neighbors System capability legend: B - Bridge; R - Router; W - Wlan Access Point; T - telephone; D - DOCSIS Cable Device; H - Host; r - Repeater; TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other Port Device ID Port ID System Name Capabilities TTL --------- ----------------- ------------- ----------------- ------------ ----- gi6 74:38:b7:ff:30:58 74:38:b7:ff:3 CR-N300 W 12212 0:58 gi6 74:38:b7:ff:19:b9 74:38:b7:ff:1 CR-N300 W 12212 9:b9 gi6 74:38:b7:ff:30:59 74:38:b7:ff:3 CR-N300 W 12227 0:59 gi7 d4:ad:71:22:e7:8c 22 switch22e78c B, R 112 TechBooth10port#sh cdp nei Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - VoIP Phone M - Remotely-Managed Device, C - CAST Phone Port, W - Two-Port MAC Relay Device ID Local Adv Time To Capability Platform Port ID Interface Ver. Live ------------------ ----------- ---- ------- ---------- ------------ ----------- d4ad7122e78c 7 2 123 R S I Cisco 22 SG350-28 (PID:SG350-2 8-K9)-VSD TechBooth10port# <hr> Started at Firmware Version (Active Image): 1.1.1.8 Downloaded sx300_boot-13506.rfb sx300_fw_1.3.7.18.ros sx300_fw_1.3.7.18.ros sx300_fw-14115.ros In /home/parth/CCCC/Tech/Backups/Switches/Cisco.SG300 I have sx300_fw-14106.ros Sx300_FW_Boot_1.4.0.88.zip upgrade the boot loader first before attempting the firmware The switch flash file system was changed in 1.3.7.18 I was able to skip step 4 (and 5) and upgrade directly from "sx300_fw_1.3.7.18.ros" to "sx300_fw-14502.ros". You must have V1.3.7.18 installed before updating to V1.4.7.06. For Sx200/Sx300 models, first upgrade the device image to image version 1.3.5.x and upgrade the boot file to 1.3.5.06 You should upgrade your boot code to be 1.3.5.06 (you can find it in version 1.3.5.58 - in the zip file). Verify that you are on this boot code and then upgrade the firmware to 1.3.5.58, verify and final step upgrade to latest 1.4.9.4. In short, as you probably need to upgrade and your FW is below 135 or 137, use TFTP to upload sx300_boot-13506.rfb to update BOOT version first, then update your firmware... My tftp server ~/tftp/ https://www.baeldung.com/linux/tftp-server-install-configure-test <hr> Switch Port Assignments Notes on linking switch ports to the MAC of the host each is connected to. The idea is to gather this info from each switch and manually link them together. I will want to figure out an SSL connection to each, maybe. I also need to checkout using the Cisco serial console to gather the info that will allow me to add both a 'switchhome' and 'switchport' column in the DB to log which port (mac) each device is connected to and which port. MAC tables 127.0.0.71 SG220-24 Tech booth 00:04:C4:09:16:C9,GE6 00:0A:45:20:C9:0C,GE6 00:0A:45:24:96:45,GE6 00:0C:1E:05:D1:23,GE6 00:0E:C6:5F:CC:F5,GE22 00:0E:DD:48:01:91,GE2 00:0E:DD:48:4F:40,GE14 00:0E:DD:F0:1A:FC,GE2 00:0E:DD:F0:2B:24,GE14 00:11:32:D1:C3:3C,GE6 127.0.0.14 Base MAC Address:,d4:ad:71:22:e7:8c VLAN ID MAC Address Interface 00:04:c4:09:12:d0,GE13 00:04:c4:09:16:c9,GE16 00:04:c4:09:1a:b4,GE13 00:0a:45:20:c9:0c,GE16 00:0a:45:24:96:45,GE16 00:0c:1e:05:d1:23,GE22 00:0e:c6:5f:cc:f5,GE13 00:0e:dd:48:01:91,GE13 00:0e:dd:48:4f:40,GE13 00:0e:dd:f0:1a:fc,GE13 00:0e:dd:f0:2b:24,GE13 00:11:32:d1:c3:3c,GE25 00:1d:c1:03:10:e6,GE13 00:1d:c1:03:98:4c,GE13 00:23:a8:ff:e0:19,GE26 * 00:2f:5c:b1:0f:cb,GE25 00:50:41:8a:1b:ed,GE2 00:e0:4c:68:bd:14,GE25 08:02:8e:e5:8b:6a,GE5 0c:4d:e9:9b:dd:5e,GE25 10:b3:c6:ae:aa:c8,GE25 10:b3:c6:ae:aa:e1,GE25 10:dd:b1:a8:af:1d,GE22 14:9d:99:7a:a1:70,GE24 14:9d:99:7c:4c:60,GE13 18:7e:b9:06:c4:f8,GE15 28:80:88:6e:5b:c4,GE25 28:ff:3c:a5:3c:1f,GE25 2c:57:41:61:6b:0c,GE1 2c:57:41:61:6b:0d,GE1 2c:64:1f:47:fe:cf,GE25 34:1a:4c:d8:9c:6e,GE25 34:29:8f:73:16:2c,GE26 34:fd:6a:04:a2:b3,GE25 40:f8:df:74:38:fd,GE22 44:c6:5d:87:f0:c3,GE25 50:7b:9d:8a:fd:40,GE13 68:5b:35:99:c5:dd,GE13 68:5b:35:c9:cd:cf,GE22 74:38:b7:ff:19:b9,GE22 74:38:b7:ff:30:58,GE22 74:38:b7:ff:30:59,GE22 78:02:b1:18:b8:10,GE16 78:02:b1:18:b8:18,GE16 78:7b:8a:b0:d5:b5,GE19 7c:2e:0d:04:4a:c9,GE22 7c:2e:0d:12:08:89,GE22 7c:2e:0d:a6:a7:6f,GE22 80:5e:0c:96:6b:76,GE10 80:5e:0c:96:6b:88,GE25 127.0.0.225 Base MAC Address:,00:2f:5c:b1:0f:cb VLAN ID MAC Address Interface 00:04:c4:09:16:c9,GE1 00:0a:45:20:c9:0c,GE1 00:0a:45:24:96:45,GE1 00:0c:1e:05:d1:23,GE1 00:0e:c6:5f:cc:f5,GE1 00:0e:dd:48:01:91,GE1 00:0e:dd:48:4f:40,GE1 00:0e:dd:f0:1a:fc,GE1 00:0e:dd:f0:2b:24,GE1 00:11:32:d1:c3:3c,GE1 00:1d:c1:03:10:e6,GE1 00:1d:c1:03:98:4c,GE1 00:23:a8:ff:e0:19,GE1 00:50:41:8a:1b:ed,GE1 00:50:b6:f6:cd:0e,GE22 00:e0:4c:68:02:f8,GE1 00:e0:4c:68:03:82,GE1 00:e0:4c:68:04:fd,GE1 00:e0:4c:68:06:3e,GE1 00:e0:4c:68:0b:26,GE1 00:e0:4c:68:0b:5d,GE1 00:e0:4c:68:0b:bc,GE1 00:e0:4c:68:bd:14,GE1 00:e0:4c:68:c5:dc,GE1 0c:4d:e9:9b:dd:5e,GE1 10:b3:c6:ae:aa:c8,GE1 10:b3:c6:ae:aa:d5,GE1 10:dd:b1:a8:af:1d,GE1 14:9d:99:7a:7d:2c,GE1 14:9d:99:7a:a1:70,GE1 14:9d:99:7c:4c:60,GE1 28:80:88:6e:5b:c4,GE23 28:80:88:6e:5b:c5,GE23 28:ff:3c:a5:3c:1f,GE1 2c:57:41:61:6b:0c,GE1 2c:64:1f:47:fe:cf,GE12 (Feed to basement switch) 34:1a:4c:d8:92:be,GE1 34:1a:4c:d8:93:50,GE1 34:1a:4c:d8:9c:6e,GE23 34:1a:4c:d8:9f:f7,GE1 34:1a:4c:d9:01:02,GE1 34:1a:4c:d9:01:29,GE1 34:29:8f:73:16:2c,GE1 34:fd:6a:04:a2:b3,GE1 40:f8:df:74:38:fd,GE1 44:c6:5d:87:f0:c3,GE11 50:7b:9d:8a:fd:40,GE23 58:38:79:7c:72:d1,GE2 68:5b:35:99:c5:dd,GE1 68:5b:35:c9:cd:cf,GE1 127.0.0.230 Base MAC Address:,2c:57:41:61:6b:0c 00:04:c4:09:12:d0,GE1 00:04:c4:09:16:c9,GE1 00:0a:45:20:c9:0c,GE1 00:0a:45:24:96:45,GE1 00:0c:1e:05:d1:23,GE1 00:0e:c6:5f:cc:f5,GE1 00:0e:dd:f0:1a:fc,GE1 00:0e:dd:f0:2b:24,GE1 00:11:32:d1:c3:3c,GE1 00:1d:c1:03:10:e6,GE1 00:1d:c1:03:98:4c,GE1 00:23:a8:ff:e0:19,GE1 00:2f:5c:b1:0f:cb,GE1 00:50:41:8a:1b:ed,GE1 00:50:b6:f6:cd:0e,GE1 00:e0:4c:68:02:f8,GE2 00:e0:4c:68:03:82,GE1 00:e0:4c:68:04:fd,GE5 00:e0:4c:68:06:3e,GE1 00:e0:4c:68:0b:26,GE1 00:e0:4c:68:0b:5d,GE3 00:e0:4c:68:0b:bc,GE6 00:e0:4c:68:bd:14,GE1 00:e0:4c:68:c5:dc,GE1 0c:4d:e9:9b:dd:5e,GE1 10:b3:c6:ae:aa:c8,GE1 10:dd:b1:a8:af:1d,GE1 14:9d:99:7a:7d:2c,GE1 14:9d:99:7a:a1:70,GE1 14:9d:99:7c:4c:60,GE1 28:80:88:6e:5b:c4,GE1 28:ff:3c:a5:3c:1f,GE1 34:1a:4c:d8:92:be,GE1 34:1a:4c:d8:93:50,GE7 34:1a:4c:d8:9c:6e,GE1 34:1a:4c:d9:01:02,GE4 34:1a:4c:d9:01:29,GE1 34:29:8f:73:16:2c,GE1 40:f8:df:74:38:fd,GE1 44:c6:5d:87:f0:c3,GE1 50:7b:9d:8a:fd:40,GE1 68:5b:35:99:c5:dd,GE1 68:5b:35:c9:cd:cf,GE1 74:38:b7:ff:19:b9,GE1 74:38:b7:ff:30:58,GE1 74:38:b7:ff:30:59,GE1 78:02:b1:18:b8:10,GE1 78:7b:8a:b0:d5:b5,GE1 7c:2e:0d:04:4a:c9,GE1 80:5e:0c:96:6b:88,GE1 127.0.0.169 Computer Room VLAN 1 00:04:c4:09:16:c9 GE25 VLAN 1 00:0a:45:20:c9:0c GE25 VLAN 1 00:0a:45:24:96:45 GE25 VLAN 1 00:0c:1e:05:d1:23 GE25 VLAN 1 00:0e:c6:5f:cc:f5 GE25 VLAN 1 00:0e:dd:48:01:91 GE25 VLAN 1 00:0e:dd:48:4f:40 GE25 VLAN 1 00:0e:dd:f0:1a:fc GE25 VLAN 1 00:0e:dd:f0:2b:24 GE25 VLAN 1 00:11:32:d1:c3:3c GE2 VLAN 1 00:1d:c1:03:10:e6 GE25 VLAN 1 00:1d:c1:03:98:4c GE25 VLAN 1 00:23:a8:ff:e0:19 GE25 VLAN 1 00:2f:5c:b1:0f:cb GE13 VLAN 1 00:2f:5c:b1:0f:cc GE13 VLAN 1 00:50:41:8a:1b:ed GE25 VLAN 1 00:50:b6:f6:cd:0e GE13 VLAN 1 00:e0:4c:68:02:f8 GE25 VLAN 1 00:e0:4c:68:04:fd GE25 VLAN 1 00:e0:4c:68:06:3e GE25 VLAN 1 00:e0:4c:68:0b:26 GE25 VLAN 1 00:e0:4c:68:0b:5d GE25 VLAN 1 00:e0:4c:68:0b:bc GE25 VLAN 1 08:02:8e:e5:8b:6a GE25 VLAN 1 0c:4d:e9:9b:dd:5e GE6 VLAN 1 10:dd:b1:a8:af:1d GE25 VLAN 1 14:9d:99:7a:7d:2c GE6 VLAN 1 14:9d:99:7a:a1:70 GE25 VLAN 1 14:9d:99:7c:4c:60 GE25 VLAN 1 18:7e:b9:06:c4:f8 GE25 VLAN 1 28:80:88:6e:5b:c4 GE13 VLAN 1 28:ff:3c:a5:3c:1f GE6 VLAN 1 2c:57:41:61:6b:0c GE25 VLAN 1 2c:64:1f:47:fe:cf GE13 VLAN 1 34:1a:4c:d8:92:be GE25 VLAN 1 34:1a:4c:d8:93:50 GE25 VLAN 1 34:1a:4c:d8:9c:6e GE13 VLAN 1 34:1a:4c:d8:9f:f7 GE25 VLAN 1 34:1a:4c:d9:01:02 GE25 VLAN 1 34:1a:4c:d9:01:29 GE25 VLAN 1 34:29:8f:73:16:2c GE25 VLAN 1 34:fd:6a:04:a2:b3 GE7 VLAN 1 38:94:ed:c6:67:dc GE13 VLAN 1 40:f8:df:74:38:fd GE25 VLAN 1 44:c6:5d:87:f0:c3 GE13 VLAN 1 50:7b:9d:8a:fd:40 GE25 VLAN 1 58:38:79:7c:72:d1 GE13 VLAN 1 68:5b:35:99:c5:dd GE25 VLAN 1 68:5b:35:c9:cd:cf GE25 VLAN 1 74:38:b7:ff:19:b9 GE25 127.0.0.115