3.exit.
--------------------------------------------------
Please input function(1~3): 3
Are you sure to EXIT?!(y/n): y
usr/config$
5.11 [pbook] command
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 omited, only record 'start_record' will be display.
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 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
24