R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
222
new-pin: Specifies the new PIN, a string of 4 to 8 digits.
Usage guidelines
The new PIN is saved on the SIM/UIM card.
If PIN verification is enabled, execute the pin verify command to save the new PIN on the device after the
PIN is modified.
Failure to modify the PIN in a maximum number of attempts locks the SIM/UIM card. The maximum
number of attempts depend on the 3G/4G modem model. To unlock the card, execute the pin unlock
command.
For some 3G/4G modems, you can modify their PINs only when the 3G/4G modems pass the PIN
authentication.
Examples
# Modify the PIN of a SIM/UIM card.
<Sysname> system-view
[Sysname] controller cellular 2/0/0
[Sysname-Cellular2/0/0] pin modify 1234 4321
PIN will be changed to 4321. Continue? [Y/N]:y
PIN has been changed successfully.
Related commands
• pin unlock
• pin verification enable
• pin verify
pin unlock
Use pin unlock to specify a PUK to unlock a SIM/UIM card.
Syntax
pin unlock puk new-pin
Views
Cellular interface view
Predefined user roles
network-admin
Parameters
puk: Specifies the Personal Unlock Code (PUK) of the SIM/UIM card, a string of 4 to 8 digits. The PUK
code of a SIM/UIM card is provided by the network service provider.
new-pin: Specifies the new PIN, a string of 4 to 8 digits.
Usage guidelines
A SIM/UIM card will be locked in the following circumstances:
• Consecutive PIN modification failures.
• Consecutive failures for enabling or disabling PIN authentication.
• Consecutive PIN authentication failures.