Skip to main content
  1. Router and Switch Articles/
  2. IOS-XR/

IOS XR Config Reset

Table of Contents

IOS XR Config Reset

Running commit replace after configure empties the running-config, resetting the configuration. Before it executes, you’ll be asked Do you wish to proceed? [no]:; enter y to proceed.

Cisco IOS XR Config Reset Procedure
configure
commit replace

IOS XR Config Reset Example

Cisco IOS XR Config Reset Example
RP/0/RP0/CPU0:xr01#show running-config hostname
Sun Aug  2 02:48:34.609 UTC
! IOS XRv 9000 Config generated on 2026-08-02 00:49
! by ank-ng
hostname xr01

RP/0/RP0/CPU0:xr01#configure
Sun Aug  2 02:48:43.740 UTC

!!! After entering config mode, running commit replace replaces the config with an empty one

RP/0/RP0/CPU0:xr01(config)#commit replace
Sun Aug  2 02:48:56.029 UTC

This commit will replace or remove the entire running configuration. This
operation can be service affecting.
Do you wish to proceed? [no]: y
RP/0/RP0/CPU0:Aug  2 02:49:03.930 UTC: ifmgr[237]: %PKT_INFRA-LINK-3-UPDOWN : Interface MgmtEth0/RP0/CPU0/0, changed state to Down
RP/0/RP0/CPU0:Aug  2 02:49:04.970 UTC: ifmgr[237]: %PKT_INFRA-LINK-3-UPDOWN : Interface MgmtEth0/RP0/CPU0/0, changed state to Up

!!!! After a moment the config is reset and the prompt changes to the default "ios"

RP/0/RP0/CPU0:ios(config)#
RP/0/RP0/CPU0:ios(config)#end
RP/0/RP0/CPU0:ios#show running-config
Sun Aug  2 02:50:10.385 UTC
!! Building configuration...
!! IOS XR Configuration 26.1.1
!! Last configuration change at Sun Aug  2 02:49:02 2026 by cisco
!
end

RP/0/RP0/CPU0:ios#

Related Articles

IOS XR Operation Methods