Displaying and setting the swap state, Displaying the swap state, Enabling the swap mode – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual
Page 184: Displaying and setting the swap state -20
Displaying and Setting the Swap State
Page 6-20
Displaying and Setting the Swap State
The
swap
command displays or alters the swap state of the chassis. The swap state must be
on in order to hot swap modules. If not, the system may halt or restart. While the swap state
is on, performance may decrease. Therefore, the swap state should only be turned on when
you want to hot swap modules. See Chapter 3, “Omni Switch/Router Switching Modules,” for
instructions on hot swapping a switching module.
Displaying the Swap State
To display the current swap state of the chassis, enter
swap
at the system prompt. If the swap mode is
OFF
(the default for the switch), something similar
to the following will be displayed.
Swap is OFF, timeout is 5 minutes
usage swap { ON [ minutes ] | OFF [ minutes ] }
If the swap mode is
ON
, something similar to the following will be displayed.
Swap is ON, expires in 4 minutes
usage swap { ON [ minutes ] | OFF [ minutes ] }
The swap mode must be enabled (
ON
) to hot swap a switching module. If not, the system
may halt or restart. See the subsection below for instructions on enabling the swap mode.
Enabling the Swap Mode
To turn the swap mode
ON
, enter
swap on
at the system prompt. (The default for swap mode is 5 minutes). Something similar to the
following will be displayed.
Swap is ON for 5 minutes
When you turn the swap state on, you set a timer which determines how long the system will
remain in swap state. After the timer expires, the system will automatically turn off the swap
state.
If you want to vary the amount of time that the swap mode is enabled, enter
swap on
followed by the number of minutes you want the swap mode enabled. You can set the swap
state from 1 to 227,055 minutes. To set the swap mode on for 10 minutes, for example, enter
swap on 10
at the system prompt. The following will then be displayed.
Swap is ON for 10 minutes
Save minutes value {Y/N}? (N) :
Press
y
and then press
to save the new value. If you don’t want save, just press
and the default value will not change. You can also turn off the swap immediately as