Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Virtual loopback interface

Want to summarize with AI?

Log in

This topic describes the virtual loopback interface, its always-up single-endpoint behavior, and its typical uses as a routing-protocol session endpoint and a target for ping verification on the Cisco 8000 Series Router.


The virtual loopback interface is a virtual interface that

  • remains active at all times

  • emulates a physical interface, and

  • processes transmitted packets locally.

Virtual loopback interfaces perform these functions in Cisco IOS XR Software:

  • Loopback interfaces can act as a termination address for routing protocol sessions. This allows routing protocol sessions to stay up even if the outbound interface is down.

  • You can ping the loopback interface to verify that the router IP stack is working properly.

  • In applications where other routers or access servers attempt to reach a virtual loopback interface, you must configure a routing protocol to distribute the subnet assigned to the loopback address.

  • Packets routed to the loopback interface are rerouted back to the router or access server, and processed locally. IP packets routed out to the loopback interface but not destined to the loopback interface are dropped. Under these two conditions, the loopback interface can behave like a null interface.