Interfaces in NetBox represent network interfaces used to exchange data with connected devices. On modern networks, these are most commonly Ethernet, but other types are supported as well. IP addresses and VLANs can be assigned to interfaces.
!!! tip
Like most device components, interfaces are instantiated automatically from [interface templates](./interfacetemplate.md) assigned to the selected device type when a device is created.
!!! note
Although both devices and virtual machines both can have interfaces assigned, a separate model is used for each. Thus, device interfaces have some properties that are not present on virtual machine interfaces and vice versa.
The device to which this interface belongs.
The installed module within the assigned device to which this interface belongs (optional).
The name of the interface, as reported by the device's operating system. Must be unique to the parent device.
An alternative physical label identifying the interface.
The type of interface. Interfaces may be physical or virtual in nature, but only physical interfaces may be connected via cables.
!!! note
The interface type refers to the physical termination or port on the device. Interfaces which employ a removable optic or similar transceiver should be defined to represent the type of transceiver in use, irrespective of the physical termination to that transceiver.
The operating speed, in kilobits per second (kbps).
The operation duplex (full, half, or auto).
The virtual routing and forwarding instance to which this interface is assigned.
The MAC address assigned to this interface which is designated as its primary.
!!! note "Changed in NetBox v4.2"
The MAC address of an interface (formerly a concrete database field) is available as a property, `mac_address`, which reflects the value of the primary linked [MAC address](./macaddress.md) object.
The 64-bit world-wide name (for Fibre Channel interfaces).
The interface's configured maximum transmissible unit (MTU).
The interface's configured output power, in dBm (for optical interfaces).
If not selected, this interface will be treated as disabled/inoperative.
Designates the interface as handling management traffic only (e.g. for out-of-band management connections).
If selected, this component will be treated as if a cable has been connected.
Virtual interfaces can be bound to a physical parent interface. This is helpful for modeling virtual interfaces which employ encapsulation on a physical interface, such as an 802.1Q VLAN-tagged subinterface.
!!! note
An interface with one or more child interfaces assigned cannot be deleted until all its child interfaces have been deleted or reassigned.
Interfaces can be bridged to other interfaces on a device in two manners: symmetric or grouped.
Physical interfaces may be arranged into link aggregation groups (LAGs, also known as "trunks") and associated with a parent LAG (virtual) interface. LAG interfaces can be recursively nested to model bonding of trunk groups. Like all virtual interfaces, LAG interfaces cannot be connected physically.
The power over Ethernet (PoE) mode for this interface. (This field must be left empty for interfaces which do not support PoE.) Choices include:
The classification of PoE transmission supported, for PoE-enabled interfaces. This can be one of the listed IEEE 802.3 standards, or a passive setting (24 or 48 volts across two or four pairs).
For switched Ethernet interfaces, this identifies the 802.1Q encapsulation strategy in effect. Options include:
This field must be left blank for routed interfaces which do employ 802.1Q encapsulation.
The "native" (untagged) VLAN for the interface. Valid only when one of the above 802.1Q mode is selected.
The tagged VLANs which are configured to be carried by this interface. Valid only for the "tagged" 802.1Q mode above.
The assigned service VLAN (for Q-in-Q/802.1ad interfaces).
Indicates the configured role for wireless interfaces (access point or station).
The configured channel for wireless interfaces.
!!! tip
Selecting one of the pre-defined wireless channels will automatically populate the channel frequency and width upon saving the interface.
The configured operation frequency of a wireless interface, in MHz. This is typically inferred by the configured channel above, but may be set manually e.g. to identify a licensed channel not available for general use.
The configured channel width of a wireless interface, in MHz. This is typically inferred by the configured channel above, but may be set manually e.g. to identify a licensed channel not available for general use.
The wireless LANs for which this interface carries traffic. (Valid for wireless interfaces only.)
The VLAN translation policy that applies to this interface (optional).