Вы находитесь на странице: 1из 5

XSCF Command Cheat Sheet -----------------------adduser Creates an XSCF user account. Deletes an XSCF user account.

Disables an XSCF user account Enables an XSCF user account. Displays XSCF user account information Changes an XSCF user account password. Configures the XSCF password policy. Displays the XSCF password policy.

deleteuser disableuser enableuser showuser password

setpasswordpolicy showpasswordpolicy setprivileges setloginlockout showloginlockout setnetwork shownetwork setroute showroute sethostname showhostname setnameserver shownameserver applynetwork setdscp showdscp nslookup ping

Assigns user privileges. Configures the lockout of user accounts. Displays the lockout setting of user accounts.

Configures the XSCF network. Displays the XSCF network settings and XSCF-LAN network status.

Configures the XSCF-LAN route. Displays XSCF-LAN route settings. Specifies the XSCF-LAN host name and domain name. Displays the XSCF-LAN host name and domain name. Sets a name server (DNS) with XSCF. Displays the XSCF name server(s). Applies the network settings.

Configures DSCP. Displays the DSCP settings. Checks for the name resolution of a host name.

Checks the response for a host. Displays the network path to the host by list. Specifies the time zone. Displays the time zone setting.

traceroute settimezone showtimezone setdate

Sets the XSCF time.

showdate setntp showntp

Displays the XSCF time. Configures the NTP server. Displays the SSH settings and fingerprint. Resets the time subtraction between the XSCF and the domain. Displays the time subtraction between the XSCF and the domain.

resetdateoffset showdateoffset setssh showssh settelnet showtelnet

Configures SSH, Generates RSA and DSA keys for SSH2 host authentication. Displays the SSH settings. Configures telnet. Displays the telnet settings. Sets the session timeout time of the XSCF Shell. Displays the session timeout time of the XSCF Shell.

setautologout showautologout setsmtp showsmtp

Configures the SMTP server. Displays the the SMTP server settings. Configures mail notification. Displays the mail notification settings.

setemailreport showemailreport setlookup showlookup setldap showldap sethttps showhttps

Enables or disables the use of an LDAP server. Displays information about whether an LDAP server is used. Configures LDAP client settings. Displays LDAP client settings. Configures the https settings. Displays the https settings. Configures the log archiving function of XSCF. Displays the settings of the log archiving function of XSCF.

setupplatform showarchiving setaudit showaudit viewaudit setsnmp showsnmp setsnmpusm showsnmpusm

Configures the auditing of XSCF. Displays the settings of the audit of XSCF. Displays the audit records (Audit trail) of XSCF. Configures the SNMP Agent. Displays the SNMP Agent settings. Configures the USM management information for the SNMP agent. Displays the USM management information for the SNMP agent.

setsnmpvacm showsnmpvacm

Configures the VACM management information for the SNMP agent. Displays the VACM management information for the SNMP agent.

setsunmc Start or stop the Sun Management Center agent and make changes to its c onfiguration. showsunmc setdcl showdcl Show setup information and status of Sun Management Center agent.

Specifies the domain configuration information (DCL). Displays the domain configuration information.

showboards Displays the component information and the COD information about a sy stem board. showdevices Displays the domain information specified for a system board. Displays the domain status.

showdomainstatus

setupfru Specifies the number of XSB partitions of the system board and sets the memory mirror mode. showfru Displays the specified number of XSB partitions of the system board and the memory mirror mode that is set. Example: Displays the settings of all PSBs. XSCF> showfru -a sb Device Location XSB Mode Memory Mirror Mode sb 00 Quad no testsb addboard Diagnoses the system board. Adds a system board to a domain. Deletes a system board from a domain. Moves a system board to another domain. Replaces a CPU/Memory Board unit, I/O unit, fan unit, PSU, or XSCFi.

deleteboard moveboard replacefru addfru

Installs a CPU/Memory Board unit, I/O unit, fan unit, or PSU. Removes a CPU/Memory Board unit or I/O unit.

deletefru

setdomainmode Sets a hardware initial diagnostic level (No, standard, maximum). Enables or disables break signal sending, host watchdog, automatic boot, and set s CPU operation mode. showdomainmode Displays the domain host ID, the hardware initial diagnostic leve l, information of enabled or disabled status on break signal sending, Host watch dog, automatic boot, and displays CPU operation mode, ethernet address, mac addr ess. sendbreak showresult setlocale Sends a break signal to the server. Displays the exit status of the most recently executed command. Sets locale.

showlocale setaltitude showaltitude cfgdevice drive.

Displays locale. Sets altitude. Displays altitude.

Sets/Displays the connection destination/status of the DVD drive, tape Applies the obtained COD license key to the system. Deletes the license key applied to the system. Displays the license keys applied to the system. Displays license usage information.

addcodlicense

deletecodlicense showcodlicense showcodusage setcod showcod console

Configures COD settings. Displays COD settings. Connects to a domain console. Displays the operating status of the main console.

showconsolepath

showenvironment Displays the temperature, humidity, voltage, fan rotation speed, power consumption, and exhaust airflow. showstatus showhardconf poweron poweroff reset Lists degraded components. Displays all components mounted in the server.

Turns on power to all domains or the specified domain. Turns off power to all domains or the specified domain.

Resets the specified domain.

The following three reset modes are available: por: Domain system reset request: Domain panic instruction xir: Domain CPU reset setpowerupdelay showpowerupdelay ttings. setshutdowndelay showshutdowndelay setdualpowerfeed showdualpowerfeed setlocator Sets the warm-up time and the air-conditioning wait time. Displays the warm-up time and the air-conditioning wait time se Sets the UPS shutdown delay time at power failure. Displays the UPS shutdown delay time at power failure. Sets the dual power feed. Displays the dual power feed.

Enables or disables the CHECK LED blinking.

showlocator switchscf ioxadm

Displays the LED status. Switches the XSCF Unit state (Active/Standby).

Configures/Displays the External I/O Expansion Unit settings(IOBOX).

clockboard Sets/Displays the number of clock unit (CLKU) used when the next plat form is powered on. setdomparam getflashimage flashupdate version prtfru Rewrites the OpenBoot PROM environment variable that is compulsory. Gets the firmware update program. Updates the firmware program.

Displays XCP, XSCF, and OpenBoot versions. Displays the FRU-ROM data. Saves XSCF configuration information to the specified destination. Restores XSCF configuration information from the specified destina Initialises the server or XSCF to the factory defaults.

dumpconfig

restoreconfig tion. restoredefaults snapshot

Saves log information to the specified destination. Displays the XSCF monitoring messages on console in real time.

showmonitorlog

showlogs Displays the error log, power log, event log, console log, panic log, I PL log, temperature/humidity log, and monitor message log. fmadm fmdump fmstat Monitors/controls the Fault Management Diagnosis Engines (FMDE). Dumps the fault event log containing FM diagnosis results. Displays the FMDE status. Forcibly release the locked status of the XSCF.

unlockmaintenance rebootxscf who man

Reboots/Resets the XSCF.

Displays users who login to the XSCF. Displays the man page of the specified command.

You can see this list of commands by executing man intro. exit Ends the XSCF Shell.