R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
227
Use profile create to create a profile for the 3G/4G modem.
Syntax
profile create profile-number { dynamic | static apn } authentication-mode { none | { chap | pap } user
username [ password password ] }
Default
The default setting for this command depends on the modem model.
Views
Cellular interface view
Predefined user roles
network-admin
Parameters
profile-number: Assigns a number to the profile. The value is in the range of 1 to 255.
dynamic: Uses an access point name automatically assigned by the service provider.
static apn: Specifies a static access point name assigned by the service provider. It is a string of 1 to 100
characters. Whether the string is case-sensitive varies by the service provider.
authentication-mode: Specifies the authentication mode, which can be none, pap, or chap.
none: Performs no authentication.
chap: Specifies CHAP authentication.
pap: Specifies PAP authentication.
user username: Specifies a username assigned by the service provider. It is a case-sensitive string of 1 to
32 characters.
password password: Specifies an authentication password assigned by the service provider. It is a
case-sensitive string of 1 to 32 characters.
Usage guidelines
If you specify chap or pap, make sure the authentication settings are identical to those assigned by the
service provider.
Examples
# Create a profile for Cellular 2/0/0. Specify the access point name as cmnet, and specify the PAP
authentication mode.
<Sysname> system-view
[Sysname] controller cellular 2/0/0
[Sysname-Cellular2/0/0] profile create 1 static cmnet authentication-mode pap user abc
password abc
Related commands
• display cellular
• profile delete
profile delete
Use profile delete to delete a profile for the 3G/4G modem.