Table Of Contents
CLI Commands
clear setup
clock
config
copy
db
debug services
del install
do
end
exit
gir
install
interface
ip
license
ntp
ping
reboot
redundancy
setup
show cdp
show clock
show fault
show files
show gir
show hardware
show ids
show install
show interface
show ip
show license
show logging
show logins
show ntp
show process
show redundancy
show system
show tech
show version
shutdown
ssh
tech
telnet
traceroute
user password
vha connection
CLI Commands
This chapter includes the VFrame Data Center CLI. The commands in this chapter provide detailed information about the CLI.
•
clear setup
•
clock
•
config
•
copy
•
db
•
debug services
•
del install
•
do
•
end
•
exit
•
gir
•
install
•
interface
•
ip
•
license
•
ntp
•
ping
•
reboot
•
redundancy
•
setup
•
show cdp
•
show clock
•
show fault
•
show files
•
show gir
•
show hardware
•
show ids
•
show install
•
show interface
•
show ip
•
show license
•
show logging
•
show logins
•
show ntp
•
show process
•
show redundancy
•
show system
•
show tech
•
show version
•
shutdown
•
ssh
•
tech
•
telnet
•
traceroute
•
user password
•
vha connection
clear setup
To clear the current setup configuration, use the clear setup command in user EXEC mode.
clear setup
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
It will take anywhere from 30 to 60 minutes for the Director to reboot. Once it has rebooted, you can run the setup command on the iLO server to reconfigure your Director.
Examples
The following example clears the current setup configuration:
Warning: Running clear setup will cause the system to shut down VFrame
Do you really want to clear the setup configuration: (yes/no) [no]? yes
INFO: Removing admin password
No password found for user macrouser.
Broadcast message from root (pts/0) (Wed Dec 27 10:08:55 2006):
The system is going down for reboot NOW!
Related Commands
Command
|
Description
|
setup
|
Performs system configuration.
|
clock
To manage the system clock, use the clock command in global configuration mode.
clock {set set-datetime | timezone}
no clock {set set-datetime | timezone}
Syntax Description
set set-datetime
|
Sets the date and time on the system clock. Specify the date and time in set-datetime. The format is xx/xx/xxxx xx:xx:xx. The maximum number of characters is 100.
|
timezone
|
Sets the time zone you are currently in.
|
Defaults
The system clock is initially set to factory default.
Command Modes
Global configuration.
Command History
Release
|
Modification
|
1.2
|
This command was introduced.
|
Examples
The following example sets the time zone:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# clock timezone
Verify if there are running jobs...
There are 0 job(s) running.
Do you want to shut down the VFDC to run clock timezone command? (yes/no) [no] ?
Once you answer the preceding question, you enter the VFrame Data Center Director operating system. The redhat-config-date dialog box appears:
1.
Choose the time zone you are in.
2.
Click OK.
3.
Press Enter.
Related Commands
Command
|
Description
|
ntp
|
Specifies the NTP peer and server.
|
show clock
|
Displays the current date and time.
|
config
To enter global configuration mode, use the config command in user EXEC mode.
config [terminal]
Syntax Description
terminal
|
(Optional) Configures the system from the terminal.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Usage Guidelines
Enter either the config or config terminal command to enter global configuration mode.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following example changes EXEC mode to config mode by executing the config command:
Enter configuration commands, one per line. End with CNTL/Z.
The following example changes EXEC mode to config mode by executing the config terminal command:
test-100# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Related Commands
Command
|
Description
|
exit
|
Exits modes.
|
ip
|
Configures IP settings.
|
copy
To manage system files and patches, use the copy command in user EXEC mode.
copy {backup setup | file pname/fname url {scp:// | ftp://}hname/pname[/fname] | logs url
{scp:// | ftp://}hname/pname | setup {backup | url {scp:// | ftp://}hname/pname/fname} | url
url/fname {install | license | setup}}
Syntax Description
backup setup
|
Restores the local backup of the setup file.
|
file pname/fname
|
Copies a file to a remote URL. Specify the path and the filename in pname/fname. The maximum number of characters is 256.
|
hname/pname
|
Specify the hostname and the path in hname/pname. The maximum number of characters is 256.
|
hname/pname/fname
|
Specify the hostname, the path, and the filename in hname/pname/fname. The maximum number of characters is 256.
Note fname is optional when it is used with the file command.
|
install | license | setup
|
Places a patch in the staging area. Retrieves a license file from a HTTP, TFTP, FTP or SCP server. Copies the local setup file to a remote site.
|
logs
|
Copies logs to a remote URL.
|
setup backup | url
|
Specify backup to create a local backup of the setup file or url to copy the setup config to a remote site.
|
url scp:// | ftp://
|
Specify the server type. Choose scp:// or ftp://.
|
url url/fname
|
Retrieves a setup file from a HTTP, TFTP, FTP or SCP server. Specify the URL and filename in url/file-name. The maximum number of characters is 256.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Usage Guidelines
Typically, you obtain licenses or packages from Cisco.com.
When you save the license or package, use a name that is 80 characters or less.
The copy command is also useful for copying log files to your FTP or SCP server so that you can maintain copies, or send them to the Cisco Technical Assistance Center to help you resolve a problem.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following example copies a patch to the installation staging area from an HTTP server that does not require user authentication:
test-100# copy url http://maintenance.example.com/vframe/VFrameDebug.zip install
[OK]Verifying patch signature...
[OK]Installing files in staging area...
The following example restores the local backup of a configuration file:
test-100# copy backup setup
Re-initialize the database. Warning erases and initializes all data in the database:
(yes/no) [no]? yes Start database sent mts message to system manager re-initializing the
This will take some time...
Note
Not all the output is shown in the preceding example.
Related Commands
Command
|
Description
|
del install
|
Deletes a patch from the installation staging area.
|
show files
|
Displays information about system files.
|
show license
|
Displays information about the product license.
|
db
To manage databases, use the db command in user EXEC mode.
db {backup [scp:// | ftp://]directory/file-name | dev {0 | 1 | 2} | reset | restore [scp:// |
ftp://]directory/file-name | space reserved-space}
Syntax Description
backup
|
Generates the database backup file.
|
dev {0 | 1 | 2}
|
Specify the backup device. Choose one of the following:
0—Local machine
1—NFS filer
2—LUN
|
directory/file-name
|
Specify the directory and the file name. The maximum number of characters is 128.
|
reset
|
Resets the database to the original state.
|
restore
|
Restores the current database.
|
scp:// | ftp://
|
(Optional) Specifies a server type. Choose either scp:// or ftp://.
|
space reserved-space
|
Reserves disk space for a database backup. Specify the reserved space in reserved-space. Valid reserve space ranges from 2 to 8 Gigabytes.
|
Defaults
The default path is /nwdisks/2.
Command Modes
User EXEC.
Usage Guidelines
Before you restore a database, disable redundancy if you are using a redundant setup. Also, ensure that no one is logged in to the system.
When you use backup, you can include path information. The backup file is created on the backup storage medium selected when using the setup command.
When you use restore, you can include path information. The backup file must be on the backup storage medium selected when using the setup command.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
1.2
|
Added the keywords dev, reset and space.
|
Examples
The following example backs up a database to a file named Jul2006.backup in the /workspace directory:
test-100# db backup /workspace/Jul2006.backup
waiting for physical backup to complete
Physical backup is completed.
The following example restores the backup file named Jul2006.backup:
test-100# db restore /workspace/Jul2006.backup
Waiting for 12 out of 13 processes to shutdown
Waiting for 10 out of 13 processes to shutdown
Waiting for 8 out of 13 processes to shutdown
Waiting for 7 out of 13 processes to shutdown
Waiting for 5 out of 13 processes to shutdown
Waiting for 4 out of 13 processes to shutdown
Waiting for 2 out of 13 processes to shutdown
Waiting for 1 out of 13 processes to shutdown
Waiting for 1 out of 13 processes to shutdown
Waiting for 0 out of 13 processes to shutdown
Related Commands
Command
|
Description
|
copy
|
Manages license files, setup files and logs.
|
setup
|
Performs initial system configuration.
|
debug services
To display debug and system logs in real time, use the debug services command in user EXEC mode. To disable debug display, use the no form of this command.
debug services {aaad | daemons | database | dbmnt | dhcpwd | hdrh | hsrp | imagemgmt | ntpwd
| syscfg | sysmgr | sysmnt | system | trend | vccjava | vccvha | vframe}
Syntax Description
aaad
|
Displays the debug log for the Authentication, Authorization, and Accounting daemon in real time.
|
daemons
|
Displays the debug log for system daemons in real time.
|
database
|
Displays the debug log for the database service in real time.
|
dbmnt
|
Displays the debug log for the database mount service in real time.
|
dhcpwd
|
Displays the debug log for the DHCP service in real time.
|
hdrh
|
Displays the debug log for the High-Availability Data Replication Helper service.
|
hsrp
|
Displays the debug log for the Hot Standby Router Protocol service in real time.
|
imagemgmt
|
Displays the debug log for the golden image management subsystem in real time.
|
ntpwd
|
Displays the debug log for the NT Password service in real time.
|
syscfg
|
Displays the debug log for the system configuration service in real time.
|
sysmgr
|
Displays the debug log for the system manager service in real time.
|
sysmnt
|
Displays the debug log for the system mount service in real time.
|
system
|
Displays system syslog messages in real time.
|
trend
|
Displays the debug log for the trend service in real time.
|
vccjava
|
Displays the debug log for the Java subsystem in real time.
|
vccvha
|
Displays the debug log for the VCC_VHA subsystem in real time.
|
vframe
|
Displays VFrame syslog messages in real time.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The debug command is similar to the show logging command. The difference is that the debug display keeps the log open so that you see messages as they are added to the log. The show logging command displays the contents of the log at the time you enter the command.
Press Ctrl+C to end the log display.
Examples
The following is sample output from the debug services aaad command:
test-100# debug services aaad
Sep 13 14:39:43,364 Added signal handler for SIGHUP
Sep 13 14:39:43,365 AAA daemon starting...
Sep 13 14:39:43,365 active_start()
The following is sample output from the debug services database command:
test-100# debug services database
11:20:58 Maximum server connections 8
11:25:58 Checkpoint Completed: duration was 0 seconds.
11:25:58 Checkpoint loguniq 198, logpos 0x4c9018, timestamp: 0x355777
11:25:58 Maximum server connections 8
11:30:58 Checkpoint Completed: duration was 0 seconds.
11:30:58 Checkpoint loguniq 198, logpos 0x4d4018, timestamp: 0x3557f7
11:30:58 Maximum server connections 8
11:35:58 Checkpoint Completed: duration was 0 seconds.
11:35:58 Checkpoint loguniq 198, logpos 0x4df018, timestamp: 0x355877
Related Commands
Command
|
Description
|
show logging
|
Displays debugging or system logs.
|
show tech
|
Displays technical information that is useful for system debugging.
|
del install
To delete a patch, use the del install command in user EXEC mode.
del install staged patch_name
Syntax Description
staged patch_name
|
Installs a patch from the patch staging area. Specifiy the patch name in patch_name. The maximum number of characters is 80.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Usage Guidelines
Deleting a patch from the installation staging area does not uninstall the patch. You can not uninstall a patch that you installed using the install command.
Use the show install staged command to determine the patch name.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following example deletes the VFrameDebug package from the staging area:
test-100# del install staged VFrameDebug
Related Commands
Command
|
Description
|
copy
|
Manages system files.
|
install
|
Installs software upgrades or patches.
|
show install
|
Displays information about packages in the installation staging area.
|
do
To execute a user EXEC mode command while in any configure mode, use the do command in Global configuration mode or ethernet interface configuration mode.
do exec-command
Syntax Description
exec-command
|
Specify any user EXEC mode command.
|
Defaults
No default behavior or values.
Command Modes
Global configuration.
Ethernet interface configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
Include the parameters required by the command.
Examples
The following example pings 192.0.2.10:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# do ping 192.0.2.10
PING 192.0.2.10 (192.0.2.10) 56(84) bytes of data.
64 bytes from 192.0.2.10: icmp_seq=0 ttl=253 time=0.378 ms
64 bytes from 192.0.2.10: icmp_seq=2 ttl=253 time=0.325 ms
--- 192.0.2.10 ping statistics ---
4 packets transmitted, 2 received, 50% packet loss, time 3016ms
rtt min/avg/max/mdev = 0.325/0.351/0.378/0.032 ms, pipe 2
Related Commands
Command
|
Description
|
exit
|
Exits ethernet interface configuration mode to global configuration mode, global configuration mode to user EXEC mode, and the current CLI session.
|
end
|
Exits ethernet interface configuration mode to user EXEC mode and global configuration mode to user EXEC mode.
|
end
To exit modes, use the end command in ethernet interface configuration and global configuration modes.
end
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
Global configuration.
Ethernet interface configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The end command exits ethernet interface configuration mode to user EXEC mode and global configuration mode to user EXEC mode.
The exit command exits ethernet interface configuration mode to global configuration mode, global configuration mode to user EXEC mode, and the current CLI session.
Examples
The following example shows how to enter the global configuration mode and then return to user EXEC mode using the end command:
Enter configuration commands, one per line. End with CNTL/Z.
The following example shows how to enter ethernet interface configuration mode and then return to user EXEC mode using the end command:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# interface eth 0
test-100(config-eth)# end
Related Commands
Command
|
Description
|
exit
|
The exit command exits ethernet interface configuration mode to global configuration mode, global configuration mode to user EXEC mode, and the current CLI session.
|
exit
To exit modes, use the exit command in ethernet interface configuration, global configuration and user EXEC modes.
exit
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Global configuration.
Ethernet interface configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The exit command exits ethernet interface configuration mode to global configuration mode, global configuration mode to user EXEC mode, and the current CLI session.
The end command exits ethernet interface configuration mode to user EXEC mode and global configuration mode to user EXEC mode.
Examples
The following example shows how to enter global configuration mode then exit using the exit command:
Enter configuration commands, one per line. End with CNTL/Z.
Related Commands
Command
|
Description
|
end
|
Exits ethernet interface configuration mode to user EXEC mode and global configuration mode to user EXEC mode.
|
gir
To manage GIR settings, use the gir command in global configuration mode. To disable GIR settings, use the no form of this command.
gir {backup | remount | restore | setup}
no gir {backup | remount | restore | setup}
Syntax Description
backup
|
Backs up the Golden Image Repository to a remote storage device.
|
remount
|
Remounts the Golden Image Repository.
|
restore
|
Restores the Golden Image Repository from a previous backup.
|
setup
|
Sets up a Golden Image Repository and migrates images to new repository.
|
Defaults
The default golden image repository is located on the VFrame Data Center Director.
Command Modes
Global configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
1.2
|
The keyword setup-ha-secondary was deprecated.
|
Usage Guidelines
To use this command, you must first use gir setup on the other system in the redundant pair, and configure an external repository on either an NFS volume or SAN LUN. Use this command to identify the location of the repository.
The gir command leads you through golden image repository configuration. You must know the location of the storage you select for the repository. If you are migrating an existing repository, you must also know the login information for the existing location.
Examples
The following example sets up a GIR at192.0.2.10 in the volume testvol1:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# gir setup
Warning: Golden Image Repository setup will require shutting down
system services, making VFDC temporarily unavailable and
migration of golden images might take a long time.
Would you like to setup the GIR now (yes/no) [no] ? yes
Enter the new GIR location type: Local, NFS or SAN (L/N/S) ? N
Enter the Filer IP: 192.0.2.10
Enter the Volume Name: testvol1
Migrating to a NetApp filer.
Please enter a username for 192.188.2.57: root
Please enter a password for 192.188.2.57:
Would you like to cleanup the old GIR after migration is complete? (yes/no): yes
Proceed with shutting down of system services? (yes/no): yes
Attempting to mount new GIR to a temporary place.
Waiting for services to shutdown...
Copying 847668 KB from /gir to /mnt/girtemp... copy is 100% complete
Attempting to unmount the old GIR.
Removing 847668 KB from /gir/*... remove is 100% complete
Remounting new GIR to permanent location.
Updating System Configuration to reflect new GIR.
Related Commands
Command
|
Description
|
show gir
|
Displays information about the golden image repository.
|
install
To manage patches, use the install command in user EXEC mode.
install {abort | update file-name [force]}
Syntax Description
abort
|
Aborts a failed high availability upgrade.
|
force
|
(Optional) Forces the reinstallation of a patch.
|
update file-name
|
Installs a patch. Specify the patch file name in file-name. The maximum number of characters is 32.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
Before you can install a patch, you must copy it into the staging area using the copy command. Following is the typical sequence of commands:
•
copy—To copy the patch from another server to the installation staging area.
•
show install staged—To verify the patch is in the staging area, and to verify the patch name for use in the installation command.
•
install—To install the patch.
•
del—To delete the patch from the staging area.
You cannot uninstall a patch. If you reinstall the entire system software, any patches in the staging area are erased.
Examples
The following example installs a patch called VFrameDebug:
test-100# install update VFrameDebug
PROGRESS: extraction finished Fri Jul 28 11:04:59 PDT 2006
PROGRESS: Start upgrade install script
PROGRESS: Install completed OK
Related Commands
Command
|
Description
|
del install
|
Deletes a patch from the installation staging area.
|
show install
|
Displays information about packages in the installation staging area.
|
interface
To enter ethernet interface configuration mode, use the interface command in global configuration mode. To disable interface settings, use the no form of this command.
interface eth port-number
no interface eth port-number
Syntax Description
eth port-number
|
Accesses ethernet interface configuration mode. Specify the Ethernet port number in port-number. Valid port numbers are 0, 1 or 2.
|
Defaults
No default behavior or values.
Command Modes
Global configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
Most interface configuration, such as specifying the IP address and subnet mask, is done using the setup command.
Examples
The following example shows you how to enter ethernet interface configuration mode:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# interface eth 0
Related Commands
Command
|
Description
|
end
|
Exits ethernet interface configuration to user EXEC mode and global configuration mode to user EXEC mode.
|
setup
|
Performs initial system configuration.
|
show interface
|
Displays configuration information about the Ethernet interfaces.
|
ip
To manage IP settings, use the ip command. To disable IP settings, use the no form of this command.
ip {dns {domain domain-name | server ip-address} | firewall eth port-number {management |
data | open}} | start | stop | route network-ip gateway-ip [metric metric-value]}
no ip {dns {domain domain-name | server ip-address} | firewall eth port-number {management
| data | open}} | start | stop | route network-ip gateway-ip [metric metric-value]}
Syntax Description
data
|
Sets up the firewall with a date.
|
dns
|
Configures DNS settings.
|
domain domain-name
|
Identifies the domain of the DNS server. Specify the domain name in domain-name. The maximum number of characters is 64.
|
eth port-number
|
Identifies the Ethernet interface. Specify the Ethernet interface port number in port-number. Valid port numbers are 0, 1 or 2.
|
firewall
|
Configures firewall settings.
|
management
|
Sets up the firewall for management.
|
metric metric-value
|
(Optional) Defines the metric. Specify the metric value in metric-value. The maximum number of characters is 32767.
|
open
|
Sets up the firewall with no restrictions.
|
route network-ip gateway-ip
|
Configures a static route. Specify the destination network IP address in network-ip and the destination network gateway in gateway-ip. The format is A.B.C.D.
|
server ip-address
|
Identifies the DNS server. Specify the address of the server in ip-address. The format is A.B.C.D.
|
start
|
Starts the IP tables firewall.
|
stop
|
Stops the IP tables firewall.
|
Defaults
No default behavior or values.
Command Modes
Global configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
These are the firewall settings. Use the show ip iptables command to display more detailed information.
•
Loopback interface—Permit all access.
•
All interfaces (defaults if you start the firewall, even for open interfaces)—Drop these from external sources:
–
Packets on the FORWARD chain.
–
Packets deemed unclean by the system.
–
Stealth TCP port scans.
–
Packets to ports 2812, 5025, 32772, and 7911.
•
Management firewall settings—If you configure an interface to use the management firewall, these additional items are dropped:
–
All DHCP incoming requests.
–
All packets from network 0/24.
–
All packets from 255.255.255.255/24.
–
All access to the database port.
–
All access to the VFDC Host Agent (VHA) port.
–
All access to NFS.
•
Data firewall settings—If you configure an interface to use the data firewall, these are the additional actions:
–
All DHCP packets are allowed.
–
All other broadcast traffic is dropped.
•
Open firewall settings—If you configure an interface to be open, only the default settings for all interfaces are used.
Examples
The following example adds a DNS server:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# ip dns server 192.168.1.4
The following example creates a management firewall on eth0:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# ip firewall eth 0 management
test-100(config)# ip firewall start
Related Commands
Command
|
Description
|
show ip
|
Displays information about IP-related settings.
|
license
To install a license, use the license command in global configuration mode. To uninstall a license, use the no form of this command.
license install file-name
no license install file-name
Syntax Description
install file-name
|
Installs the product license. Specify the license file name in file-name. The maximum number of characters is 80.
|
Defaults
No default behavior or values.
Command Modes
Global configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
VFrame has these types of product license:
•
Managed Switch Port—You must have a license for each switch port to which a managed server is connected. Port limits include ports on Ethernet and Fibre Channel switches. For example, if a server is using one Ethernet connection and two Fibre Channel connections to managed switches, that counts as three managed switch ports. VFrame includes a base license for 100 managed switch ports. If you need more managed ports, you must purchase and install additional managed switch port licenses.
To determine how many ports you using, open the VFrame GUI and select Help > About. The About dialog box displays your current licenses and how many ports you are using.
•
High Availability—If you want to enable redundancy on VFrame to provide a high-availability configuration with another VFrame Data Center Director, you must install a high-availability license on the active VFrame Data Center Director.
To obtain and install a product license, follow these steps:
1.
Enter the show license hostid command to obtain your host ID. If you are obtaining a high-availability license, get the host ID from both VFrame Data Center Directors.
2.
Go to Cisco.com and use your host ID to purchase the license you require. Place the license on a server that is accessible to the VFrame Data Center Director and that supports a file download protocol supported by VFrame (for example, SCP, FTP, TFTP, or HTTP).
3.
Enter the copy url url_of_license_file license command to download the license to your VFrame Data Center Director. If you are installing a high-availability license, download the license to the active member of the redundant pair.
4.
Enter config to start configure mode.
5.
Enter the license command to install the downloaded license file.
6.
Enter exit to leave configure mode.
7.
Enter show license status to verify that the license was installed.
Examples
The following example installs a license:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# license install vfdc_20070531.txt
Successfully installed license file!
Related Commands
Command
|
Description
|
copy url license
|
Retrieves a license file from a HTTP, TFTP, FTP or SCP server.
|
show license
|
Displays information about the VFrame product license.
|
ntp
To manage NTP settings, use the ntp command in global configuration mode. To disable NTP settings, use the no form of this command.
ntp {peer peer-name [prefer] | server server-name [prefer]}
no ntp {peer peer-name [prefer] | server server-name [prefer]}
Syntax Description
peer peer-name
|
Defines the NTP peer. Specify the NTP peer name or IP address in peer-name. The maximum number of characters is 80. The format of the address is A.B.C.D.
|
prefer
|
(Optional) Specifies a peer or server as a preferred peer or server.
|
server server-name
|
Defines the NTP server. Specify the NTP server name or IP address in server-name. The maximum number of characters is 80. The format of the address is A.B.C.D.
|
Defaults
NTP is not enabled.
Command Modes
Global configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
If you disconnect from all NTP peers and servers, NTP is not used as the time protocol on your Director. The system clock is then maintained locally.
The system clock can change the peer clock, or the peer clock can change the system clock. The NTP server influences the system clock, but the system does not in turn influence the NTP server clock.
Examples
The following example specifies an NTP peer:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# ntp peer 10.100.40.16
The following example specifies an NTP server and identifies it as the preferred server:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# ntp server 10.100.40.17 prefer
Related Commands
Command
|
Description
|
show ntp
|
Displays the information about the NTP setup for the system.
|
show clock
|
Displays the current date and time.
|
ping
To test a remote system, use the ping command in user EXEC mode.
ping ip-address
Syntax Description
ip-address
|
Specify the IP address of the remote system. The format is A.B.C.D.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The command sends ICMP echo requests and waits for ICMP echo replies. A ping is successful when echo replies are received. A successful ping indicates that the remote system is alive and responsive.
The ping command sends four echo requests. Press Ctrl+C to end the ping before the four requests are finished.
Examples
The following example pings the remote system 192.0.2.10:
test-100# ping 192.0.2.10
PING 192.0.2.10 (192.0.2.10) 56(84) bytes of data.
From 10.100.30.1: icmp_seq=0 Redirect Host (New nexthop: 10.100.30.50)
64 bytes from 192.0.2.10: icmp_seq=0 ttl=64 time=0.642 ms
64 bytes from 192.0.2.10: icmp_seq=1 ttl=64 time=0.070 ms
64 bytes from 192.0.2.10: icmp_seq=2 ttl=64 time=0.065 ms
64 bytes from 192.0.2.10: icmp_seq=3 ttl=64 time=0.069 ms
--- 192.0.2.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3011ms
rtt min/avg/max/mdev = 0.065/0.211/0.642/0.248 ms, pipe 2
Related Commands
Command
|
Description
|
traceroute
|
Determines the router hops between the VFrame system and a remote system.
|
reboot
To restart the Director, use the reboot command in user EXEC mode.
reboot
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The reboot command shuts down the system, and then restarts it. The shutdown command shuts down the system without restarting it.
After entering the reboot command, you are asked to confirm that you want to reboot the system. If you are connected to the system through an SSH client, you loose connection during the reboot and you must log in again.
If you are rebooting a system that is a member of a high-availability redundant pair and the system is the active member, use the redundancy resign command before the reboot command. Explicit resignation allows the standby system to take over active status without delay, making the transition smoother than if you simply reboot the system.
Examples
The following example reboots a VFrame Data Center Director:
Continue with reboot? [y/n] y
Broadcast message from root (pts/0) (Fri Jul 14 10:58:46 2006):
The system is going down for reboot NOW!
Related Commands
Command
|
Description
|
shutdown
|
Disables or shuts down an interface or the system.
|
redundancy
To manage HA settings, use the redundancy command in global configuration mode. To disable HA settings, use the no form of this command.
redundancy {coup | enable | hellotime hellotime-seconds | holdtime holdtime-seconds | interface
| peer host-name db-name ha-ipaddress server-ipaddress | resign}
no redundancy {enable | hellotime | holdtime | interface}
Syntax Description
coup
|
Gives permission to a member of a HA pair to take over as the active member.
|
enable
|
Enables the redundancy feature.
|
hellotime hellotime-seconds
|
Enables the hellotime feature. Specify how often the heartbeat signal is sent to the other member of the redundant pair in hellotime-seconds. The range is 3 to 30 seconds.
|
holdtime holdtime-seconds
|
Enables the holdtime feature. Specify how long to assume the peer is still functioning after not receiving a heartbeat in holdtime-seconds. The range is 3 to 300 seconds.
|
interface
|
Configures the HA interface.
|
peer host-name db-name ha-ipaddress server-ipaddress
|
Identifies the other member of the redundant pair and enables redundancy. Specify the name of the peer, the name of the peer database, the IP address of the peer high availability interface, and the IP address of the peer server communication interface. The maximum number of characters allowed in each argument is 32.
|
resign
|
Takes away the status of active member.
|
Command Default
Redundancy is disabled.
Hello time is 10 seconds.
Hold time is 20 seconds.
Command Modes
Global configuration.
Usage Guidelines
You have to setup a remote GIR before you can enable redundancy.
You must enable high-availability during initial configuration for any of the redundancy commands to work. You also must install and configure the peer correctly.
If you disable redundancy, and reconfigure the system to use the local system as the backup location, the redundancy enable command prompts you to select a remote backup location.
If you did not configure the system to use an external database backup location during setup, the redundacy peer command prompts you to select a backup location. You must select a remote backup location to successfully configure redundancy.
Use the show redundancy status and show redundancy config commands to view the current status and configuration.
For redundancy to work correctly, the show system services command will show the hdrh and hsrp services as started. When VFrame is operating in standalone mode, the opposite state is normal for these services.
The coup command works only if the member is the standby member of the pair and redundancy is enabled.
The resign command works only if the member is the active member of the pair and redundancy is enabled.
Hold time is reset every time a heartbeat is received. After hold time is exceeded, the system assumes the peer is no longer functioning. If the system is currently the standby member of the pair, it takes over as the active member. To avoid unnecessarily quick failover, ensure that hold time is a multiple of hello time.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
1.2
|
Added the keyword interface.
|
Examples
The following example identifies a peer and enables redundancy:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# redundancy peer vframepeer.example.com peerdb 192.0.2.10 192.0.2.11
The following example resigns active status for a member:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# redundancy resign
The following example takes active status away from the peer:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# redundancy coup
Related Commands
Command
|
Description
|
db
|
Manages databases.
|
show redundancy
|
Displays information about high-availability settings.
|
setup
To perform system configuration, use the setup command in user EXEC mode.
setup
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The setup command leads you through system configuration, asking for input based on previous input. In general, you should rerun this command only if you want to change the high-availability configuration.
Most changes require that you reinitialize the database, which erases all information in the database, including all items you or other users have created using the product. It also removes the golden image repository configuration.
Examples
The following is sample output from the setup command:
Setup is used to configure basic VFDC system parameters
Entering System Configuration wizard
Press Ctrl-C to abort configuration dialog at any prompt.
Current/default settings are in square brackets '[]'.
Press Enter to choose current/default value.
Would you like to configure password for user 'admin' (yes/no) [no] ? yes
Changing password for user admin.
BAD PASSWORD: it is based on a dictionary word
passwd: all authentication tokens updated successfully.
Would you like to configure password for user 'macrouser' (yes/no) [no] ? yes
Changing password for user macrouser.
passwd: all authentication tokens updated successfully.
Enter hostname [test-100.nbv.cisco.com]:
Enter Management (Northbound) Interface: eth [0]:
Enter eth0 IP address [10.100.20.10]:
Enter eth0 netmask [255.255.255.0]:
Enter Server Communication Interface: eth [1]:
Enter eth1 IP address []: 10.100.30.10
Enter eth1 netmask []: 255.255.255.0
Enter default gateway IP address [10.100.20.1]:
Configure DNS Server (yes/no) [yes] ?
Enter the DNS Server IP address [192.188.1.3]:
Enter a unique Database Server name for this system
consisting of up to 32 alphanumeric characters [vccids]:
Would you like to configure HA interface (yes/no) [no] ?
You have entered the following configuration:
Hostname : test-100.nbv.cisco.com
Management Interface : eth0
Management IP/Netmask : 10.100.20.10 255.255.255.0
Server Comn Interface : eth1
Server Comn IP/Netmask : 10.100.30.10 255.255.255.0
Default Gateway IP : 10.100.20.1
DNS Domain Name : nbv.cisco.com
DNS Server IP : 192.188.1.3
VHA connection over SSL: yes
Storage mode : Storage Template Array
DB backup size estimate: 5000000
DB backup storage : local
Would you like to apply this configuration (yes/no) [yes] ? yes
Waiting for 0 out of 16 processes to shutdown
Waiting for IDS to go down
Waiting for vcc_java to go down
Related Commands
Command
|
Description
|
clear setup
|
Clears the current setup configuration.
|
show redundancy
|
Displays information about high-availability.
|
show system
|
Displays information about the system.
|
show cdp
To display information about CDP settings, use the show cdp command in user EXEC mode.
show cdp {all | entry {all | name device-name} | global | neighbors [detail]}
Syntax Description
all
|
Displays CDP configuration information for all CDP-enabled interfaces.
|
detail
|
(Optional) Specify to show full information for each neighbor.
|
entry all | name device-name
|
Displays information about entries in the CDP table. Specify all to show all entries or name for specific devices. Specify the device name in device-name. The maximum number of characters is 256.
|
global
|
Displays information about global CDP configuration.
|
neighbors
|
Displays information about neighbors that are running CDP.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following is sample output from the show cdp global command:
test-100# show cdp global
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
The following is sample output from the show cdp neighbors command:
test-100# show cdp neighbors
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Hldtme Capability Platform Port ID
switch1.example.com eth0 174 R S I WS-C6509-E Gig3/24
switch1.example.com eth1 174 R S I WS-C6509-E Gig3/37
Related Commands
Command
|
Description
|
show system
|
Displays information about system services and configurations.
|
show clock
To display the current date and time, use the show clock command in user EXEC mode.
show clock
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following example displays the system clock:
Fri Jul 28 15:30:32 PDT 2006
Related Commands
Command
|
Description
|
ntp
|
Enables NTP.
|
show ntp
|
Displays information about the Network Time Protocol (NTP) setup.
|
show fault
To display information about system errors, use the show fault command in user EXEC mode.
show fault {history system-errors | status}
Syntax Description
history system-errors
|
Displays historical information about VFrame system errors. Specify the number of system errors you want to view in system-errors. The maximum number of errors is 1000.
|
status
|
Displays the current status of all system errors.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
VFrame system fault alarms relate to the functioning of the VFrame Data Center Director instead of your data center equipment and service networks. You can configure notifications for these fault alarms in the SMTP system settings.
VFrame system fault state machines can have these states:
•
Clear—There is not an active fault alarm for this fault state machine. If there had been an active fault alarm, it has been resolved.
•
Raise—There is an active fault alarm for this fault state machine.
When you use the show fault history command, the fault alarm severity is represented by a number. The numbers have the following meanings:
•
0 (Emergency)—The system is unusable.
•
1 (Alert)—You must take action must immediately to resolve the problem.
•
2 (Critical)—This is a critical condition.
•
3 (Error)—This is an error condition
The following are the VFrame system fault notifications:
•
HA Peer Unreachable—The local VFDC (VFrame Data Center) is not receiving HSRP packets from the peer VFrame Data Center.
To resolve the problem, use any of the following:
–
Use the show redundancy config command on both the local and peer VFDC to determine the source of the problem.
–
Check the Ethernet cable that connects the peers.
–
Reboot the peer.
–
Check the redundancy configuration in both peers to ensure they use the correct IP addresses.
•
DB Down—The VFrame Data Center database experienced a read/write failure.
To resolve the problem, use any of the following:
–
Use the debug services database command to determine the source of the problem.
–
Reboot the system.
•
VFDC Service Is Down—One or more VFrame Data Center system services is not functioning correctly.
To resolve the problem, use any of the following:
–
Use the show system status command to determine which services are down, then use the debug services <service> command to find out why the service is down.
–
Use the tech service reset command to restart the service.
–
Reboot the system.
•
HA Peer Version Mismatch—The VFrame Data Center software installed on one peer is a different version than the software installed on the other peer.
To resolve the problem, use any of the following:
–
Use the debug services hsrp command to determine the source of the problem.
•
DB Backup Device Unusable—Either VFrame Data Center is not able to reach the NFS filer or the LUN, or the disk space is low on the NFS filer or LUN.
To resolve the problem, use any of the following:
–
Use the debug services sysmnt to determine the source of the problem.
–
If the fault was generated because the service com IP directory or the VIP directory on the filer was deleted, use the debug services sysmt command to find out what directory was deleted, then recreate that directory.
•
Disk Space Low for DB Backup—VFrame Data Center is using a local disk for data base backup and the disk space is low.
To resolve the problem, create space on the local disk.
Examples
The following is sample output from the show fault status command:
test-100# show fault status
=====================================
HA Peer Unreachable CLEAR
VFDC in unlicensed state CLEAR
Related Commands
Command
|
Description
|
redundancy
|
Enables HA features.
|
tech
|
Performs advanced system debugging.
|
show files
To display information about system files, use the show files command in user EXEC mode.
show files {inventory | logs | tftp}
Syntax Description
inventory
|
Displays files in the inventory directory.
|
logs
|
Displays files in the logs directory.
|
tftp
|
Displays files in the tftp directory.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1.4
|
This command was introduced.
|
Examples
The following is sample output from the show files tftp command:
test-100# show files tftp
/tftp/WinuUdates-dummy.exe
/tftp/initrd-discos.img.org
/tftp/pxelinux.cfg/default
Related Commands
Command
|
Description
|
copy file
|
Copies a file to a remote URL.
|
show logging trend
|
Displays the debug log for the trend service.
|
show gir
To display information about the GIR, use the show gir command in user EXEC mode.
show gir
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following is sample output from the show gir command:
test-100(config)# show gir
Current GIR Information: NFS - Filer: 192.0.2.10 Volume: testvol1
Related Commands
Command
|
Description
|
db
|
Manages databases.
|
gir
|
Configures the golden image repository.
|
show hardware
To display information about hardware, use the show hardware command in user EXEC mode.
show hardware
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following is sample output from the show hardware command:
Model: HP ProLiant DL380 G4
Model: Intel(R) Xeon(TM) CPU 3.40GHz
Freq: 3400.295 MHz, Cache: 1024 KBytes
Model: Intel(R) Xeon(TM) CPU 3.40GHz
Freq: 3400.295 MHz, Cache: 1024 KBytes
Model: Intel(R) Xeon(TM) CPU 3.40GHz
Freq: 3400.295 MHz, Cache: 1024 KBytes
Model: Intel(R) Xeon(TM) CPU 3.40GHz
Freq: 3400.295 MHz, Cache: 1024 KBytes
Host Bus Adapter: qla2300/0
Node WWN: 200000e08b847b8e, Port WWN: 210000e08b847b8e
Related Commands
Command
|
Description
|
show interface
|
Displays configuration information about the Ethernet interfaces.
|
show ids
To display information about IDS, use the show ids command in user EXEC mode.
show ids {config | logs | parameters | status}
Syntax Description
config
|
Displays IDS configuration.
|
logs
|
Displays IDS logs.
|
parameters
|
Displays IDS parameters.
|
status
|
Displays IDS online status.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.2
|
This command was introduced.
|
Examples
The following is sample output from the show ids logs command:
IBM Informix Dynamic Server Version 10.00.UC1 -- On-Line -- Up 9 days 02:02:
Buffer bufused bufsize numpages numwrits pages/io
phybegin physize phypos phyused %used
Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io
L-1 0 16 8804706 1129992 537159 7.8 2.1
Subsystem numrecs Log Space used
OLDRSAM 8804706 1642982588
address number flags uniqid begin size used %used
483bd0b0 7 U-B---- 567 3:53 2000 2000 100.00
483bd0f8 8 U-B---- 568 3:2053 2000 2000 100.00
483bd140 9 U-B---- 569 3:4053 2000 2000 100.00
483bd188 10 U-B---- 570 3:6053 2000 2000 100.00
483bd1d0 11 U-B---- 571 3:8053 2000 2000 100.00
483bd218 12 U-B---- 572 3:10053 2000 2000 100.00
483bd260 13 U-B---- 573 3:12053 2000 2000 100.00
483bd2a8 14 U-B---- 574 3:14053 2000 2000 100.00
483bd2f0 15 U-B---- 575 3:16053 2000 2000 100.00
483bd338 16 U-B---- 576 3:18053 2000 2000 100.00
483bd380 17 U---C-L 577 3:20053 2000 957 47.85
483bd3c8 18 U-B---- 562 3:22053 2000 2000 100.00
483bd410 19 U-B---- 563 3:24053 2000 2000 100.00
483bd458 20 U-B---- 564 3:26053 2000 2000 100.00
483bd4a0 21 U-B---- 565 3:28053 2000 2000 100.00
483bd4e8 22 U-B---- 566 3:30053 2000 2000 100.00
Related Commands
Command
|
Description
|
db
|
Manages databases.
|
show install
To display information about patches, use the show install command in user EXEC mode.
show install {history [detail [name patch-name] | short] | staged [detail [name patch-name]]}
Syntax Description
detail
|
Displays detailed installation history or a detailed list of patches in the installation staging area.
|
history
|
Displays a history of patches in the installation staging area.
|
name patch-name
|
(Optional) Identifies a specific patch. Specify the patch name in patch-name. The maximum number of characters is 80.
|
short
|
Displays brief information about the patches in the installation staging area.
|
staged
|
Display patches in the installation staging area.
|
Command Default
The default for history is short.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
Use the show install staged command after you copy a patch into the staging area to determine the exact name you will need to use on the install command.
Examples
The following is sample output from the show install staged command:
test-100# show install staged
Patches waiting in staging area
Name Version Type Summary
----------------- -------- ------- -------------------
VFRAMEDebug 1.1 update VFRAME Debug patch
Related Commands
Command
|
Description
|
copy
|
Manages system files.
|
install
|
Manages patches.
|
show interface
To display information about the Ethernet interfaces, use the show interface command in user EXEC mode.
show interface [eth port-number]
Syntax Description
eth port-number
|
(Optional) Identifies the Ethernet interface. Specify the port number in port-number. Valid port numbers are 0, 1 or 2.
|
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
:The following is sample output from the show interface eth 0 command:
test-100# show interface eth 0
IP address: 10.100.20.10, netmask: 255.255.255.0
broadcast address: 10.100.20.255
hardware address: 0:14:c2:c0:94:e7
Received: 114865 bytes, 892 packets, 0 input errors, 0 drops
Transmitted: 80600 bytes, 638 packets, 0 output errors, 0 drops
Related Commands
Command
|
Description
|
interface
|
Provides access to the ethernet interface configuration mode.
|
show ip
To display information about IP settings, use the show ip command in user EXEC mode.
show ip {dns | firewall [eth port-number] | iptables | route}
Syntax Description
dns
|
Displays information about the Domain Name System (DNS) settings.
|
eth port-number
|
(Optional.) Displays information about specific Ethernet interfaces. Specify the port number in port-number. Valid port numbers are 0, 1 or 2.
|
firewall
|
Displays information about the firewall settings.
|
iptables
|
Displays the IP firewall tables.
|
route
|
Displays the routing table.
|
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
For information on how to configure the settings displayed by this command, and on the various firewall settings, see the ip command.
Examples
The following is sample output from the show ip dns command:
The following is sample output from the show ip firewall command:
test-100# show ip firewall
firewall eth0 : management
Related Commands
Command
|
Description
|
ip
|
Manages IP settings.
|
show interface
|
Displays information about the Ethernet interfaces.
|
show license
To display information about licenses, use the show license command in user EXEC mode.
show license {file [all | name file-name] | hostid | status}
Syntax Description
all
|
Displays all installed licenses.
|
file
|
Displays the license files that are installed.
|
hostid
|
Displays the host system ID.
|
name file-name
|
Displays information about a specific license file.
|
status
|
Displays the status of the current license.
|
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The list that displays when you use the all command does not include downloaded license files.
Examples
The following is sample output from the show license hostid command:
test-100# show license hostid
The following is sample output from the show license status command:
test-100# show license status
Licensed Feature License count
--------------------------------------------------
LicVFrameAccessSwitchPortsMax 100
Related Commands
Command
|
Description
|
copy
|
Manages system files and patches.
|
license
|
Installs a license.
|
show logging
To display debug or system logs, use the show logging command in user EXEC mode.
show logging {daemons | database | dbmnt | dhcpwd | hdrh | hsrp | imagemgmt | ntpwd |
syscfgd | sysmgr | sysmnt | system | trend | vccjava | vccvha | vframe}
Syntax Description
daemons
|
Displays the debug log for system daemons.
|
database
|
Displays the debug log for the database service.
|
dbmnt
|
Displays the debug log for the database mount service.
|
dhcpwd
|
Displays the debug log for the DHCP service.
|
hdrh
|
Displays the debug log for the HDRH service.
|
hsrp
|
Displays the debug log for the HSRP service.
|
imagemgmt
|
Displays the debug log for the golden image management subsystem.
|
ntpwd
|
Displays the debug log for the NTPWD service.
|
syscfgd
|
Displays the debug log for the system configuration service.
|
sysmgr
|
Displays the debug log for the system manager service.
|
sysmnt
|
Displays the debug log for the system mount service.
|
system
|
Displays system syslog messages.
|
trend
|
Displays the debug log for the trend service.
|
vccjava
|
Displays the debug log for the Java subsystem.
|
vccvha
|
Displays the debug log for the VCC_VHA subsystem.
|
vframe
|
Displays VFrame service messages.
|
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
1.2
|
The keyword aaad was deprecated.
|
Usage Guidelines
Enter q and press Enter if you want to stop the log display before reaching the end of the log.
The debug services command and the show logging command are similar. The difference is that debug displays in real time. It keeps the log open so that you see messages as they are added to the log. The show logging command displays the contents of the log at the time you enter the command.
Examples
The following is sample output from the show logging vframe command:
test-100# show logging vframed
Dec 26 12:50:28 test-100 sysmnt: Added signal handler for SIG_LOG_INIT
Dec 26 12:51:13 test-100 dbmnt: Added signal handler for SIG_LOG_INIT
Dec 26 12:51:37 test-100 aaad: Added signal handler for SIG_LOG_INIT
Dec 26 12:52:07 test-100 dhcpwd: DHCPWD Starting
Dec 26 12:53:33 test-100 dhcpwd: No dhcp subnets defined in config
Related Commands
Command
|
Description
|
debug services
|
Displays debug or system logs in real time.
|
show tech
|
Displays information useful for system debugging.
|
show logins
To display information about CLI log ins, use the show logins command in user EXEC mode.
show logins cli [count user-logins]
Syntax Description
cli
|
Displays the login history.
|
count user-logins
|
(Optional) Displays a specific number of logins. Specify the number of logins in user-logins. The maximum number of characters is 4294967296.
|
Command Default
The default for count is 10.
Command Modes
User EXEC (Exec)
Usage Guidelines
The login information table displays the following information (from left to right):
•
User name. The name reboot indicates that the system was rebooted.
•
Connection type. The port number (pts) for connections from a connected network; the TTY line (tty) for connections from the console; or system boot when rebooting the system.
•
The date of the connection, start time, and end time, with the total connection time in parentheses.
•
The DNS name or IP address from which the user connected. The device might be a VPN concentrator.
If you want to view user login information in the GUI, use the VFrame Administration dialog box.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following is sample output from the show login cli command:
test-100# show logins cli
root pts/0 Mon Jul 24 10:18 still logged in vpn.example.com
root pts/1 Fri Jul 21 15:54 - 16:33 (00:39) vpn.example.com
root pts/0 Fri Jul 21 15:42 - 16:37 (00:54) 192.168.216.147
reboot system boot Fri Jul 21 15:41 (2+18:39) 10.100.20.5
root pts/0 Fri Jul 21 14:07 - down (01:27) 192.168.216.147
reboot system boot Fri Jul 21 14:06 (01:27) 10.100.20.5
root pts/0 Fri Jul 21 13:54 - down (00:05) 192.168.216.147
root pts/0 Fri Jul 21 11:42 - 13:54 (02:12) 192.168.216.147
reboot system boot Fri Jul 21 11:41 (02:18) 10.100.20.5
reboot system boot Fri Jul 21 11:34 (00:03) 10.100.20.5
Related Commands
Command
|
Description
|
exit
|
Exit modes.
|
reboot
|
Restarts the Director.
|
show ntp
To display information about NTP settings, use the show ntp command in user EXEC mode.
show ntp {config | status | trace}
Syntax Description
config
|
Displays a list of NTP servers and peers.
|
status
|
Displays clock accuracy and the polling interval.
|
trace
|
Displays a trace of NTP server relationships.
|
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
You must already have added NTP servers to the configuration to see any output.
Examples
The following is sample output from the show ntp config command:
test-100# show ntp config
ntp server 10.68.10.150 prefer
The following is sample output from the show ntp trace command:
127.0.0.1: stratum 3, offset 0.000011, synch distance 0.10518
171.68.10.80: stratum 2, offset 0.003159, synch distance 0.09409
144.254.15.121: stratum 1, offset 0.003738, synch distance 0.00000, refid 'GPS'
Related Commands
Command
|
Description
|
ntp
|
Manages NTP settings.
|
show clock
|
Displays the current date and time.
|
show process
To display information about processes running on the Director, use the show process command in user EXEC mode.
show process
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following is sample output from the show process command:
PID TTY STAT TIME COMMAND
5 ? SW 0:00 [migration/3]
4 ? SW 0:00 [migration/2]
3 ? SW 0:00 [migration/1]
2 ? SW 0:00 [migration/0]
7 ? SWN 0:00 [ksoftirqd/0]
8 ? SWN 0:00 [ksoftirqd/1]
9 ? SWN 0:00 [ksoftirqd/2]
10 ? SWN 0:00 [ksoftirqd/3]
15 ? SW 0:00 [mdrecoveryd]
23 ? SW 0:00 [qla2300_dpc0]
24 ? SW 0:00 [qla2300_dpc1]
193 ? SW 0:00 [kjournald]
194 ? SW 0:00 [kjournald]
195 ? SW 0:00 [kjournald]
196 ? SW 0:00 [kjournald]
557 ? S 0:00 syslogd -m 0
687 ? S 0:01 /usr/sbin/sshd
10749 ? S 0:00 \_ sshd: admin@pts/0
10763 pts/0 S 0:00 \_ /bin/bash /opt/vcc/system/bin/vccsh.sh
10764 pts/0 S 0:00 \_ /opt/vcc/system/bin/vccsh -s /opt/vcc/sys
10804 pts/0 S 0:00 \_ /opt/vcc/system/bin/vccsh -s /opt/vcc
/system/cfg/main_tree.par
10806 pts/0 R 0:00 | \_ /bin/ps -ax --forest
10805 pts/0 S 0:00 \_ more
746 ? SW 0:00 [kjournald]
772 ? S 0:02 /opt/vcc/system/bin/sysmgr_main start
789 ? S 0:00 \_ /opt/vcc/system/bin/logger --logname /var/log/dae
mons.log --pidfile /var/run/vcc/sysmgrLogger.pid
790 ? S 0:44 \_ /opt/vcc/system/bin/monit -s /opt/vcc/config/moni
t.state -Ic /opt/vcc/config/monitrc
792 ? S 0:02 | \_ /opt/vcc/system/bin/monit -s /opt/vcc/config/
monit.state -Ic /opt/vcc/config/monitrc
793 ? S 0:04 | \_ /opt/vcc/system/bin/monit -s /opt/vcc/con
fig/monit.state -Ic /opt/vcc/config/monitrc
877 ? S 0:02 \_ /opt/vcc/system/bin/sysmgr_main start
777 ttyS0 S 0:00 /sbin/agetty ttyS0 9600 vt100-nav
778 tty1 S 0:00 /sbin/mingetty tty1
779 tty2 S 0:00 /sbin/mingetty tty2
780 tty3 S 0:00 /sbin/mingetty tty3
781 tty4 S 0:00 /sbin/mingetty tty4
782 tty5 S 0:00 /sbin/mingetty tty5
783 tty6 S 0:00 /sbin/mingetty tty6
785 ttyS1 S 0:00 /sbin/agetty -L 9600 ttyS1 vt102
795 ? S 0:02 /opt/vcc/system/bin/mon_maild
1003 ? S 0:00 /opt/vcc/system/bin/sysmnt
1018 ? S 11:22 /opt/informix/10/bin/oninit -Sy
1019 ? S 0:17 \_ /opt/informix/10/bin/oninit -Sy
1020 ? S 0:14 \_ /opt/informix/10/bin/oninit -Sy
1021 ? S 0:03 \_ /opt/informix/10/bin/oninit -Sy
1022 ? S 0:18 \_ /opt/informix/10/bin/oninit -Sy
1023 ? S 0:02 \_ /opt/informix/10/bin/oninit -Sy
1024 ? S 0:03 \_ /opt/informix/10/bin/oninit -Sy
1025 ? S 1:42 \_ /opt/informix/10/bin/oninit -Sy
1026 ? S 0:02 \_ /opt/informix/10/bin/oninit -Sy
1027 ? S 0:02 \_ /opt/informix/10/bin/oninit -Sy
1028 ? S 0:02 \_ /opt/informix/10/bin/oninit -Sy
1029 ? S 0:02 \_ /opt/informix/10/bin/oninit -Sy
1030 ? S 0:02 \_ /opt/informix/10/bin/oninit -Sy
1031 ? S 0:02 \_ /opt/informix/10/bin/oninit -Sy
1302 ? S 0:00 /opt/vcc/system/bin/syscfgd
1308 ? S 1:20 /opt/vcc/system/bin/dbmnt
1332 ? S 0:01 /opt/vcc/system/bin/cdpd
1335 ? S 0:00 /opt/vcc/system/bin/ntpwd
1338 ? SL 0:09 \_ /usr/sbin/ntpd -b -n -U ntp -g -x
1340 ? S 0:05 /opt/vcc/system/bin/radiusd
1373 ? S 0:31 /opt/vcc/system/bin/aaad
1398 ? S 0:00 /usr/sbin/in.tftpd -l -v -s /tftpboot
1448 ? S 0:02 /opt/vcc/system/bin/image_mgmt
1551 ? SN 0:00 /opt/vcc/system/bin/vcc_vha
1553 ? SN 0:02 \_ /opt/vcc/system/bin/vcc_vha
1554 ? SN 0:09 \_ /opt/vcc/system/bin/vcc_vha
1555 ? SN 0:05 \_ /opt/vcc/system/bin/vcc_vha
1571 ? S 0:00 /opt/vcc/system/bin/dhcpwd
1573 ? S 0:02 \_ /opt/vcc/system/bin/dhcpwd
1574 ? S 0:00 \_ /opt/vcc/system/bin/dhcpwd
1579 ? S 1:21 /usr/bin/perl -w /home/informix/bin/phyll.pl
24386 ? S 22:59 /usr/java/jre/bin/java -classpath /opt/vcc/java-app/c
fg/jetty:/opt/vcc/java-app/classes:/opt/vcc/java-app/www/WEB-INF/lib/DMXMLExport
.jar:/opt/vcc/java-app/www/WEB-INF/lib/HPiLOXMLTypes.jar:/opt/vcc/java-app/www/W
EB-INF/lib/ImportExport.jar:/opt/vcc/java-app/www/WEB-INF/lib/LogicalServerXMLTy
7759 ? S 0:00 /opt/informix/10/bin/ontape -c
Related Commands
Command
|
Description
|
show tech
|
Displays information that is useful for system debugging.
|
show redundancy
To display information about redundancy settings, use the show redundancy command in user EXEC mode.
show redundancy {config | status}
Syntax Description
config
|
Displays information about redundancy settings.
|
status
|
Displays information about the HSRP and DB servers
|
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following is sample output from the show redundancy config command:
test-100# show redundancy config
HA Priority:100 Hellotime:10 Holdtime:20
DB Server Name: vframehost
NFS Server IP: 192.168.2.57
Server Comn IP: 10.100.30.10
Peer DB Server Name: vfpeerdb
Peer Server Comn IP: 10.100.30.11
Peer hostname: vframepeer
The following is sample output from the show redundancy status command:
test-100# show redundancy status
HA state: ACTIVE_READY STANDBY_READY
DB mode: Primary Secondary
Related Commands
Command
|
Description
|
redundancy
|
Manages HA settings.
|
show system
To display information about system services and settings, use the show system command in user EXEC mode.
show system {services | setup}
Syntax Description
services
|
Displays information about system services.
|
setup
|
Displays information about the system settings.
|
Command Default
None.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
When you display the status of system services, the expected state differs depending on whether the system is part of an active redundant pair. If the status is OK, the state of that service is the expected state under the current operating conditions.
•
Standalone mode—If the system is not part of a redundant pair, all systems should be started except hsrp and hdrh, which should be down.
•
Paired mode—If the system is part of a redundant pair, all systems should be started except ids, which should be down. Use the show redundancy status command to view the status of the IDS system.
If the status of a service is listed as not OK, you can use the tech service reset command to restart the service. If the tech command cannot restart the service, you must reboot the system.
Examples
The following is sample output from the show system services command:
test-100# show system services
-------------------------------------------------------
The following is sample output from the show system setup command:
test-100# show system setup
Hostname : vframehost.example.com
Management Interface : eth0
Management IP/Netmask : 10.100.20.10 255.255.255.0
Server Comn Interface : eth1
Server Comn IP/Netmask : 10.100.30.10 255.255.255.0
Default Gateway IP : 10.100.20.1
DNS Domain Name : example.com
DNS Server IP : 10.100.50.25
VHA connection over SSL: no
Storage mode : Storage Template Array
DB backup storage : local
GIR NFS Filer : 10.100.50.25
Related Commands
Command
|
Description
|
gir
|
Manages GIR settings.
|
setup
|
Performs system configuration.
|
tech
|
Manages advanced system debugging.
|
show tech
To display information useful for system debugging, use the show tech command in user EXEC mode.
show tech
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The show tech command displays this information:
•
System serial number.
•
The amount of time the system has been running.
•
The amount of system memory.
•
The status of system processes.
•
Mount points.
•
Disk space information.
•
CPU information.
•
Interface information.
•
The routing table.
•
Patches that have been installed.
•
Syslog messages.
Examples
The following is sample output from the show tech command:
Serial Number: USE547N3F2
15:05:07 up 5 days, 21:17, 1 user, load average: 0.00, 0.01, 0.00
total used free shared buffers cached
Mem: 2055436 1442520 612916 0 56864 763928
-/+ buffers/cache: 621728 1433708
Note
Not all the output is shown in the preceding example.
Related Commands
Command
|
Description
|
tech
|
Performs advanced system debugging.
|
show version
To display the software version, use the show version command in user EXEC mode.
show version
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Examples
The following is sample output from the show version command:
Compiled on Tue May 22 03:00:38 PDT 2007
Copyright 2007 by Cisco Systems, Inc
System Uptime is 0 days, 4 hours, 6 minutes 5 secs
Hostname is vframehost.example.com
Related Commands
Command
|
Description
|
install
|
Manages patches.
|
shutdown
To disable an Ethernet interface, use the shutdown command in global configuration mode. To shutdown a Director, use the shutdown command in user EXEC mode. To enable an interface, use the no form of the command.
shutdown
no shutdown
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values.
Command Modes
User EXEC.
Ethernet interface configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
If you shut down the system, reboot it using the iLO interface. If you want to shut down the system and restart it immediately, use the reboot command.
If you are shutting down a system that is a member of a high-availability pair and the system is the active member, use the redundancy resign command before using the shutdown command. Explicit resignation allows the standby system to take over active status without delay, making the transition smoother.
Examples
The following example shuts down eth2:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# interface eth 2
test-100(config-eth)# shutdown
Related Commands
Command
|
Description
|
config
|
Provides access to global configuration mode.
|
end
|
Exits modes.
|
reboot
|
Restarts the Director.
|
ssh
To create an SSH connection to another network device, use the ssh command in user EXEC mode.
ssh ip-address user-name [port port-number [version {1 | 2}] | version {1 | 2}]
Syntax Description
ip-address
|
Specify the IP address of the host. The maximum number of characters is 256.
|
port port-number
|
(Optional) Defines the port used for SSH by the destination host. Specify the port number in port-number. Valid port numbers range from 1 to 65535.
|
user-name
|
Specify the user name of the host. The maximum number of characters is 80.
|
version 1 | 2
|
(Optional) Specifies the version of SSH you want to use. Choose either 1 or 2.
|
Command Default
The default SSH port is 22.
The default SSH version is 2.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The ssh command creates a standard SSH client connection. Once connected, you are operating in the remote host mode until you quit the SSH connection, typically by entering the quit command.
If the remote device accepts the connection, you are prompted for the user password.
Specify a port number only if the remote system is configured to use a port other than the default port for SSH.
Examples
The following example creates an SSH connection to the host 192.0.2.10 using the root user account:
test-100# ssh 192.0.2.10 root
root@192.0.2.10's password:
Related Commands
Command
|
Description
|
telnet
|
Creates a Telnet connection.
|
tech
To manage advanced system debugging, use the tech command in user EXEC mode.
tech {dumptcp port-number [count packets-dumped] | dumpthreads | renable | service reset
service-name | unenable | verify}
Syntax Description
count packets-dumped
|
(Optional) Sets the number of TCP packets dumped to the console when performing a TCP dump. Specify the number of packets in packets-dumped. The maximum number of characters is 10000.
|
dumptcp port-number
|
Performs a TCP packet dump to the console. Specify the port number in port-number. Valid port numbers are 0, 1, or 2.
|
dumpthreads
|
Writes the current status of all Java threads to the java-app log.
|
renable
|
Sets the root user password and enables root access to the system.
|
service reset service-name
|
Resets a system service. Specify the service in service-name. Use one of the following keywords to reset a specific service:
• aaad
• cdpd
• dbmnt
• dhcpwd
• image_mgmt
• ntpwd
• radiusd
• syscfgd
• sysmnt
• tftp
• vcc_java
• vcc_vha
|
unenable
|
Disables root access to the system.
|
verify
|
Verifies that the software installed on the system is uncorrupted.
|
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
If you do not specify the count parameter, all packets are dumped to the console.
Press Ctrl+C to stop a dump.
You must have advanced knowledge of TCP/IP in order to read and understand the information dumped to the console. The information is meant to help advanced users diagnose connection problems in the network.
Examples
The following example dumps three TCP packets:
test-100# tech dumptcp 0 count 3
tcpdump: listening on eth0
15:38:05.196657 test-100.nbv.cisco.com.ssh > dhcp-171-71-27-217.cisco.com.2586: P
2316986119:2316986183(64) ack 3375521822 win 16320 (DF) [tos 0x10]
15:38:05.197261 dhcp-171-71-27-217.cisco.com.2586 > test-100.nbv.cisco.com.ssh: . ack 64
win 64592 (DF)
15:38:05.222923 test-100.nbv.cisco.com.32774 > nbv-dns1.nbv.cisco.com.domain: 27830+ PTR?
217.27.71.171.in-addr.arpa. (44) (DF)
9 packets received by filter
0 packets dropped by kernel
Related Commands
Command
|
Description
|
show fault
|
Displays information about system errors.
|
show tech
|
Displays information useful for system debugging.
|
telnet
To create a Telnet connection to another network device, use the telnet command in user EXEC mode.
telnet ip-address [port port-number]
Syntax Description
ip-address
|
Specify the IP address of the remote host. The format is A.B.C.D.
|
port port-number
|
(Optional) Defines the port used for the connection. Specify the port number in port-number. The maximum number of characters is 65535.
|
Command Default
The default Telnet port is 23.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
If the remote host accepts your connection, you are prompted for a username and password to log into the system, if one is required.
If the remote host supports SSH, use the ssh command to create a secure connection to the remote host.
Examples
The following example creates a Telnet connection with the host 192.0.2.10 using the root user account:
test-100# telnet 192.0.2.10
Escape character is '^]'.
Related Commands
Command
|
Description
|
ssh
|
Creates an SSH connection.
|
traceroute
To determine the number of router hops between a Director and a remote system, use the traceroute command in user EXEC mode.
traceroute ip-address
Syntax Description
ip-address
|
Specify the destination IP address. The maximum number of characters is 100.
|
Command Default
No default behavior or values.
Command Modes
User EXEC.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The traceroute command sends three ICMP packets to each hop along the route, and displays the number of milliseconds it took to get a response. The output lists each hop. An asterisk appears if the next hop cannot be determined or if no response is received.
Press Ctrl+C to stop traceroute if it does not end normally.
Examples
The following example traces a route to host 192.0.2.10:
test-100# traceroute 192.0.2.10
traceroute to 192.0.2.10 (192.0.2.10), 30 hops max, 38 byte packets
1 192.0.2.27 0.435 ms 0.170 ms 0.157 ms
2 192.0.2.101 0.478 ms 0.312 ms 0.296 ms
3 192.0.2.10 0.527 ms 0.083 ms 0.084 ms
Related Commands
Command
|
Description
|
ping
|
Tests a remote system.
|
user password
To mange passwords for the user accounts, use the user password command in global configuration mode. To disable the password for the admin or macrouser user accounts, use the no form of this command.
user password {admin | macrouser}
no user password {admin | macrouser}
Syntax Description
admin | macrouser
|
Sets the password for the admin or macrouser account. Choose either admin or macrouser.
|
Command Default
No default behavior or values.
Command Modes
Global configuration.
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
The admin account is the default superuser account. The password you configure controls the password for SSH, console sessions, and for logging into the GUI.
After entering the user password command, you are prompted for the password and asked to enter it again to confirm it. As you are typing, the password does not appear on your screen, but the system accepts the typed input.
If the system judges the password to be inadequately secure, it notifies you with a BAD PASSWORD message. However, you can ignore the prompt and reenter the password to confirm it.
If you want to choose a different password after receiving the BAD PASSWORD message, you can press Enter without reentering the password at the retry password prompt, and you are prompted for a new password.
Examples
The following example changes the admin password:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# user password admin
Changing password for user admin.
BAD PASSWORD: it is based on a dictionary word
passwd: all authentication tokens updated successfully.
Note
The preceding command is successful, even though the BAD PASSWORD message appears.
Related Commands
Command
|
Description
|
setup
|
Performs initial system configuration.
|
vha connection
To create an SSL connection with the VFrame host agent, use the vha command in global configuration mode. To disable an SSL connection with the VFrame host agent, use the no form of this command.
vha connection ssl
no vha connection ssl
Syntax Description
ssl
|
Creates an SSL connection with the VFrame host agent.
|
Command Default
The VFrame host agent automatically connects to port 3010, the SSL port.
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
1.1
|
This command was introduced.
|
Usage Guidelines
Do not create an SSL connection between the VFrame host agent and the model test server.
If the VFrame host agent fails to connect to port 3010, it automatically connects to port 3000, the TCP port.
You do not need to create a certificate for SSL. VFrame generates a self-signed certificate for SSL.
Examples
The following example creates an SSL connection between the Director and the VFrame host agent:
Enter configuration commands, one per line. End with CNTL/Z.
test-100(config)# vha connection ssl
Related Commands
Command
|
Description
|
show system
|
Displays information about system services and configurations.
|
ssh
|
Creates an SSH connection with another device.
|