Question: what is the difference between ios xe and xr?
Answer: While IOS XE (IOSd) and IOS share a lot of the same code, IOS XR is a completely different code base. Since IOS XE has IOSd running as an application on top of linux, it becomes possible to also run different applications on the hardware, a good example of this is running Wireshark on a switch.