Router> enable access from user mode to privileged mode
router# Disable or exit exit from privileged mode to user mode
router# Show sessions to view the Telnet session on this computer
router# disconnect to close all Telnet sessions
router# Show Users view a user on this computer
router# Erase startup-config Delete configuration in NVRAM
router# Reload Restart Router
router# Config Terminal enter privileged mode from user mode
Router (config) # hostname RL Configuration User Name RL
Router (config) # #banner welcome# Configure boot Discourse
router# Show Controllers Serial0 View physical layer information for serial 0 (mostly view dte/dce)
router# show ip interface View IP configuration information for a port
router# Show hosts View host tables
End or CTRL + Z retreat from various configuration modes to privileged mode
RL (config) # no IP domain-lookup off dynamic Domain name resolution
RL (config) # IP domain-lookup open Dynamic Domain name resolution
RL (config) # IP name-server 202.106.0.20 After you open dynamic Domain name resolution, you can specify the DNS service
RL (config) # interface serial 0 Enter serial 0 interface configuration mode
RL (CONFIG-IF) # no shutdown router factory default all ports off, use this command to enable them to open
RL (CONFIG-IF) # Encapsulation PPP encapsulated PPP
RL (CONFIG-IF) # Clockrate 64000 If the DCE is required to set the clock rate, if it is DTE make it unnecessary
Set up
RL (CONFIG-IF) # Bandwidth 64 set port bandwidth to 64K
RL (CONFIG-IF) # CTRL + C or CTRL + Z shortcut key exits to privileged mode
rl# show Interface Serial 0 View s0 information, if you see serial and line protocol are
Show up, indicating that both ends of the link are set successfully
Note: If serial down is present, line down may have no shutdown on the other port or the cable is not plugged in, and if serial up is present, line down may be the DCE side does not set clock rate or the package format is incorrect
rl# Show CDP neighbors view CDP neighbor information
rl# Show CDP Entry *
RL (CONFIG-IF) # IP Add 10.0.0.1 255.0.0.0 into the appropriate interface, configure the appropriate IP address
rl# Ping 10.0.0.2 Use the ping command to view the connectivity of neighbors
rl# show ip route to view the routing table, you can see the routing information in C, which is a direct-attached routing information;
You can see the routing information at the beginning of R, which is the routing information learned from RIP, and you can see
I begin with routing information that replaces the routing information that begins with R because the IGRP pipe
Distance is 100, less than 120 of RIP
RL (CONFIG-IF) # router RIP start RIP routing protocol
RL (config-router) # network 10.0.0.0 release segment (Note that the net number after
Not an IP address)
rl# Show IP protocol view the configured routing protocol
RL (config) # router igrp 3,001 Be careful to add the autonomous system number to the back of IGRP, the exam time topic
I'll tell you as number.
RL (config-router) # network 10.0.0.0
RL (config) # line vty0 4 enters virtual thread configuration mode, in which the Telnet function can be configured
RL (config-line) # Login
RL (config-line) # password Cisco configuration telnet password, default network device Telnet feature
is turned off and is automatically opened after a password is provided.
RL (config) # enable password Cisco configuration Enter the password for Enable mode, case sensitive
RL (config) # enable secret Ciscocisco Configure the password to enter enable mode, which is an encrypted password,
Show run is invisible.
RL (config) # line console 0
RL (config-line) # Login
RL (config-line) # password Cisco configuration password to enter user mode
RL (Config-line) # Logging Synchronous input Sync
RL (config-line) # exec-timeout 0 0 Forbidden to jump out for a period of time without input
rl# copy running-config startup-config Save configuration, pay attention to the requirements of the topic during the exam,
If you are asked to save the configuration, you must not be less.
This one.
r1# Copy tftp startup-config
r1# copy running-config tftp
r1# copy TFTP flash
Cisco BASIC configuration commands