Connectivity Guide

Table Of Contents
OS10# dir home
Directory contents for folder: home
Date (modified) Size (bytes) Name
--------------------- ------------ ------
2017-02-15T19:25:35Z 77
b.cmd
...
Execute the batch le using the batch /home/username/filename command in EXEC mode.
OS10# batch /home/admin/b.cmd
Jun 26 18:29:12 OS10 dn_l3_core_services[723]: Node.1-Unit.1:PRI:notice [os10:trap],
%Dell EMC (OS10) %log-notice:IP_ADDRESS_ADD: IP Address add is successful.
IP 172.17.4.1/24 in VRF:default added successfully
(Optional) Verify the new commands in the running conguration.
OS10# show running-configuration interface ethernet 1/1/1
!
interface ethernet1/1/1
no shutdown
no switchport
ip address 172.17.4.1/24
Linux shell commands
You can execute a single command, or a series of commands, using a batch le from the Linux shell.
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
Dell EMC Networking OS10-Enterprise
Copyright (c) 1999-2018 by Dell Inc. All Rights Reserved.
OS Version: 10.4.2.0
Build Version: 10.4.2.0.226
Build Time: 2018-11-08T21:43:05-0800
System Type: S6010-ON
Architecture: x86_64
Up Time: 3 days 00:28:58
User admin logged out at session 10
admin@OS10:/opt/dell/os10/bin$
Use the -B option along with a batch le to execute a series of commands.
configure terminal
router bgp 100
neighbor 100.1.1.1
remote-as 104
no shutdown
Execute the batch le.
admin@OS10:/opt/dell/os10/bin$ clish -B ~/batch_cfg.txt
New user admin logged in at session 15
Verify the BGP conguration executed by the batch le.
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
Getting Started
55