Cisco Virtual Network Management Center CLI Configuration Guide, Release 1.0.1
Managing VNMC

Table Of Contents

Managing VNMC

Rebooting VNMC

Updating the System

Setting the Host Name

Restoring VNMC

Working With Services

Reinitializing the Database

Restarting Services

Starting Services

Displaying the Status of Services

Stopping Services

Managing Files and Applications

Copying a File

Deleting a File

Managing the Bootflash and Volatile Directories

Managing Security

Modifying the Shared Secret Password

Managing the Network Interface

Setting the IP Address

Setting the Gateway Address

Setting the Netmask

Setting Terminal Session Parameters

Setting the Terminal Length

Setting the Session Timeout

Setting the Terminal Width

Displaying System Information

Displaying Providers

Displaying CLI Information

Displaying the Clock

Displaying the Network Interface

Displaying System Information

Displaying Version Numbers

Displaying Technical Support Information

Displaying FSMs


Managing VNMC


This chapter provides procedures for managing Virtual Network Management Center (VNMC).

This chapter includes the following sections:

Rebooting VNMC

Updating the System

Setting the Host Name

Restoring VNMC

Working With Services

Managing Files and Applications

Managing Security

Setting Terminal Session Parameters

Displaying System Information

Rebooting VNMC

You can reboot VNMC.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. reboot

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

reboot


Example:

vnmc(local-mgmt)# reboot

Reboots VNMC.

EXAMPLES

This example shows how to reboot VNMC:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# reboot
The VM will be rebooted. Are you sure? (yes/no): yes
Rebooting...
Broadcast message from root (pts/0) (Thu Sep 30 01:52:25 2010):
The system is going down for reboot NOW!
vnmc(local-mgmt)# 

Updating the System

You can update the system.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. update {bootflash: | ftp: | scp: | sftp: | tftp: | volatile:} <uri>

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

update


Example:

vnmc(local-mgmt) # update bootflash:/VNMC.1.0.0.511.bin

Updates the system.

EXAMPLES

This example shows how to update the system:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(local-mgmt)# update bootflash:/VNMC.1.0.0.511.bin

Note The file VNMC.1.0.0.511.bin, used in the preceding example, is the released .bin file.


Setting the Host Name

You can set the host name.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

Changing the host name will cause new certificate generation designed to warn the user of the impact of the change. The VM Manager Extension file would have to be exported again and installed on vCenter. Any web browser client that had the certificate installed will get a prompt for a new certificate.

CLI

Management controller

SUMMARY STEPS

1. scope system

2. set hostname

DETAILED STEPS

 
Command
Purpose

Step 1 

scope system


Example:

vnmc# scope system

Places you in system mode.

Step 2 

set hostname


Example:

vnmc /system # set hostname testHost

Sets the host name.

Step 3 

commit-buffer


Example:

vnmc /system* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the host name:

vnmc# scope system
vnmc /system # set hostname testHost
vnmc /system* # commit-buffer
vnmc /system # 

Restoring VNMC

You can restore VNMC.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. restore {ftp: | scp: | sftp: | tftp:} <uri-remote-file>

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

restore


Example:

vnmc(local-mgmt)# restore 
scp://jsmith@171.71.171.100/ws/jsmith-s
jc/483fullstatesftp

Restores VNMC.

EXAMPLES

This example shows how to restore VNMC:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# restore scp://jsmith@171.71.171.100/ws/jsmith-sjc/483fullstatesftp
Enter password: 
Stopping services
Extracting files
Configuring network
NOTE - the IP address you're restoring from differs from your current IP, you might lose 
network connectivity
vnmc(local-mgmt)# 

Working With Services

You can reinitialize your database, and start and stop services.

This section includes the following topics:

Reinitializing the Database

Restarting Services

Starting Services

Displaying the Status of Services

Stopping Services

Reinitializing the Database

You can reinitialize your database.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. service reinit

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

service reinit


Example:

vnmc(local-mgmt)# service reinit

Reinitializes the database.

EXAMPLES

This example shows how to reinitialize a database:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# service reinit
The VNMC databases will be reinitialized. Are you sure? (yes/no): yes
Shutting down pmon:                                        [  OK  ]
Starting pmon:                                             [  OK  ]
vnmc(local-mgmt)# 

Restarting Services

You can restart services.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. service restart

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

service restart


Example:

vnmc(local-mgmt)# service restart

Restarts services.

EXAMPLES

This example shows how to restart services:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# service restart
Shutting down pmon:                                        [  OK  ]
Starting pmon:                                             [  OK  ]
vnmc(local-mgmt)# 

Starting Services

You can start services.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. service start

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

service start


Example:

vnmc(local-mgmt)# service start

Starts services.

EXAMPLES

This example shows how to start services:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# service start
Starting pmon:                                             [  OK  ]
vnmc(local-mgmt)# 

Displaying the Status of Services

You can display the status of services.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. service status

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

service status


Example:

vnmc(local-mgmt)# service status

Shows the status of all your services.

EXAMPLES

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# service status

SERVICE NAME                       STATE     RETRY(MAX)    CORE
------------                       -----     ----------    ----
pmon                             running            N/A     N/A
core-svc_cor_dme                 running           0(4)      no 
service-reg-svc_reg_dme          running           0(4)      no 
core-svc_cor_secAG               running           0(4)      no 
resource-mgr-svc_res_dme         running           0(4)      no 
policy-mgr-svc_pol_dme           running           0(4)      no 
sam_cores_mon.sh                 running           0(4)      no 
vm-mgr-svc_vmm_dme               running           0(4)      no 
core-svc_cor_controllerAG        running           0(4)      no 
vm-mgr-svc_vmm_vmAG              running           0(4)      no 
core-httpd.sh                    running           0(4)      no 
core-svc_cor_sessionmgrAG        running           0(4)      no 
vnmc(local-mgmt)# 

Stopping Services

You can stop services.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. service stop

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

service stop


Example:

vnmc(local-mgmt)# service stop

Stops your services.

EXAMPLES

This example shows how to stop services:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# service stop
Shutting down pmon:                                        [  OK  ]
vnmcs(local-mgmt)# 

Managing Files and Applications

This section includes the following topics:

Copying a File

Deleting a File

Managing the Bootflash and Volatile Directories

Copying a File

You can copy files.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. copy {bootflash: | ftp: | scp: | stfp: | tftp: | volatile:} <uri-source-file> {bootflash: | ftp: | scp: | stfp: | tftp: | volatile:} <uri-destination-file>

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

copy


Example:

vnmc(local-mgmt)# copy 
scp://jsmith@171.71.171.100/ws/jsmith-s
jc/VNMC-dplug.bin bootflash:/

Copies the file.

EXAMPLES

This example shows how to copy a file:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# copy scp://jsmith@171.71.171.100/ws/jsmith-sjc/VNMC-dplug.bin 
bootflash:/

Password:
vnmc(local-mgmt)# 

Deleting a File

You can delete files.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. delete {bootflash: | volatile:} <uri-file>

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

delete


Example:

vnmc(local-mgmt)# delete 
bootflash:/VNMC-dplug.bin

Deletes the file.

EXAMPLES

This example shows how to delete a file:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# delete bootflash:/VNMC-dplug.bin
Delete bootflash:///VNMC-dplug.bin? (yes/no): yes
Deleted
vnmc(local-mgmt)# 

Managing the Bootflash and Volatile Directories

You can manage the bootflash and volatile directories.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. dir {bootflash: | volatile:}

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

dir


Example:

vnmc(local-mgmt)# dir bootflash:

.

EXAMPLES

This example shows how to monitor the bootflash directory:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# dir bootflash:

            23M Oct 19 15:06 core-1.0.0-419.i386.rpm       
            11M Oct 19 15:06 core-gui-1.0.0-419.i386.rpm   
            19M Oct 19 15:06 identifier-mgr-1.0.0-419.i386.rpm
           1.9M Oct 19 15:06 identifier-mgr-gui-1.0.0-419.i386.rpm
            20M Oct 19 15:06 policy-mgr-1.0.0-419.i386.rpm 
           4.3M Oct 19 15:06 policy-mgr-gui-1.0.0-419.i386.rpm
            20M Oct 19 15:06 resource-mgr-1.0.0-419.i386.rpm
           3.8M Oct 19 15:06 resource-mgr-gui-1.0.0-419.i386.rpm
            20M Oct 19 15:06 service-reg-1.0.0-419.i386.rpm
           1.6M Oct 19 15:06 service-reg-gui-1.0.0-419.i386.rpm
            19M Oct 19 15:06 ucsmSim-1.0.0-419.i386.rpm    
           1.6M Oct 19 15:06 ucsmSim-gui-1.0.0-419.i386.rpm
            20M Oct 19 15:06 vm-mgr-1.0.0-419.i386.rpm     
            21M Oct 19 15:06 vsmPA-1.0.0-419.i386.rpm      
           2.1M Oct 19 15:06 vsmPA-gui-1.0.0-419.i386.rpm  
            21M Oct 19 15:06 vsnPA-1.0.0-419.i386.rpm      
           2.1M Oct 19 15:06 vsnPA-gui-1.0.0-419.i386.rpm  
Usage for bootflash://
18187836 bytes used
             2020580 bytes free
            20208416 bytes total
vnmc(local-mgmt)# 

Managing Security

This section includes the following topics:

Modifying the Shared Secret Password

Modifying the Shared Secret Password

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. modify shared-secret

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 2 

modify shared-secret


Example:

vnmc(local-mgmt)# modify shared-secret

Changes the shared secret password.

The password must be a minimum of 8 characters.

EXAMPLES

This example shows how to modify the shared secret password:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(local-mgmt)# modify shared-secret
  Enter the Shared Secret  : 
  Confirm Shared Secret : 
vnmc(local-mgmt)# 

Managing the Network Interface

This section provides procedures for managing the virtual machine network interface.

This section includes the following sections:

Setting the IP Address

Setting the Gateway Address

Setting the Netmask

This example shows how to display the interface ID, IP address, gateway, and netmask in list form:

Setting the IP Address

BEFORE YOU BEGIN


Caution Once committed, this change may disconnect the current CLI session.

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. scope network-interface mgmt

2. set net ip <ip-address>

3. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

scope network-interface mgmt


Example:

vnmc# scope network-interface mgmt

Places you in network-interface mode.

Step 2 

set net ip


Example:

vnmc /network-interface # set net ip 209.165.200.230

Sets the IP address.

The format of the argument is A.B.C.D.

Step 3 

commit-buffer


Example:

vnmc /network-interface* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the IP address to 209.165.200.230:

vnmc# scope network-interface mgmt
vnmc /network-interface # set net ip 209.165.200.230
Warning: When committed, this change may disconnect the current CLI session.
vnmc /network-interface* # commit-buffer
vnmc /network-interface# 

Setting the Gateway Address

BEFORE YOU BEGIN


Caution You should be clear on what you are doing when resetting this property. Once it is reset, traffic in your network will be reset.

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. scope network-interface mgmt

2. set net gw <gateway-address>

3. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

scope network-interface mgmt


Example:

vnmc# scope network-interface

Places you in network-interface mode.

Step 2 

set net gw


Example:

vnmc /network-interface # set net gw 209.165.200.225

Sets the gateway address.

The format of the argument is A.B.C.D.

Step 3 

commit-buffer


Example:

vnmc /network-interface* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the gateway address to 209.165.200.225:

vnmc# scope network-interface mgmt
vnmc /network-interface # set net gw 209.165.200.225
Warning: When committed, this change may disconnect the current CLI session.
vnmc /network-interface* # commit-buffer
vnmc /network-interface # 

Setting the Netmask

BEFORE YOU BEGIN


Caution Once committed, this change may disconnect the current CLI session.

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. scope network-interface mgmt

2. set net netmask <netmask>

3. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

scope network-interface mgmt


Example:

vnmc# scope network-interface

Places you in network-interface mode.

Step 2 

set net netmask


Example:

vnmc /network-interface # set net netmask 255.255.255.254

Sets the netmask.

The format of the argument is A.B.C.D.

Step 3 

commit-buffer


Example:

vnmc /network-interface* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the netmask to 255.255.255.0:

vnmc# scope network-interface mgmt
vnmc /network-interface # set net netmask 255.255.255.0
Warning: When committed, this change may disconnect the current CLI session.
vnmc /network-interface* # commit-buffer

vnmc /network-interface#

Setting Terminal Session Parameters

You can terminal session parameters.

This section includes the following topics:

Setting the Terminal Length

Setting the Session Timeout

Setting the Terminal Width

Setting the Terminal Length

You can set the number of rows of characters that display on your computer screen when you are executing a show command.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. terminal length

DETAILED STEPS

 
Command
Purpose

Step 1 

terminal length


Example:

vnmc# terminal length 46

Sets the number of rows that display.

The range of valid values is 0 to 511.

EXAMPLES

This example shows how to set the number of rows that display to 46:

vnmc# terminal length 46
vnmc# 

Setting the Session Timeout

You can set the terminal session timeout.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. terminal session-timeout

DETAILED STEPS

 
Command
Purpose

Step 1 

terminal session-timeout


Example:

vnmc# terminal session-timeout 100

Sets the terminal session timeout.

The range of valid values is 0 to 525600.

EXAMPLES

This example shows how to set the terminal session timeout to 100 minutes:

vnmc# terminal session-timeout 100
vnmc# 

Setting the Terminal Width

You can set the number of columns of characters that display on your computer screen when you are executing a show command.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. terminal width

DETAILED STEPS

 
Command
Purpose

Step 1 

terminal width


Example:

vnmc# terminal width 46

Sets the number of columns that display.

The range of valid values is 24 to 511.

EXAMPLES

This example shows how to set the number of columns that display to 46:

vnmc# terminal width 46
vnmc# 

Displaying System Information

You can display system information.

This section includes the following topics:

Displaying Providers

Displaying CLI Information

Displaying the Clock

Displaying the Network Interface

Displaying System Information

Displaying Version Numbers

Displaying Technical Support Information

Displaying FSMs

Displaying Providers

You can display VNMC providers.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Service registry

SUMMARY STEPS

1. connect service-reg

2. show providers

DETAILED STEPS

 
Command
Purpose

Step 1 

connect service-reg


Example:

vnmc# connect service-reg

Places you in the service registry CLI.

Step 2 

show providers


Example:

vnmc(policy-mgr)# show providers

Displays providers.

EXAMPLES

This example shows how to display providers:

vnmc# connect service-reg
vnmc(service-reg) # show providers

Registered Providers:
    ID: 1001
    Registered Provider IP: 209.165.200.230
    Registered Provider Name: vnmc
    Registered Provider Type: Policy Mgr

    ID: 1002
    Registered Provider IP: 209.165.200.230
    Registered Provider Name: vnmc
    Registered Provider Type: Resource Mgr

    ID: 1004
    Registered Provider IP: 209.165.200.230
    Registered Provider Name: vnmc
    Registered Provider Type: Vm Mgr

Displaying CLI Information

You can display information about the VNMC CLI.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. show cli [command-status | history | mode-info | shell-type]

DETAILED STEPS

 
Command
Purpose

Step 1 

show cli


Example:

vnmc# show cli

Displays CLI information.

EXAMPLES

This example shows how to display CLI mode information:

vnmc# show cli mode-info
Mode:   /
Mode Data:
vnmc# 

Displaying the Clock

You can display the system clock.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Local management

SUMMARY STEPS

1. show clock

DETAILED STEPS

 
Command
Purpose

Step 1 

show clock


Example:

vnmc# show clock

Displays the clock.

EXAMPLES

This example shows how to display the clock:

vnmc# show clock
Thu Nov 18 00:58:07 UTC 2010
vnmc# 

Displaying the Network Interface

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. show network-interface [detail | fsm | mgmt]

DETAILED STEPS

 
Command
Purpose

Step 1 

show network-interface


Example:

vnmc# show network-interface mgmt

Displays the network interface.

EXAMPLES

This example shows how to display the interface ID, IP address, gateway, and netmask in table form:

vnmc# show network-interface mgmt

VM IP interface:
    ID   OOB IP Addr     OOB Gateway     OOB Netmask
    ---- --------------- --------------- -----------
    Mgmt 10.193.33.218   10.193.33.1     255.255.255.0
vnmc# 

This example shows how to display the interface ID, IP address, gateway, and netmask in list form:

vnmc# show network-interface detail

VM IP interface:
    ID: Mgmt
    OOB IP Addr: 10.193.33.218
    OOB Gateway: 10.193.33.1
    OOB Netmask: 255.255.255.0
    Current Task:
vnmc# 

Displaying System Information

You can display system information.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

SUMMARY STEPS

1. show system [detail | fsm]

DETAILED STEPS

 
Command
Purpose

Step 1 

show system


Example:

vnmc# show system

Displays system information.

EXAMPLES

This example shows how to display detailed information about the system:

vnmc# show system detail

Systems:
    Hostname: vnmc
    Address: 10.193.33.218
    Current Task:
vnmc#

Displaying Version Numbers

You can display application version numbers.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Management controller

Local management

SUMMARY STEPS

1. (Optional) connect local-mgmt

2. show version


Note Step 1 is optional. You can also perform this show command in the local management CLI.


DETAILED STEPS (local-mgmt)

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# local-mgmt

Places you in the local management CLI.

Step 2 

show version


Example:

vnmc# show version

Displays the version number.

DETAILED STEPS (#)

 
Command
Purpose

Step 3 

show version


Example:

vnmc# show version

Displays the version number.

EXAMPLES

This example shows how to display version numbers in the management controller CLI:

vnmc# show version

Name Package Version GUI

---- ------- ------- ----

core Base System 1.0(0.504) 1.0(0.504)

service-reg Service Registry 1.0(0.504) 1.0(0.504)

policy-mgr Policy Manager 1.0(0.504) 1.0(0.504)

resource-mgr Resource Manager 1.0(0.504) 1.0(0.504)

vm-mgr VM manager 1.0(0.504) none

vnmc#

Displaying Technical Support Information

You can display technical support information.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. connect local-mgmt

2. show tech-support

DETAILED STEPS

 
Command
Purpose

Step 1 

connect local-mgmt


Example:

vnmc# connect local-mgmt

Places you in the local management CLI.

Step 1 

show tech-support


Example:

vnmc# show tech-support

Displays technical support information.

EXAMPLES

This example shows how to display technical support information:

vnmc# connect local-mgmt
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

vnmc(local-mgmt)# show tech-support
Initiating tech-support information on VNMC-Tech-Docs.Cisco.com
All tech-support tasks are completed.
The detailed tech-support information is located at volatile:///20101130121144-V
NMC-Tech-Docs.Cisco.com-techsupport.tgz
vnmc(local-mgmt)# 

Displaying FSMs

You can display FSMs. FSMs are Finite State Machines. FSMs are used to track the progress and status of configuration or inventory tasks.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Local management

SUMMARY STEPS

1. scope system

2. show fsm [status | task]

DETAILED STEPS

 
Command
Purpose

Step 1 

scope system


Example:

vnmc# scope system

Places you in system mode.

Step 1 

show fsm


Example:

vnmc /system # show fsm status

Displays the FSM.

EXAMPLES

This example shows how to display the status of an FSM:

vnmc# scope system
vnmc /system # show fsm status

    FSM 1:
        Remote Result: Not Applicable
        Remote Error Code: None
        Remote Error Description:
        Status: 0
        Previous Status: 0
        Timestamp: Never
        Try: 0
        Progress (%): 100
        Current Task:
vnmc /system #