Because a loopback interface is always available as long as the device is available, it allows routing protocol sessions to stay up even if the outbound interface is down. Assigning a loopback interface to a VRF is similar to assigning any interface. A loopback interface that is not assigned to a nondefault VRF belongs to the default VRF.
Enter global configuration mode.
device# configure terminal
Enter the
interface loopback command to specify a loopback interface and enter interface loopback configuration mode.