cc/td/doc/product/lan/cat6000/sw_5_3
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

set summertime
set system baud
set system contact
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 time
set timezone
set trunk

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]

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.

Default

The default is that this command is disabled.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

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".
Console> (enable)
 

This example shows how to prevent the system from setting the clock ahead one hour during daylight saving time:

Console> (enable) set summertime disable
Summertime disabled.
Console> (enable)
Related Command

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 9600, 19200, and 38400.

Default

The default is 9600 baud.

Command Type

Switch command.

Command Mode

Privileged.

Example

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.
Console> (enable) 
Related Command

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 no contact string is specified, the system contact string is cleared.

Default

The default is no system contact is configured.

Command Type

Switch command.

Command Mode

Privileged.

Example

This example shows how to set the system contact string:

Console> (enable) set system contact Xena ext.24
System contact set.
Console> (enable) 
Related Command

show system

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. If no location string is specified, the system location is cleared.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Example

This example shows how to set the system location string:

Console> (enable) set system location Closet 230 4/F
System location set.
Console> (enable)
Related Command

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.

Default

The default is modem control lines are disabled.

Command Type

Switch command.

Command Mode

Privileged.

Example

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.
Console> (enable) 
Related Command

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. If no name is specified, the system name is cleared.

Default

The default is no system name is configured.

Command Type

Switch command.

Command Mode

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.

Example

This example shows how to set the system name to Information Systems:

Console> (enable) set system name Information Systems
System name set.
Console> (enable) 
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.

Default

The default is three attempts.

Command Type

Switch command.

Command Mode

Privileged.

Example

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.
Console> (enable) 
Related Command

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.

Default

This default is the TACACS+ directed-request option is disabled.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

When tacacs directedrequest is enabled, 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 directedrequest 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.

Example

This example shows how to enable the tacacs directedrequest option:

Console> (enable) set tacacs directedrequest enable
Tacacs direct request has been enabled.
Console> (enable) 
Related Command

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.

Default

The default value of key is null.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

The key must be the same as the 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 is limited to 100 characters.

Example

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.
Console> (enable) 
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.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

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.

Example

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.
Console> (enable) 
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.

Default

The default is 5 seconds.

Command Type

Switch command.

Command Mode

Privileged.

Example

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.
Console> (enable)
Related Command

show tacacs

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.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Example

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
Console> (enable)
Related Command

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.

Default

The default is the time zone is set to UTC.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

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.

Example

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.
Console> (enable)
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_num/port_num {on | off | des | auto | noneg} [isl | dot1q | negotiate] [vlan_range]

Syntax Description

mod_num

Number of the module.

port_num

Number of 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.

des

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.

noneg

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 Ethernet or Gigabit Ethernet port.

dot1q

(Optional) Keyword to specify an IEEE 802.1Q trunk on a Fast Ethernet 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.

vlan_range

(Optional) VLANs to add to the list of allowed VLANs on the trunk. The VLAN range is 1 to 1000.

Default

The default port mode is 802.1Q-Native.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

The following usage guidelines apply when using the set trunk command:

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.
Console> (enable)
 

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.
Console> (enable)
 

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.
Console> (enable)
Related Commands

clear trunk
set vtp
show trunk
show vtp statistics


hometocprevnextglossaryfeedbacksearchhelp
Posted: Fri Dec 31 11:00:00 PST 1999
Copyright 1989-1999©Cisco Systems Inc.