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

Advanced O&M Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
ifconfig

ifconfig

Function

The ifconfig command is used to show and sets network ports. This command is used to temporarily set the IP addresses of network ports.

Format

ifconfig [ parameter ]

Parameters

Parameter

Description

Value

parameter

If you want to obtain details and usage guide of parameters, run the ifconfig --help command.

-

Modes

Minisystem mode

Usage Guidelines

None

Example

Shows the information of network ports.

Storage: minisystem> ifconfig 
bond0 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:C1 
      inet addr:127.127.127.10 Bcast:127.127.127.255 Mask:255.255.255.0 
      inet6 addr: fe80::727b:e8ff:fec6:9ec1/64 Scope:Link 
      UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 
      RX packets:1414943 errors:0 dropped:0 overruns:0 frame:0 
      TX packets:1463949 errors:0 dropped:0 overruns:0 carrier:0 
      collisions:0 txqueuelen:0 
      RX bytes:303689028 (289.6 Mb) TX bytes:265967994 (253.6 Mb) 
  
eth0 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:C1 
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 
     RX packets:707473 errors:0 dropped:0 overruns:0 frame:0 
     TX packets:731976 errors:0 dropped:0 overruns:0 carrier:0 
     collisions:0 txqueuelen:1000 
     RX bytes:151844614 (144.8 Mb) TX bytes:132984100 (126.8 Mb) 
     Memory:dd800000-dd820000 
  
eth1 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:C1 
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 
     RX packets:707470 errors:0 dropped:0 overruns:0 frame:0 
     TX packets:731973 errors:0 dropped:0 overruns:0 carrier:0 
     collisions:0 txqueuelen:1000 
     RX bytes:151844414 (144.8 Mb) TX bytes:132983894 (126.8 Mb) 
     Memory:dd500000-dd520000 
  
eth2 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:BF 
     inet addr:192.168.201.12 Bcast:192.168.255.255 Mask:255.255.0.0 
     inet6 addr: fec0::10/10 Scope:Site 
     inet6 addr: fe80::727b:e8ff:fec6:9ebf/64 Scope:Link 
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 
     RX packets:52440 errors:0 dropped:0 overruns:0 frame:0 
     TX packets:3751 errors:0 dropped:0 overruns:0 carrier:0 
     collisions:0 txqueuelen:1000 
     RX bytes:6574948 (6.2 Mb) TX bytes:414797 (405.0 Kb) 
     Memory:dd300000-dd320000 
  
eth3 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:BE 
     inet addr:192.168.201.13 Bcast:192.168.255.255 Mask:255.255.0.0 
     inet6 addr: fe80::727b:e8ff:fec6:9ebe/64 Scope:Link 
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 
     RX packets:49643 errors:0 dropped:0 overruns:0 frame:0 
     TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 
     collisions:0 txqueuelen:1000 
     RX bytes:6273598 (5.9 Mb) TX bytes:468 (468.0 b) 
     Memory:dd000000-dd020000 
  
lo   Link encap:Local Loopback 
     inet addr:127.0.0.1 Mask:255.255.0.0 
     inet6 addr: ::1/128 Scope:Host 
     UP LOOPBACK RUNNING MTU:16436 Metric:1 
     RX packets:40969 errors:0 dropped:0 overruns:0 frame:0 
     TX packets:40969 errors:0 dropped:0 overruns:0 carrier:0 
     collisions:0 txqueuelen:0 
     RX bytes:13025246 (12.4 Mb) TX bytes:13025246 (12.4 Mb)

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 485543

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next