Table Of Contents
set tokenring explorer-throttle
set standbyports
Use the set standbyports command to enable or disable the standby ports feature. The standby ports feature allows the ports on the standby supervisor engine module to pass traffic. If this feature is disabled, the ports are in standby mode.
set standbyports enable | disable
Syntax Description
enable
Keyword to enable the standby ports feature.
disable
Keyword to disable the standby ports feature.
Default
The default is disabled. However, if upgrading from supervisor engine software release 4.1 or 4.2, the standby ports feature remains enabled.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guideline
This command is not supported by the Catalyst 4000 and 2948G series switches.
Examples
This example shows how to enable the standby ports feature:
Console> (enable) set standbyports enableStandby ports feature enabled.Please wait while the standby ports are coming up.Console> (enable)This example shows how to disable the standby ports feature:
Console> (enable) set standbyports disableStandby ports feature disabled.Console> (enable)Related Command
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
Default
By default, the set summertime 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 PDTSummertime 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 disableSummertime disabled.Console> (enable)Related Command
set system baud
Use the set system baud command to set the console port baud rate.
set system baud rate
Syntax Description
Default
The default value 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 19200System console port baud rate set to 19200.Console> (enable)Related Command
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 configuration has no system contact 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.24System contact set.Console> (enable)Related Command
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/FSystem location set.Console> (enable)Related Command
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 configuration has modem control lines disabled.
Command Type
Switch command.
Command Mode
Privileged.
Example
This example shows how to enable modem control lines on the console port:
Console> (enable) set system modem enableModem control lines enabled on console port.Console> (enable)This example shows how to disable modem control lines on the console port:
Console> (enable) set system modem disableModem control lines disabled on console port.Console> (enable)Related Command
set system name
Use the set system name command to configure a name for the system.
set system name [name_string]
Syntax Description
Default
The default configuration has no system name configured.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guidelines
In Catalyst 5000, 2926G, and 2926 series software release 4.1(1) and later, and Catalyst 4000 and 2948G series software release 4.4 and later, 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 no name is specified, the system name is cleared
In Catalyst 5000, 2926G, and 2926 series software release 4.1(1) and later, 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 SystemsSystem name set.Console> (enable)Related Commands
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
Default
The default value for this command is 3.
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 6Tacacs number of attempts set to 6.Console> (enable)Related Command
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
Default
This default configuration has the TACACS+ directed-request option 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 5000, 4000, 2948G, 2926G, and 2926 series 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 enableTacacs direct request has been enabled.Console> (enable)Related Command
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. Key length is limited to 100 characters.
Default
The default value of key is null.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guideline
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.
Example
This example shows how to set the authentication and encryption key:
Console> (enable) set tacacs key Who Goes ThereThe tacacs key has been set to Who Goes There.Console> (enable)Related Commands
clear spantree uplinkfast
show tacacsset 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
There is no default setting for this command.
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 primary170.1.2.20 added to TACACS server table as primary server.Console> (enable)Related Commands
clear tacacs server
show tacacsset 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
Default
The default value for this command 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 8Tacacs timeout set to 8 seconds.Console> (enable)Related Command
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 Sunday, Feb 14, 1999, 7:50 a.m:
Console> (enable) set time sun 2/14/99 7:50Sun Feb 14 1999, 07:50:00Console> (enable)Related Command
set timezone
Use the set timezone command to set the time zone for the system.
set timezone [zone_name ] [hours [minutes]]
Syntax Description
Default
By default, 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 5000, 4000, 2948G, 2926G, and 2926 series 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 -8Timezone set to "PST", offset from UTC is -8 hours.Console> (enable)Related Commands
set tokenring acbits
Use the set tokenring acbits command to specify whether AC bits are set unconditionally or conditionally when a port forwards certain LLC frames.
set tokenring acbits mod_num/port_num {enable | disable}
Syntax Description
Default
The default configuration is disable.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guidelines
This command is not supported by the Catalyst 4000 and 2948G series switches.
You can use the set tokenring acbits command to specify whether the AC bits should be set unconditionally on repeated source-routed LLC frames, which include source-routed frames with a RIF length greater than two and all Spanning-Tree Explorer and All-Routes Explorer frames.
If you set this parameter to disable, the setting of these bits is based on whether the frame was actually forwarded.
Examples
This example shows port 4 on module 4 is enabled to set unconditionally the AC bits when forwarding certain LLC frames.
Console> (enable) set tokenring acbits 4/4 enablePort 4/4 acbits enabled.Console> (enable)This example shows port 4 on module 4 is disabled to set conditionally the AC bits when forwarding certain LLC frames.
Console> (enable) set tokenring acbits 4/4 disablePort 4/4 acbits disabled.Console> (enable)Related Command
set tokenring configloss
Use the set tokenring configloss command to specify thresholds that, when exceeded during the user-specified interval, cause the port to be administratively disabled.
set tokenring configloss mod_num/port_num [threshold thresh_num] [interval int_num]
Syntax Description
Default
The default threshold configuration is 8; the default interval is 10.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guidelines
This command is not supported by the Catalyst 4000 and 2948G series switches.
Configuration loss occurs when a port completes a connection, allows data traffic to flow, and subsequently closes. The configuration loss threshold is used to control the number of configuration losses that can occur within a specified time. When the threshold is exceeded, the port is disabled and you must enable it by using the set port enable command or an SNMP manager.
Example
The following example shows how to set a configuration loss threshold of 25 and an interval of 5 minutes for port 1 on module 4:
Console> (enable) set tokenring configloss 4/1 threshold 25 interval 5Port 4/1 configloss threshold set to 25, interval set to 5.Console> (enable)Related Command
set tokenring distrib-crf
Use the set tokenring distrib-crf command to enable or disable distribution of TrCRF VLANs.
set tokenring distrib-crf {enable | disable}
Syntax Description
enable
Keyword to enable distribution of TrCRF VLANs.
disable
Keyword to disable distribution of TrCRF VLANs.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guideline
This command is not supported by the Catalyst 4000 and 2948G series switches.
Examples
This example shows how to enable distribution of TrCRF VLANs:
Console> (enable) set tokenring distrib-crf enableThis example shows how to disable distribution of TrCRF VLANs:
Console> (enable) set tokenring distrib-crf disableRelated Command
set tokenring etr
Use the set tokenring etr command to enable or disable a Token Ring port's use of the early token release procedure when transmitting frames.
set tokenring etr mod_num/port_num {enable | disable}
Syntax Description
Default
For 16-Mbps and autospeed-detection ports, the default configuration is to enable early token release.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guidelines
This command is not supported by the Catalyst 4000 and 2948G series switches.
You cannot enable early token release for 4-Mbps ports. Enabling or disabling early token release on a port causes the port to close and reopen.
Examples
This example shows how to enable early token release on port 2 on module 3:
Console> (enable) set tokenring etr 3/2 enablePort 3/2 Early Token Release enabled.Console> (enable)This example shows how to disable early token release on port 2 on module 3:
Console> (enable) set tokenring etr 3/2 disablePort 3/2 Early Token Release disabled.Console> (enable)Related Command
set tokenring explorer-throttle
Use the set tokenring explorer-throttle command to control the number of incoming explorer frames per second allowed on a Token Ring module port.
set tokenring explorer-throttle mod_num/port_num maximum_explorers
Syntax Description
mod_num
Module number.
port_num
Port number.
maximum_explorers
Maximum number of incoming explorer frames per second allowed on the specified Token Ring port.
Default
The default is 0, no explorer frame throttling.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guidelines
This command requires Token Ring module software release 3.2(3) or later.
To disable explorer frame throttling, set the maximum_explorers value to 0.
If the configured threshold is reached, any subsequent explorer frames received on the port are dropped until the next one-second window.
set tokenring portmode
Use the set tokenring portmode command to specify the connection type and access protocol used by a port.
set tokenring portmode mod_num/port_num {auto | fdxcport | hdxcport | fdxstation | hdxstation | riro}
Syntax Description
Default
The default configuration has the port detect the mode of connection.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guideline
This command is not supported by the Catalyst 4000 and 2948G series switches.
Examples
This example shows how to set the port mode to autosensing on port 1 on module 4:
Console> (enable) set tokenring portmode 4/1 autoPort 4/1 mode set to auto.Console> (enable)This example shows how to set port 2 on module 4 to operate as a concentrator port in full-duplex mode:
Console> (enable) set tokenring portmode 4/2 fdxcportPort 4/2 mode set to fdxcport.Console> (enable)Related Command
set tokenring priority
Use the set tokenring priority command to specify the highest Token Ring frame priority that will go to the low-priority transmit queue and the minimum Token Ring frame priority that is used when requesting a token.
set tokenring priority mod_num/port_num {threshold thresh_num | minxmit min_num}
Syntax Description
Default
The default configuration for threshold is 3. The default configuration for minxmit is 4.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guideline
This command is not supported by the Catalyst 4000 and 2948G series switches.
Examples
This example shows how to set the priority threshold levels on port 2 on module 4:
Console> (enable) set tokenring priority 4/2 threshold 6Port 2 priority threshold set to 6.Console> (enable)This example shows how to set the minimum priority levels on port 2 on module 4:
Console> (enable) set tokenring priority 4/2 minxmit 5Port 2 priority minxmit set to 5.Console> (enable)Related Command
set tokenring reduction
Use the set tokenring reduction command to reduce broadcast storms in an externally looped network.
set tokenring reduction {enable | disable}
Syntax Description
Default
The default configuration is enabled.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guideline
This command is not supported by the Catalyst 4000 and 2948G series switches.
Examples
The following example shows how to enable All-Routes Explorer reduction:
Console> (enable) set tokenring reduction enableTokenring reduction enabledConsole> (enable)The following example shows how to disable All-Routes Explorer reduction:
Console> (enable) set tokenring reduction disableTokenring reduction disabledConsole> (enable)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 | desirable | auto | nonegotiate] [vlan_range] [isl | dot1q | dot10 | lane | negotiate]
Syntax Description
Default
All ports except ATM LANE ports are nontrunk ports by default. ATM LANE and RSM ports are always configured as trunk ports.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guidelines
The Catalyst 2948G is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter 1/N for the module/port number, an error message is displayed.
Trunking capabilities are hardware dependent. Refer to the Module Installation Guide for your switch to determine the trunking capabilities of your hardware, or enter the show port capabilities command.
The Catalyst 5000, 4000, 2948G, 2926G, and 2926 series switches use the DTP (formerly known as DISL) to negotiate trunk links automatically on Fast Ethernet and Gigabit Ethernet 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 Software Configuration Guide for your switch 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 5000, 4000, 2948G, 2926G, and 2926 series devices if you do not intend to trunk across those links. When enabling trunking on a link to a Cisco router, enter the nonegotiate keyword to cause the port to become a trunk but not generate DTP frames. The nonegotiate keyword is available in Catalyst 5000, 4000, 2948G, 2926G, and 2926 series software release 2.4(3) and later.
For trunking to be negotiated on Fast Ethernet and Gigabit Ethernet ports, the ports must be in the same VTP domain. However, you can use the on 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_num/port_num vlan_range 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_num/port_num vlan_range command. To later add VLANs that were removed, enter the set trunk mod_num/port_num vlan_range command.
You cannot change the allowed VLAN range on the RSM port.
The RSM port can be configured only as an IEEE 802.1Q-type trunk.
The dot1q trunk type is the only trunk type supported by the Catalyst 4000 and 2948G series switches.
To return a trunk to its default trunk type and mode, enter the clear trunk mod_num/port_num command.
If you enter the set trunk command on a Token Ring port, you receive a message indicating that the port is "not a trunk-capable port."
Examples
This example shows how to set port 2 on module 1 as a trunk port:
Console> (enable) set trunk 1/2 onPort(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-50Adding 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 dot1qPort(s) 4/5 trunk mode set to desirable.Port(s) 4/5 trunk type set to dot1q.Console> (enable)Related Commands
