Sha256: a7a709e4f2f9fe5dc64d98f7a7aab127079254b65f53060534dbbab17ac5f720

Contents?: true

Size: 988 Bytes

Versions: 4

Compression:

Stored size: 988 Bytes

Contents

# JunOS Configuration

Create login class cfg-view

```text
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

```text
set system login user oxidized class cfg-view
set system login user oxidized authentication plain-text-password "verysecret"
```

The commands Oxidized executes are:

1. set cli screen-length 0
2. set cli screen-width 0
3. show version
4. show chassis hardware
5. show system license
6. show system license keys
7. show virtual-chassis (ex22|ex33|ex4|ex8|qfx only)
8. show chassis fabric reachability (MX960 only)
9. show configuration

Oxidized can now retrieve your configuration!

Back to [Model-Notes](README.md)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oxidized-0.30.1 docs/Model-Notes/JunOS.md
oxidized-0.30.0 docs/Model-Notes/JunOS.md
oxidized-0.29.1 docs/Model-Notes/JunOS.md
oxidized-0.29.0 docs/Model-Notes/JunOS.md