Router experiment: router> enable Enter privileged mode from user moderouter# disable or exit Exit from privileged mode to user moderouter# show sessions View the TELNET sessions on this machinerouter# disconnect Close all TELNET sessionsrouter# show users View the users on this machinerouter# erase startup-config Delete the configuration in NVRAMrouter# reload Restart the routerrouter# config terminal Enter configuration mode from privileged moderouter(config)# hostname r1 Configure the user name as r1router(config)# #banner welcome# Configure startup speechrouter# show controllers serial 0 View the physical layer information of serial port 0, mainly to view DTE/DCErouter# show ip interface View the IP configuration information of the portrouter# show hosts View the host tableend or ctrl+z Exit from various configuration modes to privileged moder1(config)# no ip domain-lookup Disable dynamic domain name resolutionr1(config)# ip domain-lookup Enable dynamic domain name resolutionr1(config)# ip name-server 202.106.0.20 After enabling dynamic domain name resolution, you can specify a DNS serverr1(config)# interface serial 0 Enter serial 0 interface configuration moder1(config-if)# no shutdown The router defaults to all ports being closed, use this command to enable themr1(config-if)# encapsulation ppp encapsulation pppr1(config-if)# clock rate 64000 If it is DCE, you need to set the clock rate, but if it is DTE, you do not need to set itr1(config-if)# bandwidth 64 Set the port bandwidth to 64Kr1(config-if)# ctrl+c or ctrl+z shortcut keys to exit to privileged moder1# show interface serial 0 View S0 information, if you see that both serial and line protocol are displayed as up, it means that both ends of the link are successfully configured
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore