CCNA实验:查看Cisco路由器的config配置文件

R3#show running
一般情况下使用show run命令

这个文件存储在flash中的system文件夹里
R3#dir system:
Directory of system:/

2  dr-x           0                      <no date>  memory
1  -rw-         516                    <no date>  running-config

11 dr-x 0 <no date> vfiles

No space information available

也可以使用以下命令查看
R3#more system:/running-config

!
version 12.3
service timestamps debug datetime msec


R3#show star
可以查看保存后的配置文件,这个文件也叫启动配置文件

这个文件保存在nvram中
可以通过以下命令查看
R3#dir nvram:
Directory of nvram:/

30 -rw- 516 <no date> startup-config
31 ---- 5 <no date> private-config
1 -rw- 0 <no date> ifIndex-table

32762 bytes total (31167 bytes free)

这个文件是否被调用是基于寄存器的值来确定的,可以通过show ver命令来查看

R3#show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-IS-L), Version 12.3(19), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by cisco Systems, Inc.
Compiled Fri 12-May-06 08:15 by evmiller
Image text-base: 0x0307DE48, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTLDR: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWA
RE (fc1)

R3 uptime is 2 hours, 10 minutes
System returned to ROM by power-on
System image file is "flash:c2500-is-l.123-19.bin"

cisco 2500 (68030) processor (revision N) with 14336K/2048K bytes of memory.
Processor board ID 13567188, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2142 (值为0x2142 时重启时调startup-config到内存中)

CCNA实验:查看Cisco路由器的config配置文件

上一篇:Cisco 交换机 DHCP服务器配置操作指引


下一篇:如何在Ubuntu Server 20.04上安装Graylog系统日志管理器