No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Tools 2.0 uREST User Guide 16

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Querying Host Ethernet Information

Querying Host Ethernet Information

Function

Query host Ethernet information.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD getsyseth -PA {Enabled,Disabled} -I ID

Parameters

Parameter

Description

Value

HOST

iBMC IP address or domain name. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address must be included in square brackets, such as [1001::1001].

-

PORT

Port number. The default value is 443. It is an optional parameter.

Enter the port number if the default value 443 is not used.

USERNAME

iBMC user name. It is a mandatory parameter.

-

PASSWORD

Password of the iBMC user. It is a mandatory parameter.

-

{Enabled,Disabled}

Whether host Ethernet information is displayed on different pages. It is an optional parameter. If this parameter is not set, information is displayed on one page by default.

  • Enabled: Host Ethernet information is displayed on different pages. One record is displayed first. Then you can press any key to display the remaining information or press q to exit.
  • Disabled: Host Ethernet information is displayed on one page.

ID

NIC ID. It is an optional parameter.

-

Usage Guidelines

You need to install the iBMA of the corresponding version on the OS to obtain the complete Ethernet port information.

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getsyseth -h 
usage: urest getsyseth [-h] [-PA {Enabled,Disabled}] [-I ID] 

optional arguments: 
  -h, --help            show this help message and exit 
  -PA {Enabled,Disabled} 
                        get system ethernet information paging display 
  -I ID                 get specify system ethernet information

Query host Ethernet information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getsyseth 
Id                  : mainboardNIC1Port1 
MACAddress          : 2C:9D:1E:1F:21:CB 
PermanentMACAddress : None 
LinkStatus          : None 

[IPv4Addresses] 

[IPv6Addresses] 

[VLANs] 
---------------------------------------- 
Id                  : mainboardNIC1Port2 
MACAddress          : 2C:9D:1E:1F:21:CC 
PermanentMACAddress : None 
LinkStatus          : None 

[IPv4Addresses] 

[IPv6Addresses] 

[VLANs] 
----------------------------------------

If you run the getsyseth command, all information will be displayed by default.

System Response

Table 3-29 Output description

Parameter

Description

Id

Network port ID.

MACAddress

Current MAC address of the network port. Note: If iBMA2.0 is not installed, the value is the same as the permanent MAC address by default.

PermanentMACAddress

Permanent MAC address of the network port.

LinkStatus

Network port link status.

IPv4Addresses

IPv4 address.

IPv6Addresses

IPv6 address.

VLANs

Access path of the VLAN resource node.

Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 120798

Downloads: 588

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next