Noprint |
---|
borderColor | green |
---|
bgColor | transparent |
---|
borderWidth | 2 |
---|
|
Back to Table of ContentsBack to CLI System-Level Mode
Back to Request Command Details - CLI
Use the request oam
command to perform the following OAM actions.
- Accounting – Force a server to be the current server, or reset CDR statistics
- Alarms – Reset IP Policing Alarm stats
- Event Log – Reset filter stats, roll over an event log or re-enable info level logging
- Local Auth – Enable or disable a user account; add, delete or view an RSA key.
Accounting
Command Syntax
Code Block |
---|
|
> request oam accounting cdrServer admin <primary | secondary>
forceCurrentServer - Set this server to be the current
generateSshPublicKeys - Generate SSH public key
resetCdrServerStats - Reset the CDR server statistics |
Command Parameters
Caption |
---|
0 | Table |
---|
1 | OAM Accounting Parameters |
---|
|
Parameter | Description |
---|
forceCurrentServer
| Use this request parameter to forcibly set the specified server (primary or secondary) as the current server. | generateSshPublicKeys
| Use this request to generate the SSH public key to authenticate remote CDR servers. | resetCdrServerStats
| Use this request parameter to reset the CDR server statistics for the specified server (primary or secondary). |
|
Alarms
Command Syntax
Code Block |
---|
|
> request oam alarms resetIpPolicingAlarmStatus |
Command Parameter
Caption |
---|
0 | Table |
---|
1 | OAM Alarm Parameter |
---|
|
ParameterLength/Range | Description |
---|
resetIpPolicingAlarmStatus | N/A | Resets the statistics in the IP policing alarm status. |
|
Event Log
Command Syntax
Code Block |
---|
|
> request oam eventLog
filterStatus
infoLevelLoggingEnable
typeAdmin
> request oam eventLog filterStatus <node name>
<event_type: audit | debug | security | system | trace>
<event_class: audit | callproc | directory | netmgmt | policy | resmgmt | routing | security | signaling | sysmgmt | trace>
resetStats
> request oam eventLog infoLevelLoggingEnable clearInfoLevelLoggingDisabled
> request oam eventLog typeAdmin <event_type: acct | audit | debug | packet | security | system | trace> rolloverLogNow
|
Command Parameters
Filter Status
Multiexcerpt include |
---|
MultiExcerptName | filterStatus |
---|
nopanel | true |
---|
PageWithExcerpt | Event Log - CLI |
---|
|
Info Level Logging Enable
Multiexcerpt include |
---|
MultiExcerptName | infoLevelLoggingEnable |
---|
nopanel | true |
---|
PageWithExcerpt | Event Log - CLI |
---|
|
Type Admin
Multiexcerpt include |
---|
MultiExcerptName | typeAdmin2 |
---|
nopanel | true |
---|
PageWithExcerpt | Event Log - CLI |
---|
|
Local Auth
Command Syntax
Code Block |
---|
|
> request oam localAuth userStatus <account name> <disable | enable> |
Command Parameter
deleteRsaKey keyName <key name>
disable
enable
setRsaKey
keyName <key name>
rsaKey <key>
showRsaKey |
Command Parameters
Caption |
---|
0 | Table |
---|
1 | OAM Local Auth Parameter |
---|
3 | OAM Local Auth Parameter |
---|
|
Parameter | Description |
---|
userStatus
| <account name>
Use this command to enable or disable a user account. disable enable – The user account name to execute this command against. | deleteRsaKey | Use this parameter to delete the specified RSA key. | disable | Disable the specified user account. | enable | Enabled the specified user account. | setRsaKey | Use this parameter to add an RSA public key. The SBC supports up to five RSA keys. keyName – Unique name/number as a future reference to the rsaKey rsaKey – RSA public key
NOTE: The RSA public key must use at least 2048-bit strength and be in one of the following formats: | showRsaKey | Use this command to display the configured RSA public key(s). |
|
Command Examples
To set an RSA key:
Code Block |
---|
> request oam localAuth userStatus admin setRsaKey keyName Orkney rsaKey "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDEQFsIKJx8YqUsrenlSdeBDaaC7okxXKsEjiPQR8V8UnpTMMYqnkyd7ZMvvYgJkEbjxVbunv0S3y+6GN0FVndbV9y9KFNeeTOyTCrokhE4Z2YKmIrGHHqZJ8Gk9/CNS39HLC43I3tn4EPlyQLLZ9S7EVpk7/opzk7z2GkmdG+eYqLWwrK8CFS+oXyWGpXr7KSU22/N8uVa6qLhVMxGzvFf4RKJd6HJuktOihjFsm5aN2LQbjbkVJoPEPjd6dlXKf9/MHc8stHXekdJtxY0kLjJ9GI5zYhJjm5XdU0i31AYE/7j/DM6UgpUSDB1SuEbzapDQmEaEI4+Nj9/hMVK1WIT"
result success
reason Request to add RSA Key for the user admin is successful |
To delete an RSA key:
Code Block |
---|
|
> request oam localAuth userStatus admin deleteRsaKey keyName Orkney
result success
reason
Request to delete SSH key for user admin is successful. |
To view an RSA key:
Code Block |
---|
|
> request oam localAuth userStatus admin showRsaKey
result success
reason success
rsaKey1 SBX ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDEQFsIKJx8YqUsrenlSdeBDaaC7okxXKsEjiPQR8V8UnpTMMYqnkyd7ZMvvYgJkEbjxVbunv0S3y+6GN0FVndbV9y9KFNeeTOyTCrokhE4Z2YKmIrGHHqZJ8Gk9/CNS39HLC43I3tn4EPlyQLLZ9S7EVpk7/opzk7z2GkmdG+eYqLWwrK8CFS+oXyWGpXr7KSU22/N8uVa6qLhVMxGzvFf4RKJd6HJuktOihjFsm5aN2LQbjbkVJoPEPjd6dlXKf9/MHc8stHXekdJtxY0kLjJ9GI5zYhJjm5XdU0i31AYE/7j/DM6UgpUSDB1SuEbzapDQmEaEI4+Nj9/hMVK1WIT
rsaKey2
rsaKey3
rsaKey4
rsaKey5 |