使用console线配置路由器:
1. 将console线连接主机到路由器
2. 新建终端通讯
a) 所有程序
b) 附件
c) 通讯
d) 超级终端
3. 填入新建连接名称
4. “连接时使用”中选择com口
5. 点击还原成默认值
6. 按确定后敲“回车”键可开始进行配置
路由器模式 :
用户模式:对路由器进行有限的检查,远程访问
Router>
特权模式:可对路由器进行详细的检查和测试,文件处理,远程访问。
Router#
通用配置模式--简单的配置命令
Router(config)#
用户模式进入特权模式
Router>enable
Router#
特权模式进入通用配置模式
Router# configure terminal
退出到上一模式
Router#exit
配置它的一般参数,包括:
修改主机名 :hostname
特权口令 :enable password
其中 Console 的secret、 password的设置:
Router(config)# enable secret <######>
Router(config)# enable password <#######>
Virtual Terminor 的password的设置:
Router(config)#line console 0
Router(config)# Line vty 0 4
Router(config-line)#Password <######>
Host name的设置:
Router(config)#hostname
查看现在的配置:
Router#show running-config
查看端口状态:
Router#sho ip interface brief
Interface IP-Address OK? Method Status Protocol
Ethernet0 192.168.100.2 YES NVRAM up up
Loopback0 172.16.1.1 YES manual up u