Are you running EXOS 21.x or later? If so, you could rather use JSONRPC to connect to the switches and then I could give you some CLI commands to retrieve such info directly in json format, if you prefer (or you just stick to usual CLI command).
I seen that page before while researching but was hoping there is a easier way. It feels like a nightmare getting information and storing what port is assigned to ISC vlan. Even if I somehow get that info, I will them have to check "sh sharing" and find out which one is the master.
I guess I have to go the login route. I was hoping to get that info from SNMP only.
Any updates will be appreciated. I really want to get information using SNMP rather than logging into switch and executing show commands. I am using Python and the only information I am having issue getting from SNMP is what master port is being used on ISC link between peers.
Thank you both for you great response. I am actually auditing Extreme switches and saving info in DB. I am able to get all information and now I can also get mlag peer switch name.
For mlag port, is there an OID to just look for ports that are in ISC vlan (always has 4000 tag)? When I use above OID for mlag ports, it is list all mlag ports including host mlag ports. I would like to get master mlag port being used as ISC between peers.
something like: sh vlan ISC | i Tag:
That gives me what master port is configured for ISC.