网络工程:1.2 CISCO 路由设备登录命令

Posted strongiwan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了网络工程:1.2 CISCO 路由设备登录命令相关的知识,希望对你有一定的参考价值。

一、路由器版本及登录方式介绍

R3#show version
Cisco ios Software, 3700 Software (C3745-A3JK9S-M), Version 12.3(4)T2, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2003 by Cisco Systems, Inc.
Compiled Thu 18-Dec-03 18:34 by dchih

ROM: ROMMON Emulation Microcode
ROM: 3700 Software (C3745-A3JK9S-M), Version 12.3(4)T2, RELEASE SOFTWARE (fc1)

R3 uptime is 0 minutes
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0 x0, BOOT_COUNT 0, BOOTDATA 19
System image file is "tftp://255.255.255.255/unknown"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
[email protected]

Cisco 3745 (R7000) processor (revision 2.0) with 120832K/10240K bytes of memory.
Processor board ID FTX0945W0MY
R7000 CPU at 100Mhz, Implementation 39, Rev 2.1, 256KB L2, 512KB L3 Cache
2 FastEthernet interfaces
4 Serial interfaces
DRAM configuration is 64 bits wide with parity enabled.
151K bytes of NVRAM.
16384K bytes of ATA System CompactFlash (Read/Write)

Configuration register is 0x2102

R3#show start
Using 259 out of 155640 bytes!
!
hostname R3
!
no ip domain lookup  ##HTTP域名登录无设置
no ip icmp rate-limit unreachable
ip tcp synwait 5
!
line con 0      ##console口登录无设置
exec-timeout 0 0   ##输入超时退出时间无设置
logging synchronous
privilege level 15
no login
line aux 0        ##Telnet其他设备登录无设置
exec-timeout 0 0
logging synchronous
privilege level 15
no login
!
!
end

  二、登录方式代码

    要求:

        1.console口进入操作界面必须接对口

        2.HTTP登录时,登录名称是CISCO路由器名,密码是登录Telnet密码

        3.Telnet登录必须在网卡网段与远方设备需同一网段

      连线结构如右:技术分享图片

      C3电脑绑定了实际物理网卡,在路由器没有设置Telnet时连线无效

      技术分享图片技术分享图片

   

Telnet设置:需要write后PC登录才能生效
Router(config)#line vty 0 4
Router(config-line)#pas
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exec-timeout 0 10

PC输入,提示设置enable密码
Router>en
% No password set.

回路由器输入下列代码
Router(config)#enable password 123  ##注意secret的密码优先级比password密码优先级高,并且show run查询的时候在前面
Router(config)#do write

下面是PC输入的反馈信息
pc>telnet 1.1.1.1
Password: 
Password: 
Router>en
Password: 
Router#conf
Configuring from terminal, memory, or network [terminal]? 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#

Telnet设置成功

  HTTP设置方式

  HTTP设置
  config
  ip http server
  ip domain www.cisco.com
  HTTP网页登录成功

 console口设置方式

Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
console密码设置成功

  

 



以上是关于网络工程:1.2 CISCO 路由设备登录命令的主要内容,如果未能解决你的问题,请参考以下文章

cisco设备如何在RIPv2协议中设置默认路由?

Cisco路由器配置的常用命令汇总

Cisco路由器SSH登录

一些Cisco 路由器命令配置

Cisco的互联网络操作系统IOS和安全设备管理器SDM__路由器软硬件知识

Cisco网络设备命名规则