blob: c056e4d34d9cc40de036ae9de85d18db80a19a14 [file] [log] [blame]
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +01001OsmoHLR> ?
2 show Show running system information
3 list Print command list
4 exit Exit current mode and down to previous mode
5 help Description of the interactive help system
6 enable Turn on privileged mode command
7 terminal Set terminal line parameters
8 who Display who is on vty
9 logging Configure logging
10 no Negate a command or set its defaults
11 logp Print a message on all log outputs; useful for placing markers in test logs
12 subscriber Subscriber management commands
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020013OsmoHLR> list
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020014...
Harald Weltefa7ee332018-06-24 13:20:32 +020015 show gsup-connections
Oliver Smith02078b72019-01-11 15:41:29 +010016 subscriber (imsi|msisdn|id|imei) IDENT show
17 show subscriber (imsi|msisdn|id|imei) IDENT
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020018
19OsmoHLR> enable
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +010020OsmoHLR# ?
Neels Hofmeyrbf8b6142019-12-04 02:36:25 +010021...
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +010022 subscriber Subscriber management commands
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020023
24OsmoHLR# configure terminal
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +010025OsmoHLR(config)# ?
26...
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +010027 hlr Configure the HLR
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020028OsmoHLR(config)# list
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020029...
30 hlr
31
32OsmoHLR(config)# hlr
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +010033OsmoHLR(config-hlr)# ?
34...
35 euse Configure a particular External USSD Entity
36 no Negate a command or set its defaults
37 ussd USSD Configuration
38 ncss-guard-timeout Set guard timer for NCSS (call independent SS) session activity
39 store-imei Save the IMEI in the database when receiving Check IMEI requests. Note that an MSC does not necessarily send Check IMEI requests (for OsmoMSC, you may want to set 'check-imei-rqd 1').
40 subscriber-create-on-demand Make a new record when a subscriber is first seen.
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020041OsmoHLR(config-hlr)# list
Oliver Smith2b0bf312019-10-08 11:06:09 +020042...
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020043 gsup
Neels Hofmeyr5857c592019-04-02 04:24:49 +020044 database PATH
Harald Welte4956ae12018-06-15 22:04:28 +020045 euse NAME
46 no euse NAME
Harald Weltedab544e2018-07-29 16:14:48 +020047 ussd route prefix PREFIX internal (own-msisdn|own-imsi)
48 ussd route prefix PREFIX external EUSE
49 no ussd route prefix PREFIX
50 ussd default-route external EUSE
51 no ussd default-route
Vadim Yanitskiyd157a562018-12-01 00:03:39 +070052 ncss-guard-timeout <0-255>
Oliver Smith851814a2019-01-11 15:30:21 +010053 store-imei
54 no store-imei
Oliver Smithc7f17872019-03-04 15:10:44 +010055 subscriber-create-on-demand (no-msisdn|<3-15>) (none|cs|ps|cs+ps)
56 no subscriber-create-on-demand
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020057
58OsmoHLR(config-hlr)# gsup
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +010059OsmoHLR(config-hlr-gsup)# ?
Oliver Smith2b0bf312019-10-08 11:06:09 +020060...
Neels Hofmeyrabdfdb82019-11-25 03:42:43 +010061 bind Listen/Bind related socket option
62OsmoHLR(config-hlr-gsup)# list
63...
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020064 bind ip A.B.C.D
65
66OsmoHLR(config-hlr-gsup)# exit
67OsmoHLR(config-hlr)# exit
68OsmoHLR(config)# exit
69OsmoHLR# configure terminal
70OsmoHLR(config)# hlr
Oliver Smith851814a2019-01-11 15:30:21 +010071OsmoHLR(config-hlr)# store-imei
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020072OsmoHLR(config-hlr)# gsup
73OsmoHLR(config-hlr-gsup)# end
74OsmoHLR# disable
75OsmoHLR> enable
76
77OsmoHLR# show running-config
78
79Current configuration:
80!
81!
82log stderr
Neels Hofmeyr13000d82018-09-13 18:13:57 +020083...
Harald Weltec88bdab2018-09-26 09:18:13 +020084 logging level main notice
85 logging level db notice
86 logging level auc notice
87 logging level ss info
Neels Hofmeyrb2553eb2019-11-20 02:36:45 +010088 logging level mslookup notice
89 logging level lu notice
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020090...
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020091hlr
Oliver Smith851814a2019-01-11 15:30:21 +010092 store-imei
Neels Hofmeyr5857c592019-04-02 04:24:49 +020093 database hlr_vty_test.db
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020094 gsup
95 bind ip 127.0.0.1
Harald Weltedab544e2018-07-29 16:14:48 +020096 ussd route prefix *#100# internal own-msisdn
Neels Hofmeyra5b36a02018-09-13 18:22:24 +020097 ussd route prefix *#101# internal own-imsi
Neels Hofmeyr86d09ec2017-10-15 04:58:50 +020098end