...
config lost: new / updated configuration does not get applied up configuration load and commit replace.
New/updated configuration will not be applied on the box except on pre-configured interfaces in below scenario - LCx is removed from box and LCx interfaces are in pre-configured state - new config file includes configuration on LCy(up) / new global config and also updated LCx interface configurations - this new config file is "loaded" and "commit replace" is done - result is that only LCx interfaces are updated with new config but rest of the new/updated config does not get applied to the box. this is seen on 9k and fretta with 6225 consistently. catch: if the router has been reloaded recently (less than 20hrs) the problem wont be seen. But it will re-surface again after sometime.
Either one of the 3 workarounds will work: 1. remove problem LC and reload whole router (esp. active and standby at same time), or 2. replace problem LC with a working one. 2. remove config related to the down'd LC(s) from the commit/commit-replace. 3. load prod SMU with the fix.
New/updated configuration will not be applied on the box except on pre-configured interfaces in below scenario - LCx is removed from box and LCx interfaces are in pre-configured state - new config file includes configuration on LCy(up) / new global config and also updated LCx interface configurations - this new config file is "loaded" and "commit replace" is done - result is that only LCx interfaces are updated with new config but rest of the new/updated config does not get applied to the box. this is seen on 9k and fretta with 6225 consistently. catch: if the router has been reloaded recently (less than 20hrs) the problem wont be seen. But it will re-surface again after sometime. Example: ============================ RP/0/RP0/CPU0:5516-B#admin Thu Feb 22 18:25:14.317 UTC akurulka connected from 127.0.0.1 using console on 5516-B sysadmin-vm:0_RP0# config Thu Feb 22 18:25:16.515 UTC Entering configuration mode terminal sysadmin-vm:0_RP0(config)# hw-module shutdown location 0/2 sysadmin-vm:0_RP0(config-location-0/2)# commit Thu Feb 22 18:25:36.229 UTC Commit complete. sysadmin-vm:0_RP0(config-location-0/2)# commit Thu Feb 22 18:25:39.860 UTC % No modifications to commit. sysadmin-vm:0_RP0(config-location-0/2)# end Thu Feb 22 18:25:41.280 UTC sysadmin-vm:0_RP0# RP/0/RP0/CPU0:5516-B#sh platform Thu Feb 22 20:41:58.691 UTC Node Type State Config state -------------------------------------------------------------------------------- 0/0/CPU0 NC55-36X100G IOS XR RUN NSHUT 0/0/NPU0 Slice UP 0/0/NPU1 Slice UP 0/0/NPU2 Slice UP 0/0/NPU3 Slice UP 0/0/NPU4 Slice UP 0/0/NPU5 Slice UP 0/2 NC55-36X100G SW_INACTIVE SHUT 0/2/NPU0 Slice DOWN 0/2/NPU1 Slice DOWN 0/2/NPU2 Slice DOWN 0/2/NPU3 Slice DOWN 0/2/NPU4 Slice DOWN 0/2/NPU5 Slice DOWN 0/RP0/CPU0 NC55-RP(Active) IOS XR RUN NSHUT 0/RP1/CPU0 NC55-RP(Standby) IOS XR RUN NSHUT 0/FC0 NC55-5516-FC OPERATIONAL NSHUT 0/FC1 NC55-5516-FC OPERATIONAL NSHUT 0/FC2 NC55-5516-FC OPERATIONAL NSHUT 0/FC3 NC55-5516-FC OPERATIONAL NSHUT 0/FC4 NC55-5516-FC OPERATIONAL NSHUT 0/FC5 NC55-5516-FC OPERATIONAL NSHUT 0/FT0 NC55-5516-FAN OPERATIONAL NSHUT 0/FT1 NC55-5516-FAN OPERATIONAL NSHUT 0/FT2 NC55-5516-FAN OPERATIONAL NSHUT 0/SC0 NC55-SC OPERATIONAL NSHUT 0/SC1 NC55-SC OPERATIONAL NSHUT RP/0/RP0/CPU0:5516-B#sh run interface | i 0/2/0 Thu Feb 22 18:26:05.898 UTC interface TenGigE0/0/0/2/0 interface preconfigure HundredGigE0/2/0/0 interface preconfigure HundredGigE0/2/0/1 interface preconfigure HundredGigE0/2/0/2 interface preconfigure HundredGigE0/2/0/3 interface preconfigure HundredGigE0/2/0/4 interface preconfigure HundredGigE0/2/0/5 interface preconfigure HundredGigE0/2/0/6 interface preconfigure HundredGigE0/2/0/7 interface preconfigure HundredGigE0/2/0/8 interface preconfigure HundredGigE0/2/0/9 interface preconfigure HundredGigE0/2/0/10 interface preconfigure HundredGigE0/2/0/11 interface preconfigure HundredGigE0/2/0/12 interface preconfigure HundredGigE0/2/0/13 interface preconfigure HundredGigE0/2/0/14 interface preconfigure HundredGigE0/2/0/15 interface preconfigure HundredGigE0/2/0/16 interface preconfigure HundredGigE0/2/0/17 interface preconfigure HundredGigE0/2/0/18 interface preconfigure HundredGigE0/2/0/19 interface preconfigure HundredGigE0/2/0/20 interface preconfigure HundredGigE0/2/0/21 interface preconfigure HundredGigE0/2/0/22 interface preconfigure HundredGigE0/2/0/23 interface preconfigure HundredGigE0/2/0/24 interface preconfigure HundredGigE0/2/0/25 interface preconfigure HundredGigE0/2/0/26 interface preconfigure HundredGigE0/2/0/27 interface preconfigure HundredGigE0/2/0/28 interface preconfigure HundredGigE0/2/0/29 interface preconfigure HundredGigE0/2/0/30 interface preconfigure HundredGigE0/2/0/31 interface preconfigure HundredGigE0/2/0/32 interface preconfigure HundredGigE0/2/0/33 interface preconfigure HundredGigE0/2/0/34 interface preconfigure HundredGigE0/2/0/35 RP/0/RP0/CPU0:5516-B#run Thu Feb 22 18:29:40.925 UTC [xr-vm_node0_RP0_CPU0:~]$cd /harddisk: [xr-vm_node0_RP0_CPU0:/harddisk:]$diff rincon1.txt runcon2.txt diff: rincon1.txt: No such file or directory [xr-vm_node0_RP0_CPU0:/harddisk:]$diff runcon1.txt runcon2.txt 3a4,159 > > > telemetry model-driven > destination-group test > ! > destination-group DGroup2 > ! > sensor-group 1minute > sensor-path Cisco-IOS-XR-procmem-oper:processes-memory/nodes > sensor-path Cisco-IOS-XR-wdsysmon-fd-oper:system-monitoring/cpu-utilization > sensor-path Cisco-IOS-XR-telemetry-model-driven-oper:telemetry-model-driven/destinations/destination > > sensor-group 1second > sensor-path Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/interface-briefs/interface-brief > ! > sensor-group 2minutes > sensor-path Cisco-IOS-XR-ipv6-nd-oper:ipv6-node-discovery/nodes/node/neighbor-interfaces/neighbor-interface/host-addresses/host-address > ! > sensor-group 5minutes > sensor-path openconfig-interfaces:interfaces > sensor-path Cisco-IOS-XR-ip-pfilter-oper:pfilter-ma/nodes/node > sensor-path Cisco-IOS-XR-asr9k-np-oper:hardware-module-np/nodes/node > sensor-path Cisco-IOS-XR-fia-internal-tcam-oper:controller/dpa/nodes/node > sensor-path Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper:dpa/stats/nodes/node > sensor-path Cisco-IOS-XR-controller-optics-oper:optics-oper/optics-ports/optics-port > sensor-path Cisco-IOS-XR-controller-optics-oper:optics-oper/optics-ports/optics-port/optics-info > ! > sensor-group 30seconds > sensor-path openconfig-mpls:mpls/lsps > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-tp > sensor-path openconfig-bgp:bgp/neighbors/neighbor > sensor-path openconfig-mpls:mpls/signaling-protocols > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-te/tunnels > sensor-path openconfig-interfaces:interfaces/interface > sensor-path Cisco-IOS-XR-ipv6-nd-oper:ipv6-node-discovery > sensor-path Cisco-IOS-XR-ip-rsvp-oper:rsvp/interface-summaries > sensor-path Cisco-IOS-XR-snmp-agent-oper:snmp/interface-indexes > sensor-path openconfig-bgp:bgp/neighbors/neighbor/afi-safis > sensor-path openconfig-mpls:mpls/lsps/constrained-path/tunnel > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-te/announce-tunnels-info > sensor-path Cisco-IOS-XR-ipv4-arp-oper:arp/nodes/node/entries/entry > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-te/p2p-p2mp-tunnel/tunnel-heads > sensor-path Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/interface-xr/interface > sensor-path Cisco-IOS-XR-ip-rsvp-oper:rsvp/interface-briefs/interface-brief > sensor-path Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/interface-briefs/interface-brief > sensor-path Cisco-IOS-XR-bundlemgr-oper:lacp-bundles/bundles/bundle/members/member > sensor-path Cisco-IOS-XR-qos-ma-oper:qos/interface-table/interface/input/statistics > sensor-path Cisco-IOS-XR-qos-ma-oper:qos/interface-table/interface/output/statistics > sensor-path Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/neighbors/devices/device > sensor-path Cisco-IOS-XR-ip-rsvp-oper:rsvp/counters/interface-messages/interface-message > sensor-path openconfig-mpls:mpls/signaling-protocols/rsvp-te/interface-attributes/interface > sensor-path Cisco-IOS-XR-telemetry-model-driven-oper:telemetry-model-driven/subscriptions/subscription > sensor-path Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface/latest/generic-counters > sensor-path Cisco-IOS-XR-ipv6-ma-oper:ipv6-network/nodes/node/interface-data/vrfs/vrf/briefs/brief > sensor-path Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/neighbors/summaries/summary/interface-name > sensor-path Cisco-IOS-XR-ipv4-io-oper:ipv4-network/nodes/node/interface-data/vrfs/vrf/details/detail > sensor-path Cisco-IOS-XR-qos-ma-oper:qos/interface-table/interface/member-interfaces/member-interface/output > sensor-path Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/neighbors/neighbor > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-lcac/bandwidth-allocation/bandwidth-allocation-links/bandwidth-allocation-link > sensor-path Cisco-IOS-XR-qos-ma-oper:qos/interface-table/interface/member-interfaces/member-interface/output/statistics > sensor-path Cisco-IOS-XR-ipv6-nd-oper:ipv6-node-discovery/nodes/node/neighbor-interfaces/neighbor-interface/host-addresses/host-address > sensor-path Cisco-IOS-XR-qos-ma-oper:qos/nodes/node/policy-map/interface-table/interface/input/service-policy-names/service-policy-instance/statistics > sensor-path Cisco-IOS-XR-qos-ma-oper:qos/nodes/node/policy-map/interface-table/interface/output/service-policy-names/service-policy-instance/statistics > sensor-path Cisco-IOS-XR-qos-ma-oper:qos/nodes/node/policy-map/interface-table/interface/member-interfaces/member-interface/output/service-policy-names/service-policy-instance/statistics > ! > sensor-group 30seconds-bgp > sensor-path openconfig-bgp:bgp/neighbors/neighbor > sensor-path Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/neighbors/neighbor > ! > sensor-group 30seconds-new > sensor-path Cisco-IOS-XR-asr9k-np-oper:hardware-module-np/nodes/node > sensor-path Cisco-IOS-XR-ipv4-arp-oper:arp/nodes/node/entries/entry > sensor-path Cisco-IOS-XR-snmp-agent-oper:snmp/information/system-up-time > sensor-path Cisco-IOS-XR-fretta-bcm-dpa-npu-stats-oper:dpa/stats/nodes/node > sensor-path Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/neighbors/devices/device > sensor-path Cisco-IOS-XR-controller-optics-oper:optics-oper/optics-ports/optics-port/optics-info > sensor-path Cisco-IOS-XR-plat-chas-invmgr-oper:platform-inventory/racks/rack/attributes/basic-info > sensor-path Cisco-IOS-XR-ipv6-ma-oper:ipv6-network/nodes/node/interface-data/vrfs/vrf/briefs/brief > sensor-path Cisco-IOS-XR-ipv4-io-oper:ipv4-network/nodes/node/interface-data/vrfs/vrf/details/detail > sensor-path Cisco-IOS-XR-clns-isis-oper:isis/instances/instance/levels/level/detailed-lsps/detailed-lsp > sensor-path Cisco-IOS-XR-ncs1k-mxp-lldp-oper:lldp-snoop-data/ethernet-controller-names/ethernet-controller-name > ! > sensor-group 30seconds-intf > sensor-path openconfig-interfaces:interfaces > sensor-path Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/interface-briefs/interface-brief > sensor-path Cisco-IOS-XR-bundlemgr-oper:lacp-bundles/bundles/bundle/members/member > ! > sensor-group 30seconds-mpls > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-te/tunnels > sensor-path openconfig-mpls:mpls/lsps/constrained-path/tunnel > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-te/announce-tunnels-info > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-te/p2p-p2mp-tunnel/tunnel-heads > sensor-path openconfig-mpls:mpls/signaling-protocols/rsvp-te/interface-attributes/interface > sensor-path Cisco-IOS-XR-mpls-te-oper:mpls-lcac/bandwidth-allocation/bandwidth-allocation-links/bandwidth-allocation-link 607a764 > ipv4 address 2.2.2.1/30 610a768 > ipv4 address 1.1.1.1/30 737c895,896 < interface preconfigure HundredGigE0/2/0/34 --- > interface HundredGigE0/2/0/34 > ipv4 address 4.4.4.1/30 740c899,900 < interface preconfigure HundredGigE0/2/0/35 --- > interface HundredGigE0/2/0/35 > ipv4 address 3.3.3.1/30 [xr-vm_node0_RP0_CPU0:/harddisk:]$ [xr-vm_node0_RP0_CPU0:/harddisk:]$ [xr-vm_node0_RP0_CPU0:/harddisk:]$ [xr-vm_node0_RP0_CPU0:/harddisk:]$ [xr-vm_node0_RP0_CPU0:/harddisk:]$exit logout RP/0/RP0/CPU0:5516-B#configure Thu Feb 22 18:30:18.928 UTC RP/0/RP0/CPU0:5516-B(config)#load harddisk:runcon2.txt RP/0/RP0/CPU0:5516-B(config)#commit replace Thu Feb 22 18:30:34.400 UTC This commit will replace or remove the entire running configuration. This operation can be service affecting. Do you wish to proceed? [no]: yes RP/0/RP0/CPU0:5516-B(config)#exit RP/0/RP0/CPU0:5516-B#sh configuration commit changes last 1 diff Thu Feb 22 18:31:17.436 UTC Building configuration... !! IOS XR Configuration version = 6.2.25 # interface HundredGigE0/2/0/34 + ipv4 address 4.4.4.1/30 # shutdown # ! # interface HundredGigE0/2/0/35 + ipv4 address 3.3.3.1/30 # shutdown # ! end RP/0/RP0/CPU0:5516-B#sh run int preconfigure hundredGigE 0/2/0/34 Thu Feb 22 18:31:53.258 UTC interface preconfigure HundredGigE0/2/0/34 ipv4 address 4.4.4.1/30 shutdown ! RP/0/RP0/CPU0:5516-B#sh run int preconfigure hundredGigE 0/2/0/35 Thu Feb 22 18:31:55.843 UTC interface preconfigure HundredGigE0/2/0/35 ipv4 address 3.3.3.1/30 shutdown ! RP/0/RP0/CPU0:5516-B# RP/0/RP0/CPU0:5516-B#sh run int hundredGigE 0/0/0/34 Thu Feb 22 18:32:58.614 UTC interface HundredGigE0/0/0/34 shutdown ! RP/0/RP0/CPU0:5516-B#sh run int hundredGigE 0/0/0/35 Thu Feb 22 18:33:00.380 UTC interface HundredGigE0/0/0/35 shutdown ! RP/0/RP0/CPU0:5516-B#sh run telemetry model-driven Thu Feb 22 18:33:04.106 UTC % No such configuration item(s)