Jump to content

CISCO 9400 Switch

Aaron12345

So at work we have a big audit coming up, they want us to go to find out what machine, floor-box port and switch port are connected to.

 

I reckon that we could ping out from the switch to see whats attached to each port and use that to build a spreadsheet.

 

If anyone has any ideas? please save me from this monstrous task!

Link to comment
Share on other sites

Link to post
Share on other sites

you should be able to get a list of mac of your systems. Then get the list of mac connected to the switch, make the spreedsheet.

Link to comment
Share on other sites

Link to post
Share on other sites

Show Mac address-table

Lldp run

Show lldp neighbors

 

Run those 3 commands. First will get you Macs and ports, seocnd will net you some info if the device support lldp.

 

Last option is to use DHCP to gather hostnames.

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, mynameisjuan said:

Show Mac address-table

Lldp run

Show lldp neighbors

 

Run those 3 commands. First will get you Macs and ports, seocnd will net you some info if the device support lldp.

 

Last option is to use DHCP to gather hostnames.

 

 

 

This is assuming LLDP is enabled since its a general security practice to disable it, similar with CDP. 

Community Standards | Fan Control Software

Please make sure to Quote me or @ me to see your reply!

Just because I am a Moderator does not mean I am always right. Please fact check me and verify my answer. 

 

"Black Out"

Ryzen 9 5900x | Full Custom Water Loop | Asus Crosshair VIII Hero (Wi-Fi) | RTX 3090 Founders | Ballistix 32gb 16-18-18-36 3600mhz 

1tb Samsung 970 Evo | 2x 2tb Crucial MX500 SSD | Fractal Design Meshify S2 | Corsair HX1200 PSU

 

Dedicated Streaming Rig

 Ryzen 7 3700x | Asus B450-F Strix | 16gb Gskill Flare X 3200mhz | Corsair RM550x PSU | Asus Strix GTX1070 | 250gb 860 Evo m.2

Phanteks P300A |  Elgato HD60 Pro | Avermedia Live Gamer Duo | Avermedia 4k GC573 Capture Card

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Skiiwee29 said:

This is assuming LLDP is enabled since its a general security practice to disable it, similar with CDP. 

That's why I had the command lldp run to enable it. Just disable it after the audit.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×