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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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.

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).
printenv

printenv

Function

The printenv command is used to display all or specified environment variables.

Format

printenv

Parameters

Parameter

Description

Value

name Environment variables.

Enter the value as required.

Modes

serial port mode

Usage Guidelines

None

Example

  • Display all environment variables.

    Hi1710_UBOOT> printenv
    bootargs=console=ttyAMA0,115200
    root=/dev/mtdblock5 mtdparts=physmap-flash.0:512k(u-boot),512k(reserved),512k(u-boot_bak),384k(reserved_bak),128k(env),44m(rootfs0),4m(appfs0),44m(rootfs1),4m(appfs1),30m(datafs) rw rootfstype=jffs2
    bootcmd=run flash_self 
    bootdelay=3
    baudrate=9600
    ethaddr=00:11:22:33:44:AA
    gatewayip=192.168.255.255
    netmask=255.255.255.0
    loadaddr=0x8b000000
    console=ttyAMA0,115200n8N
  • Display specified environment variables.

    Hi1710_UBOOT>printenv ipaddr
    ipaddr=192.168.0.1

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 753976

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next