init
This commit is contained in:
33
autoconfig2/log_20201218_230001_1.txt
Normal file
33
autoconfig2/log_20201218_230001_1.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
!
|
||||
! Let's have a look at host switch-vwd-sp1
|
||||
!
|
||||
|
||||
Start expect with parameters
|
||||
script run.exp
|
||||
logfile log_20201218_230001_1.txt
|
||||
host switch-vwd-sp1
|
||||
user conetadm
|
||||
password *hidden* from config
|
||||
|
||||
ssh Options used
|
||||
-oStrictHostKeyChecking=no
|
||||
-oUserKnownHostsFile=/dev/null
|
||||
|
||||
|
||||
|
||||
spawn ssh switch-vwd-sp1 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -l conetadm
|
||||
Warning: Permanently added 'switch-vwd-sp1,10.99.0.133' (RSA) to the list of known hosts.
|
||||
|
||||
Password:
|
||||
|
||||
|
||||
switch-vwd-sp1#term len 0
|
||||
switch-vwd-sp1#conf t
|
||||
Enter configuration commands, one per line. End with CNTL/Z.
|
||||
switch-vwd-sp1(config)#int gi1/0/5
|
||||
switch-vwd-sp1(config-if)#no shut
|
||||
switch-vwd-sp1(config-if)#end
|
||||
switch-vwd-sp1#wr mem
|
||||
Building configuration...
|
||||
[OK]
|
||||
switch-vwd-sp1#exit
|
||||
Reference in New Issue
Block a user