No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
MP Configuration Commands

MP Configuration Commands

display interface mp-group

Function

The display interface mp-group command displays the MP-Group interface status.

Format

display interface mp-group [ number ]

Parameters

Parameter Description Value
number Specifies the number of an MP-Group interface. If no interface number is specified, the status of all MP-Group interfaces are displayed. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When monitoring the interface status or locating faults on an interface, you can run the display interface mp-group command to obtain the status of and statistics on the interface.

Example

# Display the MP-Group interface status.

<Huawei> display interface mp-group
Mp-group0/0/1 current state : UP                                                
Line protocol current state : UP                                                
Description:HUAWEI, AR Series, Mp-group0/0/1 Interface                     
Route Port,The Maximum Transmit Unit is 1500                                    
Internet Address is 10.10.10.10/24                                             
Link layer protocol is PPP                                                      
LCP opened, MP opened, IPCP opened                                              
Physical is MP, baudrate is 64000 bps                                           
Current system time: 2011-02-09 10:21:48                                        
    Last 300 seconds input rate 0 bytes/sec, 0 packets/sec                      
    Last 300 seconds output rate 0 bytes/sec, 0 packets/sec                     
    Realtime 0 seconds input rate 0 bytes/sec, 0 packets/sec                    
    Realtime 0 seconds output rate 0 bytes/sec, 0 packets/sec                   
    6 packets input, 84 bytes, 0 drops                                          
    6 packets output, 84 bytes, 0 drops                                         
    Input bandwidth utilization  :    0%                                        
    Output bandwidth utilization :    0% 
Table 6-6  Description of the display interface mp-group command output

Item

Description

Mp-group0/0/1 current state

Status of MP-Group0/0/1:
  • UP: indicates that the interface is Up.

  • DOWN: indicates that the interface is Down.

  • Administratively down: indicates that the network administrator has run the shutdown command on the interface.

Line protocol current state

Link layer protocol status of the interface:
  • UP: indicates that the link layer protocol status of the interface is Up.

  • DOWN: indicates that the link layer protocol status of the interface is Down or no IP address is assigned to the interface. damping indicates that the interface is suppressed because of frequent flapping.

Description

Description of the interface.

The Maximum Transmit Unit is

Maximum Transmission Unit (MTU) of the interface. The default MTU on a serial interface is 1500 bytes. Packets whose size is greater than the MTU are fragmented before being transmitted. If non-fragmentation is enabled, the packets are discarded.

Internet Address is

IP address and subnet mask of the interface.

Link layer protocol is

Link layer protocol type. The link layer protocol on an MP-Group interface can only be the Point-to-Point Protocol (PPP).

LCP

Status of the Link Control Protocol (LCP).

The LCP status is as follows:
  • Initial: indicates that the physical layer is unavailable.
  • Starting: indicates that the physical layer is starting. The device retains in Starting state for a short time.
  • Closed: indicates that the device sends a Terminate-Ack packet to terminate the connection after receiving the Configure-Request packet.
  • Stopped: indicates that the device receives the Configure-Request packet, but does not receive a Configure-Ack packet from the peer device. In this case, the device sends a Terminate-Ack packet.
  • Closing: indicates that the connection is being closed. The device enters the Closed state if the device receives a Configure-Ack packet from the peer device or the timer expires. The device retains in Closing state for a short time.
  • Stopping: indicates that the connection is being closed to prevent subsequent traffic transmission. The device retains in Stopping state for a short time.
  • Req-Sent: indicates an attempt to establish a connection. The device sends a Configure-Request packet, but does not receive a Configure-Ack packet from the peer device.
  • Ack-Rcvd: indicates that the device sends a Configure-Request packet and receives a Configure-Ack packet from the peer device but does not receive a Configure-Ack packet to the peer device.
  • Ack-Sent: indicates that the device sends a Configure-Request packet and a Configure-Ack packet to the peer device and receives a Configure-Ack packet from the peer device.
  • Opened: indicates that the device sends a Configure-Ack packet to the peer device and receives a Configure-Ack packet from the peer device. The link layer works properly.

MP

MP link status. If the MP link is in Opened state, the MP link works properly. The MP link is in Opened state only when the LCP status of all member links in the MP link is Opened.

IPCP

Internet Protocol Control Protocol (IPCP) status of the MP link. If IPCP is in Opened state, the MP link works properly. The IPCP status of the MP link is Opened only when the IPCP status of the primary link in the MP link is Opened.

Physical is MP, baudrate is

The link belongs to an MP link and the interface baud is displayed.

Current system time

Current system time.

If the time zone is configured and system time uses the daylight-saving-time (DST). The time is in YYYY/MM/DD HH:MM:SS UTC±HH:MM DST format.

Last 300 seconds input rate

Last 300 seconds output rate

Rates of sending and receiving bytes and packets on the interface in the last 300 seconds.

packets input, bytes, drops

packets output, bytes, drops

Total number of packets and bytes sent and received on the interface, and total number of packets discarded because of insufficient buffer space.

Related Topics

display interface virtual-template

Function

Using the display interface virtual-template command, you can view the status of a virtual template (VT) interface.

Format

display interface virtual-template [ vt-number ]

Parameters

Parameter Description Value
vt-number Displays the status of the specified VT interface. If no VT number is specified, the status of all VT interfaces is displayed. The value is an integer that ranges from 0 to 1023.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display interface virtual-template command displays the status of a VT interface, including the current physical status, link layer protocol and its status, IP address, description, output queue status, incoming and outgoing packet rates in bit/s and pps, total numbers of packets and bytes received and sent by the VT interface, and percentages of the rates for receiving and sending packets to the total bandwidth.

Example

# Display the status of a specified VT interface.

<Huawei> display interface virtual-template 1
Virtual-Template1 current state : UP
Line protocol current state :UP (spoofing)
Description:HUAWEI, AR Series, Virtual-Template1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.1/24
Link layer protocol is PPP
LCP initial, MP opened
Physical is None, baudrate is 64000 bps
Current system time: 2007-09-06 20:57:31
    Last 300 seconds input rate 0 bits/sec, 0 packets/sec
    Last 300 seconds output rate 0 bits/sec, 0 packets/sec
    Realtime 2 seconds input rate 0 bits/sec, 0 packets/sec
    Realtime 2 seconds output rate 0 bits/sec, 0 packets/sec
    Input bandwidth utilization  :    0%
    Output bandwidth utilization :    0%
Table 6-7  Description of the display interface virtual-template command output

Item

Description

Virtual-Template1 current state

Physical status of the VT interface:
  • UP: indicates that the interface works properly.

Line protocol current state

Link layer protocol status of the interface:
  • UP (spoofing): indicates that the link layer protocol of the interface is always Up with the spoofing feature enabled.

Link layer protocol is

Link layer protocol.

Internet Address is

IP address assigned to the interface. If no IP address is assigned to the interface, "Internet protocol processing : disabled" is displayed.

LCP initial, MP opened

Indicates the status of LCP.

Description

Description of the interface. A maximum of 242 case-sensitive characters (including spaces) can be entered. The description helps you to know the functions of the interface.

The Maximum Transmit Unit is

MTU of the interface. The default value of the MTU is 1500 bytes on a serial interface. Packets whose size is greater than the MTU are fragmented before being transmitted. If fragmentation is not allowed, the packets are discarded.

Physical is None

No physical interface exists. Logical interfaces do not exist physically.

Current system time

Current system time.

If the system is configured with a time zone and is in the summer time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST.

Last 300 seconds input rate

Last 300 seconds output rate

Rates of the bytes and the packets that the interface sends and receives in the last 300 seconds.

Realtime 2 seconds input rate

Realtime 2 seconds output rate

Real-time rates of sending and receiving the bytes and the packets within 2 seconds.

It refers to the interval between two display commands that are run on the same interface. The maximum value is the statistical interval displayed in the previous piece of information. This entry is displayed only when information about a logical interface is viewed.

Input

Total number of packets and total number of bytes received by the interface.

Output

Total number of packets and total number of bytes sent by the interface.

Input bandwidth utilization

Percentage of the rate for receiving packets to the total bandwidth.

Output bandwidth utilization

Percentage of the rate for sending packets to the total bandwidth.

display ppp mp

Function

The display ppp mp command displays binding information and the statistics on links in an MP link.

Format

display ppp mp [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the interface where the MP binding information and the statistics on links in an MP link need to be displayed.

If you do not specify the interface type and number, information and statistics about all the interfaces of the MP are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

  • When monitoring the interface status or locating faults on an interface, you can run the display ppp mp command to view the status of and statistics on the interface.

  • You can run the display ppp mp command to check whether physical interfaces are bound to the specified virtual template interface, check whether the binding mode is direct binding or authentication binding, and check whether physical interfaces are bound to the MP-Group interface.

Prerequisites

The MP configurations at both ends are complete and member interfaces have been restarted at both ends.

Example

# Display the MP binding information and the statistics about links in an MP link on the virtual template interface virtual template 1.

<Huawei> display ppp mp interface virtual-template 1
Template is Virtual-Template1
 Bundle quid0, 2 member, slot 0, Master link is Virtual-Template1:0
  0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved,
 sequence 0/0 rcvd/sent
 The bundled son channels are:
      Serial1/0/0
      Serial1/0/1 
Table 6-8  Description of the display ppp mp interface virtual-template command output

Item

Description

Template is Virtual-Template1

Used virtual template interface is Virtual-Template1.

Bundle

Remote user name of the bound link is quid0.

Information following Bundle varies according to the MP binding mode:
  • If the MP binding condition is authentication, the remote user name is displayed.
  • If the MP binding condition is descriptor, the remote endpoint discriminator is displayed.
  • If the MP binding condition is both, the remote user name or remote endpoint discriminator is displayed.
NOTE:
An endpoint discriminator is represented in ASCII format. For example, the value 733000000000 indicates that the endpoint discriminator is s0. A user name is a string of characters. For example, the value s0 indicates that the user name is s0.

member

Number of bound links is two.

slot

Slot ID.

Master link is Virtual-Template1

Virtual template interface number and virtual access interface number of the primary link.

lost fragments

Number of fragments discarded in the inbound direction.

reordered

Number of reassembled packets in the inbound direction.

unassigned

Number of packets to be reassembled in the inbound direction.

interleaved

Number of sent Link Fragmentation and Interleaving (LFI) fragments.

sequence 0/0 rcvd/sent

Receiving or transmitting sequence number.

The bundled son channels are

Local interfaces corresponding to PPP links in an MP link.

# Display the MP binding information and bound links on the MP-Group interface.

<Huawei> display ppp mp interface mp-group 0/0/1
Mp-group is Mp-group0/0/1
 ===========Sublinks status begin======
 Serial1/0/0 physical UP,protocol UP
 Serial2/0/0 physical UP,protocol UP
 ===========Sublinks status end========
 Bundle Multilink, 2 members, slot 0, Master link is Mp-group0/0/1
  0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved,
 sequence 0/0 rcvd/sent
 The bundled sub channels are:
      Serial1/0/0
      Serial2/0/0 
Table 6-9  Description of the display ppp mp interface mp-group command output

Item

Description

Mp-group is Mp-group0/0/1

Used MP-Group interface is MP-Group 0/0/1.

Serial physical, protocol

Name of the physical interface and its physical status and link layer protocol status.
  • Up: The physical layer or the link layer of the interface is Up.

  • Down: The physical layer or the link layer of the interface is Down. damping indicates that the interface is suppressed because of frequent flapping.

Bundle Multilink, member, slot, Master link is

Number of valid bound links, slot ID, and bound interface.

lost fragments

Number of fragments discarded in the inbound direction.

reordered

Number of reassembled packets in the inbound direction.

unassigned

Number of packets to be reassembled in the inbound direction.

sequence rcvd/sent

Receiving or transmitting sequence number.

The bundled sub channels are

Local interfaces corresponding to PPP links in an MP link.

display virtual-access

Function

The display virtual-access command displays the virtual access interface status.

Format

display virtual-access [ vt vt-number | dialer dialer-interface-number | user user-name | peer peer-address | va-number ]*

Parameters

Parameter Description Value
vt vt-number Specifies the number of the VT interface bound to the VA interface. The value is an integer that ranges from 0 to 1023.
dialer dialer-interface-number Specifies the number of the dialer interface bound to the VA interface.

The value is an integer that ranges from 0 to 127.

user user-name Specifies the user name for logging in to the VA interface. The value is a string of 1 to 64 case-sensitive characters without spaces.
peer peer-address Specifies the IP address of the peer device connected to the VA interface. The value is in dotted decimal notation.
va-number Specifies the number of the VA interface. The value is an integer that ranges from 0 to 1023.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

A VA interface is generated after the VT interface is instantialized. A VA interface is generated for one PPP connection. For example, a VA interface is generated for a PPPoE session or a PPPoFR connection.

When monitoring the interface status or locating faults on an interface, you can run the display virtual-access command to obtain the status of and statistics on the interface.

If no parameter is specified, the status of all VT interfaces are displayed.

Example

# Display the status of all VA interfaces when a VA interface is generated on a VT interface.

<Huawei> display virtual-access
Virtual-Template1:0 current state : UP                                          
Line protocol current state : UP                                                
Last line protocol up time : 2012-07-18 10:54:39                                
Description:HUAWEI, AR Series, Virtual-Template1:0 Interface                    
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)             
Link layer protocol is PPP                                                      
LCP opened, MP opened, IPCP opened                                              
Physical is MP                                                                  
Current system time: 2012-07-18 10:56:28                                        
    Last 300 seconds input rate 0 bits/sec, 0 packets/sec                       
    Last 300 seconds output rate 0 bits/sec, 0 packets/sec                      
    Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec                     
    Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec                    
    Input: 0 bytes                                                              
    Output:0 bytes                                                              
    Input bandwidth utilization  :    0%                                        
    Output bandwidth utilization :    0%   
Table 6-10  Description of the display virtual-access command output

Item

Description

Virtual-Template1:0 current state

Virtual-Template interface status:
  • UP: indicates that the physical status of the interface is Up.

  • DOWN: indicates that the physical status of the interface is Down.

In this field, the number following Virtual-Template indicates "VT interface number:VA interface number". For example, 1:0 indicates that the VT interface number is 1 and VA interface number is 0.

Line protocol current state

Link layer protocol status of the interface:
  • UP: indicates that the link layer protocol status of the interface is Up.

  • DOWN: indicates that the link layer protocol status of the interface is Down or no IP address is assigned to the interface.

Last line protocol up time

Last time the link layer protocol of the interface goes Up.

Description

Interface description.

The Maximum Transmit Unit is

Maximum Transmission Unit (MTU) of the interface. The default MTU on a serial interface is 1480 bytes. Packets whose size is greater than the MTU are fragmented before being transmitted. If non-fragmentation is enabled, the packets are discarded.

Run the mtu command to set the maximum transmission unit (MTU) of an interface.

Hold timer is

Lifecycle of a packet. If a packet is not sent out before the hold timer times out, the packet is discarded.

Link layer protocol is

Link layer protocol type.

LCP

Status of the Link Control Protocol (LCP).

The LCP status is as follows:
  • Initial: indicates that the physical layer is unavailable.
  • Starting: indicates that the physical layer is starting. The device retains in Starting state for a short time.
  • Closed: indicates that the device sends a Terminate-Ack packet to terminate the connection after receiving the Configure-Request packet.
  • Stopped: indicates that the device receives the Configure-Request packet, but does not receive a Configure-Ack packet from the peer device. In this case, the device sends a Terminate-Ack packet.
  • Closing: indicates that the connection is being closed. The device enters the Closed state if the device receives a Configure-Ack packet from the peer device or the timer expires. The device retains in Closing state for a short time.
  • Stopping: indicates that the connection is being closed to prevent subsequent traffic transmission. The device retains in Stopping state for a short time.
  • Req-Sent: indicates an attempt to establish a connection. The device sends a Configure-Request packet, but does not receive a Configure-Ack packet from the peer device.
  • Ack-Rcvd: indicates that the device sends a Configure-Request packet and receives a Configure-Ack packet from the peer device but does not receive a Configure-Ack packet to the peer device.
  • Ack-Sent: indicates that the device sends a Configure-Request packet and a Configure-Ack packet to the peer device and receives a Configure-Ack packet from the peer device.
  • Opened: indicates that the device sends a Configure-Ack packet to the peer device and receives a Configure-Ack packet from the peer device. The link layer works properly.

MP

MP link status. If the MP link is in Opened state, the MP link works properly. The MP link is in Opened state only when the LCP status of all member links in the MP link is Opened.

IPCP

Internet Protocol Control Protocol (IPCP) status of the MP link. If IPCP is in Opened state, the MP link works properly. The IPCP status of the MP link is Opened only when the IPCP status of the primary link in the MP link is Opened.

Current system time

Current system time.

If the time zone is configured and system time uses the daylight-saving-time (DST). The time is in YYYY/MM/DD HH:MM:SS UTC±HH:MM DST format.

Last 300 seconds input rate

Incoming packet rate (bits per second and packets per second) within the last 300 seconds.

Last 300 seconds output rate

Outgoing packet rate (bits per second and packets per second) within the last 300 seconds.

Realtime 0 seconds input rate

Rate of packets received when this command is being executed.

Realtime 0 seconds output rate

Rate of packets sent when this command is being executed.

Input

Total number of received packets.

Output

Total number of sent packets.

Input bandwidth utilization

Inbound bandwidth usage.

Output bandwidth utilization

Outbound bandwidth usage.

discriminator

Function

The discriminator command enables the terminal discriminator negotiation function.

The undo discriminator command disables the terminal discriminator negotiation function.

By default, the terminal discriminator negotiation function is enabled.

Format

discriminator

undo discriminator

Parameters

None

Views

MP-Group interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the device performs MP connections with other vendors' devices using MP-Group links, if other vendors' devices cannot identify the device's terminal discriminator, the connection fails. You can run the undo discriminator command in the MP-Group interface view to disable the terminal discriminator negotiation function.

Precautions

Run the shutdown and undo shutdown or restart command to restart the physical interface to make the configuration take effect.

Example

# Disable the terminal discriminator negotiation function on the interface MP-Group0/0/1.

<Huawei> system-view
[Huawei] interface mp-group 0/0/1
[Huawei-Mp-group0/0/1] undo discriminator

interface mp-group

Function

The interface mp-group command creates an MP-Group interface and enters the MP-Group interface view.

The undo interface mp-group command deletes a specified MP-Group interface.

By default, no MP-Group interface is created.

Format

interface mp-group number

undo interface mp-group number

Parameters

Parameter Description Value
number

Specifies the number of an MP-Group interface.

The value is in the 0/0/sequence number format. The sequence number ranges from 0 to 1023.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure MP binding by using an MP-Group interface, you need to first create an MP-Group interface.

Follow-up Procedure

Run the ppp mp mp-group command to bind an interface to the MP-Group interface.

Example

# Create MP-Group interface 0/0/1.

<Huawei> system-view
[Huawei] interface mp-group 0/0/1
[Huawei-Mp-group0/0/1]
Related Topics

interface virtual-template

Function

Using the interface virtual-template command, you can create a virtual template (VT) interface and enter the VT interface view.

Using the undo interface virtual-template command, you can delete a VT interface.

Format

interface virtual-template vt-number

undo interface virtual-template vt-number

Parameters

Parameter Description Value
vt-number Specifies the number of a VT interface. The VT sequence number of the AR500 series series range from 0 to 127. The VT sequence number of the AR510 series range from 0 to 7.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Layer 2 protocols such as PPP cannot transmit packets of each other, and need to communicate by using virtual access (VA) interfaces. When Layer 2 protocols need to communicate, the system automatically creates a VA interface. You can configure a VA interface only by setting attributes for a VT interface. A VT interface is used by the system to configure VA interfaces.

Prerequisites

A VT interface has been created before the system creates a VA interface.

Precautions

After a VT interface is deleted, all of its derived VA interfaces are deleted automatically.

The link layer protocol of a VT interface is Up only when VA interfaces in Up state exist on the VT interface.

Example

# Create VT interface 10.

<Huawei> system-view
[Huawei] interface virtual-template 10
[Huawei-Virtual-Template10]

ppp mp

Function

The ppp mp command configures a PPP interface to work in MP mode.

The undo ppp mp command configures a PPP interface to work in PPP mode.

By default, a PPP interface works in PPP mode.

Format

ppp mp

undo ppp mp

Parameters

None

Views

Async interface view, 3G Cellular interface view, dialer interface view, virtual template interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To increase link bandwidth, you can bind multiple PPP links into an MP link. To implement MP binding, interfaces must work in MP mode.

The following table lists the MP implementation types and principles.

Type

Subtype

Characteristic

Using a VT

Binding PPP links to a VT

Multiple interfaces are bound to a VT.

This method is simple but does not ensure high security.

Searching for a VT using the user name of the PPP link

The system searches for the bound VT using the authenticated remote user name. Links with the same user name are bound to the same VT.

This method is flexible but the configuration is complex.

Using an MP-Group

Adding PPP links to an MP-Group

An MP-Group interface is dedicated to MP applications. MP is implemented by binding multiple interfaces to an MP-Group interface.

This method is efficient and the configuration is simple. It is widely used on networks.

When configuring MP implemented by searching for a VT using the user name of the PPP link, run this command.

Prerequisites

The user name has been associated with the VT interface by using the ppp mp user command.

Precautions

  • You must configure bidirectional PPP authentication on the interface.

  • Interfaces must be bound to one VT interface in the same mode.

  • The ppp mp command and the ppp mp virtual-template command are exclusive. That is, you can configure only MP direct binding or MP authentication binding by using a VT interface.

Example

# Configure Dialer0 to work in MP mode.
<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] ppp mp
Related Topics

ppp mp binding-mode

Function

The ppp mp binding-mode command configures a PPP binding mode.

The undo ppp mp binding-mode command restores the default PPP binding mode.

By default, PPP binding is performed based on the remote user name and remote endpoint discriminator. That is, the PPP binding mode is both.

Format

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

undo ppp mp binding-mode

Parameters

Parameter Description Value
authentication

Indicates that the remote user name is used for PPP binding.

-

descriptor

Indicates that the remote endpoint discriminator is used for PPP binding.

-

both

Indicates that the remote user name and remote endpoint discriminator are used for MP binding.

-

Views

Virtual template interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a virtual template interface is used to implement MP, multiple MP bundles can be formed and each MP bundle corresponds to one MP link, regardless of how MP binding is implemented. To differentiate MP bundles formed by using a virtual template interface, specify the binding mode using the ppp mp binding-mode command in the virtual template interface view. The command supports three binding modes: authentication, descriptor, and both. The default binding mode is both.
  • If the MP binding mode is authentication, links with the same remote user name are bound to the same MP bundle.
  • If the MP binding condition is descriptor, links with the same remote endpoint discriminator through LCP negotiation are bound to the same MP bundle.
  • If the MP binding mode is both, links with the same remote user name and remote endpoint discriminator are bound to the same MP bundle.

Follow-up Procedure

Run the shutdown and undo shutdown or restart commands to restart the related physical interface to make the configuration take effect.

Precautions

The local and remote devices must have the same MP binding mode; otherwise, errors occur in MP negotiation.

Example

# Configure MP binding by using VT interface 1 according to the remote user name.

<Huawei> system-view
[Huawei] interface virtual-template 1
[Huawei-Virtual-Template1] ppp mp binding-mode authentication

ppp mp endpoint

Function

The ppp mp endpoint command configures the Endpoint option content for LCP negotiation when an interface works in MP mode.

The undo ppp mp endpoint command configures the default Endpoint option content for LCP negotiation when an interface works in MP mode.

By default, the Endpoint option content for LCP negotiation is a random number.

Format

ppp mp endpoint endpoint-name

undo ppp mp endpoint

Parameters

Parameter Description Value
endpoint-name

Specifies the Endpoint option content for LCP negotiation.

The value is a string of 1 to 20 case-sensitive characters without spaces.

Views

Async interface view, 3G Cellular interface view, dialer interface view, virtual template interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The Endpoint option content (the endpoint discriminator) is an MP negotiation option. The Endpoint option is negotiated in LCP negotiation.

If multiple MP links are created on a device, you can use the ppp mp endpoint command to modify the Endpoint option content to distinguish different MP links.

You can choose to use the ppp mp endpoint command when running the ppp mp binding-mode command to set the binding mode to both or descriptor.

Follow-up Procedure

Run the shutdown and undo shutdown or restart commands to restart the related physical interface to make the configuration take effect.

Precautions

The maximum length of the Endpoint option content is 20 characters. If the length of the Endpoint option content exceeds 20 characters, the first 20 characters are used as the Endpoint option content.

Example

# Configure the Endpoint option content of Dialer0 as Router1.
<Huawei> system-view
[Huawei] interface dialer 0
[Huawei-Dialer0] ppp mp endpoint Router1
Related Topics

ppp mp fragment enable

Function

The ppp mp fragment enable command enables MP packet fragmentation.

The undo ppp mp fragment enable command disables MP packet fragmentation.

By default, MP packet fragmentation is disabled.

Format

ppp mp fragment enable

undo ppp mp fragment enable

Parameters

None

Views

Virtual template interface view,MP-Group interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Large-sized packets require a longer transmission time and occupy a link for a long time. If subsequent packets need to be forwarded in real time, there may be a delay and user experience is low. To solve the problem, run the ppp mp fragment enable command to enable MP packet fragmentation so that fragments of small-sized packets and large-sized packets are sent to a queue.

If MP packet fragmentation is not required, run the undo ppp mp fragment enable command.

Precautions

MP packet fragmentation is not required on a link with bandwidth greater than 768 kbit/s.

Example

# Disable MP packet fragmentation.

<Huawei> system-view
[Huawei] interface Virtual-Template 1
[Huawei-Virtual-Template1] undo ppp mp fragment enable

ppp multichassis-mp enable

Function

The ppp multichassis-mp enable command enables Multi-Chassis Multilink PPP (MMP) on an MP member interface.

The undo ppp multichassis-mp enable command disables MMP on an MP member interface.

By default, MMP is disabled on an MP member interface.

Format

ppp multichassis-mp enable

undo ppp multichassis-mp enable

Parameters

None

Views

ISDN BRI interface view, ISDN PRI interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To allow MP member interfaces of different access servers to receive multiple dialup requests sent by the same branch device and terminate the requests in the same MP bundle, run the ppp multichassis-mp enable command on MP member interfaces. In this case, the MP member interfaces are bound to the same MP bundle.

Precautions

The MP member interfaces bound to the same MP bundle must be configured with the same endpoint discriminator or user name so that the branch device can bind the PPP links.

Example

# Enable MMP on the ISDN PRI interface.

<Huawei> system-view
[Huawei] interface serial 1/0/0:15
[Huawei-Serial1/0/0:15] ppp multichassis-mp enable

ppp mp lfi

Function

The ppp mp lfi command, enables LFI.

The undo ppp mp lfi command disables LFI.

By default, LFI is disabled on an interface.

Format

ppp mp lfi

undo ppp mp lfi

Parameters

None

Views

Virtual template interface view,MP-Group interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Large packets require a longer transmission period of time and occupy a link for a long period. If subsequent packets such as voice packets need to be forwarded in real time, there may be a delay and user experience. To solve the problem, fragment packets and place fragments of small packets and large packets to the queue.

To fragment and reassemble packets, enable LFI.

Configuration Impact

  • After the ppp mp lfi command is used, LFI is enabled. LFI divides large frames into small frames. Then the small frames and other small fragments are sent together. The delay and jitter on a link at a slow rate are reduced. The divided frames are reassembled at the destination.

  • After the ppp mp lfi command is run, the fragment size is not determined by the ppp mp min-fragment command. Instead, the fragment size is determined by both the maximum delay of an LFI fragment and the interface committed information rate (CIR).

  • After LFI is enabled, the formula for calculating the LFI fragment size is as follows: LFI fragment size = (maximum fragment delay x interface CIR)/8 The maximum delay of an LFI fragment is set by using the ppp mp lfi delay-per-frag command, and the interface CIR is set by using the qos gts command. If the interface CIR is not set, the LFI fragment size is fixed to 500 bytes.

  • After LFI is enabled on an interface, voice packets sent from the interface are placed into a protocol queue. Packets in a protocol queue are scheduled in Strict Priority (SP) mode. Packets in other queues can be scheduled only after packets in protocol queues are scheduled.

Example

# Enable LFI on the interface Virtual-Template1.

<Huawei> system-view
[Huawei] interface Virtual-Template 1
[Huawei-Virtual-Template1] ppp mp lfi

ppp mp lfi delay-per-frag

Function

The ppp mp lfi delay-per-frag command sets the maximum delay of an LFI fragment.

The undo ppp mp lfi delay-per-frag command restores the default maximum delay of an LFI fragment.

By default, the maximum delay of an LFI fragment is 10 ms.

Format

ppp mp lfi delay-per-frag max-delay

undo ppp mp lfi delay-per-frag

Parameters

Parameter Description Value
max-delay

Specifies the maximum delay of an LFI fragment.

The value is an integer that ranges from 1 to 1000, in ms.

Views

Virtual template interface view,MP-Group interface view

Default Level

2: Configuration level

Usage Guidelines

If an LFI fragment does not reach the destination within the maximum delay, it is discarded. A packet may fail to be reassembled if its fragments are lost. Therefore, set the maximum delay of an LFI fragment properly.

Example

# Enable LFI on Virtual-Template1 and set the maximum delay of an LFI fragment to 20 ms.

<Huawei> system-view
[Huawei] interface Virtual-Template 1
[Huawei-Virtual-Template1] ppp mp lfi
[Huawei-Virtual-Template1] ppp mp lfi delay-per-frag 20
Related Topics

ppp mp max-bind

Function

The ppp mp max-bind command sets the maximum number of links in an MP link.

The undo ppp mp max-bind command restores the default maximum number of links in an MP link.

By default, the maximum number of links in an MP link is 16.

Format

ppp mp max-bind max-bind-number

undo ppp mp max-bind

Parameters

Parameter Description Value
max-bind-number

Specifies the maximum number of links in an MP link.

The value ranges from 1 to 32.

You are advised to use the default maximum number of links in an MP link.

Views

Virtual template interface view,MP-Group interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To prevent the sum of bandwidth of PPP links from exceeding the specified bandwidth, configure the maximum number of PPP links in an MP link.

Follow-up Procedure

Run the shutdown and undo shutdown commands or the restart command to restart member interfaces to make the configuration take effect.

NOTE:

After the ppp mp max-bind command is executed on the synchronous serial interface formed by bundling timeslots on the CE1, CT1, or CPOS interface, you only need to run the shutdown and undo shutdown commands or the restart command on the CE1, CT1, or CPOS interface.

Precautions

  • A maximum of 32 member interfaces can be added to an MP link. If more than 32 member interfaces join an MP link, excess MP member interfaces that fail to be bundled become Down after LCP negotiation and enter the LCP negotiation state again. In this case, the excess MP member interfaces alternate between Up and Down.
  • The ppp mp max-bind command is not recommended because PPP performance may be deteriorated after the ppp mp max-bind command is used. Use the ppp mp max-bind command under the instruction of Huawei technical personnel.

  • If the number of links in an MP link reaches the maximum value, new available PPP links cannot join the MP.

  • To make this command take effect, ensure that there is no member link in the MP-Group. Before bundling MP member links, run the ppp mp max-bind command to set the maximum number of links in an MP link.

Example

# Set the maximum number of links in an MP link to 20 on Virtual-Template 1.

<Huawei> system-view
[Huawei] interface virtual-template 1
[Huawei-Virtual-Template1] ppp mp max-bind 20

ppp mp min-fragment

Function

The ppp mp min-fragment command sets the minimum length of outgoing MP packets to be fragmented.

The undo ppp mp min-fragment command restores the default minimum length of outgoing MP packets to be fragmented.

By default, the minimum length of outgoing MP packets to be fragmented is 500 bytes.

Format

ppp mp min-fragment size

undo ppp mp min-fragment

Parameters

Parameter Description Value
size

Specifies the minimum length of outgoing MP packets to be fragmented. Only the outgoing MP packets whose length is greater than the value are fragmented.

The value is an integer that ranges from 128 to 1500, in bytes.

You are advised to use the default minimum length of outgoing MP packets to be fragmented.

Views

Virtual template interface view, dialer interface view, MP-Group interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Oversized packets require a longer transmission period and occupy a link for a long period. If subsequent packets need to be forwarded in real time, a delay may occur, affecting user experience. To address this problem, fragment oversized packets into small-sized packets for transmission.

You can use the ppp mp min-fragment command to set the minimum length of outgoing MP packets to be fragmented.

NOTE:

The outgoing MP packet fragment length depends on the number of links and the minimum length of outgoing MP packets to be fragmented. If the number of bundled links is N and the minimum length of outgoing MP packets to be fragmented is size, the formula is as follows:

n = Original packet size/size

Actual fragment size = Packet size/Smaller value between N and n

Example:

  • When four links are bundled, the original packet size is 1000 bytes, size is set to 500 bytes, and the packet is divided into two fragments, the actual fragment size is 500 bytes.

  • When four links are bundled, the original packet size is 1000 bytes, size is set to 150 bytes, and the packet is divided into four fragments, the actual fragment size is 250 bytes.

NOTE:
The ppp mp min-fragment command takes effect only when LFI is disabled. After LFI is enabled, the minimum length of outgoing MP packets to be fragmented is determined by both the delay and bandwidth. For details, see ppp mp lfi.

Example

# Set the minimum length of outgoing MP packets to be fragmented to 256 bytes on the interface Virtual-Template1.

<Huawei> system-view
[Huawei] interface Virtual-Template 1
[Huawei-Virtual-Template1] ppp mp fragment enable
[Huawei-Virtual-Template1] ppp mp min-fragment 256

ppp mp reorder-window size

Function

The ppp mp reorder-window size command configures the sliding window size when MP reassembles received fragments.

The undo ppp mp reorder-window size command restores the default setting.

By default, the MP sliding window size is 64.

Format

ppp mp reorder-window size size

undo ppp mp reorder-window size

Parameters

Parameter Description Value
size

Specifies the sliding window size, or the number of fragments allowed in the MP sliding window.

The value ranges from 64 to 1024.

Views

Virtual template interface view,MP-Group interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the device receives traffic containing large-sized packets and exceeding the physical bandwidth of the MP binding, the device fails to reassemble the fragmented packets. This command adjusts the number of fragments allowed in the MP sliding window on the device, reducing failures to reassemble fragments.

Configuration Impact

If you run the ppp mp reorder-window size command multiple times in the same interface view, only the latest configuration takes effect.

Example

# Set the sliding window size to 200.

<Huawei> system-view
[Huawei] interface virtual-template 1
[Huawei-Virtual-Template1] ppp mp reorder-window size 200

ppp mp mp-group

Function

The ppp mp mp-group command binds an interface to the MP-Group interface so that the interface works in MP mode.

The undo ppp mp command configures an interface to work in PPP mode.

By default, an interface works in PPP mode.

Format

ppp mp mp-group number

undo ppp mp

Parameters

Parameter Description Value
number

Specifies the number of an MP-Group interface.

An MP-Group interface has been created by using the interface mp-group command.

Views

Async interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To increase link bandwidth, you can bind multiple PPP links into an MP link. To implement MP binding, interfaces must work in MP mode.

The following table describes the MP binding modes.

Type

Subtype

Characteristic

Using a VT

Binding PPP links to a VT

Multiple interfaces are bound to a VT.

This method is simple but does not ensure high security.

Searching for a VT using the user name of the PPP link

The system searches for the bound VT using the authenticated remote user name. Links with the same user name are bound to the same VT.

This method is flexible but the configuration is complex.

Using an MP-Group interface

Adding PPP links to an MP-Group

An MP-Group interface is dedicated to MP applications. MP is implemented by binding multiple interfaces to an MP-Group interface.

This method is efficient and the configuration is simple. It is widely used on networks.

When configuring MP implemented by binding PPP links to an MP-Group interface, run this command.

Prerequisites

An MP-Group interface has been created by using the interface mp-group command.

Example

# Bind Async2/0/0 to MP-Group0/0/1.

<Huawei> system-view
[Huawei] interface async 2/0/0
[Huawei-Async2/0/0] ppp mp mp-group 0/0/1
Related Topics

ppp mp user

Function

The ppp mp user command associates the user name with a virtual template interface.

The undo ppp mp user command unbinds the user name from a virtual template interface.

Format

ppp mp user username bind virtual-template vt-number

undo ppp mp user username

Parameters

Parameter Description Value
username

Specifies the user name of the remote device, which is obtained in PAP or CHAP authentication on a PPP link.

The value is a string of 1 to 64 characters.

bind virtual-template vt-number

Specifies the number of the virtual template interface bound to the user name of the remote device.

The value is an integer that ranges from 0 to 1023.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure MP authentication binding by using a virtual template interface, run the ppp mp user command. The device searches for the associated virtual template interface according to the user name of the remote device obtained in authentication.

Follow-up Procedure

Run the ppp mp command on the bound interface and configure bidirectional PPP authentication.

Run the shutdown and undo shutdown or restart commands to restart member interfaces to make the configuration take effect.

Example

# Associate the user user1 with virtual template interface 1.

<Huawei> system-view
[Huawei] ppp mp user user1 bind virtual-template 1

ppp mp virtual-template

Function

The ppp mp virtual-template command sets the number of the VT interface bound to an interface so that the interface works in MP mode.

The undo ppp mp command unbinds an interface from a VT interface so that the interface works in PPP mode.

By default, an interface works in PPP mode.

Format

ppp mp virtual-template vt-number

undo ppp mp

Parameters

Parameter Description Value
vt-number

Specifies the number of the VT interface.

The value is an integer that ranges from 0 to 1023.

Views

Serial interface view, Async interface view, ISDN BRI interface view, E1-F interface view, CE1/PRI interface view, CE3 interface view, T1-F interface view, CT1/PRI interface view, virtual template interface view, CPOS interface view, POS interface view, dialer interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To increase link bandwidth, you can bind multiple PPP links into an MP link. To implement MP binding, interfaces must work in MP mode.

The following table describes the MP binding modes.

Type

Subtype

Characteristic

Using a VT

Binding PPP links to a VT

Multiple interfaces are bound to a VT.

This method is simple but does not ensure high security.

Searching for a VT using the user name of the PPP link

The system searches for the bound VT using the authenticated remote user name. Links with the same user name are bound to the same VT.

This method is flexible but the configuration is complex.

Using an MP-Group interface

Adding PPP links to an MP-Group

An MP-Group interface is dedicated to MP applications. MP is implemented by binding multiple interfaces to an MP-Group interface.

This method is efficient and the configuration is simple. It is widely used on networks.

When configuring MP implemented by binding PPP links to a VT, run this command.

Precautions

  • Interfaces must be bound to one VT interface in the same mode.

  • The ppp mp virtual-template command and the ppp mp command are exclusive. That is, you can configure only MP direct binding or MP authentication binding by using a VT interface. The configuration of ppp mp virtual-template limitations is 200 on the device.

  • The VT interface specified in this command can be a VT interface that has been created or is not created. If the specified VT interface is not created, run the interface virtual-template command after running the ppp mp virtual-template command to create a VT interface.

  • When PPP links are bound to a VT in the VT interface view, services directly configured in the VT interface view do not take effect. For example, in Example 2, if VT interface 0 is bound to VT interface 1, services (such as IP address and QoS) configured on VT interface 0 do not take effect. The services take effect only when you configure them on VT interface 1.

Example

# Bind Serial1/0/0 to VT interface 1 so that Serial1/0/0 works in MP mode.

<Huawei> system-view
[Huawei] interface serial 1/0/0
[Huawei-Serial1/0/0] ppp mp virtual-template 1

# Bind VT interface 0 to VT interface 1 so that VT interface 0 works in MP mode.

<Huawei> system-view
[Huawei] interface virtual-template 0
[Huawei-Virtual-Template0] ppp mp virtual-template 1
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 52903

Downloads: 102

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next