Вы находитесь на странице: 1из 5

Network Operations TM Wholesale

http://networkoperations.intra.tm Title: TM IPVPN BACKUP CONFIGURATION GUIDE (SCRIPT)

MAINTENANCE GUIDE
Document ID Date Published IPNOC-TEM-FIDW-01 11/12/2007

0. DOCUMENT ID Technology Platform : IPVPN / Metro-E (Cisco) Service Involved : IPVPN

1. INTRODUCTION The purpose of this document is to help the Engineers maintaining the IPVPN network of collecting the backup configuration of the all the IPVPN nodes (Cisco). This is to help the Engineers in doing the troubleshooting when; for example, the configuration is missing. 2. FLOWCHART OF THE PROCEDURES

Please refer to contents

3. CONTENTS

i.

Create a new directory/folder for example e:\ipvpn\manual_backup\backup\

ii. Telnet to 202.178.0.75 iii. Run script for IPVPN config backup- theres 3 version of script, the difference is on user ID and password to access to the routers as stated in the scripts: Script 1 & 1-cont

crt.screen.Send "telnet " & str & vbCr crt.screen.WaitforString("name:") crt.screen.Send "individual user id on Tacacs" & chr(10) crt.screen.WaitforString("word:") crt.screen.Send "individual password on Tacacs" & chr(10) If (crt.screen.WaitforString(">", 10)) Then crt.screen.Send "en"& chr(10) crt.screen.WaitforString("word:") crt.screen.Send "individual password on Tacacs" & chr(10)

Script 2

crt.screen.Send "telnet " & str & vbCr

Network Operations TM Wholesale


http://networkoperations.intra.tm Title: TM IPVPN BACKUP CONFIGURATION GUIDE (SCRIPT)

MAINTENANCE GUIDE
Document ID Date Published IPNOC-TEM-FIDW-01 11/12/2007

crt.screen.WaitforString("word:") crt.screen.Send "coinsipvpn" & chr(10) If (crt.screen.WaitforString(">", 10)) Then crt.screen.Send "en"& chr(10) crt.screen.WaitforString("word:") crt.screen.Send "coinsipvpn" & chr(10)

Script 3

crt.screen.Send "telnet " & str & vbCr crt.screen.WaitforString("word:") crt.screen.Send "coinsipvpn" & chr(10) If (crt.screen.WaitforString(">", 10)) Then crt.screen.Send "en"& chr(10) crt.screen.WaitforString("word:") crt.screen.Send "1pvpN1pn0c" & chr(10)

iv. The location of file where we put the list of ip or hostname of router to poll config from is determined in the scripts as:

Set file = fso.OpenTextFile("e:\ipvpn\manual_backup\ip-x.txt", 1, False) please choose/create your own folder/files in your pc, x refer to the script version

v. The location of file where we put the list of ip or hostname of router failed to poll config from is determined in the scripts as:

Set failip = fso.OpenTextFile("e:\ipvpn\manual_backup\failip-x.txt", 2, True) please choose/create your own folder/files in your pc, x refer to the script version

vi. The location of log file of the script is determined in the scripts as:

crt.Session.LogFileName

"e:\ipvpn\manual_backup\log-x.log"

please

choose/create your own folder/files in your pc, x refer to the script version

vii. The location of polled config for each router is determined in the scripts as:

Network Operations TM Wholesale


http://networkoperations.intra.tm Title: TM IPVPN BACKUP CONFIGURATION GUIDE (SCRIPT)

MAINTENANCE GUIDE
Document ID Date Published IPNOC-TEM-FIDW-01 11/12/2007

Set outfile = fso.OpenTextFile("e:\ipvpn\manual_backup\backup\" &sitename &".txt", 2, True) please choose/create your own folder/files in your pc

viii.Wait for all version of the scripts has completed running and total files in the e:\ipvpn\manual_backup\backup\ folder should be around 120 files. Change the folder name from backup to todays date for example e:\ipvpn\manual_backup\020707\

ix. Run CoreFTP Lite

x. Configure setting for Site Manager to connect to 10.20.99.2 with UserID and password

xi. Drag and drop the newly create folder to the appropriate folder in the server, wait for the transfer to finish

4. TESTGEARS None.

5. SAFETY PRECAUTION None.

6. REFERENCES i. Name ii. Unit : RUSLAN BIN SALLEH : FIDW, TeM, IPNOC

iii. Contacts number : 03-2240 5235 / 013-336 8123 iv. Email address 7. GLOSSARY : ruslan@tm.com.my

8. DOCUMENT REVIEW HISTORY

No 1.

Date 11/12/2007 Document Creation

Changes Details

Changes By Ruslan Salleh

Network Operations TM Wholesale


http://networkoperations.intra.tm Title: TM IPVPN BACKUP CONFIGURATION GUIDE (SCRIPT)

MAINTENANCE GUIDE
Document ID Date Published IPNOC-TEM-FIDW-01 11/12/2007

Network Operations TM Wholesale


http://networkoperations.intra.tm Title: TM IPVPN BACKUP CONFIGURATION GUIDE (SCRIPT)

MAINTENANCE GUIDE
Document ID Date Published IPNOC-TEM-FIDW-01 11/12/2007

Вам также может понравиться