set gprs description <value>
set gprs no-description
Here follows an example configuration commands of a GPRS interface:
set gprs apn ibox.tim.it
set gprs login mylogin password mypasswd
set gprs default-route
set gprs masquerade
set gprs on
It is possible to activate a GSM V110 connection, instead of a GPRS one, through the following commands:
set gprs v110
set gprs apn <value>
in this case <value> is the telephone number to call.
The network interface for GPRS session is PPP and the assigned name is pppX, where X is an index which
usually has value 0 (ppp0). In the same way, an ADSL connection with PPP over ATM encapsulation (PPPoA)
is indicated by pppX. The choice of the index X depends on the order of activation of the connections: the
first connection to be activated will be ppp0 and the second one will be ppp1.
In order to avoid conflicts in the choice of name, when both ADSL PPPoA and mobile
(GPRS/EDGE/UMTS/HSDPA/HSUPA) connections are present, the following command is used:
set gprs directive unit N
The name of the interface associated with the mobile session will always be pppN, and the name of the
ADSL connection will always be ppp0. The value of N is between 1 and 9.
In 5XX0 models there is also the command:
set gprs direct-ip
It allows to use originally the mobile connection without using PPP protocol. In this case the mobile
interface is called wwan0.
On these models it is possible to configure a second APN, used simultaneously to the main one with the
commands:
set gprs apn2 <apn-name>
set gprs apn2-login <login-second-apn> password <password>
set gprs apn2type IPv4 | IPv4v6 | IPv6
In case this command is used, it is binding to set the command:
set gprs direct-ip
so that the network interface name that match the main APN would be wwan0, while wwan1 will be for the
second one.
DISPLAYING GPRS CONFIGURATION, STATUS AND STATISTICS
It is possible to display information about configuration, statistics and status of the GPRS interface. The
CLI command is:
show interface gprs config|statistics|status
For example, the command show interface gprs config produces the following output: