stack-status sample-mode
Use this command to configure the global status management mode and, as an option, the sample size.
M4350
The mode and sample size parameters are applied globally to all units in the stack. The default sampling mode of the operation is cumulative, which tacks the sum of the received time stamp offsets cumulatively. You can also select the history sampling mode, which tracks the history of the received timestamps.
The sample size indicates the maximum number of samples that must be kept. The range for the number value for max-samples is from 100 to 500.
stack-status sample-mode command is implemented as part of a serviceability functionality and therefore not expected to be persistent across reloads. The configuration is not visible in the running configuration under any circumstances. When you issue the command, the configuration is applied to all the members that are part of the stack. After you issue the command, the configuration is not applied to new members that you add to the stack.
| Default |
The default for sampling mode is cumulative. The default for max-samples is 300. |
| Format | stack-status sample-mode {cumulative | history} [max-samples number] |
| Mode | Stack Global Config |
The following command sets the sampling mode to cumulative:
(NETGEAR Switch) #configure
(NETGEAR Switch) (Config)#stack
(NETGEAR Switch) (Config-stack)# stack-status sample-mode cumulative
Command example:
The following command sets the sampling mode to history and the sample size to the default.
(NETGEAR Switch) #configure
(NETGEAR Switch) (Config)#stack
(NETGEAR Switch) (Config-stack)#stack-status sample-mode history
Command example:
The following command sets the sampling mode to history and sample size to 100.
(NETGEAR Switch) #configure
(NETGEAR Switch) (Config)#stack
(NETGEAR Switch) (Config-stack)#stack-status sample-mode history max-samples 100