The NISH client provides an MD-CLI interface to multiple SR OS nodes. The NISH client uses the model-driven networking capabilities built into SR OS to identify the software version and obtain the MD-CLI schema for each SR OS node. This allows the NISH MD-CLI to generate the correct CLI tree that can be navigated within each SR OS node context. It also ensures that each node context is specific to its own software version.
The NISH client also allows the operator to issue Linux commands on the local machine, without leaving the MD-CLI shell. This capability provides increased productivity during extended management activities.
When launched, the NISH client provides an extensible MD-CLI interface. After the trademark, legal, and disclaimer information, NISH displays the following:
Starting nish application...
admin's password:
Connecting to test1 port 57400
!!! Creating unsecure connection !!!
Reading MD-CLI service capabilities...
Reading MD-CLI service event context...
[==============================================================================]
Reading MD-CLI service schemas...
[==============================================================================]
[]
A:admin@test1# ?
admin + Enter the admin context
configure + Enter the configuration context
environment + Enter the environment configuration context
file + Enter the file management context for file operations
li + Enter the lawful intercept context
password - Change password command
state + Show state information
Global commands:
back - Move back one or more levels
delete - Delete an element from the candidate datastore
edit-config - Enter a candidate configuration mode
enable - Enable administrative mode
exec - Execute commands from a file
exit - Return to the previous working context or to the →
operational root
history - Show the most recently entered commands
logout - Exit the CLI session
oam - Enter the oam context
ping - Ping an IP address or DNS name
pwc - Show the present working context
ssh - Execute ssh command
telnet - Telnet to IP address or DNS name
top - Move to the top level of the context
traceroute - Trace route to a destination
tree - Show the command tree under the present working context
[]
A:admin@test1#