Configuring MP by using a VT interface

You can use either of the following methods to configure MP by using a VT interface:

When you configure MP by using a VT interface, follow these guidelines:

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.

  • Distributed devices in standalone mode/centralized devices in IRF mode:service slot slot-number

  • Distributed devices in IRF mode:service chassis chassis-number slot slot-number

By default, no primary traffic processing slot is specified for an interface.

9. (Optional.) Specify a backup traffic processing slot for the interface.

  • Distributed devices in standalone mode/centralized devices in IRF mode:service standby slot slot-number

  • Distributed devices in IRF mode:service standby chassis chassis-number slot slot-number

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.

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

    1. Enter interface view:
      interface
      interface-type interface-number

    2. Bind the interface to the specified VT interface, and enable MP for the interface:ppp mp virtual-template number

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

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

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

    2. Enter interface view:
      interface
      interface-type interface-number

    3. Enable MP for the interface:ppp mp

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

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.

See "Configuring other optional 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.