"Data Collation" Cisco [Shell, Command]
Promot mode{user mode:router> (input: enable) privilege mode:router# (input:conf t) Global config mode:router (Config) #----ctrl-z -> pm, exit -> Gcminterface:router (config-if) #Sub-interface:router (config-subif) #Controller: Router (config-controller) #Line: Router (config-line) #Router: Router (config-router) #IPX router :router (config-ipx-router) #}command{  1) privilegeenable //enters the privileged mode from user mode configure terminal //into configuration mode hostname r1 //Configure the router with a host name of r1 login //user to enter the router, you need to log in first enable password yourpassword //Configure password to enter privileged mode, password not encrypted enable secret yourpassword //Configure password to enter privileged mode , the password encryption exit //is returned to the upper-level mode end //directly back to privileged mode sh run | append\begin \exclude\include\redirect\section\tee ... 2) interfaceshow interface f0/0 //Display f0/0 interface information interface f0/0 //Enter the ip address of the f0/0 interface ip address 192.168.10.1 255.255.255.0 //Configuration Interface no shutdown //Open Interface 3) routerno ip domain-lookup // The router does not use the DNS server to resolve the host's IP address logging synchonous //to synchronize the prompts on the router to prevent information from interfering with our input commands no ip routing //turn off the router's routing function ip default-gateway 10.1.14.254 // Configure the Gateway ---example:r1>enabler1#configure terminalr1 (config) #hostname required for the router to access other network segments ( atobatob Config) #interface f0/0atob (config-if) #ip address 192.168.10.1 255.255.255.0atob (config-if) #no shutdownatob (config-if) #endR2 >enabler2#configure terminalr2 (config) #hostname btoabtoa ( Config) #interface f0/0btoa (config-if) #ip address 192.168.10.2 255.255.255.0btoa (config-if) #no shutdownbtoa (config-if) #end---pingsending 5, 100-byte icmp echos to 192.168.10.2, timeout is 2 SECONDS:!!!!! success rate is 100 percent (5/5), round-trip min/avg/max = 4/17/ 36 MS4) Iosshow version //ios Version Information config-regiser 0x2101 //Modify the configuration register show Flashcopy run starterase start}
"Data Collation" Cisco [Shell, Command]