Config¶
Leafs
-
class
Interfaces.Interface.Subinterfaces.Subinterface.Ipv4.
Config
¶ Bases:
Entity
Class Hierarchy:
Interfaces
Interface
Subinterfaces
Subinterface
Ipv4
Config
This class represents configuration data.
Top-level IPv4 configuration data for the interface
-
enabled
¶ Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets
type: bool
default value: true
-
mtu
¶ The size, in octets, of the largest IPv4 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface’s type. If this leaf is not configured, the operationally used MTU depends on the interface’s type
type: int
range: 68..65535units: octets
-
dhcp_client
¶ Enables a DHCP client on the interface in order to request an address
type: bool
default value: false
-