Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

G430/G450 - Importing text config file 1

Status
Not open for further replies.

john3voltas

Technical User
Nov 12, 2013
138
PT
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
 
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
 
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
 
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.
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top