clear config with reloading possible?

Is it just me or does "configure replace nvram:startup-config" work for anyone? Anytime I try to use that instead of delete flash:vlan.dat, wr erase and reload I get the error below. 

 

R3#

R3#

R3#configure replace nvram:startup-config

This will apply all necessary additions and deletions

to replace the current running configuration with the

contents of the specified configuration file, which is

assumed to be a complete configuration, not a partial

configuration. Enter Y if you are sure you want to proceed. ? [no]: y

 

 

 

 

 

 

Rollback:Acquired Configuration lock.

% Multiple self signed certificates in config

    certificate for trust point TP-self-signed-1262270460 ignored

 

% Multiple self signed certificates in config

    certificate for trust point TP-self-signed-1262270460 ignored

 

 

 

% Multiple self signed certificates in config

    certificate for trust point TP-self-signed-1262270460 ignored

 

 

 

The rollback configlet from the last pass is listed below:

********

!List of Rollback Commands:

crypto pki certificate chain TP-self-signed-1262270460

 certificate self-signed 01

  no quit

  no 9FF51D0E 182DAE7D 7CB735D9 A55E0A

  no 574C5502 A939E7CF 663B5384 5E8CCEF8 E9D72963 6EA8751F 16174C1F 6D6FFCCC

  no 832BBBAA 1C0A383E 3FE2FB86 97C9C7E6 DA3A954C B6071C85 57BEFE93 19870850

  no 77431652 C363ABD3 565E7D2A A442EDC1 C2979F4F EF984B17 01961A1C B69BE58C

  no 2A864886 F70D0101 04050003 81810061 F4BCF3AE 478E85D6 F570E9B7 98FA7A48

  no 03551D0E 04160414 378DC1EC 36976DF0 C1208C28 97A692DD 6F380920 300D0609

  no 551D2304 18301680 14378DC1 EC36976D F0C1208C 2897A692 DD6F3809 20301D06

  no 60970203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603

  no DF813E77 1989645F 935F3749 1BB78920 FEB71334 3FA6A663 BFA77A7D CA197543

  no A5C96A68 FC5A2585 9DC83C32 A153750F 9E2D5B0D 7C395054 581022C9 02FFEECB

  no 4A139655 8C4C12B5 D69A099A 933FD778 D29D4761 D1F128C8

% Multiple self signed certificates in config

    certificate for trust point TP-self-signed-1262270460 ignored

 

% Multiple self signed certificates in config

    certificate for trust point TP-self-signed-1262270460 ignored

D12EA0C6 8118CD37

  no 8100B149 6468120D 27101BAA 610468EA 94881F07 ECAF8AFE 039FBEC6 10215F7F

  no 37303436 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281

  no 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32363232

  no 33355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649

  no 69666963 6174652D 31323632 32373034 3630301E 170D3134 30323238 30313237

  no 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274

  no 3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 04050030

no crypto pki certificate chain TP-self-signed-1262270460

crypto pki certificate chain TP-self-signed-1262270460

 certificate self-signed 01 nvram:IOS-Self-Sig#2.cer

end

********

 

 

Rollback aborted after 5 passes

The following commands are failed to apply to the IOS image.

********

no quit

no 9FF51D0E 182DAE7D 7CB735D9 A55E0A

no 574C5502 A939E7CF 663B5384 5E8CCEF8 E9D72963 6EA8751F 16174C1F 6D6FFCCC

no 832BBBAA 1C0A383E 3FE2FB86 97C9C7E6 DA3A954C B6071C85 57BEFE93 19870850

no 77431652 C363ABD3 565E7D2A A442EDC1 C2979F4F EF984B17 01961A1C B69BE58C

no 2A864886 F70D0101 04050003 81810061 F4BCF3AE 478E85D6 F570E9B7 98FA7A48

no 03551D0E 04160414 378DC1EC 36976DF0 C1208C28 97A692DD 6F380920 300D0609

no 551D2304 18301680 14378DC1 EC36976D F0C1208C 2897A692 DD6F3809 20301D06

no 60970203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603

no DF813E77 1989645F 935F3749 1BB78920 FEB71334 3FA6A663 BFA77A7D CA197543

no A5C96A68 FC5A2585 9DC83C32 A153750F 9E2D5B0D 7C395054 581022C9 02FFEECB

no 4A139655 8C4C12B5 D69A099A 933FD778 D29D4761 D1F128C8 D12EA0C6 8118CD37

no 8100B149 6468120D 27101BAA 610468EA 94881F07 ECAF8AFE 039FBEC6 10215F7F

no 37303436 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281

no 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32363232

no 33355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649

no 69666963 6174652D 31323632 32373034 3630301E 170D3134 30323238 30313237

no 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274

no 3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 04050030

********

 

 

R3#

R3#

Comments

  • Hi,

        Command "configure replace" works in most cases, but indeed not in all, one example being when you have the router as a CA server configured; still, most of the times, commands are actually removed, even if you get some error messages. 

        So bottom line, in my opinion Cisco could have done this command to WORK, but it seems it was not implemented properly.

    Regards,

    Cristian.

     

Sign In or Register to comment.