Cisco UCS C250 M1

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(Connecting)
 
Line 1: Line 1:
 
== Connecting ==
 
== Connecting ==
  
These use admin, rather than root.
+
These use '''admin''', rather than '''root'''.
  
 
== CLI command completion ==
 
== CLI command completion ==

Latest revision as of 19:54, 19 September 2012

Contents

[edit] Connecting

These use admin, rather than root.

[edit] CLI command completion

Use <Tab> to show a list of possible commands at any scope, then use '?' to get the possible options to complete the command.

[edit] General / show and change config

In every scope you have "show" and "show detail" for the current config, "show configuration pending" to show pending changes, "set" to change settings, and (do not forget), "commit" to commit your changes.

[edit] Power actions

All power actions happen under the chassis scope:

scope chassis
powercycling
power cycle
hard reset
power hard-reset
power off
power off
power on
power on
graceful shutdown
power shutdown

[edit] Returning to the top scope

top

[edit] Setting BIOS settings

Most bios settings are in scope bios/server-management and bios/advanced.

[edit] Getting BIOS version

show bios detail

[edit] Getting BIOS settings

scope bios/advanced
show detail

[edit] Getting IP / MAC / VLAN

scope cimc/network
show detail

[edit] Getting MAC addresses of the on-board NICs

scope cimc/network
show lom-mac-list detail

(*) note LOM stands for "LAN on motherboard" here, not "Lights-out management"

[edit] Getting info about PCI adapters (RAID controller and others)

scope chassis
show pci-adapter detail

[edit] KVM

scope kvm

[edit] Virtual Media

Important: you need to disable virtual media or else its USB devices are occupying /dev/sda & /dev/sdb making installs fail!

ucs-c250-m1# scope vmedia
ucs-c250-m1 /vmedia # show
Encryption Enabled Enabled Active Sessions 
------------------ ------- --------------- 
no                 yes     0               
ucs-c250-m1 /vmedia # set enabled no
ucs-c250-m1 /vmedia *# commit

[edit] PXE boot

scope bios
set boot-order pxe
To manage boot-order:
- Reboot server to have your boot-order settings take place
- Do not disable boot options via BIOS screens
- If a specified device type is not seen by the BIOS, it will be removed
  from the boot order configured on the BMC
- Your boot order sequence will be applied subject to the previous rule.
  The configured list will be appended by the additional device types
  seen by the BIOS
commit

[edit] Getting console output / a shell

top
connect host

CISCO Serial Over LAN: Close Network Connection to Exit

(to close the connection use "~." (that's tilde dot))

[edit] command modes

command mode table

[edit] Serial Over LAN

ucs-c250-m1 /kvm # connect host 
CISCO Serial Over LAN disabled

ucs-c250-m1 /sol *# show detail 
Serial Over LAN:
    Enabled: no
    Baud Rate(bps): 115200

ucs-c250-m1 /sol *# set enabled yes
ucs-c250-m1 /sol *# commit

[edit] Getting product name / serial number / PID / UUID

show chassis detail

[edit] Links

Cisco_CIMC_CLI_Configuration_Guide

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox