Mobile interface
U
SER
G
UIDE
87
It is possible to activate (or deactivate) a description of the GPRS interface that will be given back by
the SNMP agent (if configured and activated) by querying the Mib_II ifDescr variable through the
following commands:
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.
If the on demand connection is configured, the packets which maintain active the PPP connection
(GPRS or v110) can be specified with the command:
set access-list dial-ppp prot <prot> port <value> from <src> to <src>
as described in the chapter about access lists.
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: