Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Loop back

what ip address i can use for Loop back intf.? Up to how many Loop back i can use? Should the ip address follows the same subnet as with my physical interfaces? thanks!

3 REPLIES
New Member

Re: Loop back

Hi, the loopback address is logical interface within to your switch or router, with that said the good thing it can have any valid IP address assigned to it. not to be confused with the loopback address 127.0.0.1, the loopback interface can be included in routing protocols and function like any interface, once you configure your loopback interface it will be up and up and yes you can configure multible lookback interfaces.

HTH

http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.4/interfaces/configuration/guide/hc34loop.html#wp1350891

Configuring a Loopback Interface: Example

The following example indicates how to configure a loopback interface:

RP/0/RP0/CPU0:router# configure

RP/0/RP0/CPU0:router(config)# interface Loopback 3

RP/0/RP0/CPU0:router(config-if)# ipv4 address 172.18.189.38/32

RP/0/RP0/CPU0:router(config-if)# end

Uncommitted changes found, commit them? [yes]: yes

RP/0/RP0/CPU0:router# show interfaces Loopback 3

Re: Loop back

The loopback interface 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.

pls refer this link:

http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.0/interfaces/configuration/guide/hc3loop_ps5845_Sitewide_Hidden_Full_Length_Book.html#wp1338130

hope that clarifies.

pls rate all helpful posts.

Hall of Fame Super Gold

Re: Loop back

Oliver

Other responses have addressed the usefulness of the loopback interface and addressing on the loopback interface but not the aspect of now many loopback interfaces you can have. The number of loopback interfaces is limited by the number of IDBs on your router. Each interface, including loopbacks, requires an Interface Descriptor Block. The number of IDBs varies by platform and by version of code. You can find how many IDBs your router supports in the output of the command show idb.

HTH

Rick

121
Views
0
Helpful
3
Replies
CreatePlease to create content