Create login class cfg-view
set system login class cfg-view permissions view-configuration
set system login class cfg-view allow-commands "(show)|(set cli screen-length)|(set cli screen-width)"
set system login class cfg-view deny-commands "(clear)|(file)|(file show)|(help)|(load)|(monitor)|(op)|(request)|(save)|(set)|(start)|(test)"
set system login class cfg-view deny-configuration all
Create a user with cfg-view class
set system login user oxidized class cfg-view
set system login user oxidized authentication plain-text-password "verysecret"
The commands Oxidized executes are:
- set cli screen-length 0
- set cli screen-width 0
- show version
- show chassis hardware
- show system license
- show system license keys
- show virtual-chassis (ex22|ex33|ex4|ex8|qfx only)
- show chassis fabric reachability (MX960 only)
- show configuration
Oxidized can now retrieve your configuration!
Back to Model-Notes