EM316LNXNM-OT
Management Basics
PN 1275005-100 Rev E6
23
5.4.3. CLI Navigation
The CLI operates in five states that affect or determine the command availability and behavior. The CLI
provides an organized system layout that the user follows with navigation tools to address actions toward
specific system components.
At login, the CLI has a fixed set of available commands. This state alone determines the working "context"
for the CLI command environment. This environment is referred to simply as the "login context".
There are also four configuration states: Config, Chassis, Slot, and Port. The Config (Configuration) state
also has a fixed set of available commands, so the CLI environment is referred to as the "config context".
The available commands and resulting actions in the other three CLI states (Chassis, Slot, and Port)
depend partially on the specific hardware component being accessed. These three states are roughly
hierarchical, corresponding to the hardware represented; a chassis contains slots which contain ports.
The CLI environment is in a similar operating state for chassis, for slots, or for ports, but the specific
characteristics of each hardware component also affects the available commands. The hardware state
(chassis, slot, or port) along with these individual component characteristics determines the command
"context".
The default system prompt displays the active command context. The box below shows the state model
and a command sequence traversing through the CLI environment Notice how the prompt changes with
each navigation command.
fiberdriver# configure terminal
fiberdriver(config)# chassis 1
fiberdriver(chassis/1)# slot 1.2
fiberdriver(slot/1.2)# port 1.2.2
fiberdriver(port/1.2.2)# next
fiberdriver(port/1.2.3)# previous
fiberdriver(port/1.2.2)# up
fiberdriver(slot/1.2)# up
fiberdriver(chassis/1)# exit
fiberdriver(config)# exit
fiberdriver#
Содержание EM316LNXNM-OT
Страница 174: ...EM316LNXNM OT Appendix PN 1275005 100 Rev E6 167 Access Read only CLI command volt monitor 4...
Страница 181: ......