You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most people I know would simultaneously want the IP Settings for the network adapters along with the CDP/LLDP info. For example, when adapters are in a team, the CDP/LLDP info relates to the adapters that are members of each respective team, but the Team adapters don't actually connect to any devices. The IP settings are either on a standard network adapter (no teaming), or the IP settings are set/applied on the Team adapters. CDP info should NOT be collected for a Team adapter (doesn't directly connect to anything).
IMHO: IP Settings should be collected at the same time, but in a different array.
In addition, if there are many servers to remotely access, it would be more proficient to use the same remote session to collect adapter IP settings. More reasoning to add this capability - get both at once.
The code below provides an example of what I am suggesting and collects the network adapter IP info needed. If it were to be added to your code, I would suggest outputting results in two arrays contained on one parent object:
CDPAdapters (adapters physically connected to devices - what is collected now), and
NetworkAdapters (IP settings of adapters - standard and Team adapters)
Most people I know would simultaneously want the IP Settings for the network adapters along with the CDP/LLDP info. For example, when adapters are in a team, the CDP/LLDP info relates to the adapters that are members of each respective team, but the Team adapters don't actually connect to any devices. The IP settings are either on a standard network adapter (no teaming), or the IP settings are set/applied on the Team adapters. CDP info should NOT be collected for a Team adapter (doesn't directly connect to anything).
IMHO: IP Settings should be collected at the same time, but in a different array.
In addition, if there are many servers to remotely access, it would be more proficient to use the same remote session to collect adapter IP settings. More reasoning to add this capability - get both at once.
The code below provides an example of what I am suggesting and collects the network adapter IP info needed. If it were to be added to your code, I would suggest outputting results in two arrays contained on one parent object:
CDPAdapters (adapters physically connected to devices - what is collected now), and
NetworkAdapters (IP settings of adapters - standard and Team adapters)
Example code to collect IP Info:
The text was updated successfully, but these errors were encountered: