The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter provides procedures for managing Virtual Network Management Center (VNMC).
This chapter includes the following sections:
•Managing Files and Applications
•Setting Terminal Session Parameters
•Displaying System Information
You can reboot VNMC.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. reboot
|
|
|
---|---|---|
Step 1 |
connect local-mgmt Example: vnmc# connect local-mgmt |
Places you in the local management CLI. |
Step 2 |
reboot Example: vnmc(local-mgmt)# |
Reboots VNMC. |
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)#
You can update the system.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. update {bootflash: | ftp: | scp: | sftp: | tftp: | volatile:} <uri>
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.
You can set the host name.
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.
Management controller
1. scope system
2. set hostname
This example shows how to set the host name:
vnmc# scope system
vnmc /system # set hostname testHost
vnmc /system* # commit-buffer
vnmc /system #
You can restore VNMC.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. restore {ftp: | scp: | sftp: | tftp:} <uri-remote-file>
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)#
You can reinitialize your database, and start and stop services.
This section includes the following topics:
•Displaying the Status of Services
You can reinitialize your database.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. service reinit
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)#
You can restart services.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. service restart
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)#
You can start services.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. service start
|
|
|
---|---|---|
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. |
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)#
You can display the status of services.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. service status
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)#
You can stop services.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. service stop
|
|
|
---|---|---|
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. |
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)#
This section includes the following topics:
•Managing the Bootflash and Volatile Directories
You can copy files.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. copy {bootflash: | ftp: | scp: | stfp: | tftp: | volatile:} <uri-source-file> {bootflash: | ftp: | scp: | stfp: | tftp: | volatile:} <uri-destination-file>
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)#
You can delete files.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. delete {bootflash: | volatile:} <uri-file>
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)#
You can manage the bootflash and volatile directories.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. dir {bootflash: | volatile:}
|
|
|
---|---|---|
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: |
. |
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)#
This section includes the following topics:
•Modifying the Shared Secret Password
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. modify shared-secret
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)#
This section provides procedures for managing the virtual machine network interface.
This section includes the following sections:
•This example shows how to display the interface ID, IP address, gateway, and netmask in list form:
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. scope network-interface mgmt
2. set net ip <ip-address>
3. commit-buffer
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#
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. scope network-interface mgmt
2. set net gw <gateway-address>
3. commit-buffer
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 #
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. scope network-interface mgmt
2. set net netmask <netmask>
3. commit-buffer
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#
You can terminal session parameters.
This section includes the following topics:
You can set the number of rows of characters that display on your computer screen when you are executing a show command.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. terminal length
|
|
|
---|---|---|
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. |
This example shows how to set the number of rows that display to 46:
vnmc# terminal length 46
vnmc#
You can set the terminal session timeout.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. terminal session-timeout
|
|
|
---|---|---|
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. |
This example shows how to set the terminal session timeout to 100 minutes:
vnmc# terminal session-timeout 100
vnmc#
You can set the number of columns of characters that display on your computer screen when you are executing a show command.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. terminal width
|
|
|
---|---|---|
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. |
This example shows how to set the number of columns that display to 46:
vnmc# terminal width 46
vnmc#
You can display system information.
This section includes the following topics:
•Displaying the Network Interface
•Displaying System Information
•Displaying Technical Support Information
You can display VNMC providers.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Service registry
1. connect service-reg
2. show providers
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
You can display information about the VNMC CLI.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. show cli [command-status | history | mode-info | shell-type]
|
|
|
---|---|---|
Step 1 |
show cli Example: vnmc# show cli |
Displays CLI information. |
This example shows how to display CLI mode information:
vnmc# show cli mode-info
Mode: /
Mode Data:
vnmc#
You can display the system clock.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
Local management
1. show clock
|
|
|
---|---|---|
Step 1 |
show clock Example: vnmc# show clock |
Displays the clock. |
This example shows how to display the clock:
vnmc# show clock
Thu Nov 18 00:58:07 UTC 2010
vnmc#
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. show network-interface [detail | fsm | mgmt]
|
|
|
---|---|---|
Step 1 |
show network-interface Example: vnmc# show network-interface mgmt |
Displays the network interface. |
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#
You can display system information.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
1. show system [detail | fsm]
|
|
|
---|---|---|
Step 1 |
show system Example: vnmc# show system |
Displays system information. |
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#
You can display application version numbers.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Management controller
Local management
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.
|
|
|
---|---|---|
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. |
|
|
|
---|---|---|
Step 3 |
show version Example: vnmc# show version |
Displays the version number. |
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#
You can display technical support information.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. connect local-mgmt
2. show tech-support
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)#
You can display FSMs. FSMs are Finite State Machines. FSMs are used to track the progress and status of configuration or inventory tasks.
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
Local management
1. scope system
2. show fsm [status | task]
|
|
|
---|---|---|
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. |
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 #