Ethernet Switching
Highlighted
Ethernet Switching

Logical unit number / sub interface

a week ago

Hi,

 

Sorry to sound absolutely green.

Just started on Juniper platform and is not really used to the concept of logical unit number of the physical interface.

 

Been seeing these below output in my switch config

 

em2 up up
em2.32768 up up inet 192.168.1.3/24

vme up up
vme.0 up up inet 192.168.0.203/24


q1) How does one decide to use a logical unit number of 0 ? and a logical unit number of 32768 ? - if the purpose is to just give the interface an IP address.

I also see some logical unit number of 16385, in the loopback interface

 

lo0 up up
lo0.16385 up up inet

 

Regards,

Alan

6 REPLIES 6
Ethernet Switching

Re: Logical unit number / sub interface

a week ago

Hi alankoh,

 

Please use unit 0 in these cases, the em2.32768 and lo0.16385 are system generated and reserved for internal/control and not for user configuration.  Mostly, unit numbers above 16K are all reserved for special purposes.

 

Hope this helps.

 

Regards,
-r.

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution."
Kudos are always appreciated Smiley Happy.

Ethernet Switching

Re: Logical unit number / sub interface

a week ago

A physical interface can consists of multiple logical interfaces, each called a unit. Each unit has a number as a unique identifier. The 0 just refers to the first logical interface.
If you are configuring a point-to-point circuit or non-VLAN-tagged Ethernet, the logical unit number must be zero.
Logical unit 32767  is created to accept untagged (control packets like LACP) packets that come in on an interface.
Logical interface lo0.16385 is the loopback interface for the internal routing instance. Created by the internal routing service process, this interface facilitates internal traffic. It prevents any filter created on loopback lo0.0 from blocking internal traffic.
The logical unit number can be in the range 0 through 65,535 for demux and PPPoE static interfaces only. The logical unit number can be in the range 0 through 16,385 for all other static interface types.

 

 

Thanks,
Nellikka
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
Ethernet Switching

Re: Logical unit number / sub interface

Tuesday

Hi Both,

 

How do we actually know which interfaces/logical units are system-generated and can be ignored ? Is there any documentation for this ?

 

E.g. I got this em2 interface that is up with logical unit 32768 (even higher then 32767)  and it has an IP assigned .

But i cannot find this interface in my configuration.

admin> show interfaces terse

em2 up up
em2.32768 up up inet 192.168.1.3/24

Any idea how/can i remove this ? How do i even disable this interface ?

I am using qfx5100-48s-6q

 

Regards,

Alan

Ethernet Switching

Re: Logical unit number / sub interface

Tuesday

Hi Alan,

 

em2 used exclusevely for communication between two Junos VMs, for example for control-plane protocols - NRS, NSB, GRES.

There is no need to remove or disable this interface.

 

Regards,

Roman

Ethernet Switching

Re: Logical unit number / sub interface

Wednesday

Hi Roman,

 

So it is consider normal to "not" find em2 interface inside the configuration ?

My point is - how do we verify/know if an interface is a "system generated" and can be ignored  ?

 

Regards,

Alan

Ethernet Switching

Re: Logical unit number / sub interface

Wednesday
Please refer the url given below to understand the type of interfaces available on Junos. Also refer the links given in Related Documentation Section for more details:
https://www.juniper.net/documentation/en_US/junos/topics/concept/interfaces-types-of-interfaces-over...

Thanks,
Nellikka
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!