Global Commands
Page 70 7750 SR OS 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:ALA-1>config>router>bgp>group# pwc
-----------------------------------------------
Present Working Context :
-----------------------------------------------
<root>
configure
router Base
bgp
group test
ospf
area 1
-----------------------------------------------
A:ALA-1>config>router>bgp>group#
For example,
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.
For example,
A:ALA-1>config>router>bgp>group# pwc previous
---------------------------------------------------
Previous Working Context :
---------------------------------------------------
<root>
configure
router Base
bgp
ospf
---------------------------------------------------
A:ALA-1>config>router>bgp>group#
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.