среда, 7 октября 2009 г.

Значения конфигурационных регистров вида 0xXXXX оборудования Cisco

Конфигурационный регистр управляет следующим поведение устройств Cisco:
  • как загружается устройство (в ROMmon, NetBoot),
  • варианты загрузки (игнорирование конфигурации, отключение сообщений при загрузке),
  • скорость консоли (скорость в бодах для эмуляции терминальной сессии).


Для просмотра текущего состояния конфигурационного регистра следует использовать команду show version:

Router#show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.1(5), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Wed 25-Oct-00 05:18 by cmong
Image text-base: 0x03071DB0, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)
Router uptime is 7 minutes
System returned to ROM by reload
System image file is "flash:c2500-js-l_121-5.bin"
cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 03867477, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Token Ring/IEEE 802.5 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 0x2102
Для установки нового значения конфигурационного регистра следует использовать команду config-register:

#conf t
(config)#config-register 0x2102
#exit
#wr mem

Конфигурационные регистры имеют следующие значения:

0x102
• Ignores break
• 9600 console baud
0x1202
• 1200 baud rate
0x2101
• Boots into bootstrap
• Ignores break
• Boots into ROM if initial boot fails
• 9600 console baud rate
0x2102
• Ignores break
• Boots into ROM if initial boot fails
• 9600 console baud rate default value for most platforms
0x2120
• Boots into ROMmon
• 19200 console speed
0x2122
• Ignores break
• Boots into ROM if initial boot fails
• 19200 console baud rate
0x2124
• NetBoot
• Ignores break
• Boots into ROM if initial boot fails
• 19200 console speed
0x2142
• Ignores break
• Boots into ROM if initial boot fails
• 9600 console baud rate
• Ignores the contents of Non-Volatile RAM (NVRAM) (ignores configuration)
0x2902
• Ignores break
• Boots into ROM if initial boot fails
• 4800 console baud rate
0x2922
• Ignores break
• Boots into ROM if initial boot fails
• 38400 console baud rate
0x3122
• Ignores break
• Boots into ROM if initial boot fails
• 57600 console baud rate
0x3902
• Ignores break
• Boots into ROM if initial boot fails
• 2400 console baud rate
0x3922
• Ignores break
• Boots into ROM if initial boot fails
• 115200 console baud rate

Значения отдельных битов конфигурационного регистра:

00-03
0x0000-0x000F
• Boots Field Parameters 0x0000
• Stays at the system bootstrap prompt 0x0001
• Boots system image on EPROM 0x0002-0x000F
• Specifies a default netboot filename
06
0x0040
• Ignore NVRAM contents
07
0x0080
• Disable boot messages
08
0x0100
• Break disabled
10
0x0400
• IP broadcast with all zeros
5,11,12
0x0020, 0x0800, 0x1000
• Console line speed
13
0x2000
• Boots default ROM software if network boot fails
14
0x4000
• IP broadcasts do not have net numbers
15
0x8000
• Enables diagnostic messages
• Ignores NVRAM contents

Источник: http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml


Комментариев нет: