HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 36

history-command max-size, idle-timeout

Page 36 highlights

Use free web-users to log out web users. Related commands: display web users. Examples # Log out all web users. free web-users all history-command max-size Syntax history-command max-size size-value View undo history-command max-size User interface view Default level 2: System level Parameters size-value: Specifies the maximum number of history commands that the buffer can store. The value is in the range of 0 to 256. Description Use history-command max-size to set the size of the history command buffer of the current user interface. Use undo history-command max-size to restore the default. By default, the buffer saves 10 history commands. The history command buffer saves executed history commands per user interface and buffers for different user interfaces do not affect each other. To display the commands that are stored in the history buffer, use the display history-command command. To view the recently executed commands, press the upper arrow or lower arrow key. After you terminate the current session, the system automatically removes the commands saved in the corresponding history buffer. Examples # Set the buffer to store 20 history commands at most. system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] history-command max-size 20 idle-timeout Syntax idle-timeout minutes [ seconds ] View undo idle-timeout User interface view 29

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180

29
Use
free web-users
to log out web users.
Related commands:
display web users
.
Examples
# Log out all web users.
<Sysname> free web-users all
history-command max-size
Syntax
history-command max-size
size-value
undo history-command max-size
View
User interface view
Default level
2: System level
Parameters
size-value
: Specifies the maximum number of history commands that the buffer can store. The value is in
the range of 0 to 256.
Description
Use
history-command max-size
to set the size of the history command buffer of the current user interface.
Use
undo history-command max-size
to restore the default.
By default, the buffer saves 10 history commands.
The history command buffer saves executed history commands per user interface and buffers for different
user interfaces do not affect each other. To display the commands that are stored in the history buffer, use
the display
history-command
command. To view the recently executed commands, press the upper
arrow or lower arrow key.
After you terminate the current session, the system automatically removes the commands saved in the
corresponding history buffer.
Examples
# Set the buffer to store 20 history commands at most.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] history-command max-size 20
idle-timeout
Syntax
idle-timeout
minutes
[
seconds
]
undo idle-timeout
View
User interface view