Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    interface loopback


    [ no ] interface loopback interfaceSpecifier

    Release Information

    Command introduced before JunosE Release 7.1.0.


    Defines a loopback interface, which provides a stable address for protocols (for example, BGP, Telnet, or LDP) to use so that they can avoid any impact if a physical interface goes down. The loopback interface sends packets back to the router or access server for local processing. Any packets routed from the loopback interface, but not destined to the loopback interface, are dropped. The no version deletes the loopback interface.

    Note: Do not confuse loopback with the null 0 interface. Traffic routed to null 0 is discarded on the line module.

    You cannot shut down a loopback interface.

    Best Practice: We recommend that you configure a 32-bit subnet mask for the loopback interface. For example, if you configure a loopback interface with the IP address and mask as, the route entry is entered on the line module and if no specific or longer route entry is found, all traffic destined to the subnet is forwarded to the SRP module by the line module. Although the SRP module responds only to traffic destined to the subnet and discards traffic to all other host IP addresses within that subnet (, if the SRP module receives too much traffic from subnets other than, the CPU utilization on the SRP module reaches the saturation level.



    Global Configuration

    Published: 2014-08-20