路由器基本配置
3种用户模式
Router>
Router#
Router(config)#
为路由器定义名称
Router(config)#hostname xx
路由器特权密码 //进入特权模式
Router(config)#enable password 647464
Router(config)#enable secret ank88ank
控制台密码
Router(config)#line console 0
Router(config-line)#password console
Router(config-line)#login
telnet访问密码 //要有en密码和telnet密码
Router(config)#line vty 0 4
Router(config-line)#password xxx
Router(config-line)#login
不执行dns解析
Router(config)#no ip domain-lookup
配置路由器,使得控制台不会中止你的连接
Router(config-line)#exec-timeout 0
配置路由器,使得路由器发送的控制台屏幕的消息不回附加到命令行中
Router(config)#line console 0
Router(config-line)#logging synchronous
配置路由器,控制台端口的时候显示一个标题
Router(config)#banner motd
配置接口ip
Router(config)#int fastethernet0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#clock rate 64000 (dce)
Router(config-if)#no shutdown
观察配置结果
Router#show running-config
阅读(648) | 评论(1) | 转发(0) |