Catalyst OS   Catalyst Operating  System
 
Catalyst OS 只支持2层功能,并且需要依赖传统的 Cisco IOS 软件才能支持第3层功能。
 
混和表示同时采用 Catalyst OS (用于支持第2层交换)和传统Cisco IOS(用于支持第3层路由选择)软件的Catalyst交换机。
 
Crescendo Communications 代表了 catalyst 平台软件的起源。
 
set    clear    show
 
RSM   router switch module   路由交换模块
MSFC  multilayer switch feature card  多层交换特性卡
 
console> show version
 
cisco 6500 系列交换机的模块15和模块16都是虚拟模块,并且为MSFC保留。如果集成在第一个supervisor,那么需要使用模块15。如果MSFC集成到第二个supervisor,那么需要使用模块16。
 
console > show port 1/1  
 
console>enable
enter password:
console> (enable) set password
enter old password:
enter new pasword:
retype new password:
password changed.
console>(enable) set system name system-name
syste name set.
system-name > (enable) show system
system-name> (enable)show config
 
sw1> en
password:
sw1# show environment
sw1#show controller
sw1#show running-config
 
在cisco IOS 中除非通过copy  write memory命令,否则路由器配置变更不会提交给内存。
catalyst OS 中不存在保存配置和单独运行配置的概念。任何命令行变更都会自动保存。
 
 
console (enable) show running-config
 
all
qos
system
<mod>
 
console (enable) show tech-support ?
 
console (enable)  session 15
 
console (enable) set vlan 10 1/1-1/16
console (ebable) session 15
sw1-msfc3>enable
password:
enter configurtaion commands,one per line.ent with cntl/z
sw1-msfc3(config)#int vlan 10
sw1-msfc3(config)#ip add 10.10.10.1 255.255.255.0
sw1-msfc3(config)#end
sw1-msfc3#
 
 
cisco ios 12.0(7)XE 推出,catalyst 6500平台能够利用与cisco路由器产品线风格相似的命令行接口。成为Native IOS交换机。
 
catalyst OS 软件的交换机,以太网连接成为端口 port
cisco IOS 软件的交换机,以太网口成为接口interface
 

service timestamps

To configure the system to time-stamp debugging or system logging messages, use one of the service timestamps commands in global configuration mode. To disable this service, use the no form of this command.
service timestamps [debug | log] [ uptime | datetime [msec] [localtime] [show-timezone] [year] ]
no service timestamps [debug | log]

Syntax Description

debug
Indicates that the timestamp should be applied to debugging messages.
log
Indicates that the timestamp should be applied to system logging messages.
uptime
Time stamp with the time since the system was rebooted. The time stamp format for uptime is HHHH:MM:SS.
datetime
Time stamp with the date and time. The time stamp format for datetime is MMM DD HH:MM:SS.
msec
(Optional) Include milliseconds in the time stamp.
localtime
(Optional) Time stamp relative to the local time zone.
year
Include the year in the datetime format.
show-timezone
(Optional) Include the time zone name in the time stamp.

Defaults

No time-stamping.
If the service timestamps command is specified with no arguments or keywords, the default is service timestamps debug uptime.
The default for the service timestamps type datetime command is to format the time in Coordinated Universal Time (UTC), with no milliseconds and no time zone name.
The no service timestamps command by itself disables time stamps for both debug and log messages.
To set the local timezone, use the clock timezone zone hours-offset command in global configuration mode.

Command Modes

Global configuration

Command History

Release
Modification
10.0
This command was introduced.
12.2(15)T
The year keyword was added.

Usage Guidelines

Time stamps can be added to either debugging or logging messages independently. The uptime form of the command adds time stamps in the format HHHH:MM:SS, indicating the time since the system was rebooted. The datetime form of the command adds time stamps in the format MMM DD HH:MM:SS, indicating the date and time according to the system clock.
The timestamp will be preceeded by an asterisk or period if the time is potentially inaccurate. Table 43 describes the symbols that proceed the timestamp.
Table 43 Timestamping Symbols for syslog Messages
Symbol
Description
Example
(blank)
Time is authoritative: the software clock is in sync or has just been set manually
15:29:03.158 UTC Tue Feb 25 2003:
*
Time is not authoritative: the software clock has not been set, or is not in sync with configured Network Time Protocol (NTP) servers.
*15:29:03.158 UTC Tue Feb 25 2003:
.
Time is authoritative, but the Network Time Protocol (NTP) is not synchronized: the software clock was in sync, but has since lost contact with all configured NTP servers.
.15:29:03.158 UTC Tue Feb 25 2003:

Examples

In the following example, the user enables time stamps on debugging messages, showing the time since reboot:
 
   
 
   
In the following example, the user enables time stamps on logging messages, showing the current time and date relative to the local time zone, with the time zone name included:
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
The following example shows the change from UTC to local time:
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   

Related Commands

Command
Description
clock set
Manually sets the system clock.
ntp
Controls access to the system's NTP services.
service sequence-numbers
Stamps system logging messages with a sequence number.

service udp-small-servers

To access minor User Datagram Protocol (UDP) services available from hosts on the network, use the service udp-small-servers command in global configuration mode. To disable these services, use the no form of this command.
service udp-small-servers
no service udp-small-servers

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Global configuration

Command History

Release
Modification
11.2
This command was introduced.

Usage Guidelines

By default the UPD servers for Echo, Discard, and Chargen services are disabled.
When the servers are disabled, access to Echo, Discard, and Chargen ports causes the Cisco IOS software to send an "ICMP port unreachable" message to the sender and discard the original incoming packet.

Examples

In the following example, the UDP server (UDP services) is enabled:

setup

To enter Setup mode, use the setup command in privileged EXEC mode.
setup

Syntax Description

This command has no arguments or keywords.

Command Modes

Privileged EXEC

Command History

Release
Modification
11.1
This command was introduced.

Usage Guidelines

Setup mode gives you the option of configuring your system without using the Cisco IOS Command Line Interface (CLI). For some tasks, you may find it easier to use Setup than to enter Cisco IOS commands individually. For example, you might want to use Setup to add a protocol suite, to make major addressing scheme changes, or to configure a newly installed interface. Although you can use the CLI to make these changes, Setup provides you with a high-level view of the configuration and guides you through the configuration process.
If you are not familiar with Cisco products and the CLI, Setup is a particularly valuable tool because it prompts you for the specific information required to configure your system.
note.gif
Note blank.gifIf you use the Setup mode to modify a configuration because you have added or modified the hardware, be sure to verify the physical connections using the show version EXEC command. Also, verify the logical port assignments using the show running-config EXEC command to ensure that you configure the correct port. Refer to the hardware documentation for your platform for more information on physical and logical port assignments.
Before using the Setup mode, you should have the following information so that you can configure the system properly:
blank.gifWhich interfaces you want to configure
blank.gifWhich routing protocols you wish to enable
blank.gifWhether the router is to perform bridging
blank.gifNetwork addresses for the protocols being configured
blank.gifPassword strategy for your environment
When you enter the setup EXEC command after first-time startup, an interactive dialog called the System Configuration Dialog appears on the system console screen. The System Configuration Dialog guides you through the configuration process. It prompts you first for global parameters and then for interface parameters. The values shown in brackets next to each prompt reflect either the default settings or the last configured setting.
The prompts and the order in which they appear on the screen vary depending on the platform and the interfaces installed in the device.
You must progress through the System Configuration Dialog until you come to the item that you intend to change. To accept default settings for items that you do not want to change, press the Return or Enter key. The default choice is indicated by square brackets (for example, [yes]) before the prompt colon (:).
To exit Setup mode and return to privileged EXEC mode without making changes and without progressing through the entire System Configuration Dialog, press Ctrl-C.
The facility also provides help text for each prompt. To access help text, press the question mark (?) key at a prompt.
When you complete your changes, the system will automatically display the configuration file that was created during the Setup session. It also asks you if you want to use this configuration. If you answer Yes, the configuration is saved to NVRAM as the startup configuration file. If you answer No, the configuration is not saved and the process begins again. There is no default for this prompt; you must answer either Yes or No.

Examples

The following example displays the setup command facility to configure serial interface 0 and to add ARAP and IP/IPX PPP support on the asynchronous interfaces:
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   

Related Commands

Command
Description
erase nvram:
Erases a file system.
show running-config
Displays the running configuration file. Command alias for the more system:running-config command.
show startup-config
Displays the startup configuration file. Command alias for the more system:startup-config command.
show version
Displays the configuration of the system hardware, the software version, the names and sources of configuration files, and the boot p_w_picpaths.

show aliases

To display all alias commands, or the alias commands in a specified mode, use the show aliases command in EXEC mode.
show aliases [mode]

Syntax Description

mode
(Optional) Name of a specific command or configuration mode. Specifies that only aliases configured for this mode should be displayed.

Command Modes

EXEC

Command History

Release
Modification
10.3
This command was introduced.

Usage Guidelines

When used without the mode argument, this command will display all aliases currently configured on the system. Use the mode argument to display only the aliases configured for the specified command mode.
To display a list of the command mode keywords available for your system, use the show aliases ? command. For a list of command modes, refer to the "Cisco IOS Command Modes" appendix in the Cisco IOS Configuration Fundamentals Configuration Guide.

Examples

The following is sample output from the show aliases exec commands. The aliases configured for commands in EXEC mode are displayed.
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   

Related Commands

Command
Description
alias
Creates a command alias.
sw1#show interface gigabitethernet 1/1
 
sw1#show run interface gigabitethernet 1/1
 
 
sw1#conf t
sw1(config)#interface gigabitethernt 1/1
sw1(config-if)#switchport mode access
sw1(config-if)#switchport access vlan 10
sw1(config-if)#no shutdown
sw1#
 
 
MLS multiplayer switch
MAC media access console
PPS  packet per second
MPPS millions of pps
SFM  switch fabic module
CEF  cisco express forwarding
supervisor II
supervisor 720
MLS-RP   multiplayer switching route processor
MLS-SE   multiplayer switching switching engine
MLSP multiplayer swtiching protocol
VTP vlan trunking protocol
CGMP cisco group management protocol
NFFC netflow feature card
CDP cisco discovery protocol
PAgp port Aggregation protcol
LACP link aggregation control protocol
NTP network time protcol
 
 
sw1(config)#interface range g 1/1 - 2
 
SNMP simple network management protocol
MIB managment information base
NMS network managment station  网络管理站
ISL  inter-switch link
Cos  class of service
Tos type of service