Jump to content

anyone know perl?


Akula

Recommended Posts

I need to SSH into a controller (think L3 switch with a firewall).

Once logged in I need to issue a command to setup an interface as an access interface and ftp code from a server on the same wire.

once it is done I need to it ftp another piece of code.

 

I just don't know perl at all so I have no idea how to do it.

 

ssh -l admin 10.1.11.100 password is admin

en

enable

conf t

interface vlan 10

ip address 10.254.1.123 255.255.255.0

interface fa 1/0

switchport access vlan 10

copy tftp: 10.254.1.195 A800_2.4.8.12-FIPS_16431 system: partition 0

 

Then when the copy is over I will copy another file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...