< Home

Data Model

The configuration model files matching ARP are huawei-arp.yang and huawei-forward-traffic-security.yang.

Table 1 ARP configuration

Object

Description

Value

Remarks

/huawei-arp:system-config/arp-snooping-enable

Indicates whether to enable ARP snooping globally.

The value is of the Boolean type:

  • true: enabled.
  • false: disabled.

By default, ARP snooping is disabled globally.

N/A

/ietf-interfaces:interfaces/interface/huawei-arp:arp-snooping-enable

Indicates whether to enable ARP snooping on an interface.

The value is of the Boolean type:

  • true: enabled.
  • false: disabled.

By default, ARP snooping is disabled on an interface.

N/A

/huawei-vlan:vlans/vlan/huawei-arp:arp-snooping-enable

Indicates whether to enable ARP snooping in a VLAN.

The value is of the Boolean type:

  • true: enabled.
  • false: disabled.

By default, ARP snooping is disabled in a VLAN.

N/A

/huawei-traffic:arp-anti-attack/gateway-duplicate-enable

Indicates whether to enable ARP gateway anti-collision.

The value is of the Boolean type:

  • true: enabled.
  • false: disabled.

By default, ARP gateway anti-collision is disabled.

N/A

/ietf-interfaces:interfaces/interface/huawei-traffic:arp-trust/source-config

Indicates whether to enable ARP gateway protection for a specified IP address.

The value is in dotted decimal notation.

N/A

/huawei-arp:arp-entry-get/get-num

Indicates the maximum number of ARP entries queried at one time.

The value is an integer. A maximum of 1024 ARP entries can be queried at a time. Even when the maximum value is set to larger than 1024, a maximum of 1024 entries can be queried at a time.

N/A

/huawei-arp:arp-entry-get/destination-address/ip-address

Indicates the IPv4 address of ARP entries to be queried.

The value is in dotted decimal notation.

N/A

/huawei-arp:arp-entry-get/destination-address/vpn-instance

Indicates the VPN instance name of ARP entries to be queried.

The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks ("), the string can contain spaces.

N/A

/huawei-arp:arp-entry-get/destination-address/interface

Indicates the interface name of ARP entries to be queried.

The value is a string of 1 to 64 characters. It consists of the interface type and interface number.

N/A

/huawei-arp:arp-entry-get/destination-address/search-type

Indicates the ARP entry query criteria.

The value is of the enumerated type:
  • interface: ARP entries are queried based on the interface name.
  • vpn: ARP entries are queried based on the VPN instance name.
  • ip-address: ARP entries are queried based on the IPv4 address.
  • all: All ARP entries are queried.

N/A

/huawei-arp:arp-entry-get/last-arp-details/last-ip-address

Indicates the start IPv4 address of ARP entries with a specified range to be queried.

The value is in dotted decimal notation.

N/A

/huawei-arp:arp-entry-get/last-arp-details/last-vpn-instance

Indicates the start VPN instance name of ARP entries with a specified range to be queried.

The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks ("), the string can contain spaces.

N/A

/huawei-arp:arp-entry-get/last-arp-details/last-interface

Indicates the start outbound interface name of ARP entries with a specified range to be queried.

The value is a string of 1 to 64 characters. It consists of the interface type and interface number.

N/A

/huawei-arp:arp-entry-get/last-arp-details/last-l3-interface

Indicates the start Layer 3 interface name of ARP entries with a specified range to be queried.

The value is a string of 1 to 64 characters. It consists of the interface type and interface number.

N/A

/huawei-arp:arp-entry-get/last-arp-details/last-search-type

Indicates the query criteria for ARP entries with a specified range.

The value is of the enumerated type:
  • interface: ARP entries are queried based on the interface name.
  • vpn: ARP entries are queried based on the VPN instance name.
  • ip-address: ARP entries are queried based on the IPv4 address.
  • all: All ARP entries are queried.

N/A

/huawei-arp:arp-entry-get/last-arp-details/last-entry-type

Indicates the type of ARP entries with a specified range to be queried.

The value is of the enumerated type:
  • static: Static ARP entries are queried.
  • interface: Interface ARP entries are queried.
  • dynamic: Dynamic ARP entries are queried.

N/A

Table 2 ARP entry information returned to or reported by a switch

Object

Description

/huawei-arp:arp-entry-get/arp-entry-details/ip-address

Indicates the IPv4 address in an ARP entry.

/huawei-arp:arp-entry-get/arp-entry-details/vpn-instance

Indicates the VPN instance name in an ARP entry.

/huawei-arp:arp-entry-get/arp-entry-details/mac-address

Indicates the MAC address in an ARP entry.

/huawei-arp:arp-entry-get/arp-entry-details/peVid

Indicates the outer VLAN ID in an ARP entry.

/huawei-arp:arp-entry-get/arp-entry-details/ceVid

Indicates the inner VLAN ID in an ARP entry.

/huawei-arp:arp-entry-get/arp-entry-details/forwarding-interface

Indicates the outbound interface name in an ARP entry.

/huawei-arp:arp-entry-get/arp-entry-details/forwarding-l3-interface

Indicates the Layer 3 interface name in an ARP entry.

/huawei-arp:arp-entry-get/arp-entry-details/expireTime

Indicates the aging time of an ARP entry. The value is an integer, in seconds.

/huawei-arp:arp-entry-get/arp-entry-details/entry-type

Indicates the type of an ARP entry.
  • static: The entry is a static ARP entry.
  • dynamic: The entry is a dynamic ARP entry.
    NOTE:

    Switches can return or report only static and dynamic ARP entries.

/huawei-arp:arp-entry-get/summary

Total number of ARP entries that meet the filtering condition.

/huawei-arp:arp-entry-get/has-more

Indicates the query status.
  • true: ARP entries can still be queried.
  • false: Query ends.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >