Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to disconnect a specific Junos TTY session



Article ID: KB9341 KB Last Updated: 09 Oct 2020Version: 4.0

This document describes how to disconnect a specific Junos OS TTY session.



To see the session on the device:

root@SW1> show system users no-resolve

12:29AM  up 10 mins, 2 users, load averages: 0.11, 0.10, 0.06
USER     TTY      FROM                              LOGIN@  IDLE WHAT
root         p0                      11:24AM     - -cli (cli)
root         p1                      11:26AM     2 -cli (cli)

To close the session:

root@SW1> request system logout terminal p1

To verify that the TTY session was disconnected:

root@SW1> show system users no-resolve | match p1


Modification History:

2020-10-09: Article modified to include information only about TTY session; information about qX removed


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search