Extreme API with Python
Table Of Contents
- 1 Preface
- 2 Introduction
- 3 EXOS APIs
- 4 VOSS API
- 5 XMC API
- 6 ExtremeCloud IQ API
- 7 Extreme Campus Controller API
Extreme API with Python
Page | 54
Part no.9036931-00 Rev AA February 2021
'netmask': 24, 'name': 'VLAN_0021', 'vid': 21}, {'ip': '0.0.0.0', 'netmask':
0, 'name': 'VLAN_0022', 'vid': 22}]
The JSON output is a result of the EXOS CLI command shows the data structures that have been used to
create this display on EXOS. It can be sometimes difficult to find the exact information for a given
feature or protocol parameter.
Note: JSON output is created with the cli2json.py embedded Python script in EXOS. You can use it directly
to see the output for any given command. The output cannot be formatted, so you must create a script to
improve readability in printed output.
Another method is to use the undocumented debug cfgmgr show commands. These commands
directly access the CM objects in the backend. These commands can be very helpful and can be used
with on-switch Python scripting, however their use is not always straightforward, and may require
parameters that are impossible for you to find or to guess.










