Easiest way to identify uplink ports on switching devices?
-
Is there an easy way to identify uplink ports on switching devices? We'd like to automatically set the expected state on these interfaces to "UP" and all other ports to "IGNORE", as well as potentially add DCI automatically to these same "UP" ports.
I've started working through a server side script to add during polling, but thought I'd ask if there's an easier way I'm missing?
Thanks!
-Zeb
-
I did it within a Hook-script while configuration poll based on a prefix in the interface interface alias e.g. description.
For example ## at the beginning of the interfacedescription tells me to set expected state to "UP".
Second using this prefix within instance dicovery (instance discovery filter script) You can automatically generate DCIs for these interfaces. -
-
Just in case, it's possible to read port forwarding database from NXSL - it's available in Topology.SwitchForwardingDatabase internal table. There's no access to L3 routing information yet, but it's planned to add https://track.radensolutions.com/issue/NX-1999
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login