码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2018-10-07 00:39:36      阅读:279      评论:0      收藏:0      [点我收藏+]

标签:route   技术分享   nvram   结构   his   必须   oar   work   http   

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

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
export@cisco.com.

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 路由设备登录命令

标签:route   技术分享   nvram   结构   his   必须   oar   work   http   

原文地址:https://www.cnblogs.com/StrongIwan/p/9749081.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!