|
This appendix summarizes the ME1100 Series CLI commands. When you make a configuration change using these commands, the system configuration is updated immediately.
This appendix contains the following sections:
The command-line interface (CLI) uses the following conventions:
Access to CLI commands is controlled by your user account privilege level. Users with privilege-level 15 can use all commands. Users with privilege-level 0 can use only a subset of the commands. The command descriptions in this appendix are organized by privilege level. For more information about user accounts and privileges, refer to the "Administering User Accounts" section.
The user interface provides several types of responses to incorrect command entries:
Command not found
.
Incomplete command
.
Invalid input
.
In addition, some commands have command-specific error messages that notify you that a command is valid, but that it cannot run correctly.
The CLI provides a command history feature. To display previously entered commands, press the up arrow key. After pressing the up arrow key, you can press the down arrow key to display the commands in reverse order. To run a command, press the Enter key while the command is displayed on the command line. You can also edit commands before pressing the Enter key.
You can obtain help using the following methods:
Table C-1 summarizes all commands available on the system. Refer to the full description of commands that you are not familiar with before using them.
Command | Privilege Level | Summary Description | Location of Full Description |
---|---|---|---|
15 | Set the system date and time. | ||
151 | Erase the configuration in FLASH memory and reload the device. | ||
erase services | 15 | Remove the management services from the system | |
exit | 0 | Log out of the system. | |
N/A2 | Check and repair the filesystem. | ||
15 | Change the system hostname. | ||
15 | Configure the Ethernet 0 interface. | ||
15 | Define a default domain name. | ||
15 | Specify the address of up to three name servers for name and address resolution. | ||
15 | Undo a command. | ||
15 | Translate a DNS name to its IP address or an IP address to its DNS name | ||
15 | Configure the Network Time Protocol (NTP) and allow the system clock to be synchronized by a time server. | ||
0 | Send echo packets for diagnosing basic network connectivity. | ||
151 | Reboot the system. | ||
15 | Start or stop the management services running on the system | ||
0 | Displays help for the command show. | ||
0 | Display the messages logged during the last system boot. | ||
0 | Display the system date and time. | ||
15 | Display the system configuration. | ||
0 | Display the system domain name. | ||
0 | Display information about the system network interfaces | ||
0 | Display information about processes running on the system. | ||
15 | Displays the servicesconsole. | ||
15 | Display log information about management services activity on the system. | ||
15 | Display syslog information. | ||
15 | Display information necessary for TAC to assist you. | ||
0 | Display information about the current software on the system. | ||
15 | Shut down the system in preparation for powering it off. | ||
15 | Display help for the command snmp-server. | ||
15 | Set up community strings that permit access to the SNMP on the system. | ||
15 | Set the system contact string. | ||
15 | Set the system location string. | ||
15 | Set the system name string. | ||
0 | Display the network route to a specified host and identify faulty gateways. | ||
15 | Create a new user account or change an account's properties. |
1This command is also available in the maintenance image. 2This command is available only in the maintenance image. |
Command descriptions in this document and in the CLI help system use the following conventions:
This section describes the commands that have a privilege level of 0. Any user can run them:
To log out of the system, use the exit command.
exitThis command has no arguments or keywords.
Use the exit command to log out of the system.
The following command logs you out of the system:
#
exit
To display online help for the command-line interface, use the help command.
helpThis command has no arguments or keywords.
Use the help command to display online help for the command-line interface. A list of the CLI commands and their syntax is displayed.
The following command displays online help for the command-line interface:
#
help
To send echo packets for diagnosing basic network connectivity, use the ping command.
ping ? | [-c count] [-i wait] [-s packetsize] {hostname | ip-address}? Displays help for the command.
c Sets the number of echo packets to send.
count Number of echo packets to send.
i Sets the amount of time to wait between sending each packet.
wait Amount of time to wait between sending each packet, in seconds. The default is 1.
s Sets the size of each echo packet.
packetsize The size of each echo packet, in bytes. The default is 56.
hostname Host name of system to ping.
ip-address IP address of system to ping.
To use this command with the hostname argument, DNS must be configured on the system. To force the timeout of a nonresponsive host or to eliminate a loop cycle, press Ctrl-c.
This command sends 4 echo packets to the host otherhost with a wait time of 5 seconds between each packet:
#
ping -c 4 -i 5 otherhost
PING otherhost.cisco.com (10.1.1.2): 56 data bytes
64 bytes from 10.1.1.2: icmp_seq=0 ttl=252 time=1.3 ms
64 bytes from 10.1.1.2: icmp_seq=1 ttl=252 time=1.4 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=252 time=1.4 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=252 time=1.3 ms
--- otherhost.cisco.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.3/1.3/1.4 ms
To display help for the command show, use the show ? command.
This command has no arguments or keywords.
Use the show ? command to display help for the command show. A list of the command's options and usage appears.
The show command major options are described separately in this appendix. See the "Related Commands" section for a list of these major options.
This command displays help for the command show:
#
show ?
USAGE: show [option]
where [option] is one of:
bootlog [page] -> Display bootup information
clock -> Display configuration
config -> Display configuration
domain-name -> Display domain-name
interfaces -> Interface information
proc [page] -> Running Process Information
serviceslog
[page] | include MatchString [MatchString]]
-> Display services log
servicesconsole
[page | include MatchString [MatchString]]
-> Display services console log
syslog
[page] | include MatchString [MatchString]]
-> Display system log
tech [page] -> Technical information
version -> Operating System Version
show config
show interfaces
show process
show tech
To display the system date and time in Coordinated Universal Time (UTC), use the show clock command.
show clockThis command has no arguments or keywords.
Use the show clock command to display the system date and time. The system uses UTC for keeping and displaying the time and date.
This command displays the system date and time:
#
show clock
Mon Feb 7 23:55:41 UTC 2000
To display the system domain name, use the show domain-name command.
show domain-nameThis command has no arguments or keywords.
Use this command to display the system domain name.
This command displays the system domain name:
#
show domain-name
cisco.com
To display information about the system network interface, use the show interfaces command.
show interfacesThis command has no arguments or keywords.
Use this command to display information about system network interfaces.
This command displays information about system network interfaces:
#
show interfaces
eth0 Link encap:Ethernet HWaddr 00:D0:58:C2:9F:76
inet addr:10.1.1.2 Bcast:10.1.255.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1643763 errors:0 dropped:0 overruns:0 frame:0
TX packets:1625878 errors:0 dropped:0 overruns:0 carrier:1
collisions:452 txqueuelen:100
Interrupt:11 Base address:0xfce0
To display information about processes running on the system, use the show process command.
show process [page]page Displays command output one screen at a time. Press any key to display the next output screen. Press Ctrl-c to exit paged output and return to the command prompt.
Use this command to display information about processes running on the system.
This command displays information about processes running on the system:
#
show process page
PID ELAPSED SZ STARTED TTY COMMAND
1 40:14 274 Wed Feb 2 17:19:39 2000 ? init
2 40:14 0 Wed Feb 2 17:19:39 2000 ? kflushd
3 40:14 0 Wed Feb 2 17:19:39 2000 ? kpiod
4 40:14 0 Wed Feb 2 17:19:39 2000 ? kswapd
5 40:03 0 Wed Feb 2 17:19:50 2000 ? mdrecoveryd
260 39:20 336 Wed Feb 2 17:20:33 2000 ? syslogd
271 39:15 339 Wed Feb 2 17:20:38 2000 ? klogd
285 39:14 281 Wed Feb 2 17:20:39 2000 ? crond
299 39:14 309 Wed Feb 2 17:20:39 2000 ? inetd
305 39:14 3915 Wed Feb 2 17:20:39 2000 ? snmpd
345 39:12 265 Wed Feb 2 17:20:41 2000 1 mingetty
346 39:12 265 Wed Feb 2 17:20:41 2000 2 mingetty
347 39:12 265 Wed Feb 2 17:20:41 2000 3 mingetty
348 39:12 265 Wed Feb 2 17:20:41 2000 4 mingetty
349 39:12 265 Wed Feb 2 17:20:41 2000 5 mingetty
350 39:12 265 Wed Feb 2 17:20:41 2000 6 mingetty
353 39:12 263 Wed Feb 2 17:20:41 2000 ? update
5956 17:00 276 Thu Feb 3 16:42:53 2000 S0 getty
3879 58:15 116064 Fri Feb 4 03:01:38 2000 ? jre
3880 58:15 116064 Fri Feb 4 03:01:38 2000 ? jre
3912 57:37 116064 Fri Feb 4 03:02:16 2000 ? jre
--More--
To display information about the current software on the system, use the show version command.
show versionThis command has no arguments or keywords.
Use the show version command to display information about the current software on the system.
This command displays the current software on the system:
#
show version
Copyright (c) 1999-2000 by Cisco Systems, Inc.
Build Date: Wed Apr 19 21:10:12 PDT 2000
Cisco-ME BIOS Version x.xx
Uptime: 5 days 23 hours 57 mins
ME1110 Cisco Systems, Inc.
Version 1.0-1
Cisco Maintenance Image Version 1.0-1
AMD-K6(tm) CPU at 366.611712 Mhz with 257908K bytes of memory.
2 Ethernet interfaces
Services:
ConnectionManagerService 1.1
HttpService 1.1
ThreadService 1.1
LogService 0.4.0
DBInterface 0.9.6
DateService 1.1
SyslogReader 0.4.0
Authenticator 0.3.0
Properties 0.3.0
SyslogWriter 0.4.0
8 Mb of Flash
8.097Gb on disk
Next boot SCSI disk
To display the network route to a specified host and identify faulty gateways, use the traceroute command.
traceroute ? | [-f first_ttl] [-m max_ttl] [-w waittime] host [packetlength]? Displays help for the command.
-f (Optional) Sets the time-to-live used in the first outgoing probe packet.
first_ttl Time-to-live value of the first outgoing probe packet. The default is 1 hop.
-m (Optional) Sets the maximum time-to-live (maximum number of hops) used in outgoing probe packets.
max_ttl Maximum time-to-live for outgoing probe packets. The default is 30 hops.
-w (Optional) Sets the time to wait for a response to a probe, in seconds.
waittime Time to wait for a response to a probe, in seconds. The default is 5.
host Name or IP address of host to which to connect.
packetlength (Optional) The length of the packet to send, in bytes. The default and minimum value is 40.
Use the traceroute command to trace the network route to a specified host and identify faulty gateways. The command displays a list of the hosts that receive probe packets as they travel to the destination host, in the order that the receiving hosts receive the packets. Asterisks (*) appear as the list entry for hosts that do not respond to probing correctly.
This command displays the network route to the host otherhost with a packet time-to-live value of 2, a wait time of 5 seconds, and 50-byte packets:
#
traceroute -m 20 -w 10 otherhost 50
traceroute to otherhost.company.com (10.1.1.1), 20 hops max, 50 byte packets
1 10.1.1.2 (10.1.1.3) 46.127 ms 0.753 ms 0.652 ms
2 * lab-rsm-1.company.com (10.1.1.4) 0.894 ms 0.780 ms
3 lab-rsm2.company.com (10.1.1.5) 1.486 ms 0.828 ms 0.768 ms
4 doc1.company.com (10.1.1.6) 0.917 ms * 0.827 ms
This section describes the commands that have a privilege level of 15. Only users with privilege level 15 can run them.
To set the system date and time, use the clock command.
clock ? | set hh:mm:ss month day year? Displays help for the command.
set Sets the system clock.
hh:mm:ss Current time (for example, 13:32:00).
month Current month. You can enter full month names or abbreviations that include at least the first 3 characters of the month name (for example, jan, feb, mar).
day Day of the month (for example, 1 to 31).
year Current year (for example, 2000).
To set the date and time, use the set option.
If you configure the system to use Network Time Protocol (NTP), you do not need to set the system clock manually using the clock command.
When setting the clock, enter the current time in Coordinated Universal Time (UTC). The system uses only UTC for keeping and displaying the time and date.
For more information about the system time, refer to the "Setting System Date and Time" section.
This command sets the date and time:
#
clock set 13:32:00 apr 22 2000
ntp
To display help for the command erase, use the erase ? command.
This command has no arguments or keywords.
Use the erase ? command to display help for the command erase. A list of the command's options and usage appears.
The erase command major options are described separately in this appendix.
This command displays help for the command erase:
#
erase ?
erase configuration
services
erase config
erase services
To erase the configuration in Flash memory and reload the device, use the erase config command.
erase configThis command has no arguments or keywords.
Use this command to erase the configuration in Flash memory and reload the device.
When you enter the command, you are prompted for confirmation. Enter yes to confirm, or press Enter to accept the default response no.
Caution When you confirm this command, the system configuration is erased and the system reboots automatically. The system will not operate until you reconfigure it. |
When the system reboots, you must reconfigure it with the setup program. For information about using the setup program, refer to "Installing and Configuring the Management Engine 1100 Series."
Note When the system erases the configuration, it is disconnected from the network because the network interface configuration is erased. To continue working on the system you must use the system console. |
This command erases the system configuration:
#
erase config
This will erase your configuration, return device to factory defaults, and reload the device
Do you want to continue?[no]: yes
To remove the management services from the system, use the erase services command.
erase servicesThis command has no arguments or keywords.
Use the erase services command to remove the management services from the system.
Caution Removing management services stops the system from interacting with management applications that use it, causing serious errors in the applications. |
This command stops the services before removing them and erases the logs that collect services information.
System services (services built into the system) are not removed. Only management services installed by external applications are removed.
For more information about management services, refer to the "Administering Management Services" section.
This command removes management services from the system:
#
erase services
To change the system hostname, use the hostname command.
hostname ? | name? Displays help for the command.
name New hostname for the ME1100 Series; the name is case sensitive and may be from 1 to 22 alphanumeric characters.
Use this command to change the system hostname. The hostname appears in the command prompt.
The following example changes the hostname to sandbox:
#
hostname sandbox
To configure the Ethernet 0 interface, use the interface command.
interface ? | name {[up | down] | ipaddress netmask [default-gateway address] [up | down]}? Displays help for the command.
name Name of the interface to configure. Acceptable values are e0, eth0, and ethernet0.
up Enables the interface (the default).
If you include the ipaddress parameter and want to enable the interface in the same command, either enter the up parameter after ipaddress and its required parameters, or do not specify the up or down parameters (up is the default).
down Disables the interface.
If you include the ipaddress parameter and want to disable the interface in the same command, enter the down parameter after ipaddress and its required parameters.
ipaddress The IP address of the interface.
netmask The netmask of the interface IP address.
default-gateway Changes the IP address of the default gateway that connects the ME1100 Series to the network.
address The gateway IP address.
When you enter the interface command, the interface that you specify is enabled by default. If you want to disable an enabled interface or leave a disabled interface disabled, you must specify the down option.
Use the interface command to configure the Ethernet 0 interface.
If you change the IP address or hostname, follow these steps to ensure that applications using the system can connect to it correctly:
#
services stop
#
services start
Step 2 Verify that management applications that use the system can still connect to it.
Step 3 Reconnect any applications that cannot connect to it using the system's new IP address or hostname.
This command disables the Ethernet 0 interface:
#
interface e0 down
This command sets the Ethernet 0 IP address, netmask, and gateway IP address, and enables the interface:
#
interface e0 10.11.12.13 255.255.255.196 default-gateway 10.12.13.14 up
To define a default domain name, use the ip domain-name command. To remove the default domain name, use the no form of the command.
ip ? | domain-name name? Displays help for the ip command.
name Domain name.
Use this command to define a default domain name.
A default domain name allows the system to resolve any unqualified host names. Any IP hostname that does not contain a domain name will have the configured domain name appended to it. This appended name is resolved by the DNS server and then added to the host table. A DNS server must be configured on the system for hostname resolution to work correctly. To do this, use the ip name-server command.
This command defines the default domain name cisco.com:
#
ip domain-name cisco.com
This command removes the default domain name:
#
no ip domain-name
To specify the address of up to three name servers for name and address resolution, use the ip name-server command. To disable a name server, use the no form of the command.
ip ? | name-server ip-address? Displays help for the ip command.
ip-address Name server IP address (maximum of 3).
For proper resolution of hostname to IP address or IP address to hostname, the system uses DNS servers. Use the ip name-server command to point the system to a specific DNS server. You may configure up to three servers.
If you attempt to configure a fourth name server, the following error message appears:
#
Name-server table is full.
The system must have a functional DNS server configured to function correctly. If it does not, in most cases it will not correctly process requests from management applications that use it. If the system cannot obtain DNS services from the network, Telnet connections to the system will fail or Telnet interaction with the system will become extremely slow. For more information, refer to the "Cannot Connect to System with Telnet or Telnet Interaction Is Slow" section.
This command assigns a name server for the system to use for DNS name to address resolution:
#
ip name-server 10.11.12.13
This command disables the name server; the system will not use it for name to address resolution:
#
no ip name-server 10.11.12.13
To undo a command, use its no form.
no ? | command? Displays help for the command.
command One of the following commands and its associated syntax:
ip---Internet Protocol configuration commands.
ntp server---NTP configuration commands.
snmp-server---Modifies SNMP parameters.
username---Creates a user account.
Use the no form of a command to disable its functions or negate it.
The following example defines an IP name server and then removes it.
#
ip name-server 10.10.10.10
#
no ip name-server 10.10.10.10
To translate a DNS name to its IP address or an IP address to its DNS name, use the nslookup command.
nslookup {? | {dns-name | ip-address}}? Displays help for the command.
dns-name DNS name of a host on the network.
ip-address IP address of a host on the network.
Use the nslookup command to translate a DNS name to its IP address or an IP address to its DNS name. The corresponding IP address or DNS name appears.
The following command translates the DNS name hostname to its IP address:
#
nslookup hostname
To configure the Network Time Protocol (NTP) and allow the system clock to be synchronized by a time server, use the ntp server command. To disable this function, use the no form of this command.
ntp server ? | ip-address? Displays help for the command.
ip-address IP address of the NTP time server providing clock synchronization.
Use the ntp server command to synchronize the system clock with the specified NTP server. If you configure multiple NTP servers, the system will synchronize with the first working NTP server it finds. There is no limit to the number of NTP servers that you can configure.
The ntp server command validates the NTP server that you specify. The possible results are:
#
19 Jan 00:43:48 ntpdate[1437]: step time server 10.10.10.10 offset 999.257304
#
19 Jan 00:43:40 ntpdate[1431]: no server suitable for synchronization found
#
19 Jan 00:43:58 ntpdate[1265]: Can't adjust the time of day: Invalid argument.
#
no ntp server ip-address
where ip-address is the IP address of the NTP server.
Step 2 Set the system clock to a time that is behind the time on the NTP server using the clock set command. For more information about the clock command, refer to the "clock" section.
Step 3 Enter the ntp server command again to configure the NTP server on the system. For example:
#
ntp server ip-address
This command configures the system to use an NTP server:
#
ntp server 172.16.22.44
This command configures the system to stop using the NTP server:
#
no ntp server 172.16.22.44
To reboot the system, use the reload command.
reload [?]? Displays help for the command.
Use the reload command to reboot the system.
You are prompted to verify the reload. Enter yes to confirm or no to cancel the reload.
Caution All processes running on the system stop when you run the reload command. The system will not respond to requests from applications while it is reloading. |
This command reboots the system:
#
reload
To list, start, or stop the management services running on the system, use the services command.
services [? | start | stop]? Displays help for the command.
start Starts the management services.
stop Stops the management services.
Use this command to list, start, or stop the management services running on the system.
Management services are the software installed on the system by network management applications. Use this command to stop and restart the management services if the system is not responding correctly to a management application. This should cause the services to reset and function properly again.
This command lists the installed management services:
#
services
Services:
ConnectionManagerService 1.1
HttpService 1.1
ThreadService 1.1
LogService 0.4.0
DBInterface 0.9.6
DateService 1.1
SyslogReader 0.4.0
Authenticator 0.3.0
Properties 0.3.0
SyslogWriter 0.4.0
This command stops management services
#
services stop
This command starts management services
#
services start
show process
To display the messages logged during the last system boot, use the show bootlog command.
show bootlog [page]page Displays command output one screen at a time. Press any key to display the next output screen. Press Ctrl-c to exit paged output and return to the command prompt.
Use this command to display the messages logged during the last system boot.
This command displays the messages logged during the last system boot:
#
show bootlog page
ME1100 System Image Version 1.0
Detected 366611712 Hz processor.
Console: colour *CGA 80x25
Calibrating delay loop... 732.36 BogoMIPS
Memory: 257844k/262144k available (952k kernel code, 408k reserved, 2876k data,)
CPU: AMD AMD-K6(tm) 3D processor stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfd8c4
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:68
PCI: Enabling memory for device 00:78
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
-----------more-----------
reload
To display the system configuration, use the show config command.
show configThis command has no arguments or keywords.
Use this command to display the current running configuration.
This command displays the system configuration:
#
show config
interface ethernet0 10.1.1.2 255.255.255.196 default-gateway 10.1.1.3 up
interface ethernet1 down
ip domain-name cisco.com
ip name-server 10.1.1.4
snmp-server community private RW
snmp-server community public RO
username user password ***** privilege 15
To display the services console, use the show servicesconsole command.
show servicesconsole [page] [include matchstring1 [matchstring2]]page Displays command output one screen at a time. Press any key to display the next output screen. Press Ctrl-c to exit paged output and return to the command prompt.
include Filters the command output to display only the records that contain the specified string(s) of characters.
matchstring1 String of characters to search for in the command output.
matchstring2 (Optional) Another string of characters to search for in the command output.
Use this command to display the services console.
The management services installed on the system send some messages to the services console that are not sent to the services log. To view all messages logged by the management services, you must examine the services log and services console.
To filter the command output to include only the records that contain the specified string(s) of characters, use the include option with one or two character strings for which to search. If you include two strings, the command outputs only those records that contain both character strings.
This command displays the services console:
#
show servicesconsole page
slam-sj-m1100#show servicesconsole page
***** /opt/jes-cache/pck-7/cache/com/cisco/nm/appliance/jes/softPkgUpdator/RPMEr
register servlet: http://172.20.99.7:80/getInstalledRPM
register servlet: http://172.20.99.7:80/getInstalledJES_BUNDLE
register servlet: http://172.20.99.7:80/getStartedPkgs
register servlet: http://172.20.99.7:80/getStoppedPkgs
register servlet: http://172.20.99.7:80/isInstalled
register servlet: http://172.20.99.7:80/isStarted
register servlet: http://172.20.99.7:80/isStopped
register servlet: http://172.20.99.7:80/getSoftUpdateStatus
register servlet: http://172.20.99.7:80/install
export resource: http://172.20.99.7:80/dtdAlias
com.sun.jes.service.http.HttpService.port does not exist; creating
com.sun.jes.service.http.HttpService.threads does not exist; creating
HTTP port property is 80
com.cisco.nm.appliance.jes.system.HttpServiceConfiguration.getPort(): 80
com.cisco.nm.appliance.jes.system.HttpServiceConfiguration.getPort(): 80
HTTP port is 80
HTTP alias occupied: com.sun.jes.service.http.HttpService.setRequestHandlerCount
HTTP alias occupied: com.cisco.nm.device.Device.getDate
ServiceSpace: ready !
-----------more-----------
To display log information about management services activity on the system, use the show serviceslog command.
show serviceslog [page] [include matchstring1 [matchstring2]]page Displays command output one screen at a time. Press any key to display the next output screen. Press Ctrl-c to exit paged output and return to the command prompt.
include Filters the command output to display only the records that contain the specified string of characters.
matchstring String of characters to search for in the command output.
matchstring2 (Optional) Another string of characters to search for in the command output.
Use this command to display log information about management services activity on the system.
To filter the command output to include only the records that contain the specified string(s) of characters, use the include option with one or two character strings for which to search. If you include two strings, the command outputs only those records that contain both character strings.
This command displays log information about management services activity on the system:
#
show serviceslog page
2000 Feb 02 17:20:52 GMT 172.20.99.7 : %SERVICE-7-com.sun.jes.service.thread.Th.
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: servlet com.cisco.nm.applian"
2000 Feb 02 17:20:53 GMT 172.20.99.7 : %SERVICE-7: com.cisco.nm.appliance.jes.st
-----------more-----------
To display syslog information, use the show syslog command.
show syslog [page] [include matchstring1 [matchstring2]]page Displays command output one screen at a time. Press any key to display the next output screen. Press Ctrl-c to exit paged output and return to the command prompt.
include Filters the command output to display only the records that contain the specified string of characters.
matchstring String of characters to search for in the command output.
matchstring2 (Optional) Another string of characters to search for in the command output.
Use this command to display syslog information.
To filter the command output to include only the records that contain the specified string(s) of characters, use the include option with one or two character strings for which to search. If you include two strings, the command outputs only those records that contain both character strings.
This command displays syslog information:
#
show syslog
Feb 6 04:02:00 slam-sj-m1100 syslogd 1.3-3: restart.
Feb 6 04:02:00 slam-sj-m1100 syslogd 1.3-3: restart.
Feb 6 04:02:00 slam-sj-m1100 syslogd 1.3-3: restart.
Feb 6 04:02:00 slam-sj-m1100 syslogd 1.3-3: restart.
Feb 7 05:56:16 slam-sj-m1100 PAM_pwdb[15768]: (login) session opened for user )
Feb 7 20:53:15 slam-sj-m1100 PAM_pwdb[17900]: (login) session opened for user )
Feb 7 23:12:12 slam-sj-m1100 PAM_pwdb[18241]: (login) session opened for user )
Feb 8 00:47:52 slam-sj-m1100 PAM_pwdb[18241]: (login) session closed for user r
Feb 8 00:48:10 slam-sj-m1100 PAM_pwdb[17900]: (login) session closed for user o
Feb 8 01:13:07 slam-sj-m1100 PAM_pwdb[18570]: (login) session opened for user )
Feb 8 01:18:44 slam-sj-m1100 PAM_pwdb[18590]: (login) session opened for user )
To display information necessary for TAC to assist you, use the show tech command.
show tech [page]page Displays command output one screen at a time. Press any key to display the next output screen. Press Ctrl-c to exit paged output and return to the command prompt.
Use this command to display system information necessary for TAC to assist you.
This command displays system information necessary for TAC to assist you.
#
show tech page
To shut down the system in preparation for powering it off, use the shutdown command.
shutdown [?]? Displays help for the command.
Use this command to shut down the system in preparation for powering it off.
Caution Never power the system off without running the shutdown command first. Doing so can destroy data and prevent the system from booting. |
You are prompted to verify the shutdown. Enter yes to continue, or no to cancel the shutdown.
This command shuts down the system:
#
shutdown
To display help for the command snmp-server, use the snmp-server ? command.
This command has no arguments or keywords.
Use the snmp-server ? command to display help for the command snmp-server. A list of command options and usage appears.
snmp-server command major options are described separately in this appendix. See the "Related Commands" section for a list of these major options.
This command displays help for the snmp-server command:
#
snmp-server ?
snmp-server community
snmp-server contact
snmp-server location
To set up community strings that permit access to the SNMP on the system, use the snmp-server community command. Use the no form of this command to remove a community string.
snmp-server community string {RW | RO}RW Creates a read-write community string, which allows both reading and writing of SNMP data.
RO Creates a read-only community string, which allows only reading of SNMP data. This is the default if you do not specify the RW parameter.
string Community string that permits access to the SNMP.
By default, an SNMP community string permits read-only access to all objects.
Use the snmp-server community command to set up the community strings that permit access to the SNMP on the system.
The following example creates the read-write community string comaccess:
#
snmp-server community comaccess RW
The following example removes the community string.
#
no snmp-server community comaccess
To set the system contact string, use the snmp-server contact command. Use the no form of this command to remove the system contact information.
snmp-server contact lineline String that describes the system contact information.
No system contact string is set.
The system contact string is the value stored in the MIB II system group sysContact object.
This command sets an SNMP contact string:
#
snmp-server contact Dial System Operator at beeper # 27345
This command removes the SNMP contact string:
#
no snmp-server contact
To set the system location string, use the snmp-server location command. Use the no form of this command to remove the location string.
snmp-server location lineline String that describes the physical location of this node.
No system location string is set.
The system location string is the value stored in the MIB II system group sysLocation object.
This command sets a system location string:
#
snmp-server location Building 3/Room 214
This command removes the system location string:
#
no snmp-server location
To set the system name string, use the snmp-server name command. Use the no form of this command to reset the name to the default, which is the system hostname.
snmp-server name lineline String that describes the name of this node.
The system hostname.
The system location string is the value stored in the MIB II system group sysName object.
This command sets a system name string:
#
snmp-server name me1
This command removes the system name string:
#
no snmp-server name
To create a new user account or change an account's properties, use the username command. Use the no form of the command to remove a user account.
username ? | name password password [privilege {0 | 15}]? Displays help for the command.
name Name of the user account to create or remove.
password Specifies a password for the account.
password The password for the account.
privilege (Optional) Specifies the account privilege level.
0 Gives the account level 0 privileges. This is the default.
15 Gives the account level 15 privileges.
The default privilege level is 0 if you do not provide the privilege option.
Use the username command to create or change the properties of a user account. Use the no form of the command to remove a user account.
For more information about managing user accounts and privilege levels, refer to the "Administering User Accounts" section.
This command creates a user account named user1 with password password1 and privilege level 0:
#
username user1 password password1 privilege 0
This command removes the user account:
This section describes the commands that are available when the system is booted from the maintenance image. For more information about the maintenance image, refer to the "Using the Maintenance Image" section.
This command is identical to the level 15 erase config command. For a description, refer to the "hostname" section.
To check and repair the filesystem, use the fsck command.
fsckThis command has no arguments or keywords.
Use the fsck command to check and repair the filesystem. The command might prompt you for confirmation before making certain repairs.
The following command checks and repairs the filesystem:
#
fsck
This command is identical to the level 15 reload command. For a description, refer to the "reload" section.
Posted: Mon Jun 19 00:27:32 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.