The data model file matching DHCP snooping is huawei-savi.yang.
Object |
Description |
Value Range |
Remarks |
---|---|---|---|
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp/enable |
Indicates whether the DHCP function is enabled. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping-global-enable/ipv4-enable |
Indicates whether DHCP snooping is enabled globally. The device processes only DHCPv4 messages. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping-global-enable/ipv6-enable |
Indicates whether DHCP snooping is enabled globally. The device processes only DHCPv6 messages. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping-global-enable/arp-detect-enable |
Indicates whether association between ARP and DHCP snooping is enabled. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping-global-enable/server-detect-enable |
Indicates whether DHCP server detection is enabled. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/global-config/alarm-threshold |
Indicates the alarm threshold for the number of discarded DHCP snooping messages. |
The value is an integer in the range from 1 to 1000. |
N/A |
/huawei-savi/savi/dhcp-snooping/global-config/max-user-number |
Indicates the maximum number of DHCP snooping binding entries to be learned on an interface. The configured value is the total number of DHCP snooping binding entries to be learned on all interfaces on the device. |
The value is an integer that varies depending on product models. |
N/A |
/huawei-savi:savi/dhcp-snooping/snooping-global-enable/packet-flow-log-enable |
Indicates whether the function of recording logs when DHCP messages are exchanged is enabled. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/interface-name |
Indicates the interface name. |
The interface type and number must exist. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/bridge-domain/snooping-enable |
Indicates whether DHCP snooping is enabled on BD. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/bridge-domain/snooping-trust-enable |
Indicates whether an interface is a trusted BD. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/snooping-enable |
Indicates whether DHCP snooping is enabled on an interface. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/snooping-trust-enable |
Indicates whether an interface is a trusted interface. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/disable |
Indicates whether DHCP snooping is disabled on an interface. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/check-dhcp-request |
Indicates whether the device is enabled to check DHCP messages against the DHCP snooping binding table. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/alarms/alarm/type |
Indicates the DHCP snooping alarm type in the interface. |
The value is dhcp-request, dhcp-chaddr, dhcp-reply, or dhcpv6-request. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/alarms/alarm/enable |
Indicates whether the DHCP snooping alarm function is enabled in the interface. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/alarms/alarm/threshold |
Indicates the alarm threshold in the interface. |
The value is an integer in the range from 1 to 1000. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/max-user-number |
Indicates the maximum number of DHCP snooping binding entries to be learned on an interface. The value is the smallest of the values configured in the system view, VLAN view, and interface view. |
The value is an integer that varies depending on product models. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/interface/check-dhcp-chaddr |
Indicates whether the function of checking whether the source MAC address in a DHCP Request packet header is the same as the CHADDR field is enabled. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan/start-vlan-id |
Indicates the start VLAN ID. |
The value must be the ID of an existing VLAN. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan/end-vlan-id |
Indicates the end VLAN ID. |
The value must be the ID of an existing VLAN. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan/snooping-enable |
Indicates whether DHCP snooping is enabled. |
The value is of the Boolean type:
The default value is false. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan/check-dhcp-request |
Indicates whether the device is enabled to check DHCP messages against the DHCP snooping binding table. In the VLAN view, the device checks all the DHCP messages in the specified VLAN received by all the interfaces on the device. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan/max-user-number |
Indicates the maximum number of DHCP snooping binding entries to be learned on an interface. The configured value is the largest of the values on all the interfaces added to the specified VLAN. |
The value is an integer that varies depending on product models. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan/check-dhcp-chaddr |
Indicates whether the function of checking whether the source MAC address in a DHCP Request packet header is the same as the CHADDR field is enabled. This function takes effect for the DHCP messages in the specified VLAN received by all the interfaces on the device in the vlan. |
The value is of the Boolean type:
The default value is false. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan-and-interface/vlan-id |
Indicates the VLAN ID. |
The VLAN ID must exist. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan-and-interface/interface-name |
Indicates the interface name. |
The value must be the type and number of an interface added into the VLAN. |
N/A |
/huawei-savi/savi/dhcp-snooping/snooping/vlan-and-interface/snooping-trust-enable |
Indicates whether an interface is a trusted interface. |
The value is of the Boolean type:
|
N/A |
/huawei-savi/savi/savi-config/enable |
Indicates whether the SAVI function is enabled. |
The value is of the Boolean type:
|
N/A |