3 mode-based cli, Mode-based cli – Pilz PSSnet SHL 8T MRP User Manual
Page 31

Mode-based CLI
PSSnet SHL - Command Line Interface
Pilz GmbH & Co. KG, Felix-Wankel-Straße 2, 73760 Ostfildern, Germany
31
3 Mode-based CLI
The CLI groups all the commands in appropriate modes according to the na-
ture of the command. A sample of the CLI command modes are described
below. Each of the command modes support specific software commands.
D
User Exec Mode
D
Privileged Exec Mode
D
Global Config Mode
D
Vlan Mode
D
Interface Config Mode
D
Line Config Mode
The Command Mode table captures the command modes, the prompts visi-
ble in that mode and the exit method from that mode.
Command Mode
Access Method
Prompt
Exit or Access Next Mode
User Exec Mode
This is the first level of
access. Perform basic
tasks and list system
information
(Pilz Prod-
uct)>
Enter Logout command
Privileged Exec
Mode
From the User Exec
Mode, enter the
enable
command
(Pilz Prod-
uct)#
To exit to the User Exec
mode, enter exit or press
Ctrl-Z.
VLAN Mode
From the Privileged
User Exec mode, enter
the vlan database
command
(Pilz Prod-
uct) (Vlan)
#
To exit to the Privileged
Exec mode, enter the exit
command, or press Ctrl-Z to
switch to User Exec mode.
Global Config
Mode
From the Privileged
Exec mode, enter the
configure
com-
mand
(Pilz Prod-
uct) (Con-
fig)#
To exit to the Privileged
Exec mode, enter the exit
command, or press Ctrl-Z to
switch to user exec mode.
Interface Config
Mode
From the Global Con-
figuration mode, enter
the interface
com-
mand
(Pilz Prod-
uct) (Inter-
face-"if
number")#
To exit to the Global Config
mode enter exit. To return to
user EXEC mode enter ctrl-
Z.
Line Config Mode From the Global Con-
figuration mode, enter
the lineconfig
command
(Pilz Prod-
uct) (line)
#
To exit to the Global Config
mode enter exit. To return to
User Exec mode enter ctrl-
Z.
Table 14: Command Mode