当前位置:网站首页>【实验分享】通过Console口登录到Cisco设备

【实验分享】通过Console口登录到Cisco设备

2022-07-07 21:52:00 GLAB-Mary

实验目的

学习如何登录到Cisco设备的Console口

实验说明

Console口是最直接配置Cisco设备的接口,密码恢复,路由器挂机还原都必须使用此端口

实验步骤

1.通过Console接口登录设备

一般而言,网络设备(例如路由器、交换机、防火墙等)在设备面板上都会有一个用于配置和管理的专用接口-Console口,通过这个接口,并使用专用的线缆将设备与管理PC进行连接,即可实现对设备的配置及管理,这是我们工程实施中最常用的设备配置及管理方法之一。在设备开箱上电之后,通常都是先通过设备的Console接口对设备进行配置。

简单的说有四个步骤:

1.认识设备的Console口

2.准备好相关的线缆

3.搭建配置环境

4.通过终端管理软件登录设备
在这里插入图片描述

工业级的数据通信设备:路由器、交换机、防火墙等,一般都配备Console口,用于设备的配置及管理,该接口会标记Console字样,如下:

在这里插入图片描述

上图所示的是一个RJ45的Console口,也就是采用平常网线的水晶头的Console线进行连接的接口,大部分网络设备都是RJ45的Console接口。

现在也有部分设备是通过mini USB Console接口进行连接控制。

2.准备相关线缆
在这里插入图片描述

Console线(上图右)一般会随设备装箱(以前免费,现在Cisco收费了),线缆的一端为RJ45水晶头,另一端为DB9的串口接头。RJ45接头用于连接网络设备的RJ45标准的Console口,线缆另一端的串口用于连接PC机,早期机器基本上标配串口(COM)连接,现在的机器绝大部分都没有这个接口,因此我们需要另一根线缆(上图左)这就是USB-RS232转接线。这根线缆可以说是网络工程师行走江湖的必备装备之一,各大电子数码港均有销售价格从几块到几百不等,几十块的就差不多了(需要安装驱动才能使用)。

3.有了这些装备就可以把实验拓扑图给搭建起来在这里插入图片描述

4.按照下图的线缆连接,把水晶头插入网络设备的Console口

USB端插入PC的USB接口
在这里插入图片描述

5.打开SecureCRT(PUTTY或者XP的超级终端win7已淘汰)

按下图步骤操作:点击Quick Connect
在这里插入图片描述

按下图相关参数设定:Port稍后介绍,其他参数固定在这里插入图片描述

Port的问题需要打开设备管理器查看在这里插入图片描述

一切OK,点击Connect进入配置

6.打开路由器电源开关,观察路由器启动过程。若路由器此时已经启动,show version查看并填写路由器以下参数:

路由器型号:

路由器内存:

IOS版本号:

接口类型和数目:

FLASH容量:

NVRAM容量:

7.实例

G-LAB#sh version

Cisco IOS Software, 7200 Software (C7200-ADVSECURITYK9-M), Version 12.4(20)T, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright 1986-2008 by Cisco Systems, Inc.

Compiled Fri 11-Jul-08 04:22 by prod_rel_team

ROM: ROMMON Emulation Microcode

BOOTLDR: 7200 Software (C7200-ADVSECURITYK9-M), Version 12.4(20)T, RELEASE SOFTWARE (fc3)

G-LAB uptime is 3 hours, 30 minutes

System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, 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 7206VXR (NPE400) processor (revision A) with 491520K/32768K bytes of memory.

Processor board ID 4294967295

R7000 CPU at 150MHz, Implementation 39, Rev 2.1, 256KB L2 Cache

6 slot VXR midplane, Version 2.1

Last reset from power-on

PCI bus mb0_mb1 (Slots 0, 1, 3 and 5) has a capacity of 600 bandwidth points.

Current configuration on bus mb0_mb1 has a total of 200 bandwidth points.

This configuration is within the PCI bus capacity and is supported.

PCI bus mb2 (Slots 2, 4, 6) has a capacity of 600 bandwidth points.

Current configuration on bus mb2 has a total of 0 bandwidth points

This configuration is within the PCI bus capacity and is supported.

Please refer to the following document "Cisco 7200 Series Port Adaptor

Hardware Configuration Guidelines" on Cisco.com http://www.cisco.com

for c7200 bandwidth points oversubscription and usage guidelines.

1 FastEthernet interface

4 Serial interfaces

125K bytes of NVRAM.

4096K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).

8192K bytes of Flash internal SIMM (Sector size 256K).

Configuration register is 0x2102

8.实验完成

原网站

版权声明
本文为[GLAB-Mary]所创,转载请带上原文链接,感谢
https://blog.csdn.net/mengmeng_921/article/details/125654332