cancel
Showing results for 
Search instead for 
Did you mean: 

conf_diff.py: explanation of returning output

conf_diff.py: explanation of returning output

M_Nees
Contributor III
Hi,

i am playing around with "conf_diff.py" and i have some problems to understand the output.

Switch X450G2-48p-G4 - EXOS: 22.4.1.4

SW-TEST.21 # run script conf_diff.py
Comparing configurations, please wait...

error-correction off
disable mac-lockdown-timeout ports 49
configure mac-lockdown-timeout ports 49 aging-time 15
configure ports 49 far-end-fault-indication off
disable vman cep egress filtering ports 49
configure port 49 dot1p 0
disable snmp traps port-up-down port 50
enable diffserv examination port 50
configure port 50 reflective-relay off
configure port 50 isolation off
disable flow-control tx-pause port 50
disable flow-control rx-pause port 50
configure ports 50 forward-error-correction off
disable mac-lockdown-timeout ports 50
configure mac-lockdown-timeout ports 50 aging-time 15
configure ports 50 far-end-fault-indication off
disable vman cep egress filtering ports 50
configure port 50 dot1p 0

If line starts with '+', the command has been added since last save.
If line starts with '-', the command was present in the last save, and has been deleted.

Config changes:
- configure ports 27 display-string Auth-TEST-MN
+ configure ports 27 display-string Auth-TEST-MN2
Note that this script has cleared the CLI dirty bit. The configuration has not been saved.
SW-TEST.22 #What does mean the block of commands between "please wait ..." and "if line starts ...".
At GitHub example there is no output seen.

Is there a special meaning or is this maybe a result of EXOS 22.4 and some upcoming incompatibility with python script (because it seem to be programmed for an older EXOS version)

Regards
8 REPLIES 8

BrandonC
Extreme Employee
FYI, I just confirmed this is fixed in a pre-GA build of 22.5. Once 22.5 goes GA, the fix will be available there.

BrandonC
Extreme Employee
It looks like this is an issue on the EXOS side of things.

When the Python script calls 'clicmd("debug cfgmgr show configuration file {0}".format(selected_config), True)', part of the output of the EXOS command is written to the current session incorrectly, with certain config files.

I'm going to bring this issue to out EXOS development team, and I'll follow up back here once I have an update.

Drew_C
Valued Contributor III

Some progress here ?
GTM-P2G8KFN