|
|
This chapter explains the function and syntax of the basic system management commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Configuration Fundamentals Command Reference, Release 12.1.
Syntax Description
start time date (Optional) Absolute time and date that the associated permit or deny statement starts going into effect. The time is expressed in a 24-hour clock, in the form of hours:minutes. For example, 8:00 is 8:00 am and 20:00 is 8:00 pm. The date is expressed in the format day month year. The minimum start is 00:00 1 January 1993. If no start time and date are specified, the permit or deny statement is in effect immediately. end time date (Optional) Absolute time and date that the associated permit or deny statement is no longer in effect. Same time and date format as described for the start. The end time and date must be after the start time and date. The maximum end time is 23:59 31 December 2035. If no end time and date are specified, the permit or deny statement is in effect indefinitely.
To create a command alias, use the alias global configuration command. Use the no form of this command to delete all aliases in a command mode or to delete a specific alias, and to revert to the original command syntax.
alias mode alias-name alias-command-line
Syntax Description
mode Command mode of the original and alias commands. alias-name Command alias. alias-command-line Original command syntax.
To make adjustments to initial buffer pool settings and to the limits at which temporary buffers are created and destroyed, use the buffers global configuration command. Use the no form of this command to return the buffers to their default size.
buffers {small | middle | big | verybig | large | huge | type number} {permanent | max-free
Syntax Description
small Buffer size of this public buffer pool is 104 bytes. middle Buffer size of this public buffer pool is 600 bytes. big Buffer size of this public buffer pool is 1524 bytes. verybig Buffer size of this public buffer pool is 4520 bytes. large Buffer size of this public buffer pool is 5024 bytes. huge Default buffer size of this public buffer pool is 18024 bytes. This value can be configured with the buffers huge size command. type number Interface type and interface number of the interface buffer pool. The type value cannot be fddi. permanent Number of permanent buffers that the system tries to create and keep. Permanent buffers are normally not trimmed by the system. max-free Maximum number of free or unallocated buffers in a buffer pool. min-free Minimum number of free or unallocated buffers in a buffer pool. initial Number of additional temporary buffers that are to be allocated when the system is reloaded. This keyword can be used to ensure that the system has necessary buffers immediately after reloading in a high-traffic environment. number Number of buffers to be allocated.
A maximum of 20,480 small buffers can be constructed in the pool.
To dynamically resize all huge buffers to the value you specify, use the buffers huge size global configuration command. Use the no form of this command to restore the default buffer values.
buffers huge size number
Syntax Description
number Huge buffer size, in bytes.
To set the system calendar, use one of the formats of the calendar set EXEC command.
calendar set hh:mm:ss day month year
Syntax Description
hh:mm:ss Current time in hours (military format), minutes, and seconds. day Current day (by date) in the month. month Current month (by name). year Current year (no abbreviation).
To configure a router as a time source for a network based on its calendar, use the clock calendar-valid global configuration command. Use the no form of this command to specify that the calendar is not an authoritative time source.
clock calendar-validSyntax Description
This command has no arguments or keywords.
To manually read the calendar into the system clock, use the clock read-calendar EXEC command.
clock read-calendarSyntax Description
This command has no arguments or keywords.
To manually set the system clock, use one of the formats of the clock set EXEC command.
clock set hh:mm:ss day month year
Syntax Description
hh:mm:ss Current time in hours (military format), minutes, and seconds. day Current day (by date) in the month. month Current month (by name). year Current year (no abbreviation).
To configure the system to automatically switch to summer time (daylight savings time), use one of the formats of the clock summer-time global configuration command. Use the no form of this command to configure the Cisco IOS software not to automatically switch to summer time.
clock summer-time zone recurring [week day month hh:mm week day month hh:mm [offset]]
Syntax Description
zone Name of the time zone (PDT,...) to be displayed when summer time is in effect. recurring Indicates that summer time should start and end on the corresponding specified days every year. date Indicates that summer time should start on the first specific date listed in the command and end on the second specific date in the command. week (Optional) Week of the month (1 to 5 or last). day (Optional) Day of the week (Sunday, Monday,...). date Date of the month (1 to 31). month (Optional) Month (January, February,...). year Year (1993 to 2035). hh:mm (Optional) Time (military format) in hours and minutes. offset (Optional) Number of minutes to add during summer time (default is 60).
To set the time zone for display purposes, use the clock timezone global configuration command. To set the time to Coordinated Universal Time (UTC), use the no form of this command.
clock timezone zone hours [minutes]
Syntax Description
zone Name of the time zone to be displayed when standard time is in effect. hours Hours offset from UTC. minutes (Optional) Minutes offset from UTC.
To set the calendar from the system clock, use the clock update-calendar EXEC command.
clock update-calendarSyntax Description
This command has no arguments or keywords.
To generate a configuration that is compatible with an earlier Cisco IOS release, use the downward-compatible-config global configuration command. To remove this feature, use the no form of this command.
downward-compatible-config version
Syntax Description
version Cisco IOS Release number, not earlier than 10.2.
To specify or modify the host name for the network server, use the hostname global configuration command. The host name is used in prompts and default configuration filenames. The setup command facility also prompts for a host name at startup.
hostname name
Syntax Description
name New host name for the network server.
Syntax Description
This command has no arguments or keywords.
To allow a user to select an address of an interface as the source address for Telnet connections, use the ip telnet source-interface global configuration command. Use the no form of this command to reset the source address to the default for each connection.
ip telnet source-interface interface
Syntax Description
interface The interface whose address is to be used as the source for Telnet connections.
To allow a user to select the interface whose address will be used as the source address for TFTP connections, use the ip tftp source-interface global configuration command.
ip tftp source-interface interface
Syntax Description
interface The interface whose address is to be used as the source for TFTP connections.
Syntax Description
seconds Length of time for which data is used to compute load statistics. A value that is a multiple of 30, from 30 to 600 (30, 60, 90, 120, and so forth).
To control access to the system's Network Time Protocol (NTP) services, use the ntp access-group global configuration command. To remove access control to the system's NTP services, use the no form of this command.
ntp access-group {query-only | serve-only | serve | peer} access-list-number
Syntax Description
query-only Allows only NTP control queries. See RFC 1305 (NTP version 3). serve-only Allows only time requests. serve Allows time requests and NTP control queries, but does not allow the system to synchronize to the remote system. peer Allows time requests and NTP control queries and allows the system to synchronize to the remote system. access-list-number Number (1 to 99) of a standard IP access list.
To enable Network Time Protocol (NTP) authentication, use the ntp authenticate global configuration command. Use the no form of this command to disable the feature.
ntp authenticateSyntax Description
This command has no arguments or keywords.
To define an authentication key for Network Time Protocol (NTP), use the ntp authentication-key global configuration command. Use the no form of this command to remove the authentication key for NTP.
ntp authentication-key number md5 value
Syntax Description
number Key number (1 to 4294967295). md5 Authentication key. Message authentication support is provided using the message digest algorithm 5(MD5) algorithm. The key type md5 is currently the only key type supported. value Key value (an arbitrary string of up to eight characters).
To specify that a specific interface should send Network Time Protocol (NTP) broadcast packets, use the ntp broadcast interface configuration command. Use the no form of this command to disable this capability.
ntp broadcast [version number]
Syntax Description
version number (Optional) Number from 1 to 3 indicating the NTP version.
To allow the system to receive Network Time Protocol (NTP) broadcast packets on an interface, use the ntp broadcast client interface configuration command. Use the no form of this command to disable this capability.
ntp broadcast clientSyntax Description
This command has no arguments or keywords.
To set the estimated round-trip delay between the Cisco IOS software and a Network Time Protocol (NTP) broadcast server, use the ntp broadcastdelay global configuration command. Use the no form of this command to revert to the default value.
ntp broadcastdelay microseconds
Syntax Description
microseconds Estimated round-trip time (in microseconds) for NTP broadcasts. The range is from 1 to 999999.
![]() |
Caution Do not enter this command; it is documented for informational purposes only. The system automatically generates this command as Network Time Protocol (NTP) determines the clock error and compensates. |
As NTP compensates for the error in the system clock, it keeps track of the correction factor for this error. The system automatically saves this value into the system configuration using the ntp clock-period global configuration command. The system uses the no form of this command to revert to the default.
ntp clock-period value
Syntax Description
value Amount to add to the system clock for each clock hardware tick (in units of
2 to 32 seconds).
To prevent an interface from receiving Network Time Protocol (NTP) packets, use the ntp disable interface configuration command. To enable receipt of NTP packets on an interface, use the no form of this command.
ntp disableSyntax Description
This command has no arguments or keywords.
To configure the Cisco IOS software as a Network Time Protocol (NTP) master clock to which peers synchronize themselves when an external NTP source is not available, use the ntp master global configuration command. To disable the master clock function, use the no form of this command.
ntp master [stratum]![]() |
Caution Use this command with extreme caution. It is very easy to override valid time sources using this command, especially if a low stratum number is configured. Configuring multiple machines in the same network with the ntp master command can cause instability in keeping time if the machines do not agree on the time. |
Syntax Description
stratum (Optional) Number from 1 to 15. Indicates the NTP stratum number that the system will claim.
To configure the system clock to synchronize a peer or to be synchronized by a peer, use the
ntp peer global configuration command. To disable this capability, use the no form of this command.
Syntax Description
ip-address IP address of the peer providing, or being provided, the clock synchronization. version (Optional) Defines the Network Time Protocol (NTP) version number. number (Optional) NTP version number (1 to 3). key (Optional) Defines the authentication key. keyid (Optional) Authentication key to use when sending packets to this peer. source (Optional) Names the interface. interface (Optional) Name of the interface from which to pick the IP source address. prefer (Optional) Makes this peer the preferred peer that provides synchronization.
To allow the system clock to be synchronized by a time server, use the ntp server global configuration command. To disable this capability, use the no form of this command.
ntp server ip-address [version number] [key keyid] [source interface] [prefer]
Syntax Description
ip-address IP address of the time server providing the clock synchronization. version (Optional) Defines the Network Time Protocol (NTP) version number. number (Optional) NTP version number (1 to 3). key (Optional) Defines the authentication key. keyid (Optional) Authentication key to use when sending packets to this peer. source (Optional) Identifies the interface from which to pick the IP source address. interface (Optional) Name of the interface from which to pick the IP source address. prefer (Optional) Makes this server the preferred server that provides synchronization.
To use a particular source address in Network Time Protocol (NTP) packets, use the ntp source global configuration command. Use the no form of this command to remove the specified source address.
ntp source type number
Syntax Description
type Type of interface. number Number of the interface.
To authenticate the identity of a system to which Network Time Protocol (NTP) will synchronize, use the ntp trusted-key global configuration command. Use the no form of this command to disable authentication of the identity of the system.
ntp trusted-key key-number
Syntax Description
key-number Key number of authentication key to be trusted.
To periodically update the calendar from Network Time Protocol (NTP), use the ntp update-calendar global configuration command. Use the no form of this command to disable the periodic updates.
ntp update-calendarSyntax Description
This command has no arguments or keywords.
Syntax Description
days-of-the-week The first occurrence of this argument is the starting day or days for which the associated time range is in effect. The second occurrence is the ending day or days for which the associated statement is in effect. This argument can be any single day or combinations of days: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Other possible values are: daily --- Monday through Sunday weekdays --- Monday through Friday weekend --- Saturday and Sunday If the ending days of the week are the same as the starting days of the week, they can be omitted. hh:mm The first occurrence of this argument is the starting hours:minutes for which the associated time range is in effect. The second occurrence is the ending hours:minutes for which the associated statement is in effect. The hours:minutes are expressed in a 24-hour clock. For example, 8:00 is 8:00 a.m. and 20:00 is 8:00 p.m.
Syntax Description
string Prompt. It can consist of all printing characters and the escape sequences listed in Table 14.
| Escape Sequence | Interpretation |
|---|---|
%h | Host name. This is either Router or the name defined with the hostname global configuration command. |
%n | Physical terminal line (TTY) number of the EXEC user. |
%p | Prompt character itself. It is either an angle bracket (>) for EXEC mode or a pound sign (#) for privileged EXEC mode. |
%s | Space. |
%t | Tab. |
%% | Percent sign (%) |
To guarantee CPU time for processes, use the scheduler allocate global configuration command on the Cisco 7200 series and Cisco 7500 series routers. The no form of this command restores the default.
scheduler allocate interrupt-time process-time
Syntax Description
interrupt-time Integer (in microseconds) that limits the maximum number of microseconds to spend on fast switching within any one network interrupt context. The range is 400 to 60000 microseconds. The default is 4000 microseconds. process-time Integer (in microseconds) that guarantees the minimum number of microseconds to spend at the process level when network interrupts are disabled. The range is 100 to 4000. The default is 200 microseconds.
To control the maximum amount of time that can elapse without running system processes, use the scheduler interval global configuration command. The no form of this command restores the default.
scheduler interval milliseconds
Syntax Description
milliseconds Integer that specifies the interval, in milliseconds. The minimum interval that you can specify is 500 milliseconds; there is no maximum value.
To specify that line numbers be displayed and interpreted as decimal numbers rather than octal numbers, use the service decimal-tty global configuration command. Use the no form of this command to restore the default.
service decimal-ttySyntax Description
This command has no arguments or keywords.
To delay the startup of the EXEC on noisy lines, use the service exec-wait global configuration command. Use the no form of this command to disable the delay function.
service exec-waitSyntax Description
This command has no arguments or keywords.
To allow Finger protocol requests (defined in RFC 742) to be made of the network server, use the service finger global configuration command. This service is equivalent to issuing a remote show users command. Use the no form of this command to remove this service.
service fingerSyntax Description
This command has no arguments or keywords.
To hide addresses while trying to establish a Telnet session, use the service hide-telnet-address global configuration command. Use the no form of this command to remove this service.
service hide-telnet-addressSyntax Description
This command has no arguments or keywords.
To enable the Nagle congestion control algorithm, use the service nagle global configuration command. Use the no form of this command to disable the algorithm.
service nagleSyntax Description
This command has no arguments or keywords.
To display the configuration prompt (config), use the service prompt config global configuration command. Use the no form of this command to remove the configuration prompt.
service prompt configSyntax Description
This command has no arguments or keywords.
Syntax Description
This command has no arguments or keywords.
To set the TCP window to zero (0) when the Telnet connection is idle, use the service telnet-zero-idle global configuration command. Use the no form of this command to disable this service.
service telnet-zero-idleSyntax Description
This command has no arguments or keywords.
Syntax Description
This command has no arguments or keywords.
To display all alias commands, or the alias commands in a specified mode, use the show aliases EXEC command.
show aliases [mode]
Syntax Description
mode (Optional) Command mode.
To display statistics for the buffer pools on the network server, use the show buffers EXEC command.
show buffers [type number | alloc [dump]]
Syntax Description
type number (Optional) Displays interface pool information. If the specified interface type and number has its own buffer pool, displays information for that pool. Value of type can be ethernet, serial, tokenring, fddi, bri, atm, e1, t1. alloc (Optional) Displays a brief listing of all allocated buffers. dump (Optional) Dumps all allocated buffers. This keyword must be used with the alloc keyword, not by itself.
To display the calendar hardware setting, use the show calendar EXEC command.
show calendarSyntax Description
This command has no arguments or keywords.
To display the system clock, use the show clock EXEC command.
show clock [detail]
Syntax Description
detail (Optional) Indicates the clock source (NTP, VINES, system calendar, and so forth) and the current summer-time setting (if any).
To show the status of Network Time Protocol (NTP) associations, use the show ntp associations EXEC command.
show ntp associations [detail]
Syntax Description
detail (Optional) Shows detailed information about each NTP association.
To show the status of Network Time Protocol (NTP), use the show ntp status EXEC command.
show ntp statusSyntax Description
This command has no arguments or keywords.
To show information about the Simple Network Time Protocol (SNTP), use the show sntp EXEC command on a Cisco 1003, Cisco 1004, or Cisco 1005 router.
show sntpSyntax Description
This command has no arguments or keywords.
To use the Simple Network Time Protocol (SNTP) to accept Network Time Protocol (NTP) traffic from any broadcast server, use the sntp broadcast client global configuration command to configure a Cisco 1003, Cisco 1004, or Cisco 1005 router. The no form of the command prevents the router from accepting broadcast traffic.
sntp broadcast clientSyntax Description
This command has no arguments or keywords.
To configure a Cisco 1003, Cisco 1004, or Cisco 1005 router to use the Simple Network Time Protocol (SNTP) to request and accept Network Time Protocol (NTP) traffic from a time server, use the sntp server global configuration command. The no form of the command removes a server from the list of NTP servers.
sntp server {address | hostname} [version number]
Syntax Description
address IP address of the time server. hostname Host name of the time server. version number (Optional) Version of NTP to use. The default is 1.
To enable time-range configuration mode and define time ranges for functions (such as extended access lists), use the time-range global configuration command. To remove the time limitation, use the no form of this command.
time-range time-range-name
Syntax Description
time-range-name Desired name for the time range. The name cannot contain a space or quotation mark, and must begin with a letter.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 15:56:35 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.