cisco packet tracer基础

来源:互联网 发布:网络主播提成 编辑:程序博客网 时间:2024/06/11 05:01

Router > 用户模式

Router # 特权模式

Route (config)# 全局模式


ctrl+z  #不论在哪一种模式下,回到特权模式


#修改用户名

Router(config)#hostname jacsice
jacsice(config)#


#开机时的显示信息

jacsice(config)#banner motd #
Enter TEXT message.  End with the character '#'.
hello world !
#


#对console口设置密码,即用户通过console口连接路由器时需要输入的密码

Router(config)#line console 0
Router(config-line)#password cisco


#设置密码,第一种为特权模式明文密码,第二种为特权模式加密密码,如果两个密码都设置了,则以第二个为准

Router(config)#enable password cisco
Router(config)#enable secret bbbb


Router(config)#interface s0/1/0
Router(config-if)#ip address 192.168.1.11 255.255.255.0
Router(config-if)#clock rate 64000  #设置时钟频率,只在DCE端


Router#show interfaces serial 0/1/0
Serial0/1/0 is up(表示物理层协议), line protocol is up (connected)(表示链路层协议)
  Hardware is HD64570
  Internet address is 192.168.1.12/24
  MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,


Serial0/1/0 is up, line protocol is down   #链接问题,有可能是DCE端的clock rate未设置


Router#show controller s0/1/0    #只能使用该命令查看该设备是否为DCE或者DTE
Interface Serial0/1/0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 64000

原创粉丝点击