Table Of Contents
set summertime
set system baud
set system contact
set system countrycode
set system highavailability
set system highavailability versioning
set system location
set system modem
set system name
set tacacs attempts
set tacacs directedrequest
set tacacs key
set tacacs server
set tacacs timeout
set test diaglevel
set time
set timezone
set trunk
22
set summertime
Use the set summertime command to specify whether the system should set the clock ahead one hour during daylight saving time.
set summertime {enable | disable} [zone]
set summertime recurring [{week} {day} {month} {hh:mm} {week | day | month | hh:mm}
[offset]]
set summertime date {month} {date} {year} {hh:mm}{month | date | year | hh:mm}
[offset]
Syntax Description
enable
|
Keyword to cause the system to set the clock ahead one hour during daylight saving time.
|
disable
|
Keyword to prevent the system from setting the clock ahead one hour during daylight saving time.
|
zone
|
(Optional) Time zone used by the set summertime command.
|
recurring
|
Keyword to specify the summertime dates which recur every year.
|
week
|
Week of the month (first, second, third, fourth, last, 1...5).
|
day
|
Day of the week (Sunday, Monday, Tuesday, and so forth).
|
month
|
Month of the year (January, February, March, and so forth).
|
hh:mm
|
Hours and minutes.
|
offset
|
(Optional) Amount of offset in minutes (1 to 1440 minutes).
|
date
|
Day of the month (1 to 31).
|
year
|
Number of the year (1993 to 2035).
|
Defaults
By default, the set summertime command is disabled. Once enabled, the default for offset is 60 minutes, following U.S. standards.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
After you enter the clear config command, the dates and times are set to default.
Unless you configure it otherwise, this command advances the clock one hour at 2:00 a.m. on the first Sunday in April and moves back the clock one hour at 2:00 a.m. on the last Sunday in October.
Examples
This example shows how to cause the system to set the clock ahead one hour during daylight saving time:
Console> (enable) set summertime enable PDT
Summertime is enabled and set to "PDT".
This example shows how to prevent the system from setting the clock ahead one hour during daylight saving time:
Console> (enable) set summertime disable
This example shows how to set daylight saving time to the zonename AUS and repeat every year, starting from the third Monday of February at noon and ending at the second Saturday of August at
3:00 p.m. with an offset of 30 minutes:
Console> (enable) set summertime AUS recurring 3 Mon Feb 12:00 2 Saturday Aug 15:00 30
Summer time is disabled and set to 'AUS' with offset 30 minutes.
start: 12:00:00 Sun Feb 13 2000
end: 14:00:00 Sat Aug 26 2000
Recurring, starting at 12:00:00 on Sunday of the third week of February and ending
on Saturday of the fourth week of August.
This example shows how to set the daylight saving time to start on January 29, 1999 at 2:00 a.m. and end on August 19, 2004 at 3:00 p.m. with an offset of 30 minutes:
Console> (enable) set summertime date jan 29 1999 02:00 aug 19 2004 15:00 30
Summertime is disabled and set to ''
Start : Fri Jan 29 1999, 02:00:00
End : Thu Aug 19 2004, 15:00:00
This example shows how to set recurring to reset default to US summertime:
Console> (enable) set summertime recurring 3 mon feb 4 thurs oct 8:00 500
Command authorization none.
Summertime is enabled and set to `'
Start : Mon Feb 21 2000, 03:00:00
End : Fri Oct 20 2000, 08:00:00
Offset: 500 minutes (8 hours 20 minutes)
Recurring: yes, starting at 03:00am of third Monday of February and ending on 08:00am of
fourth Thursday of October.
Related Commands
show summertime
set system baud
Use the set system baud command to set the console port baud rate.
set system baud rate
Syntax Description
rate
|
Baud rate; valid rates are 600, 1200, 2400, 4800, 9600, 19200, and 38400.
|
Defaults
The default is 9600 baud.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to set the system baud rate to 19200:
Console> (enable) set system baud 19200
System console port baud rate set to 19200.
Related Commands
show system
set system contact
Use the set system contact command to identify a contact person for the system.
set system contact [contact_string]
Syntax Description
contact_string
|
(Optional) Text string that contains the name of the person to contact for system administration. If you do not specify a contact string, the system contact string is cleared.
|
Defaults
The default is no system contact is configured.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to set the system contact string:
Console> (enable) set system contact Xena ext.24
Related Commands
show system
set system countrycode
Use the set system countrycode command to specify the country where the system is physically located.
set system countrycode code
Syntax Description
code
|
Country code; see the "Usage Guidelines" section for format information.
|
Defaults
The default is US (United States).
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The country code is a 2-letter country code taken from ISO-3166 (for example, VA=Holy See (Vatican City State) , VU=Vanuatu, and TF=French Southern Territories).
Examples
This example shows how to set the system country code:
Console> (enable) set system countrycode US
Country code is set to US.
set system highavailability
Use the set system highavailability command to enable or disable high system availability for the switch.
set system highavailability enable | disable
Syntax Description
enable
|
Keyword to activate system high availability.
|
disable
|
Keyword to deactivate system high availability.
|
Defaults
The default is disabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
High availability provides Layer 2 to Layer 3 protocol redundancy.
If you enable high availability while the standby supervisor engine is running, the switch checks the version compatibility between the two supervisor engines. If the versions are compatible, database synchronization occurs. When you disable high availability, database synchronization does not occur and protocols restart on the standby supervisor engine after switchover.
If you disable high availability from the enabled state, synchronization from the active supervisor engine is stopped. On the standby supervisor engine, current synchronization data is discarded. If you enable high availability from the disabled state, synchronization from the active to standby supervisor engines starts (if you have a standby supervisor engine and the standby supervisor engine image version is compatible).
Examples
This example shows how to enable high availability:
Console> (enable) set system highavailability enable
System high availability enabled.
This example shows how to disable high availability:
Console> (enable) set system highavailability disable
System high availability disabled.
Related Commands
set system highavailability versioning
show system highavailability
set system highavailability versioning
Use the set system highavailability versioning command to enable and disable support for supervisor engine image versioning.
set system highavailability versioning enable | disable
Syntax Description
enable
|
Keyword to activate system high availability versioning.
|
disable
|
Keyword to deactivate system high availability versioning.
|
Defaults
The default is disabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The high availability versioning feature allows the Catalyst 6000 family switch to run different images on the active and standby supervisor engines. When you enable image versioning, Flash image synchronization (from active to the standby supervisor engines) does not occur, allowing active and standby supervisor engines to run different images.
Caution 
When you disable image versioning, the active and standby supervisor engines must run the same image version.
If you disable the image versioning option from the enabled state, no additional action is necessary on the standby supervisor engine (the standby supervisor engine should be running the same image as the active supervisor engine). If you want to load a different images, you have to restart the standby supervisor engine.
If you enable the image versioning option from the disabled state, and you have a standby supervisor engine and active supervisor engine running different images, Flash synchronization will copy the active supervisor engine image to the standby supervisor engine image and then restart it.
If you enable the image versioning option on the active supervisor engine, and the standby supervisor engine is running a different image, the NVRAM synchronization cannot occur because the NVRAM versions are not compatible. If this is the case, after switchover, the old NVRAM configuration on the supervisor engine is used.
Examples
This example shows how to enable high availability versioning:
Console> (enable) set system highavailability versioning enable
Image versioning enabled.
This example shows how to disable high availability versioning:
Console> (enable) set system highavailability versioning disable
Image versioning disabled.
Related Commands
set system highavailability
show system highavailability
set system location
Use the set system location command to identify the location of the system.
set system location [location_string]
Syntax Description
location_string
|
(Optional) Text string that indicates where the system is located.
|
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not specify a location string, the system location is cleared.
Examples
This example shows how to set the system location string:
Console> (enable) set system location Closet 230 4/F
Related Commands
show system
set system modem
Use the set system modem command to enable or disable modem control lines on the console port.
set system modem {enable | disable}
Syntax Description
enable
|
Keyword to activate modem control lines on the console port.
|
disable
|
Keyword to deactivate modem control lines on the console port.
|
Defaults
The default is modem control lines are disabled.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to disable modem control lines on the console port:
Console> (enable) set system modem disable
Modem control lines disabled on console port.
Related Commands
show system
set system name
Use the set system name command to configure a name for the system.
set system name [name_string]
Syntax Description
name_string
|
(Optional) Text string that identifies the system.
|
Defaults
The default is no system name is configured.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use the set system name command to assign a name to the switch, the switch name is used as the prompt string. However, if you specify a different prompt string using the set prompt command, that string is used for the prompt.
If you do not specify a system name, the system name is cleared, and a DNS lookup is initiated for a system name. If a name is found, that is the name used; if no name is found, no name is designated.
The system name can be 255 characters long, and the prompt can be 20 characters long. The system name is truncated appropriately when used as a prompt; a greater-than symbol (>) is appended to the truncated system name. If the system name was found from a DNS lookup, it is truncated to remove the domain name.
If the prompt is obtained using the system name, it is updated whenever the system name changes. You can overwrite this prompt any time by setting the prompt manually. Any change in the prompt is reflected in all current open sessions.
If you do not specify a name, the system name is cleared.
Examples
This example shows how to set the system name to Information Systems:
Console> (enable) set system name Information Systems
Related Commands
show system
set prompt
set tacacs attempts
Use the set tacacs attempts command to configure the maximum number of login attempts allowed to the TACACS+ server.
set tacacs attempts count
Syntax Description
count
|
Number of login attempts allowed; valid values are from 1 to 10.
|
Defaults
The default is three attempts.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to configure the TACACS+ server to allow a maximum of six login attempts:
Console> (enable) set tacacs attempts 6
Tacacs number of attempts set to 6.
Related Commands
show tacacs
set tacacs directedrequest
Use the set tacacs directedrequest command to enable or disable the TACACS+ directed-request option. When enabled, you can direct a request to any of the configured TACACS+ servers and only the username is sent to the specified server.
set tacacs directedrequest {enable | disable}
Syntax Description
enable
|
Keyword to send the portion of the address before the @ sign (the username) to the host specified after the @ sign.
|
disable
|
Keyword to send the entire address string to the default TACACS+ server.
|
Defaults
The default is the TACACS+ directed-request option is disabled.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you enable TACACS+ directed-request, you must specify a configured TACACS+ server after the @ sign. If the specified host name does not match the IP address of a configured TACACS+ server, the request is rejected. When TACACS+ directed-request is disabled, the Catalyst 6000 family switch queries the list of servers beginning with the first server in the list and then sends the entire string, accepting the first response from the server. This command is useful for sites that have developed their own TACACS+ server software to parse the entire address string and make decisions based on the contents of the string.
Examples
This example shows how to enable the tacacs directedrequest option:
Console> (enable) set tacacs directedrequest enable
Tacacs direct request has been enabled.
Related Commands
show tacacs
set tacacs key
Use the set tacacs key command to set the key for TACACS+ authentication and encryption.
set tacacs key key
Syntax Description
key
|
Printable ASCII characters used for authentication and encryption.
|
Defaults
The default value of key is null.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The key must be the same key used on the TACACS+ server. All leading spaces are ignored. Spaces within the key and at the end of the key are included. Double quotation marks are not required, even if there are spaces between words in the key, unless the quotation marks themselves are part of the key. The key can consist of any printable ASCII characters except the tab character.
The key length must be less than 100 characters.
Examples
This example shows how to set the authentication and encryption key:
Console> (enable) set tacacs key Who Goes There
The tacacs key has been set to Who Goes There.
Related Commands
clear spantree uplinkfast
show tacacs
set tacacs server
Use the set tacacs server command to define a TACACS+ server.
set tacacs server ip_addr [primary]
Syntax Description
ip_addr
|
IP address of the server on which the TACACS+ server resides.
|
primary
|
(Optional) Keyword to designate the specified server as the primary TACACS+ server.
|
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can configure a maximum of three servers. The primary server, if configured, is contacted first. If no primary server is configured, the first server configured becomes the primary server.
Examples
This example shows how to configure the server on which the TACACS+ server resides and to designate it as the primary server:
Console> (enable) set tacacs server 170.1.2.20 primary
170.1.2.20 added to TACACS server table as primary server.
Related Commands
clear tacacs server
show tacacs
set tacacs timeout
Use the set tacacs timeout command to set the response timeout interval for the TACACS+ server daemon. The TACACS+ server must respond to a TACACS+ authentication request before this interval expires or the next configured server is queried.
set tacacs timeout seconds
Syntax Description
seconds
|
Timeout response interval in seconds; valid values are from 1 to 255.
|
Defaults
The default is 5 seconds.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to set the response timeout interval for the TACACS+ server to 8 seconds:
Console> (enable) set tacacs timeout 8
Tacacs timeout set to 8 seconds.
Related Commands
show tacacs
set test diaglevel
Use the set test diaglevel command to set the diagnostic level.
set test diaglevel {complete | minimal | bypass}
Syntax Description
complete
|
Keyword to specify complete diagnostics.
|
minimal
|
Keyword to specify minimal diagnostics.
|
bypass
|
Keyword to specify bypass diagnostics.
|
Defaults
The default is minimal diagnostics. See the "Usage Guidelines" section for more information about the three diagnostic levels.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Setting the diagnostic level determines the level of testing that occurs when the system or module is reset. The three levels are as follows:
•
complete—This level runs all tests.
•
minimal—This level runs only EARL tests for the supervisor engine and loopback tests for all ports in the system.
•
bypass—This level skips all tests.
Note
Although the default is minimal, we recommend that you set the diagnostic level at complete.
Examples
This example shows how to set the diagnostic level to complete:
Console> (enable) set test diaglevel complete
Diagnostic level set to complete.
This example shows how to set the diagnostic level to bypass:
Console> (enable) set test diaglevel bypass
Diagnostic level set to bypass.
Related Commands
show test
set time
Use the set time command to change the time of day on the system clock.
set time [day_of_week] [mm/dd/yy] [hh:mm:ss]
Syntax Description
day_of_week
|
(Optional) Day of the week.
|
mm/dd/yy
|
(Optional) Month, day, and year.
|
hh:mm:ss
|
(Optional) Current time in 24-hour format.
|
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to set the system clock to Saturday, October 31, 1998, 7:50 a.m:
Console> (enable) set time sat 10/31/98 7:50
Sat Oct 31 1998, 07:50:00
Related Commands
show time
set timezone
Use the set timezone command to set the time zone for the system.
set timezone [zone_name] [hours [minutes]]
Syntax Description
zone_name
|
(Optional) Name of the time zone to be displayed.
|
hours
|
(Optional) Number of hours offset from UTC.
|
minutes
|
(Optional) Number of minutes offset from UTC. If the specified hours value is a negative number, then the minutes value is assumed to be negative as well.
|
Defaults
The default is the time zone is set to UTC.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The set timezone command is effective only when NTP is running. If you set the time explicitly and NTP is disengaged, the set timezone command has no effect. If you have enabled NTP and have not entered the set timezone command, the Catalyst 6000 family switch displays UTC by default.
Examples
This example shows how to set the time zone to Pacific Standard Time with an offset of minus 8 hours from UTC:
Console> (enable) set timezone PST -8
Timezone set to "PST", offset from UTC is -8 hours.
Related Commands
clear timezone
show timezone
set trunk
Use the set trunk command to configure trunk ports and to add VLANs to the allowed VLAN list for existing trunks.
set trunk mod/port {on | off | desirable | auto | nonegotiate}[vlans] [isl | dot1q | negotiate]
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
on
|
Keyword to force the port to become a trunk port and persuade the neighboring port to become a trunk port. The port becomes a trunk port even if the neighboring port does not agree to become a trunk.
|
off
|
Keyword to force the port to become a nontrunk port and persuade the neighboring port to become a nontrunk port. The port becomes a nontrunk port even if the neighboring port does not agree to become a nontrunk port.
|
desirable
|
Keyword to cause the port to negotiate actively with the neighboring port to become a trunk link.
|
auto
|
Keyword to cause the port to become a trunk port if the neighboring port tries to negotiate a trunk link. This is the default mode for EtherChannel ports.
|
nonegotiate
|
Keyword to force the port to become a trunk port but prevent it from sending DTP frames to its neighbor.
|
isl
|
(Optional) Keyword to specify an ISL trunk on a Fast or Gigabit Ethernet port.
|
dot1q
|
(Optional) Keyword to specify an IEEE 802.1Q trunk on a Fast or Gigabit Ethernet port.
|
negotiate
|
(Optional) Keyword to specify that the port become an ISL (preferred) or 802.1Q trunk, depending on the configuration and capabilities of the neighboring port.
|
vlans
|
(Optional) VLANs to add to the list of allowed VLANs on the trunk; valid values are from 1 to 1000 and 1025 to 4094.
|
Defaults
The default port mode is 802.1Q-Native.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported by the NAM.
The following usage guidelines apply when using the set trunk command:
•
If a trunk-type keyword (isl, dot1q, negotiate) is not specified when configuring an EtherChannel trunk, the current trunk type is not affected.
•
To return a trunk to its default trunk type and mode, enter the clear trunk mod/port command.
•
Trunking capabilities are hardware-dependent. Refer to the Catalyst 6000 Family Module Installation Guide to determine the trunking capabilities of your hardware, or enter the show port capabilities command.
•
The Catalyst 6000 family switches use the DTP to negotiate trunk links automatically on EtherChannel ports. Whether a port will negotiate to become a trunk port depends on both the mode and the trunk type specified for that port. Refer to the Catalyst 6000 Family Software Configuration Guide for detailed information on how trunk ports are negotiated.
•
DTP is a point-to-point protocol. However, some internetworking devices might improperly forward DTP frames. You can avoid this problem by ensuring that trunking is turned off on ports connected to non-Catalyst 6000 family switch devices if you do not intend to trunk across those links. When enabling trunking on a link to a Cisco router, enter the noneg keyword to cause the port to become a trunk but not generate DTP frames.
•
For trunking to be negotiated on EtherChannel ports, the ports must be in the same VTP domain. However, you can use the on or noneg mode to force a port to become a trunk, even if it is in a different domain.
•
To remove VLANs from the allowed list for a trunk, enter the clear trunk mod/port vlans command. When you first configure a port as a trunk, the set trunk command always adds all VLANs to the allowed VLAN list for the trunk, even if you specify a VLAN range (the specified VLAN range is ignored).
•
To remove VLANs from the allowed list, enter the clear trunk mod/port vlans command. To later add VLANs that were removed, enter the set trunk mod/port vlans command.
The following configuration guidelines and restrictions apply when using 802.1Q trunks impose some limitations on the trunking strategy for a network. Note these restrictions when using 802.1Q trunks:
•
When connecting Cisco switches through an 802.1q trunk, make sure the native VLAN for an 802.1Q trunk is the same on both ends of the trunk link. If the native VLAN on one end of the trunk is different from the native VLAN on the other end, spanning tree loops might result.
•
Disabling spanning tree on the native VLAN of an 802.1Q trunk without disabling spanning tree on every VLAN in the network can cause spanning tree loops. We recommend that you leave spanning tree enabled on the native VLAN of an 802.1Q trunk. If this is not possible, disable spanning tree on every VLAN in the network. Make sure your network is free of physical loops before disabling spanning tree.
•
When you connect two Cisco switches through 802.1Q trunks, the switches exchange spanning-tree BPDUs on each VLAN allowed on the trunks. The BPDUs on the native VLAN of the trunk are sent untagged to the reserved IEEE 802.1d spanning-tree multicast MAC address (01-80-C2-00-00-00). The BPDUs on all other VLANs on the trunk are sent tagged to the reserved Cisco Shared Spanning Tree (SSTP) multicast MAC address (01-00-0c-cc-cc-cd).
•
Non-Cisco 802.1Q switches maintain only a single instance of spanning tree (the Mono Spanning Tree, or MST) that defines the spanning-tree topology for all VLANs. When you connect a Cisco switch to a non-Cisco switch through an 802.1Q trunk, the MST of the non-Cisco switch and the native VLAN spanning-tree of the Cisco switch combine to form a single spanning-tree topology known as the Common Spanning Tree (CST).
•
Because Cisco switches transmit BPDUs to the SSTP multicast MAC address on VLANs other than the native VLAN of the trunk, non-Cisco switches do not recognize these frames as BPDUs and flood them on all ports in the corresponding VLAN. Other Cisco switches connected to the non-Cisco 802.1q cloud receive these flooded BPDUs. This allows Cisco switches to maintain a per-VLAN spanning tree topology across a cloud of non-Cisco 802.1Q switches. The non-Cisco 802.1Q cloud separating the Cisco switches is treated as a single broadcast segment between all switches connected to the non-Cisco 802.1q cloud through 802.1q trunks.
•
Make certain that the native VLAN is the same on ALL of the 802.1q trunks connecting the Cisco switches to the non-Cisco 802.1q cloud.
•
If you are connecting multiple Cisco switches to a non-Cisco 802.1q cloud, all of the connections must be through 802.1q trunks. You cannot connect Cisco switches to a non-Cisco 802.1q cloud through ISL trunks or through access ports. Doing so will cause the switch to place the ISL trunk port or access port into the spanning tree "port inconsistent" state and no traffic will pass through the port.
Examples
This example shows how to set port 2 on module 1 as a trunk port:
Console> (enable) set trunk 1/2 on
Port(s) 1/2 trunk mode set to on.
This example shows how to add VLANs 5 through 50 to the allowed VLAN list for a trunk port (VLANs were previously removed from the allowed list with the clear trunk command):
Console> (enable) set trunk 1/1 5-50
Adding vlans 5-50 to allowed list.
Port(s) 1/1 allowed vlans modified to 1,5-50,101-1005.
This example shows how to set port 5 on module 4 as an 802.1Q trunk port in desirable mode:
Console> (enable) set trunk 4/5 desirable dot1q
Port(s) 4/5 trunk mode set to desirable.
Port(s) 4/5 trunk type set to dot1q.
Related Commands
clear trunk
set vtp
show trunk
show vtp statistics