|
|
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}
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. |
The default is system message logging to the current login session is enabled.
Switch command.
Privileged.
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)
set logging console
set logging level
show logging
show logging buffer
Use the set logout command to set the number of minutes until the system disconnects an idle session automatically.
set logout timeout
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. |
The default is 20 minutes.
Switch command.
Privileged.
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)
Use the set module command to enable or disable a module.
set module enable | disable mod_num
enable | Keyword to enable a module. |
disable | Keyword to disable a module. |
mod_num | Number of the module. |
The default is all modules are enabled.
Switch command.
Privileged.
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.
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.
Use the set module name command to set the name for a module.
set module name mod_num [mod_name]
mod_num | Number of the module. |
mod_name | (Optional) Name created for the module. |
The default is no module names are configured for any modules.
Switch command.
Privileged.
If the module name is not specified, any previously specified name is cleared.
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)
Use the set module power command to turn on or shut off the power to a module.
set module power up | down mod_num
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. |
The default is power is on to a module.
Switch command.
Privileged.
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.
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)
Use the set multicast router command to manually configure a port as a multicast router port.
set multicast router mod_num/port_num
mod_num | Number of the module. |
port_num | Number of the port on the module. |
The default is no ports are configured as multicast router ports.
Switch command.
Privileged.
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.
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)
clear multicast router
set igmp
show multicast router
show multicast group count
Use the set ntp broadcastclient command to enable or disable NTP in broadcast-client mode.
set ntp broadcastclient {enable | disable}
enable | Keyword to enable NTP in broadcast-client mode. |
disable | Keyword to disable NTP in broadcast-client mode. |
The default is broadcast-client mode is disabled.
Switch command.
Privileged.
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.
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)
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
microseconds | Estimated round-trip time, in microseconds, for NTP broadcasts. Valid values are 1 to 999999. |
The default is the NTP broadcast delay is set to 3000 ms.
Switch command.
Privileged.
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)
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}
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. |
The default is NTP client mode is disabled.
Switch command.
Privileged.
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.
This example shows how to enable NTP client mode:
Console> (enable) set ntp client enable NTP client mode enabled. Console> (enable)
|
|