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

Description, Examples, Assume you are using VTY 0. Before you restart the device

Page 47 highlights

num2: Relative number of a user interface, in the range of 0 to 7 for an AUX user interface and in the range of 0 to 7 for a VTY user interface. Description Use send to send messages to the specified user interfaces. To end message input, press Ctrl+Z. To cancel message input and return to user view, press Ctrl+C. Examples # Send message hello abc to the AUX user interface 0. send aux 0 Enter message, end with CTRL+Z or Enter; abort with CTRL+C: hello abc^Z Send message? [Y/N]:y *** *** ***Message from aux0 to aux0 *** hello abc # Assume you are using VTY 0. Before you restart the device, to inform users that are accessing the device through other user interfaces, perform the following steps: 1. Display information about all users display users The user application information of the user interface(s): Idx UI Delay Type Userlevel + 12 VTY 0 00:00:00 TEL 3 13 VTY 1 00:00:06 TEL 3 Following are more details. VTY 0 : Location: 192.168.1.26 VTY 1 : Location: 192.168.1.20 + : Current operation user. F : Current operation user work in async mode. // The output shows that a user is using VTY 0. 2. Send a notification to the user of VTY 1. send vty 1 Enter message, end with CTRL+Z or Enter; abort with CTRL+C: Note please, I will reboot the system in 3 minutes!^Z Send message? [Y/N]:y // A message is sent to VTY 1, telling that the system will reboot in 3 minutes. 40

  • 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

40
num2
: Relative number of a user interface, in the range of 0 to 7 for an AUX user interface and in the
range of 0 to 7 for a VTY user interface.
Description
Use
send
to send messages to the specified user interfaces.
To end message input, press
Ctrl
+
Z
. To cancel message input and return to user view, press
Ctrl
+
C
.
Examples
# Send message
hello abc
to the AUX user interface 0.
<Sysname> send aux 0
Enter message, end with CTRL+Z or Enter; abort with CTRL+C:
hello abc^Z
Send message? [Y/N]:y
<Sysname>
***
***
***Message from aux0 to aux0
***
hello abc
<Sysname>
# Assume you are using VTY 0. Before you restart the device, to inform users that are accessing the
device through other user interfaces, perform the following steps:
1.
Display information about all users
<Sysname> display users
The user application information of the user interface(s):
Idx UI
Delay
Type Userlevel
+ 12
VTY 0
00:00:00 TEL
3
13
VTY 1
00:00:06 TEL
3
Following are more details.
VTY 0
:
Location: 192.168.1.26
VTY 1
:
Location: 192.168.1.20
+
: Current operation user.
F
: Current operation user work in async mode.
// The output shows that a user is using VTY 0.
2.
Send a notification to the user of VTY 1.
<Sysname> send vty 1
Enter message, end with CTRL+Z or Enter; abort with CTRL+C:
Note please, I will reboot the system in 3 minutes!^Z
Send message? [Y/N]:y
// A message is sent to VTY 1, telling that the system will reboot in 3 minutes.