cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3556
Views
5
Helpful
11
Replies

Write Memory Changes .bin file

ccallahan26
Level 1
Level 1

All,

I have a Cisco WS-C4510R+E with WS-X45-SUP8-E using Cisco IOS XE Release 3.10.xE.

Problem: every time i change anything in the config and then write memory it changes my .BIN file.

Example:

Before write memory

73448 -rw- 393246976 Oct 31 2019 14:18:34 -05:00 cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin

After write memory

73448 -rw- 22349 Oct 31 2019 14:18:34 -05:00 cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin

 

The big problem is it will not reboot to the changed .BIN file, I have to boot TFTP

 

Any help would be greatly appreciated.

1 Accepted Solution

Accepted Solutions

remove the statement

boot config bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin

 

I'm not sure whether or not this is the culprit but it doesn't need to be there.

View solution in original post

11 Replies 11

marce1000
Hall of Fame
Hall of Fame

 

 - Check if you have any boot-commands in your config that could affect the BIN filename settings (e.g.). Also check the conf-register settings and check if the  value is as you expect and or needed for production operation.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

this is whats in the config

BOOT variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin,1;
CONFIG_FILE variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin
BOOTLDR variable does not exist
Configuration register is 0xE142

Standby BOOT variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin,1;
Standby CONFIG_FILE variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin
Standby BOOTLDR variable does not exist
Standby Configuration register is 0xE142

here is setup boot parameters and correct conf reg :

 

change according to the document as suggested :

 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-4000-series-switches/24061-149.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

not to make fun of your pain, but after all these years, this is the first time I have seen a config register set to that setting. 

anyhow, the guide balaji points you to should take care of matters

that didn't fix the problem:

 

7445-131B-ITN#sh boo
BOOT variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin,1;
CONFIG_FILE variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin
BOOTLDR variable does not exist
Configuration register is 0x2102

Standby BOOT variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin,1;
Standby CONFIG_FILE variable = bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin
Standby BOOTLDR variable does not exist
Standby Configuration register is 0x2102

 

however

 after wr mem

 

73442 drwx 4096 Sep 28 2017 10:57:48 -05:00 virtual-instance
73444 drwx 4096 Sep 28 2017 10:57:50 -05:00 virtual-instance-stby-sync
73446 drwx 4096 Sep 28 2017 10:58:52 -05:00 onep
81601 drwx 4096 Oct 26 2019 00:02:54 -05:00 pxe
81603 drwx 4096 Sep 19 2019 22:59:10 -05:00 scripts
73448 -rw- 23875 Nov 1 2019 12:57:08 -05:00 cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin
73451 -rw- 1174 Oct 2 2019 23:08:02 -05:00 banner.txt

ccallahan26
Level 1
Level 1
still change anything in the config and then write memory it changes my .BIN file.

to clarify, you are using "wri me" and not "copy run start"? If so, then there has to be something in the config. Can you send a text file of "sho run all"? you can sanitize it, and you can remove the port configs, won't need to see those.

 

also, what version of ROMMON are you running? 

 

I honestly have nothing on this one, I have never seen this behavior with any device I've worked with.

thanks

Yes "wr mem"

RommonVer : 15.1(1r)SG5

 

Current config:

 

version 15.2
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug uptime
service timestamps log datetime
service password-encryption
service compress-config
!
hostname 7
!
boot-start-marker
boot system flash bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin
boot config bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin
boot-end-marker
!
!
vrf definition mgmtVrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
enable secret 5
!
username c secret 5
aaa new-model
!
!
aaa group server radius NPS_RADIUS_SERVERS
server-private 10. auth-port 1812 acct-port 1813 key 7
!
aaa authentication login default group NPS_RADIUS_SERVERS local
aaa authorization console
aaa authorization exec default group NPS_RADIUS_SERVERS local if-authenticated
aaa authorization network default group radius
aaa accounting exec default start-stop group radius
aaa accounting system default start-stop group radius
!
aaa session-id common
clock timezone CST -6 0
clock summer-time CDT recurring
!
no ip source-route
!
ip domain-name D
ip name-server 10.
!
!
ip dhcp snooping vlan 1-3,5,7-10,26,56,69
no ip bootp server
no ip verify header vlan all
login on-failure log
login on-success log
vtp domain d
vtp mode transparent
!
key chain RIP_AUTHENTICATION
key 1
key-string 7
key chain Rpassword
key 11
key-string 7
!
!
power redundancy-mode redundant
archive
log config
logging enable
logging size 200
notify syslog contenttype plaintext
hidekeys
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
no spanning-tree vlan 12
spanning-tree vlan 1-3,10 priority 24576
!
redundancy
mode sso
main-cpu
auto-sync standard
!
!
vlan 2
!
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
description IT ADMIN VLAN
ip address 10. 255.255.255.0
ip broadcast-address 10.
ip helper-address 10.
!
interface Vlan10
description Server Vlan
ip address 10. 255.255.255.0
!
interface Vlan12
description 7445_AP_Control_Subnet
ip address 10. 255.255.255.0
ip broadcast-address 10.
ip helper-address 10.
!
!
interface Vlan56
description IAAFA Server Vlan - Mike 12/13/12
ip address 10. 255.255.255.0
ip broadcast-address 10.
ip helper-address 10.
!
interface Vlan65
description IAAFA Student Wifi Vlan
ip address 10 255.255.254.0
ip broadcast-address 10
ip access-group IAAFA_STU-WIFI in
ip access-group IAAFA_STU-WIFI out
ip helper-address 10.0
!
interface Vlan69
ip address 10 255.255.255.0
ip broadcast-address 10
ip helper-address 10.
!
interface Vlan131
ip address 10. 255.255.255.0
ip broadcast-address 10.
ip helper-address 10.
!
!
router eigrp 10
network 10.0.0.0
passive-interface GigabitEthernet1/1
passive-interface GigabitEthernet1/2
eigrp stub connected summary
!
router rip
version 2
redistribute static metric 1
network 10.
no auto-summary
!
ip default-gateway 1
no ip forward-protocol nd
no ip forward-protocol udp tftp
no ip forward-protocol udp domain
no ip forward-protocol udp time
no ip forward-protocol udp netbios-ns
no ip forward-protocol udp netbios-dgm
no ip forward-protocol udp tacacs
ip tcp synwait-time 10
no ip http server
ip http authentication local
no ip http secure-server
ip tftp source-interface Loopback0
ip route 0.0.0.0 0.0.0.0 1
ip route 1 255.255.255.0 1
ip route 1 255.255.255.0 1
ip ssh time-out 60
ip ssh version 2
!
!
ip sla responder
logging history notifications
no logging trap
logging host 1 transport udp port 1338
access-list 1 permit 1 0.0.0.255
access-list 2 permit 1 0.0.0.255
access-list 3 permit 1 0.0.255.255
access-list 4 permit 1 0.0.0.255
access-list 20 remark ACL used to limit SNMP access
access-list 20 permit 1
access-list 25 permit 1 0.0.0.255
access-list 40 remark admin access to switch
access-list 40 permit 1 0.255.255.255 log
access-list 101 permit tcp 1 0.0.0.255 any eq www
access-list 101 permit ip any host 1
!
!
snmp-server group dligroup v3 priv access 20
snmp-server view r-mibs iso included
snmp-server location B7445 ITN
snmp-server contact
snmp-server host version 3 priv dligroup
!
line con 0
session-timeout 10
logging synchronous
stopbits 1
line vty 0 4
session-timeout 10
access-class 40 in
logging synchronous
line vty 5 15
session-timeout 10
access-class 40 in
!
ntp authenticate
ntp server 10 prefer version 2
!
end

remove the statement

boot config bootflash:cat4500es8-universalk9.SPA.03.10.03.E.152-6.E3.bin

 

I'm not sure whether or not this is the culprit but it doesn't need to be there.

THANK YOU!

 

you're welcome