CHAPTER 7 CLI-Based Management
Mediant 4000 SBC | User's Manual
> enable
d.
At the prompt, type the password again, and then press Enter:
Password: Admin
Viewing Current CLI Sessions
You can view users that are currently logged in to the device's CLI. This applies to users logged in
to the CLI through RS-232 (console), Telnet, or SSH. For each logged-in user, the following is
displayed: the type of interface (console, Telnet, or SSH), username, remote IP address from
where the user logged in, and the duration (days and time) of the session. Each user is displayed
with a unique index (session ID).
➢
To view currently logged-in CLI users:
1.
Establish a CLI session with the device.
2.
Run the following command:
# show users
[0] console
Admin
local
0d00h03m15s
[1] telnet
John
10.4.2.1
0d01h03m47s
[2]* ssh
Alex
192.168.121.234 12d00h02m34s
The current session from which this show command was run is displayed with an asterisk (*).
The device can display management sessions of up to 24 hours. After this time, the
duration counter is reset.
Terminating a User's CLI Session
You can terminate users that are currently logged in to the device's CLI. This applies to users
logged in to the CLI through RS-232 (console), Telnet, or SSH.
➢
To terminate the CLI session of a specific CLI user:
1.
Establish a CLI session with the device.
2.
Run the following command:
# clear user <session ID>
Where <
session ID
> is a unique identification of each currently logged in user. You can view
the session ID by running the
show users
command (see
).
The session in which the command is run cannot be terminated.
- 59 -
Summary of Contents for Mediant 4000 SBC
Page 1: ...User s Manual AudioCodes Series of Session Border Controllers SBC Mediant 4000 SBC Version 7 2...
Page 40: ...Part I Getting Started with Initial Connectivity...
Page 48: ...Part II Management Tools...
Page 113: ...Part III General System Settings...
Page 118: ...Part IV General VoIP Configuration...
Page 525: ...Part V Session Border Controller Application...
Page 654: ...Part VI Cloud Resilience Package...
Page 663: ...Part VII High Availability System...
Page 685: ...Part VIII Maintenance...
Page 759: ...Part IX Status Performance Monitoring and Reporting...
Page 844: ...Part X Diagnostics...
Page 888: ...Part XI Appendix...