cisco 配置命令

Enter interface name used to connect to themanagement network from the above interface summary

您好!Asker

这是Setup模式下出现的对话问题。您看到这样的字段会有两个原因:
1:您的路由器(交换机)在启动的时候没有在NVROM种找到Startup-config作为配置文件加载到Memory,这时机器会自动进入Setup模式。
2:您在特权模式下输入Setup,机器也会进入Setup模式。

OK!我们来看看他说这句话是什么意思。它叫您“输入一个接口的名字来连接管理的网络”

给您看我这里的情况:
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned NO unset up down
FastEthernet0/1 unassigned NO unset up down

Enter interface name used to connect to the
management network from the above interface summary: fastethernet0/0

它在之前就已经检测出了机器上的端口,你只要照着上面的其中之一,输一个就可以了。当然,这个端口就变成了管理端口。只要您在该端口上配上IP,您就可以Telnet上来。

这是Cisco为那些不会使用路由器而准备的,其实只要no shutdown任何一个端口,该端口都可以管理路由器。(注意“fastethernet”和“0/0”之间没有空格)

还有问题可以E-mail我:[email protected]
温馨提示:答案为网友推荐,仅供参考
第1个回答  2020-06-29
思科CCNA实验常用的命令
路由器实验:
  
router>
enable         从用户模式进入特权模式
  
router#
disable
or
exit    
从特权模式退出到用户模式
  
router#
show
sessions     
查看本机上的TELNET会话
  
router#
disconnect       关闭所有的TELNET会话
  
router#
show
users       查看本机上的用户
  
router#
erase
startup-config  删除NVRAM中的配置
  
router#
reload         重启路由器
  
router#
config
terminal    
从用户模式进入特权模式
  
router(config)#
hostname
rl  
配置用户名为rl
  
router(config)#
#banner
welcome#  
配置开机话语
  
router#
show
controllers
serial0  查看串口0的物理层信息(主要是查看DTE/DCE)
  
router#
show
ip
interface   
查看端口的IP配置信息
  
router#
show
hosts       查看主机表
  
end
or
ctrl+z         
从各种配置模式退到特权模式
  
rl(config)#
no
ip
domain-lookup     关闭动态域名解析
  
rl(config)#
ip
domain-lookup  打开动态域名解析
  
rl(config)#
ip
name-server
202.106.0.20 打开动态域名解析之后便可以指定DNS服务
  
rl(config)#
interface
serial
0   进入serial
0的接口配置模式
  
rl(config-if)#
no
shutdown  路由器出厂默认所有端口关闭,使用此命令使它们打开
  
rl(config-if)#
encapsulation
ppp     
封装ppp
  
rl(config-if)#
clockrate
64000
 如果是DCE使需要设置时钟速率,如果是DTE使不必
                   设置
  
rl(config-if)#
bandwidth
64  
  设置端口带宽为64K
  
rl(config-if)#
ctrl+c
或者ctrl+z   快捷键退出到特权模式
  
rl#
show
interface
serial
0  查看s0信息,如果看到serial和
line
protocol都显
                 
示up,说明链路两端都设置成功
  
  注意:如果出现serial
down,
line
down
可能对方的端口没有打no
shutdown或者电缆没有插好;如果出现serial
up,
line
down
可能是DCE端没有设置clock
rate,
也可能是封装格式不对
  
rl#
show
cdp
neighbors     查看CDP邻居信息
  
rl#
show
cdp
entry
*
  
rl(config-if)#
ip
add
10.0.0.1
255.0.0.0   进入相应的接口,配置相应的IP地址
rl#
ping
10.0.0.2       
使用ping命令查看邻居的连通性
  
rl#
show
ip
route 查看路由表,可以看到以C打头的路由
信息,这是直连的路由信息;
            可以看到
R开头的路由信息,是从rip学来的路由
信息;可看到以
            I开头的路由信息取代
了以R开头的路由信息,这是因为igrp
的管
            理距离是100,小于rip的120
  
rl(config-if)#
router
rip   
启动RIP路由协议
  
rl(config-router)#
network
10.0.0.0  发布网段(注意network后面是接的网络号而
                      不是IP地址)
  
rl#
show
ip
protocol      查看配置的路由协议
  
rl(config)#
router
igrp
300  一定要注意在IGRP后面加自治系统号,考试的时候题目
                  会告诉你AS
NUMBER,
照敲就是
  
rl(config-router)#
network
10.0.0.0
  
rl(config)#
line
vty0
4 进入虚拟线程配置模式,在此模式可对telnet功能进行配置
  
rl(config-line)#
login
  
rl(config-line)#
password
cisco 配置telnet密码,默认的网络设备
telnet的
功能
                   是关闭的,配了密码之后会自动打开
  
rl(config)#
enable
password
cisco  配置进入enable模式的密码, 区分大小写
  
rl(config)#
enable
secret
ciscocisco 配置进入enable模式的密码,是加密的密码,
                      show
run是看不见的
  
rl(config)#
line
console
0
  
rl(config-line)#
login
  
rl(config-line)#
password
cisco
   配置进入用户模式的密码
  
rl(config-line)#
logging
synchronous 
  输入同步
  
rl(config-line)#
exec-timeout
0
0    禁止因为一段时间没有输入而跳出
  
rl#
copy
running-config
startup-config
 保存配置,考试的时候注意题目的要求,
                       如果题目里要求你保存配置就一定不能少
                       了这一项
  
r1#
copy
tftp
startup-config
  
r1#
copy
running-config
tftp
  
r1#
copy
tftp
flash
第2个回答  2008-08-25
没有遇到过这样的提示

说具体点 是从哪里遇到的??
相似回答