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:
If you execute the ppp mp and ppp mp virtual-template commands multiple times, the most recent configuration takes effect.
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.) Restore the default settings for the VT interface. | default | N/A |
9. Return to system view. | quit | N/A |
10. 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. |
11. 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 view. | interface virtual-template number | N/A |
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. Set the minimum size of MP fragments. | ppp mp min-fragment size | The default setting is 128 bytes. |
6. Configure the MP sort buffer size factor. | ppp mp sort-buffer-size size | The default setting is 1. |
7. (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. |
8. (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. |