AnsweredAssumed Answered

VSX: show configuration For All Virtual Systems

Question asked by Brian Deutmeyer on Apr 25, 2018
Latest reply on Nov 15, 2018 by Harald Hansen

Is there a way to show the clish configuration for all virtual systems in VSX?  There are a few things we configure specifically in certain contexts (like bootp relay and dynamic routing).  I have a script that pulls a show configuration and backs it up, but it only gets data from vs0.  I tried setting my virual system and doing a vsenv with no luck...  It always pulls vs0 configuration.

 

 

[Expert@vsx:0]# clish -c "show configuration bootp"

CLINFR0771  Config lock is owned by admin. Use the command 'lock database override' to acquire the lock.

show instance 0 configuration bootp

 [Expert@vsx:0]# clish -c "set virtual-system 2"

CLINFR0771  Config lock is owned by admin. Use the command 'lock database override' to acquire the lock.

Context is set to vsid 2

[Expert@vsx:0]# clish -c "show configuration bootp"

CLINFR0771  Config lock is owned by admin. Use the command 'lock database override' to acquire the lock.

show instance 0 configuration bootp

[Expert@vsx:0]# vsenv 2

Context is set to Virtual Device vsx_vs2 (ID 2).

[Expert@vsx:2]# clish -c "show configuration bootp"

CLINFR0771  Config lock is owned by admin. Use the command 'lock database override' to acquire the lock.

show instance 0 configuration bootp

[Expert@vsx:2]#

Outcomes