Reference Guide

Table Of Contents
Use the -c option to run a single command.
admin@OS10:/opt/dell/os10/bin$ clish -c "show version"
New user admin logged in at session 10
OS10# show version
Dell EMC Networking OS10-Enterprise
Copyright (c) 1999-2018 by Dell Inc. All Rights Reserved.
OS Version: 10.4.1.0X
Build Version: 10.4.1.0.X.9
Build Time: 2018-06-12T22:18:40-0700
System Type: S4148F-ON
Architecture: x86_64
Up Time: 2 days 03:37:25
User admin logged out at session 10
admin@OS10:/opt/dell/os10/bin$
Use the -B option along with a batch file to execute a series of commands.
configure terminal
router bgp 100
neighbor 100.1.1.1
remote-as 104
no shutdown
Execute the batch file.
admin@OS10:/opt/dell/os10/bin$ clish -B ~/batch_cfg.txt
New user admin logged in at session 15
Verify the BGP configuration executed by the batch file.
admin@OS10:/opt/dell/os10/bin$ clish -c "show running-configuration bgp"
New user admin logged in at session 16
!
router bgp 100
!
neighbor 100.1.1.1
remote-as 104
no shutdown
admin@OS10:/opt/dell/os10/bin$
User admin logged out at session 16
SSH commands
You can execute commands remotely using an SSH session. This is supported only for show commands.
Enter the show command along with SSH.
$ ssh admin@ip-address show-command
$ ssh admin@10.11.98.39 "show version"
admin@10.11.98.39's password:
Dell EMC Networking OS10-Enterprise
Copyright (c) 1999-2018 by Dell Inc. All Rights Reserved.
OS Version: 10.4.1.0X
Build Version: 10.4.1.0.X.9
Build Time: 2018-06-12T22:18:40-0700
System Type: S4148F-ON
Architecture: x86_64
Up Time: 2 days 03:37:25
Getting Started
49