Configuring MP by using a VT interface

When you configure MP by using a VT interface, you can do one of the following:

Configuration restrictions and guidelines

Configuration procedure

To configure MP by using a VT interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a VT interface and enter VT interface view.

interface virtual-template number

N/A

3. Set the interface description.

description text

Optional.

By default, the description of a VT interface is interface name Interface.

4. Set the MTU size of the interface.

mtu size

Optional.

1500 bytes by default.

5. Configure the MP sort buffer size factor.

ppp mp sort-buffer-size size

Optional.

1 by default.

The MP sort buffer size = The number of channels in the current MP bundle × size.

6. Set the maximum number of links that can be used for transmitting multicast or broadcast packets supported on the VT interface.

broadcast-limit link number

Optional.

30 by default.

7. Set the intended bandwidth for the VT interface.

bandwidth bandwidth-value

Optional.

8. Restore the default settings for the VT interface.

default

Optional.

9. Return to system view.

quit

N/A

10. Associate a physical interface or a username to the VT interface.

  • (Method 1) Bind a physical interface to the VT interface:

    1. interface interface-type interface-number

    2. Specify the number of the VT interface to which the interface is to be bound, and specify that the interface operate in MP mode:ppp mp virtual-template number

    3. (Optional.) Configure software support for MP binding:ppp mp soft-binding

    4. (Optional.) Configure PPP authentication (see "Configuring PPP authentication").

  • (Method 2) Associate a username to the VT interface:

    1. Associate a VT interface to MP users:ppp mp user username bind virtual-template number

    2. interface interface-type interface-number

    3. (Optional.) Configure software support for MP binding:ppp mp soft-binding

    4. Configure the interface with PPP encapsulation enabled to operate in MP mode:ppp mp

    5. Configure PPP authentication (see "Configuring PPP authentication").

Use either method.

By default, a physical interface is not bound to any VT interface and operates in PPP mode.

PPP authentication has no effect on the setup of MP.

By default, an interface with PPP encapsulation enabled operates in PPP mode.

By default, MP binding is supported in hardware.

Software support for MP binding can only be configured on CPOS interfaces.

11. Configure other MP parameters.

See "Configuring other optional parameters."

Optional.

Configuring other optional parameters

When you configure other optional parameters, follow these guidelines:

To configure other optional parameters:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create an MP VT interface or enter dialer interface view.

interface { dialer | virtual-template } number

The interface virtual-template command also leads you to VT interface view.

3. Set the binding mode.

ppp mp binding-mode { authentication | both | descriptor }

Optional.

By default, MP binding is based on both the PPP authentication username and the descriptor.

4. Set the maximum number of links allowed in an MP bundle.

ppp mp max-bind max-bind-num

Optional.

16 by default.

This command is available in VT interface view and dialer interface view.

Inappropriate use of this command can cause PPP performance degradation. Make sure you understand the impact of this command on your network before you use it.

5. Set the minimum number of links required in an MP bundle.

ppp mp min-bind min-bind-num

Optional.

This command is available only in dialer interface view.

By default, the minimum number of links in an MP bundle is 0, that is, MP dialup depends on traffic detection.

6. Configure the MP sort buffer size factor.

ppp mp sort-buffer-size size

Optional.

1 by default.

The MP sort buffer size = The number of channels in the current MP bundle × size.

7. Enable MP fragmentation.

ppp mp fragment enable

Optional.

Enabled by default.

8. Set the minimum size of MP fragments.

ppp mp min-fragment size

Optional.

128 bytes by default.