×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

G430/G450 - Importing text config file

G430/G450 - Importing text config file

G430/G450 - Importing text config file

(OP)
Greetings
We have received a text config file from a customer.
They took the text from a typical "show running" command.
Is there any way we can import that file instead of going through the hassle of typing all the commands one by one?

Example:

CODE -->

! version 39.12.0
Config info release 39.12.0 time "23:30:12 11 FEB 2020 " serial_number XXXXXXXXXXX
!
encrypted-username XXXXXXXXXX
hostname "G430"
no ip telnet
ip telnet-services
!
interface Vlan 1
icc-vlan
ip address 10.240.81.10 255.255.255.0
pmi
exit
!
interface FastEthernet 10/2
exit
!
etc... 

Thanks in advance.
Cheers

RE: G430/G450 - Importing text config file

Someone might correct me if I'm wrong but I'm pretty sure you can copy 80 or so lines of that at a time, making sure you stop on an EXIT and then just hit PASTE in Putty or whatever emulator you're using. That's how we enter all the MUDG specific info from Avaya.

-CL

RE: G430/G450 - Importing text config file

You can also upload a backup text file. Look for the "Administering Avaya G450 Branch
Gateway" release 8.1.x issue 2 October 2019 page 92 as I'm not sure how well this will paste,


Configuration file backup and restore commands
For more information about these commands, see the Avaya Branch Gateway G450 CLI
Reference.
Command Description
copy ftp startupconfig
Download a Branch Gateway configuration file from an FTP server to the
Startup Configuration NVRAM
copy scp startupconfig
Download a Branch Gateway configuration from an SCP server to the
Startup Configuration NVRAM
copy tftp startupconfig
Download a Branch Gateway configuration file from a TFTP server to the
Startup Configuration NVRAM
copy usb startupconfig
Download a Branch Gateway configuration file from a USB mass-storage
device to the Startup Configuration NVRAM
copy running-config
ftp
Upload the current Branch Gateway running configuration to a file on an
FTP server
copy running-config
scp
Upload the current Branch Gateway running configuration to a file on an
SCP server
copy running-config
tftp
Upload the current Branch Gateway running configuration to a file on a
TFTP server
copy startup-config
ftp
Upload the current Branch Gateway startup configuration to a file on an
FTP server
copy startup-config
scp
Upload the current Branch Gateway startup configuration to a file on a
SCP server
copy startup-config
tftp
Upload the current Branch Gateway startup configuration to a file on a
TFTP server
copy startup-config
usb
Upload the current Branch Gateway startup configuration to a file on a
USB mass-storage device
show download status Display the status of the current Branch Gateway configuration file
download process, as the file is being loaded into the device

-CL

RE: G430/G450 - Importing text config file

(OP)
So, all I really need to do is go into config mode and simply paste the config file in small chunks so that I don't choke putty's buffer?
Interesting...
I'll definitely try that, thanks.

RE: G430/G450 - Importing text config file

From the G450 cli doc.

copy usb startup-config
Downloads a configuration file from the external USB mass storage device to the gateway.
Syntax
copy usb startup-config source-usb-device source-filename

RE: G430/G450 - Importing text config file

(OP)
Oh, I found that CLI reference doc noticed that there's an option that does backup the config to a text file:
copy startup-config usb "usbdeviceX" "filename"
And there's it's opposite that you just mentioned, phoneguy55:
copy usb startup-config "usbdeviceX" "filename"
That works just fine, thanks.

Thanks to everybody that gave me some input here.
Cheers

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close