Network Router User Manual

70
19.7.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]]
pbook [-delete index]
pbook [ -modify [index] [ip ipaddress] [name Alias] [e164 phonenumber]]
-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 omitt
ed, only record 'start_record'
will be display.
If both parameters 'end_record' and 'start_record' are omitted,
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
usr/config$
Figure 48. phone book command list
Parameter Usages:
-print print out current contents of Phone Book. Users can also add
index number, from 1 to 100, to the parameter to show specific
phone number.
Note: <index number> means the sequence number in phone
book. If users do request a specific index number in phone book,