Configuring SBC User Information Table through CLI
The SBC User Information table can be configured in the CLI using the following commands:
|
■
|
To add and/or modify a user (example): |
# configure voip
(config-voip)# sip-definition proxy-and-registration
(sip-def-proxy-and-reg)# user-info sbc-user-info <index, e.g., 1>
(sbc-user-info-1)# username JohnDee
(sbc-user-info-1)# <activate | exit>
|
■
|
To delete a specific user, use the no command: |
(sip-def-proxy-and-reg)# no user-info sbc-user-info <index, e.g., 1>
|
■
|
To import users from a file: |
# configure voip
(config-voip)# sip-definition proxy-and-registration
(sip-def-proxy-and-reg)# user-info sbc-user-info import-csv-from <URL>
|
■
|
To export users to a .csv file: |
# configure voip
(config-voip)# sip-definition proxy-and-registration
(sip-def-proxy-and-reg)# user-info sbc-user-info export-csv-to <URL>
|
■
|
To view all table entries: |
(sip-def-proxy-and-reg)# user-info sbc-user-info display
---- sbc-user-info-0 ----
local-user (JohnDee)
username (userJohn)
password (s3fn+fn=)
ip-group-id (1)
status (not-resgistered)
---- sbc-user-info-1 ----
local-user (SuePark)
username (userSue)
password (t6sn+un=)
ip-group-id (1)
status (not-resgistered)
|
■
|
To view a specific entry (example): |
(sip-def-proxy-and-reg)# user-info sbc-user-info <index, e.g., 0>
(sbc-user-info-0)# display
local-user (JohnDee)
username (userJohn)
password (s3fn+fn=)
ip-group-id (1)
status (not-resgistered)
|
■
|
To search a user by local-user: |
(sip-def-proxy-and-reg)# user-info find <local-user, e.g., JohnDoe>
JohnDee: Found at index 0 in SBC user info table, not registered