Configuring the LNS to support IMSI or SN in PPP LCP negotiation
You must configure both the LNS and client to enable this feature.
Configuring the LNS
To configure the LNS to initiate IMSI and/or SN negotiation:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter VT interface view. | interface virtual-template virtual-template-number | Required. By default, no VT interface is created. |
3. Initiate an IMSI or SN negotiation request. | ppp lcp { imsi | sn } request | Required. By default, no IMSI or SN negotiation request is initiated. |
4. Configure a delimiter for the username received from the client during negotiation. | ppp user accept-format imsi-sn split splitchart | Optional. By default, no delimiter is configured. If the client's IMSI/SN information fails to be obtained during negotiation, IMSI/SN information that is split from the username is used. |
5. Replace the username with IMSI or SN information during negotiation. | ppp user replace { imsi | sn } | Optional. By default, the username is used for authentication. |
Configuring the client
To enable the client to negotiate the IMSI or SN with the LNS:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter VT interface view. | interface virtual-template virtual-template-number | Required. By default, no VT interface is created. |
3. Accept the IMSI or SN negotiation requests from the LNS. | ppp lcp { imsi | sn } accept | Required. By default, the client does not accept IMSI or SN negotiation requests. |
4. Configure IMSI or SN information. | ppp lcp { imsi | sn } string info | Optional. By default, IMSI or SN information is automatically obtained. |
5. Configure a delimiter for the username sent to the LNS during negotiation. | ppp user attach-format imsi-sn split splitchart | Optional. By default, no delimiter is configured. |