6.1.4.19 Querying Basic Information of a Specified Port (hilink_port)
Function
The
hilink_port
command is used to query basic information of a specified port.
Format
hinicadm hilink_port -i
<
devicename
>
-p
<
portid
>
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be queried in the
system.
Example:
hinic0
or
hinic1
portid
Indicates the number of a port
to be queried.
-
Usage Instruction
None
Example
# Queries basic information of port 0.
[root@localhost tool]#
hinicadm hilink_port -i hinic0 -p 0
gpio_insert = present
link_state = no link
an_state = on
alos = 1
rx_los = 0
speed = 25
fec = rsfec
rf_lf = 0x0
pma_fifo_reg = 0x00000029
pma_signal_ok_reg = 0x00000001
pcs_64_66b_reg = 0x00001001
pcs_err_cnt = 0x00000000
pcs_link = no link
vendorName = Amphenol
port_type = copper
port_sub_type = unknow
cable_length = 3(m)
cable_temperature = 0
max_speed = 25Gbps
sfp_type = sfp
tx_power = 0uW
rx_power = 0uW
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
79