思科常用命令(CISCO command).docVIP

  • 463
  • 0
  • 约1.65万字
  • 约 29页
  • 2017-07-24 发布于河南
  • 举报
思科常用命令(CISCO command)

思科常用命令(CISCO command) Telnet 3x (x is the router number, such as R1, is 131) Password: Cisco Rx enable Password: Cisco The following configuration commands refer to both ports. Take serial 0 as an example. Configure both the S0 and S1 ports, and the S1 configuration command, such as S0 Router enable enters privileged mode from user mode R10#c? CD, clear, clock, configure, connect Copy R10#clock % Incomplete command. R10#clock? Set, Set, the, time, and, date R10#clock set? Hh:mm:ss Current Time R10#clock, set, 11:32:40? 1-31, Day, of, the, month MONTH, Month, of, the, year R10#clock set 11:32:40 20 April? 1993-2035 Year R10#clock set 11:32:40 20 April 2034? cr R10#clock set 11:32:40 20 April 2034 Router# config terminal enters privileged mode from user mode Router (config) # hostname R1 configuration name is R1 R1 (config) exit # exit privilege mode R1# show controllers serial 0 view serial 0 of the physical layer information, mainly to view DTE/DCE R1# config terminal R1 (config) no IP domain-lookup # closed dynamic DNS R1 IP domain-lookup (config) # open dynamic DNS R1 (config) IP name-server 0 # after open dynamic DNS can specify the DNS server R1 (config) interface serial 0 # enter interface configuration mode of serial 0 R1 (config-if) # no shutdown router factory default all ports closed, use this command to open it R1 (config-if) # encapsulation PPP package PPP R1 (config-if) clock rate 64000 # if DCE will need to set the clock rate, if the DTE is not required R1 (config-if) # ctrl+c or ctrl+z shortcut to exit to the privileged mode R1# show interface serial 0 view S0 information, if you see serial and line protocol, both display up, indicating that both ends of the link are set successfully Note: if serial down appears, line down may have no port no, shutdown, or cable not plugged in; If serial up appears, the line down may be the DCE side, no clock rate, or the package format is incorrect R1# show cdp neighbors looks at CDP neighbor information R1# show CDP

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档