in NVRAM at a later time to start the system so that the enable command can be modified to succeed.Specific commands:Rommom1>confreg 0x2142Rommom2>resetEnter the system and log in to privileged moderouter#Router#copy Startup-config Running-configLog in to global mode and reset the passwordRouter (config) #enable password CiscoRetire to privileged mode and save the configuration filerouter# Write Memoryrouter# Reload! Rebooting the systemRommon1>confreg 0x2102! Reload the configuration file from
In fact, like computers, routers are operating system, but generally we do not use it, since there is an operating system, then the computer will also have the same system crash situation, the following to Cisco router as an example of how to carry out system recovery.
First, we introduced here is Cisco router using erase Flash command, with the console port connection, the computer needs a TFTP server software, the way to restore iOS
1, the computer settings:
IP address 192.168.0.2;
Mask 25
)Perform the following actions on the router to delete its ISO file:Then enter the following command in turn:a row is assigned a value that does not allow an error IP_Address=192.168. 1.100 ip_subnet_mask=255.255. 255.0 Default_gateway=192.168. 1.1 tftp_server=192.168. 1.200 tftp_file=c2800nm-advipservicesk9-mz. 124-. T1.BINTFTPDNLDAfter entering y, the router re-installed in the ISO file, the following prompt appears:(4) Simple use of SDM: (only Intr
This article illustrates the method of C + + to judge PE file. Share to everyone for your reference.
The implementation methods are as follows:
#include Main.h is as follows:
Copy Code code as follows:
#include
Class Cmyapp:public CWINAPP
{
BOOL InitInstance ();
};
Main.cpp is as follows:
Copy Code code as follows:
#include "Main.h"
#include
CMyApp Theapp;
BOOL cmyapp::initinstance ()
{
CFileDialog Dlg (TRUE);
if (dlg. DoModal ()!= Idok)
{
obtain the form of mz=λy, and then Z is obtained by decomposing the eigenvalues of M. Input: n d-dimensional vector x1,..., XN, one point has K neighboring points, map to D-dimensional output: dimension-Reduced matrix Z target: Reducing dimension while guaranteeing the invariant assumption of high dimensional data: a point on the local area of a high dimensional space is a linear combination of the adjacent K points, and the Wei Zheng of the lower di
Xml| experience recently studied a bit XMLHTTP, still very interesting dongdong. I like to let it in IE6 and Firefox are running normally, the background is dom4j to parse.
1. Download Http://webfx.eae.net/dhtml/xmlextras/xmlextras.zip package, there is a xmlextras.js, take it out, I used to generate XMLHTTP objects.
2. Add the following code to the Xmlextras.js:
Check Browsers
var ua = navigator.useragent;
var opera =/opera [56789]|opera\/[56789]/i.test (UA);
var ie =!opera /msie [56789]/i.test
At present, the more popular solution flash memory fault, upgrade Flash method is to use TFTP method transmission. This article is based on the Cisco 2600 series for IT168 readers.
Step one: The device will enter the Rommon state after the delete flash memory command is executed.
Step two: We need to set the Rommon state to match our TFTP transfer environment. The specific orders are as follows:
Rommon 3 > Set
Ps1=rommon! >
ip_address=172.18.16.76 (Set the router's IP address, note that in
PE file format recently it seems to be a buzz, because I am doing a program like this, simply to write their own ideas to share with everyone.
The PE file header is divided into two parts:
1:dos ' MZ ' HEADER
2:image_nt_headers
Where the image_nt_headers contains
PE Signature
Image_file_header
Image_optional_header (which contains the data direcotry)
The file header is followed by the
Section Table (array of image_section_headers)
There are
Tags: apt log capture leverages the matching IMG option first tabThere are four main functions in Oracle that support regular expressions:1,regexp_like: Similar to the function of like, it is much more powerful.2,REGEXP_INSTR: Similar to the function of INSTR.3,REGEXP_SUBSTR: Similar to the function of SUBSTR.4,regexp_replace: Similar to the function of REPLACE. regexp_replace (source_string,pattern,replace_string,position,occurtence,match_parameter) function (10g new function )Description: A st
in your PCTelnet + IP Address2. Device iOS operation(1) iOS for routers, switches①ios IntroductionInternetwork Operating system Internet Operating systemFeatures that iOS implementsConfigure the address, protocol, and other parameters of the network deviceSecure your network by controlling accessSet up a series of access policiesMonitoring and commissioning of equipment(2) Setting up the Cisco router's iOSUpgrading the Cisco router's iOS① upgrading the Cisco router's iOS via a TFTP serverConfig
.
Rommon4> DEFAULT_GATEWAY = 192.168.1.7: Specifies the address of the TFTP server.
Rommon5> TFTP_FILE = c2600-i-mz.121-3.T: Specifies the IOS file name
Rommon6> tftpdnld: Download the IOS File
Configuration registerRommon7> confreg
Select y when do you wish to change the configuration y/n appears, select y when change the boot charaterist y/n appears, and select parameter 2. Select n for other options.
Start versionRommon8> reset
(2) xmodem download
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.