Use this command to configure global status management mode, sample size. The mode, sample size parameters are applied globally on all units in the stack. The default sampling mode of the operation is cumulative summing.
This configuration command is implemented as part of serviceability functionality and therefore is not expected to be persistent across reloads. This configuration is never visible in the running configuration under any circumstances. It is the responsibility of the user to switch the sample mode on-demand as per the requirement. This configuration is applied to all the members that are part of the stack when the command is triggered. This configuration cannot play onto cards that are part of the stack at later point of the time.
| Default | Cumulative Summing |
| Format | stack-status sample-mode {cumulative | history} [max-samples 100 - 500] |
| Mode | Stack Global Config Mode |
| Keyword | Description |
|---|---|
| sample-mode | Mode of sampling |
| cumulative | Tracks the sum of received time stamp offsets cumulatively. |
| history | Tracks history of received timestamps |
| max-samples | Maximum number of samples to keep |
Example:
The following command sets the sampling mode to cumulative summing.
(Routing) #configure (Routing) (Config)#stack (Routing) (Config-stack)# stack-status sample-mode cumulative
Example:
The following command sets the sampling mode to history and the sample size to default (that is, 300).
(Routing) #configure (Routing) (Config)#stack (Routing) (Config-stack)#stack-status sample-mode history
Example:
The following command sets the sampling mode to history and sample size to 100.
(Routing) #configure (Routing) (Config)#stack (Routing) (Config-stack)#stack-status sample-mode history max-samples 100