Querying Mac Addresses (Mac) - Huawei IN200 User Manual

Ethernet nic
Table of Contents

Advertisement

Huawei IN200 NIC
User Guide
tag_sml_vlan_tbl_elem[0]_learn_en : 0
tag_sml_vlan_tbl_elem[0]_elb_index : 0
tag_sml_vlan_tbl_elem[1]_learn_en : 0
tag_sml_vlan_tbl_elem[1]_elb_index : 0
tag_sml_vlan_tbl_elem[2]_learn_en : 0
tag_sml_vlan_tbl_elem[2]_elb_index : 0
tag_sml_vlan_tbl_elem[3]_learn_en : 0
tag_sml_vlan_tbl_elem[3]_elb_index : 0
tag_sml_vlan_tbl_elem[4]_learn_en : 0
tag_sml_vlan_tbl_elem[4]_elb_index : 0
tag_sml_vlan_tbl_elem[5]_learn_en : 0
tag_sml_vlan_tbl_elem[5]_elb_index : 0
tag_sml_vlan_tbl_elem[6]_learn_en : 0
tag_sml_vlan_tbl_elem[6]_elb_index : 0
tag_sml_vlan_tbl_elem[7]_learn_en : 0
tag_sml_vlan_tbl_elem[7]_elb_index : 0

6.1.4.7 Querying MAC Addresses (mac)

Function
The mac command is used to query the MAC address of a specified device.
Format
hinicadm mac -i <devicename>
Parameters
Parameter
devicename
Usage Instruction
None
Example
# Query the MAC address of the IN200.
[root@localhost tool]# hinicadm mac -i hinic0
mac[0]: 00:02:03:04:05:06
mac[1]: 00:02:03:04:05:07
mac[2]: 00:02:03:04:05:08
mac[3]: 00:02:03:04:05:09
mac[4]: 00:02:03:04:05:10
mac[5]: 00:02:03:04:05:11
mac[6]: 00:02:03:04:05:12
mac[7]: 00:02:03:04:05:13
mac[8]: 00:02:03:04:05:14
mac[9]: 00:02:03:04:05:15
mac[10]: 00:02:03:04:05:16
mac[11]: 00:02:03:04:05:17
mac[12]: 00:02:03:04:05:18
mac[13]: 00:02:03:04:05:19
Issue 06 (2019-07-27)
Description
Indicates the name of the
IN200 to be queried in the
system.
Copyright © Huawei Technologies Co., Ltd.
6 Management Tools
Value
Example: hinic0 and
hinic1
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents