Route configuration command-CCNA Learning

Source: Internet
Author: User

The initial command for routing configuration-CCNA takes notes when I used to study NA, now I have time to share with you ==================================== ========================================================== =====================www.2cto.com show hosts show current host name configuration show sessions show current outgoing TELNET session clear line XXX clear line <ctrl> + <z> return directly to privileged mode <ctrl> + <shift> + <6> + x ================== ========================================================== ======================================== enable enters privileged mode disable returns from privileged mode user Mode: configure terminal In global configuration mode, interface ethernet 0/1 enters the ethernet Port 1 of slot 0, exit, and return to upper-layer mode. end directly returns to the privileged mode www.2cto.com ========== ========================================================== ============================================== 1. when no "user configuration" file is found during the initialization of cisco catalyst series switches, the Default Settings file is automatically loaded for switch initialization. to ensure that the switch works properly. 2. when the CISCO Router initialization fails to find the "user configuration" file, the system automatically enters the "Initialization Configuration Mode" (system configuration dialog mode, SETUP mode, step by step config mode, standby mode), cannot work normally! ========================================================== ========================================================== ========= 1. console port (CONSOLE interface): exclusive distance restriction. 2.AUX port (Auxiliary Management Interface): it can be attached to MODEM for remote management and exclusive. 3. telnet: remote management of multiple users (depends on the performance and number of VTY lines ). insecure. ========================================================== ========================================================== ======== execute now, effective immediately ======================================================== ========================================================== =========== hostname: configure the host Local ID r6 (config) # interface ethernet 0r6 (config-if) # ip address 1.1.1.1 255.255.255.0show version observe the list of interfaces related to the working time of devices in IOS version show running-config view the current configuration. This configuration file is stored in RAMshow interface ethernet 0/1 to view the working status of the ethernet interface. and so on... ========================================================== ========================================================== ========= reload the Router (restart) setup manually enters setup Configuration Mode show history to view historical commands (recently used commands) terminal history size <0-256> set Command Buffer Size 0: indicates that copy running-config startup-config is not cached to save the current configuration concept: nvram: non-volatile memory, and power-off information will not be lost <-- User Configuration <-- startup-configram: random storage, all power-off information is lost <-- current active configuration <-- running-configstartup-config each time the vro or vswitch is started, automatically load ========================================================== ============ banner motd [char c] At the same time, end the description interface comments with another line starting with [char c] (<ctrl> + <shift> + <6>) + x configure the password for the console port: line conosystemic 0 enters cons Olo 0 password cisco sets a password for "cisco" login to enable password for login <string> enable password for plain text enable secret <string> set enable password for dark text (Priority used in plaintext) service password-encryption all plaintext passwords in the encryption system (weak) set the vtp line password (Telnet) line vty 0? Password ciscologin ========================================== ========================================================== ============ configure the virtual loopback interface (the loopback interface is UP by default) inerface loopback? Create a loopback interface ip address 1.1.1.1 255.0.0.0 configuration interface ip address end exit this interface ping 1.1.1.1 check this interface validity no * configure the reverse operation DCE/DTE only exist in the Wide Area Network show controllers serial 0 the Router used to view the DCE and DTE attributes needs to configure the clock frequency clock rate? Configure the clock frequency of the DCE interface (the system specifies the frequency) ========================================================== ========================================================== ========= Serial1 is administratively down, line protocol is down. The no shutdown command is not used to activate the Serial1 is down. Line protocol is down1. the other party does not have no shutdown to activate Port 2. the line is damaged. The interface does not have any connection cable Serial1 is up. line protocol is down1. the other party has not configured the same L2 protocol serial Interface default encapsulation: HDLC2. the clock frequency Serial1 is up, line protocol is up interface working properly ========================================== ========================================================== ================== show cdp neighbors view CDP neighbors (excluding IP addresses) show cdp neighbors detail View CDP's neighbors (including L3 IP addresses) show cdp entry * view CDP's neighbors (including L3 IP addresses) r1 (config) # no cdp run disable CDP protocol (affects all interfaces) r1 (config-if) in global configuration mode # no cdp enable disables CDP protocol under interfaces (only affects specified interfaces) clear cdp table clear CDP neighbor table show cdp interface serial 1 view the CDP information of the interface ====================== ========================================================== ==================================== Sending CDP packets every 60 seconds (send cdp packets every 60 seconds) holdTime 180 seconds (each CDP information is saved for 180 seconds) ========================================================== ========================================================== ======= ip host <name> <ip> set static host name ing ===================== ========================================================== ==================================

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.