The configuration model files matching IP address and MTU management on an interface are ietf-ip.yang and huawei-ip.yang.
VLANIF interfaces and loopback interfaces support the configuration.
VBDIF interfaces of the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the configuration.
Object |
Description |
Value Range |
Remarks |
---|---|---|---|
/ietf-interfaces:interfaces/interface/ietf-ip:ipv4/address/ip |
Configures the IPv4 address of an interface. |
The value is in dotted decimal notation. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv4/address/netmask |
Configures an IPv4 subnet mask. |
The value is in dotted decimal notation. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv4/address/prefix-length |
Configures the IPv4 mask length. |
The value is an integer that ranges from 0 to 32. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv4/address/huawei-ip:ip-address-sub |
Configures a secondary IPv4 address for an interface. |
The value is a string of spaces only with no limited length. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv4/mtu |
Configures the IPv4 MTU of an interface. |
The value is an integer that ranges from 128 to 9216, in bytes. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv6/enabled |
Configures the IPv6 function on an interface. |
The value is of the Boolean type:
The default value is false. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv6/mtu |
Configures the IPv6 MTU of an interface. |
The value is an integer that ranges from 1280 to 9600, in bytes. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv6/dup-addr-detect-transmits |
Configures the number of times neighbor solicitation (NS) packets are sent during duplicate address detection (DAD). |
The value is an integer that ranges from 0 to 600. The default value is 1. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv6/address/ip |
Configures the IPv6 address of an interface. |
The total length of the value is 128 bits. The string is divided into eight groups, each of which consists of four hexadecimal digits. The value is in the format of X:X:X:X:X:X:X:X. |
N/A |
/ietf-interfaces:interfaces/interface/ietf-ip:ipv6/address/prefix-length |
Configures the prefix length of an IPv6 address. |
The value is an integer that ranges from 1 to 128. |
N/A |
/ietf-interfaces:interfaces-state/interface/ipv4/forwarding |
Queries the IPv4 protocol status of an interface. |
The value is of the Boolean type:
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv4/mtu |
Queries the IPv4 MTU of an interface. |
The value is an integer. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv4/address/ip |
Queries the IPv4 address of an interface. |
The value is in dotted decimal notation. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv4/address/subnet/netmask |
Queries the IPv4 subnet mask of an interface. |
The value is in dotted decimal notation. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv4/address/origin |
Queries the IPv4 address type of an interface. |
The value is of the enumerated type:
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv4/neighbor/ip |
Queries the IP address in the ARP entry learned by an interface. |
The value is in dotted decimal notation. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv4/neighbor/link-layer-address |
Queries the MAC address in the ARP entry learned by an interface. |
The value is in the format of H-H-H. Each H is a hexadecimal number of 1 to 4 digits. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv4/neighbor/origin |
Queries the type of the ARP entry learned by an interface. |
The value is of the enumerated type:
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/forwarding |
Queries the IPv6 protocol status of an interface. |
The value is of the Boolean type:
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/mtu |
Queries the IPv6 MTU of an interface. |
The value is an integer. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/ip |
Queries the IPv6 address of an interface. |
The total length of the value is 128 bits. The string is divided into eight groups, each of which consists of four hexadecimal digits. The value is in the format of X:X:X:X:X:X:X:X. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/prefix-length |
Queries the IPv6 address prefix length of an interface. |
The value is an integer. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/origin |
Queries the IPv6 address type of an interface. |
The value is of the enumerated type:
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/status |
Queries the IPv6 address status of an interface. |
The value is of the enumerated type:
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/neighbor/ip |
Queries the address of an IPv6 neighbor. |
The total length of the value is 128 bits. The string is divided into eight groups, each of which consists of four hexadecimal digits. The value is in the format of X:X:X:X:X:X:X:X. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/neighbor/link-layer-address |
Queries the MAC address of an IPv6 neighbor. |
The value is in the format of H-H-H. Each H is a hexadecimal number of 1 to 4 digits. |
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/neighbor/origin |
Queries the IPv6 neighbor entry type. |
The value is of the enumerated type:
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/neighbor/is-router |
Queries whether the NA packet sent by an IPv6 neighbor carries the R flag. |
The value is a character string.
|
This object only supports the get operation. |
/ietf-interfaces:interfaces-state/interface/ipv6/address/neighbor/state |
Queries the status of an IPv6 neighbor entry. |
The value is of the enumerated type:
|
This object only supports the get operation. |