
2-32 XP900 Console Reference
2.13.2
show
envar
The show envar command displays the current value (or setting)
of an environment variable.
Syntax:
show
envar
envar
The name of the environment variable to be displayed. The
wildcard * displays all environment variables, which are:
console, kbd_hardware_type, language, ocp_text
and os_type.
Example 2–18 Setting and Showing Environment Variables
>>> show console
console graphics
>>> set console serial
>>> show console
console serial
>>> init
# The system must be init’ed for
the new parameters to take effect
Example 2–19 Creating a User-Defined Environment Variable
>>> edit nvram
editing ‘nvram’
0 bytes read in
*10 set mopv3_boot 1
*exit
17 bytes written out to nvram
>>>
In Example 2–19 the nvram script is edited so that an environment variable
called “mop3_boot” is created and set to 1 on each power-up. By default, MOP
boot sends four MOP V4 requests before defaulting to MOP V3. This user-
created environment variable forces the SRM console to bypass MOP V4
requests. This speeds up MOP booting on networks with MOP V3 software.
Содержание AlphaStation XP900
Страница 4: ......