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
With a basic config on one of my lab switches, I haven't see this happen. Would you mind posting the full config from this switch?

Let me know if you'd rather not post it publicly, and I can shoot you an email to get it.

Just sent you one!

Please send me a short e-mail!

BrandonC
Extreme Employee
That looks like a bug of some sort. There shouldn't be any output between the "please wait..." and "If line starts...".

Some of the underlying commands that this script relies on my have changed in EXOS 22.4. I'll do some research/testing and see what I can find.

Out of curiosity, did you test this with older EXOS versions, like 22.3 or 21.x?

I've also opened up an issue for tracking this on the ExtremeScripting GitHub repo. https://github.com/extremenetworks/ExtremeScripting/issues/36

GTM-P2G8KFN