You can, if you want, load hierarchical config directly under the edit prompt if you have such a piece of config. For example you just want to copy a section of config you already have working from one device to another or maybe you want to copy a piece of config you have seen.
Here we copy a user definition into another device using the load merge command.
Also note the use of the "relative" keyword as we are not loading at the top of the hierarchy
Showing posts with label Operations. Show all posts
Showing posts with label Operations. Show all posts
Logout an idle user
blogger@LEFTY> show system users
3:45PM up 4:37, 2 users, load averages: 0.13, 0.03, 0.01
USER TTY FROM LOGIN@ IDLE WHAT
root p0 10.10.10.10 2:51PM 39 cli
blogger p1 10.10.10.10 3:42PM - -cli (cli)
blogger@LEFTY> request system logout user root ?
Possible completions:
<[Enter]> Execute this command
all Logout all sessions owned by user
pid Management process ID for user
terminal Terminal user is logged in to
| Pipe through a command
blogger@LEFTY> request system logout user root terminal ?
Possible completions:
<terminal> Terminal user is logged in to
blogger@LEFTY> request system logout user root terminal p0
logout-user: done
blogger@LEFTY> show system users
3:48PM up 4:39, 1 user, load averages: 0.01, 0.02, 0.00
USER TTY FROM LOGIN@ IDLE WHAT
blogger p1 10.10.10.10 3:42PM - -cli (cli)
Model: srx100h
JUNOS Software Release [10.4R6.5]
Model: srx100h
JUNOS Software Release [10.4R6.5]
Subscribe to:
Posts (Atom)