The configuration model file matching MAC address table query is huawei-mac.yang.
Object |
Description |
Value Range |
Remarks |
---|---|---|---|
/huawei-mac: mac-address-table-get/get-num |
Indicates the maximum number of MAC address entries queried at one time. |
The value is an integer. A maximum of 1024 MAC address entries can be queried at a time. Even when the value is larger than 1024, a maximum of 1024 entries can be queried. |
N/A |
/huawei-mac: mac-address-table-get / destination-address/mac-address |
Indicates the MAC address. |
The value is in HH:HH:HH:HH:HH:HH format. An H is a hexadecimal number of 1 digit. The MAC address cannot be FF:FF:FF:FF:FF:FF, 00:00:00:00:00:00, or a multicast MAC address. |
N/A |
/huawei-mac: mac-address-table-get / destination-address/id-type |
Indicates the MAC address type. |
The value is of the enumerated type:
|
N/A |
/huawei-mac: mac-address-table-get / destination-address/id |
Indicates the VLAN ID, BD ID, or VSI name of the MAC address. |
|
N/A |
/huawei-mac: mac-address-table-get / destination-address/interface |
Indicates the interface name. |
The value is a string of 1 to 64 characters. It consists of the interface type and interface number. |
N/A |
/huawei-mac: mac-address-table-get / destination-address/search-type |
Indicates the MAC address search criteria. |
The value is of the enumerated type:
|
N/A |
/huawei-mac: mac-address-table-get / last-mac-address-details/last-mac-address |
Indicates that MAC addresses with a specified range are queried. |
The value is in HH:HH:HH:HH:HH:HH format. An H is a hexadecimal number of 1 digit. The MAC address cannot be FF:FF:FF:FF:FF:FF, 00:00:00:00:00:00, or a multicast MAC address. |
N/A |
/huawei-mac: mac-address-table-get / last-mac-address-details/last-id-type |
Indicates the type of MAC addresses with a specified range to be queried. |
The value is of the enumerated type:
|
N/A |
/huawei-mac: mac-address-table-get / last-mac-address-details/last-id |
Indicates the VLAN ID, BD ID, or VSI name of MAC addresses with a specified range to be queried. |
|
N/A |
/huawei-mac: mac-address-table-get / last-mac-address-details/interface |
Indicates the name of an interface where detailed MAC address entry information is queried. |
The value is a string of 1 to 64 characters. It consists of the interface type and interface number. |
N/A |
/huawei-mac: mac-address-table-get / last-mac-address-details/search-type |
Indicates the search criteria for querying MAC address entry information. |
The value is of the enumerated type:
|
N/A |
/huawei-mac: mac-address-table-get/ mac-address-details/mac-address |
Indicates the MAC address of which MAC address entry information is queried. |
The value is in HH:HH:HH:HH:HH:HH format. An H is a hexadecimal number of 1 digit. The MAC address cannot be FF:FF:FF:FF:FF:FF, 00:00:00:00:00:00, or a multicast MAC address. |
N/A |
/huawei-mac: mac-address-table-get/ mac-address-details/id-type |
Indicates the type of the MAC address of which MAC address entry information is queried. |
The value is of the enumerated type:
|
N/A |
/huawei-mac: mac-address-table-get/ mac-address-details/id |
Indicates the VLAN ID, BD ID, or VSI name of the MAC address of which MAC address entry information is queried. |
|
N/A |
/huawei-mac: mac-address-table-get/ mac-address-details/mac-type |
Indicates the type of MAC address entries. |
The value is of the enumerated type:
|
N/A |
/huawei-mac: mac-address-table-get/ mac-address-details/forwarding-interface |
Indicates the queried interface information. |
The value is a string of 1 to 64 characters. It consists of the interface type and interface number. |
N/A |
/huawei-mac: mac-address-table-get/has-more |
Query status. |
The value is of the Boolean type:
|
N/A |
/huawei-mac:mac-address-table-get/total-num |
Displays the number of MAC address entries of a specified type. |
The value is an integer. |
N/A |
/huawei-mac:mac-address-table/static-mac/mac-address |
Indicates the MAC address in a static MAC address entry. |
The value is in HH:HH:HH:HH:HH:HH format. An H is a hexadecimal number of 1 digit. The MAC address cannot be FF:FF:FF:FF:FF:FF, 00:00:00:00:00:00, or a multicast MAC address. |
N/A |
/huawei-mac:mac-address-table/static-mac/id-type |
Indicates the type of a static MAC address. |
The value is of the enumerated type:
|
Currently, only static MAC addresses of the VLAN type are supported. |
/huawei-mac:mac-address-table/static-mac/id |
Indicates the ID of the VLAN that the outbound interface belongs to. |
The value is an integer in the range from 1 to 4096. |
N/A |
/huawei-mac:mac-address-table/static-mac/interface |
Indicates that the outbound interface in the static MAC address entry is a specified interface. |
The value is a string of 1 to 64 characters. It consists of the interface type and interface number. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-mac:mac-security/mac-limit/maxinum |
Indicates the maximum number of MAC addresses that can be learned. |
The value is an integer in the range from 0 to 4096. The value 0 indicates that the maximum number of MAC addresses that can be learned is not limited. |
This object is mandatory. |
/ietf-interfaces:interfaces/interface/huawei-mac:mac-security/mac-limit/action |
Indicates the action performed when the number of learned MAC address entries reaches the limit. |
The value is of the Boolean type:
The default action is discard. |
Before configuring this object, you must configure maxinum. |
/ietf-interfaces:interfaces/interface/huawei-mac:mac-security/mac-limit/alarm-enable |
Indicates whether the system generates an alarm when the number of learned MAC address entries reaches the limit. |
The value is of the Boolean type:
By default, an alarm is generated when the number of MAC address entries reaches the maximum. |
Before configuring this object, you must configure maxinum. |