Login   Register  
PHP Classes
elePHPant
Icontem

File: Document.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tzer-Ming Liu  >  Cisco Config  >  Document.txt  >  Download  
File: Document.txt
Role: Documentation
Content type: text/plain
Description: Cisco Config Class Documentation File
Class: Cisco Config
Backup of Cisco router configuration using SNMP
Author: By
Last change: Change Filename
Date: 2009-10-02 01:51
Size: 1,382 bytes
 

Contents

Class file image Download
Class synopsis
Config {
	/* Properties */
	bool $debug;
	string $Error;

	/* Construct */
	__construct( string $Address_or_Hostname, string $RW_Community )

	/* Methods */
	bool WriteMemory( void )

	bool WriteNetwork( string $FileName, string $Protocol, string $Server[, string $Login[, string $Password ]] )

	bool Copy_StartupConfig_Network( string $FileName, string $Protocol, string $Server[, string $Login[, string $Password ]]  )

	bool Copy_Network_StartupConfig( string $FileName, string $Protocol, string $Server[, string $Login[, string $Password ]] )

	bool Copy_RunningConfig_Network( string $FileName, string $Protocol, string $Server[, string $Login[, string $Password ]] )

	bool Copy_Network_RunningConfig( string $FileName, string $Protocol, string $Server[, string $Login[, string $Password ]] )

}

Table of Contents
Config::debug — Performs debugging operations
Config->error — Returns a string description of the last error
Config->WriteMemory() - Write Running Config to NVRAM
Config->WriteNetwork() - Write Running Config to Network
Config->Copy_StartupConfig_Network() - Write Startup Config to Network
Config->Copy_Network_StartupConfig() - Write Startup Config from Network
Config->Copy_RunningConfig_Network() - Write Running Config to Network
Config->Copy_Network_RunningConfig() - Write Running Config from Network