Pbook, [pbook – MicroNet Technology SP5001A/S User Manual

Page 70

Advertising
background image

6.9. [pbook]

Phone Book function allows users to define their own numbers, which mapping to real
IP address. It is effective only in peer-to-peer mode. When adding a record to Phone
Book, users do not have to reboot the machine, and the record will be effective
immediately.

usr/config$ pbook

Phonebook information and configuration

Usage:

pbook [-print [start_record] [end_record]]

pbook [-add [ip ipaddress] [name Alias] [e164 phonenumber]]

pbook [-search [ip ipaddress] [name Alias] [e164 phonenumber]]

pbook [-insert [index] [ip ipaddress] [name Alias] [e164 phonenumber] [port numb

er]]

pbook [-delete index]

pbook [-modify [index] [ip ipaddress] [name Alias] [e164 phonenumber] [port numb

er]]

-print Display phonebook data.

-add Add an record to phonebook.

-search Search an record in phonebook.

-delete Delete an record from phonebook.

-insert Insert an record to phonebook in specified position.

-modify Modify an exist record.

Note:

If parameter 'end_record' is omited, only record 'start_record' will be disp

lay.

If both parameters 'end_record' and 'start_record' are omited, all records

will be display.

Range of ip address setting (0.0.0.0 ~ 255.255.255.255).

Range of index setting value (1~100),

Example:

pbook -print 1 10

pbook -print 1

pbook -print

pbook -add name Test ip 210.59.163.202 e164 1001

pbook -insert 3 name Test ip 210.59.163.202 e164 1001

pbook -delete 3

pbook -search ip 192.168.4.99

pbook -modify 3 name Test ip 210.59.163.202 e164 1001

Parameter Usage:

-print

Print out current contents of Phone Book. Users can also add
index number, from 1 to 50, to the parameter to show specific
phone number.

69

Advertising