Junos Notes

[This is meant for my reference, so data will be from random areas]

Setting a Port to trunk all
set interfaces ge-0/0/45 unit 0 family ethernet-switching port-mode trunk

set interfaces ge-0/0/45 unit 0 family ethernet-switching vlan members all

Save/Restore Snapshots
[edit]
  • save file-name
  • load file-name
Logging out a user : If you want to log out a stale session

root@srx> edit
Entering configuration mode
Users currently editing the configuration:
  root terminal u0 (pid 94668) on since 2014-12-01 10:52:51 UTC, idle 1w2d 18:02


[edit]
root@srx# run request system logout pid 94668

[A much cleaner way is to set the ssh timeout for the user]

Find all users logged onto a device
[edit]
Status

Comments

Popular posts from this blog

Solved: Fix for Git clone failure due to GnuTLS recv error (-9)

Openstack : Fixing Failed to create network. No tenant network is available for allocation issue.

QuickBite: Tap Vs Veth