Cisco Systems 57712 Manual De Usuario

Descargar
Página de 288
This example configures SSH for the CIMC:
Server#
scope ssh
Server /ssh #
set enabled yes
Server /ssh *#
set ssh-port 22
Server /ssh *#
set timeout 600
Server /ssh *#
commit
Server /ssh #
show
SSH Port
Timeout
Active Sessions Enabled
---------- -------- --------------- -------
22
600
1
yes
Server /ssh #
Configuring XML API
XML API for CIMC
The Cisco CIMC XML application programming interface (API) is a programmatic interface to CIMC for a
C-Series Rack-Mount Server. The API accepts XML documents through HTTP or HTTPS.
For detailed information about the XML API, see Cisco UCS Rack-Mount Servers CIMC XML API
Programmer
s Guide.
Enabling XML API
Before You Begin
You must log in as a user with admin privileges to perform this task.
Procedure
Purpose
Command or Action
Enters XML API command mode.
Server# scope xmlapi
Step 1
Enables or disables XML API control of CIMC.
Server /xmlapi # set enabled {yes no}
Step 2
Commits the transaction to the system
configuration.
Server /xmlapi # commit
Step 3
This example enables XML API control of CIMC and commits the transaction:
Server#
scope xmlapi
Server /xmlapi #
set enabled yes
Server /xmlapi *#
commit
Server /xmlapi #
show detail
XMLAPI Settings:
Enabled: yes
Active Sessions: 0
Max Sessions: 4
Server /xmlapi #
Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5    
   OL-28893-01
135
Configuring Communication Services
Configuring XML API