Global Commands
Page 68 7210 SAS M, T, X, R6 Basic System Configuration Guide
pwc
Syntax pwc [previous]
Context <GLOBAL>
Description This command displays the present or previous working context of the CLI session. The pwc com-
mand provides a user who is in the process of dynamically configuring a chassis a way to display the
current or previous working context of the CLI session. The pwc command displays a list of the CLI
nodes that hierarchically define the current context of the CLI instance of the user. For example:
A:Dut-G>config>service>vpls# pwc
-------------------------------------------------------------------------------
Present Working Context :
-------------------------------------------------------------------------------
<root>
configure
service
vpls 1
-------------------------------------------------------------------------------
A:Dut-G>config>service>vpls#
When the previous keyword is specified, the previous context displays. This is the context entered by
the CLI parser upon execution of the exit command. The current context of the CLI is not affected by
the pwc command.
Parameters previous — Specifies to display the previous present working context.
sleep
Syntax sleep [seconds]
Context <GLOBAL>
Description This command causes the console session to pause operation (sleep) for 1 second (default) or for the
specified number of seconds.
Parameters seconds — The number of seconds for the console session to sleep, expressed as a decimal integer.
Default 1
Values 1 — 100
ssh
Syntax ssh [ip-addr | dns-name |username@ip-addr] [-l username] [-v SSH-version] [router router-
instance| service-name service-name]
Context <GLOBAL>
Description This command initiates a client SSH session with the remote host and is independent from the admin-
istrative or operational state of the SSH server. However, to be the target of an SSH session, the SSH
server must be operational.