Configuring MP by using a VT interface
You can use either of the following methods to configure MP by using a VT interface:
Bind physical interfaces to the VT interface by using the ppp mp virtual-template command.
If authentication is not configured, the system binds links according to the descriptor of the peer.
If authentication is configured, the system binds links according to the username, the descriptor of the peer, or both.
Associate a username with the VT interface. After the user passes authentication, the system finds the VT interface associated with the username and bundles links according to the username and the descriptor of the peer. To ensure a successful link negotiation, configure the ppp mp command and two-way authentication (PAP, CHAP, MS-CHAP, or MS-CHAP-V2) on the bundled interfaces.
When you configure MP by using a VT interface, follow these guidelines:
The ppp mp command and the ppp mp virtual-template command are mutually exclusive on an interface.
You must use the same method to configure the interfaces to be bundled .
To use one-way authentication, associate physical interfaces with a VT interface on one end and associate a username with the VT interface on the other end.
Configure a VT interface to provide only one service, such as MP, L2TP, or PPPoE.
Configuring MP by using a VT interface
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a VT interface and enter its view. | interface virtual-template number | If the VT interface already exists, you enter its view directly. |
3. (Optional.) Set the interface description. | description text | By default, the description of a VT interface is interface name Interface, for example, Virtual-Template1 Interface. |
4. Set the keepalive interval. | timer-hold seconds | The default setting is 10 seconds. |
5. Set the keepalive retry limit. | timer-hold retry retries | The default setting is 5. |
6. Set the MTU size of the interface. | mtu size | The default setting is 1500 bytes. |
7. Set the expected bandwidth of the VT interface. | bandwidth bandwidth-value | By default, the expected bandwidth (in kbps) is the interface baud rate divided by 1000. |
8. (Optional.) Specify a primary traffic processing slot for the interface. |
| By default, no primary traffic processing slot is specified for an interface. |
9. (Optional.) Specify a backup traffic processing slot for the interface. |
| By default, no backup traffic processing slot is specified for an interface. |
10. (Optional.) Restore the default settings for the VT interface. | default | N/A |
11. Return to system view. | quit | N/A |
12. Associate a physical interface or a username with the VT interface. |
| By default, a physical interface is enabled with PPP and not bound to any VT interface. PPP authentication does not affect MP when Method 1 is used. By default, a VT interface is not bound to any username. |
13. Configure other MP parameters. | N/A |
Configuring other optional parameters
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MP VT interface or dialer interface view. | interface { dialer | virtual-template } number | For more information about configuring MP parameters in dialer interface view, see "Configuring DDR." |
3. Set the binding mode. | ppp mp binding-mode { authentication | both | descriptor } | By default, both the username and the descriptor are used for MP binding. |
4. (Optional.) Set the maximum number of links in an MP bundle. | ppp mp max-bind max-bind-num | The default setting is 16. |
5. (Optional.) Set the minimum number of links in an MP bundle. | ppp mp min-bind min-bind-num | The default setting is 0, which means MP dialup depends on traffic detection. This command is available only in dialer interface view. The minimum number cannot be greater than the maximum number set with the ppp mp max-bind command. |
6. Set the minimum size of MP fragments. | ppp mp min-fragment size | The default setting is 128 bytes. |
7. Configure the MP sort buffer size factor. | ppp mp sort-buffer-size size | The default setting is 1. |
8. (Optional.) Configure the timer for MP to wait for the expected fragment. | ppp mp timer lost-fragment seconds | By default, the timer is 30 seconds. |
9. (Optional.) Disable MP fragmentation. | ppp mp fragment disable | By default, MP fragmentation is enabled. When this command is configured on an interface, the ppp mp lfi enable and ppp mp min-fragment commands do not take effect on the interface. |