Command
Function
ethtool -N ethx
Configures the RSS rule.
ethtool -x ethx
Query the indirect table.
ethtool -X ethx
Configures the indirect table.
ethtool -P ethx
Displays the fixed MAC address.
ethtool -l ethx
Queries the number of queues.
ethtool -L ethx
Configures the number of queues.
Some ethtool standard commands are not applicable to an IN200, and their functions are
substituted by hinicadm. For example:
l
ethtool -e: provides the eeprom burning function, which is used in NIC firmware
update. For an IN200, ethtool -e is substituted by the
l
ethtool -d: provides the chip register dump function, which is used to collect chip
location information. For an IN200, ethtool -d is substituted by the
command of hinicadm.
lists the common ifconfig commands supported by the IN200 and their functions.
For details about how to use the commands, see the help information provided on the CLI.
Table 6-3
Common ifconfig commands
Command
Function
ifconfig ethx hw
Configures the NIC address.
ifconfig ethx mtu
Configures the network port MTU.
ifconfig ethx [-]allmulti
Enables or disables the full multicast feature.
ifconfig ethx [-]promisc
Enables or disables the promiscuous mode.
lists the common ip link commands supported by the IN200 and their functions. For
details about how to use the commands, see the help information provided on the CLI.
Table 6-4
Common ip link commands
Command
Function
ip link set dev ethx vf <num> <mac
addr>
Sets the MAC address of the virtual network port.
ip link set devethx vf <num> vlan
<vlan_id> qos <vlan-qos>
Sets the VLAN ID and QoS priority of the virtual
network port.
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
117