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

Table of Contents

set logging session
set logout
set module
set module name
set module power
set multicast router
set ntp broadcastclient
set ntp broadcastdelay
set ntp client

set logging session

Use the set logging session command to enable or disable the sending of system logging messages to the current login session.

set logging session {enable | disable}
Syntax Description

enable

Keyword to enable the sending of system logging messages to the current login session.

disable

Keyword to disable the sending of system logging messages to the current login session.

Default

The default is system message logging to the current login session is enabled.

Command Type

Switch command.

Command Mode

Privileged.

Examples

This example shows how to prevent system logging messages from being sent to the current login session:

Console> (enable) set logging session disable
System logging messages will not be sent to the current login session.
Console> (enable)
 

This example shows how to cause system logging messages to be sent to the current login session:

Console> (enable) set logging session enable
System logging messages will be sent to the current login session.
Console> (enable)
Related Commands

set logging console
set logging level
show logging
show logging buffer


set logout

Use the set logout command to set the number of minutes until the system disconnects an idle session automatically.

set logout timeout
Syntax Description

timeout

Number of minutes (0 to 10,000) until the system disconnects an idle session automatically. Setting the value to 0 disables the automatic disconnection of idle sessions.

Default

The default is 20 minutes.

Command Type

Switch command.

Command Mode

Privileged.

Examples

This example shows how to set the number of minutes until the system disconnects an idle session automatically:

Console> (enable) set logout 20
Sessions will be automatically logged out after 20 minutes of idle time.
Console> (enable)
 

This example shows how to disable the automatic disconnection of idle sessions:

Console> (enable) set logout 0
Sessions will not be automatically logged out.
Console> (enable)

set module

Use the set module command to enable or disable a module.

set module enable | disable mod_num
Syntax Description

enable

Keyword to enable a module.

disable

Keyword to disable a module.

mod_num

Number of the module.

Default

The default is all modules are enabled.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

Avoid disabling a module when you are connected via a Telnet session; if you disable your session, you will disconnect your Telnet session.

If there are no other network connections to the Catalyst  6000 or 6500 series switch (for example, on another module), you have to reenable the module from the console.

You can specify a series of modules by entering a comma between each module number (for example, 2,3,5). You can specify a range of modules by entering a dash between module numbers (for example, 2-5).

The set module disable command does not cut off the power to a module, it only disables the module. To turn off power to a module, refer to the set module power command.

If an individual port on a module was previously disabled, enabling the module does not enable the disabled port.

Examples

This example shows how to enable module 2:

Console> (enable) set module enable 2
Module 2 enabled.
Console> (enable)
 

This example shows how to disable module 3 when connected via the console port:

Console> (enable) set module disable 3
Module 3 disabled.
Console> (enable)
 

This example shows how to disable module 2 when connected via a Telnet session:

Console> (enable) set module disable 2
This command may disconnect your telnet session.
Do you want to continue (y/n) [n]? y
Module 2 disabled.
Related Command

show module

set module name

Use the set module name command to set the name for a module.

set module name mod_num [mod_name]
Syntax Description

mod_num

Number of the module.

mod_name

(Optional) Name created for the module.

Default

The default is no module names are configured for any modules.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

If the module name is not specified, any previously specified name is cleared.

Example

This example shows how to set the name for module 1 to Supervisor:

Console> (enable) set module name 1 Supervisor
Module name set.
Console> (enable)
Related Command

show module

set module power

Use the set module power command to turn on or shut off the power to a module.

set module power up | down mod_num
Syntax Description

up

Keyword used to turn on the power to a module.

down

Keyword used to turn off the power to a module.

mod_num

Number of the module.

Default

The default is power is on to a module.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

The set module power up command allows you to check if adequate power is available in the system to turn the power on. If not enough power is available, the module status changes from power-down to power-deny, and the following message is displayed:

Module 4 could not be powered up due to insufficient power.
Examples

This example shows how to power up module 4:

Console> (enable) set module power up 4
Module 4 powered up.
Console> (enable) 
 

This example shows how to power down module 4:

Console> (enable) set module power down 4
Module 4 powered down.
Console> (enable) 

set multicast router

Use the set multicast router command to manually configure a port as a multicast router port.

set multicast router mod_num/port_num
Syntax Description

mod_num

Number of the module.

port_num

Number of the port on the module.

Default

The default is no ports are configured as multicast router ports.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

When you enable IGMP snooping, the ports to which a multicast-capable router is attached are identified automatically. The set multicast router command allows you to configure multicast router ports statically.

Example

This example shows how to configure a multicast router port:

Console> (enable) set multicast router 3/1
Port 3/1 added to multicast router port list.
Console> (enable)
Related Commands

clear multicast router
set igmp
show multicast router
show multicast group count

set ntp broadcastclient

Use the set ntp broadcastclient command to enable or disable NTP in broadcast-client mode.

set ntp broadcastclient {enable | disable}
Syntax Description

enable

Keyword to enable NTP in broadcast-client mode.

disable

Keyword to disable NTP in broadcast-client mode.

Default

The default is broadcast-client mode is disabled.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

The broadcast-client mode assumes that a broadcast server, such as a router, sends time-of-day information regularly to the Catalyst  6000 or 6500 series switch.

Examples

This example shows how to enable an NTP broadcast client:

Console> (enable) set ntp broadcastclient enable
NTP Broadcast Client mode enabled.
Console> (enable)
 

This example shows how to disable an NTP broadcast client:

Console> (enable) set ntp broadcastclient disable
NTP Broadcast Client mode disabled.
Console> (enable)
Related Command

show ntp

set ntp broadcastdelay

Use the set ntp broadcastdelay command to configure a time-adjustment factor so the Catalyst  6000 and 6500 series switch can receive broadcast packets.

set ntp broadcastdelay microseconds
Syntax Description

microseconds

Estimated round-trip time, in microseconds, for NTP broadcasts. Valid values are 1 to 999999.

Default

The default is the NTP broadcast delay is set to 3000 ms.

Command Type

Switch command.

Command Mode

Privileged.

Example

This example shows how to set the NTP broadcast delay to 4000 ms:

Console> (enable) set ntp broadcastdelay 4000
NTP broadcast delay set to 4000 microseconds.
Console> (enable)
Related Command

show ntp

set ntp client

Use the set ntp client command to enable or disable the Catalyst  6000 or 6500 series switch as an NTP client.

set ntp client {enable | disable}
Syntax Description

enable

Keyword to enable the Catalyst  6000 and 6500 series switch as an NTP client.

disable

Keyword to disable the Catalyst  6000 and 6500 series switch as an NTP client.

Default

The default is NTP client mode is disabled.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

You can configure NTP in either broadcast-client mode or client mode. The broadcast-client mode assumes that a broadcast server, such as a router, sends time-of-day information regularly to the Catalyst  6000 or 6500 series switch. The client mode assumes that the client (the Catalyst  6000 or 6500 series switch) regularly sends time-of-day requests to the NTP server.

Example

This example shows how to enable NTP client mode:

Console> (enable) set ntp client enable
NTP client mode enabled.
Console> (enable)
Related Command

show ntp



hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Feb 4 18:34:15 PST 1999
Copyright 1989-1999©Cisco Systems Inc.