Huawei AR530 Series Configuration Manual
Huawei AR530 Series Configuration Manual

Huawei AR530 Series Configuration Manual

Industrial switch routers
Hide thumbs Also See for AR530 Series:
Table of Contents

Advertisement

Huawei AR530&AR550 Series Industrial Switch
Routers
V200R005C70
Configuration Guide - WAN
Issue
01
Date
2014-11-30
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei AR530 Series

  • Page 1 Huawei AR530&AR550 Series Industrial Switch Routers V200R005C70 Configuration Guide - WAN Issue Date 2014-11-30 HUAWEI TECHNOLOGIES CO., LTD.
  • Page 2 All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
  • Page 3: About This Document

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN About This Document About This Document Intended Audience This document describes WAN features on the device and provides configuration procedures and configuration examples. This document is intended for: Data configuration engineers...
  • Page 4: Command Conventions

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN About This Document Symbol Description Calls attention to important information, best NOTE practices and tips. NOTE is used to address information not related to personal injury, equipment damage, and environment deterioration.
  • Page 5 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN About This Document – When configuring a password, the cipher text is recommended. To ensure device security, change the password periodically. – When you configure a password in plain text that starts and ends with %@%@ (the password can be decrypted by the device), the password is displayed in the same manner as the configured one in the configuration file.
  • Page 6: Table Of Contents

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN Contents Contents About This Document........................ii 1 DCC Configuration........................1 1.1 Introduction to DCC...............................2 1.2 Principle..................................4 1.2.1 Circular DCC................................4 1.2.2 Resource-Shared DCC..............................5 1.2.3 Dial-up Backup................................6 1.3 Specifications..................................7 1.4 Applications..................................8 1.5 Configuration Tasks...............................8 1.6 Configuring DCC................................8...
  • Page 7 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN Contents 1.8.1 Example for Configuring RS-DCC in the PPPoE Client Service................31 2 PPP Configuration........................34 2.1 Introduction to PPP...............................35 2.2 Principles..................................35 2.2.1 PPP Packet Format..............................35 2.2.2 PPP Link Establishment Process..........................39 2.3 Applications..................................44 2.4 Default Configuration..............................45...
  • Page 8 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN Contents 3.4 Default Configuration..............................74 3.5 Configuring PPPoE...............................74 3.5.1 Configuring the Device as a PPPoE Client.......................74 3.5.1.1 Configuring a Dialer Interface..........................75 3.5.1.2 Configuring the Device to Receive the DNS Server Address Assigned by the PPPoE Server......76 3.5.1.3 (Optional) Configuring IMSI or SN Negotiation....................77...
  • Page 9: Dcc Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration DCC Configuration About This Chapter This section describes the principles, configuration procedures, and configuration examples of the Dial Control Center (DCC). 1.1 Introduction to DCC This section describes the definition, mode, purpose of the dial control center (DCC) function, and the benefits this function brings.
  • Page 10: Introduction To Dcc

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration 1.1 Introduction to DCC This section describes the definition, mode, purpose of the dial control center (DCC) function, and the benefits this function brings. Definition The dial control center (DCC) provides the on-demand dialing service for users. The DCC can...
  • Page 11 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Circular DCC Resource-Shared DCC Mode All the physical interfaces in a dialer Physical interface configurations are circular group have the same dialer separated from the logical dialing interface attributes.
  • Page 12: Principle

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration 1.2 Principle This section describes the implementation of DCC. The device supports two DCC modes: circular DCC (C-DCC) and resource-shared DCC (RS- DCC). The two modes are applicable to different scenarios. The two ends in communication can adopt different modes.
  • Page 13: Resource-Shared Dcc

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Figure 1-1 Relationships between C-DCC physical interfaces and dialer interfaces Dialer interface physical dialer interface number Serial2/0/0:15 Dialer1 destination A dialer route Serial1/0/0:15 destination B Dialer2 Serial1/0/1:15...
  • Page 14: Dial-Up Backup

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Figure 1-2 Relationships between RS-DCC physical interfaces and dialer interfaces physical Dialer interface interface Dialer Serial dialer number bundle3 1/0/0:15 Dialer1 destination A Serial 1/0/1:15 Dialer Serial...
  • Page 15: Specifications

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration result, the backup link cannot be disconnected and the dynamic route monitoring function fails. The following methods can solve the preceding problem: – Set the IP address of the backup link to be greater than the IP address of the primary link.
  • Page 16: Applications

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration On the device, WAN-side Ethernet interfaces support the DCC function. The WAN-side Ethernet interfaces of the device only support RS-DCC. 3G Cellular interfaces can only be used for C-DCC.
  • Page 17: Configuring C-Dcc

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration 1.6.1 Configuring C-DCC C-DCC is applicable to the medium- or large-scale sites that have many physical links. Pre-configuration Tasks Before configuring C-DCC, complete the following tasks: Powering on the devices Use cables to connect devices properly 1.6.1.1 Configuring Link-Layer Protocol and IP Address...
  • Page 18: Enabling C-Dcc And Binding Dialer Acl To Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration An IP address is allocated to the dialer interface. – Run: ip address ppp-negotiate The dialer interface is configured to obtain an IP address from the PPPoE server.
  • Page 19: Configuring The Modes Used To Send And Receive Calls

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Step 4 Run: dialer-group group-number The dialer group of the dialer interface is specified. By default, no dialer ACL or dialer group is configured. Step 5 Run: quit Return to the system view.
  • Page 20 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration NOTE The calling and called parties in C-DCC can use PAP or CHAP authentication. The authentication must be configured on both of them or neither of them. Authentication is recommended to ensure the security of called and calling parties.
  • Page 21 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Figure 1-6 Multiple interfaces initiate calls to multiple interfaces remote end if1/0/0 if1/0/0 if2/0/0 if1/0/1 local remote end if2/0/0 remote end if2/0/1 As shown in Figure 1-6, if1/0/0, if1/0/1, and if2/0/0 on the local end initiate calls to if1/0/0, if2/0/0, and if2/0/1 of the remote end.
  • Page 22 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration As shown in Figure 1-8, the local end interface1/0/0 (if1/0/0 for short) receives calls from if1/0/0, if2/0/0, and if2/0/1 of the remote end. Because the called party is one interface, configure DCC for the dialer circular group.
  • Page 23 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration By default, no dialer number is configured. Use either the dialer route or dialer number command to configure a dialer number. By default, the auto-dial function is disabled. The auto-dial function must be used together with C-DCC.
  • Page 24 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Run: quit Return to the system view. Run: interface interface-type interface-number Enter the interface view. Run: dialer circular-group number A physical interface is added to the dialer circular group.
  • Page 25 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Run: system-view The system view is displayed. Run: interface interface-type interface-number Enter the interface view. (Optional) Configure destination addresses and dialer numbers. – Run the dialer route ip next-hop-address [ user hostname | broadcast ]...
  • Page 26: Optional) Configuring Attributes Of A Dcc Dialup Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration The value of number must be identical with the value of number in the interface dialer number command. By default, no dialer interface exists and a physical interface does not belong to any dialer circular group.
  • Page 27 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number Enter the interface view. Step 3 Run: dialer timer idle seconds The link idle timer is set.
  • Page 28: Optional) Configuring Dialer Number Backup

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration 1.6.1.5 (Optional) Configuring Dialer Number Backup Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number Enter the interface view. Step 3 Configure a destination address and a dialer number for the same remote end.
  • Page 29 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: standby routing-rule group-number ip ip-address { mask | mask-length } A dial-up backup group is created and the network segments to be monitored are added to the group.
  • Page 30: Optional) Closing A Connection

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration 1.6.1.7 (Optional) Closing a Connection Context To reduce network loads or adjust dialing configurations, you may need to tear down a dial-up link using command. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 31: Configuring Link-Layer Protocol And Ip Address

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration 1.6.2.1 Configuring Link-Layer Protocol and IP Address Context When the link-layer protocol on the dialup interface is PPP, you can configure PAP or CHAP authentication. For detailed configurations, see 2.5.2 Configuring PPP...
  • Page 32: Enabling Rs-Dcc And Binding Dialer Acl To Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration NOTE Before assigning an IPv6 address to an interface, run the ipv6 command in the system view to enable IPv6 packet forwarding and run the ipv6 enable command on the interface to enable IPv6.
  • Page 33: Configuring Rs-Dcc To Implement On-Demand Dialing

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration The link idle timer is set. By default, the link idle timer is 120 seconds. Step 7 (Optional) Run: dialer queue-length packets The buffer queue length on a dialup interface is set.
  • Page 34: Optional) Configuring Attributes Of A Dcc Dialup Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Step 3 Run: dialer number dial-number [ autodial ] A dialer number is configured. Step 4 Run: quit Return to the system view. Step 5 Run: interface interface-type interface-number The interface view is displayed.
  • Page 35: Optional) Configuring Dial-Up Backup

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number Enter the interface view. Step 3 Run: dialer timer idle seconds The link idle timer is set.
  • Page 36 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration routes. If the primary link destined for the monitored network segment is broken, the backup link learns the routes destined for the monitored network segment using BGP. After the primary link recovers, the primary link re-learns the routes, but these routes may not be the optimal routes.
  • Page 37: Optional) Closing A Connection

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration By default, the warmup timer is 30 seconds. After starting, the system restores configurations automatically. During configuration restoration, the main interface is in Down state, so the route on the main interface becomes unreachable.
  • Page 38: Maintaining Dcc

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration Step 2 Run the display interface dialer [ number ] command to check information about the dialer interface. ----End 1.7 Maintaining DCC This section describes how to maintain DCC, including clearing dialer interface statistics and monitoring DCC status.
  • Page 39: Example For Configuring Rs-Dcc In The Pppoe Client Service

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration 1.8.1 Example for Configuring RS-DCC in the PPPoE Client Service Networking Requirements As shown in Figure 1-10, the device functioning as the PPPoE client connects to hosts in the LAN using GE1/0/0 and connects to the PPPoE server using GE2/0/0.
  • Page 40: Configuration Files

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration [Router] dialer-rule [Router-dialer-rule] dialer-rule 1 ip permit [Router-dialer-rule] quit [Router] interface dialer 1 [Router-Dialer1] dialer user user2 [Router-Dialer1] dialer-group 1 [Router-Dialer1] dialer bundle 1 [Router-Dialer1] ppp chap user user1@system...
  • Page 41 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 1 DCC Configuration dialer-rule 1 ip permit ip route-static 0.0.0.0 0.0.0.0 Dialer1 return Issue 01 (2014-11-30) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 42: Ppp Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration PPP Configuration About This Chapter Configuring PPP can implement PPPoE dial-up access. 2.1 Introduction to PPP This section describes the definition and purpose of PPP. 2.2 Principles This section describes the implementation of PPP.
  • Page 43: Introduction To Ppp

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration 2.1 Introduction to PPP This section describes the definition and purpose of PPP. Definition Point-to-Point Protocol (PPP) is a link-layer protocol used to transmit point-to-point data over full-duplex synchronous and asynchronous links.
  • Page 44 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Figure 2-1 Location of PPP in the protocol suite SNMP TELNET RADIUS SOCKET ICMP Physical Layer PPP consists of three types of protocols: LCP: is used to establish, monitor, and tear down PPP data links.
  • Page 45 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration The Flag field identifies the start and end of a physical frame and is always 0x7E. Address field The Address field identifies a peer. Two communicating devices connected by using PPP do not need to know the data link layer address of each other because PPP is used on P2P links.
  • Page 46 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration In the Information field, the Padding field is optional. If there is the Padding field in the Information field, two communicating parties can communicate only when they can identify the padding information and information to be transmitted.
  • Page 47: Ppp Link Establishment Process

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration The Identifier field is 1 byte long. It is used to match requests and replies. If a packet with an invalid Identifier field is received, the packet is discarded.
  • Page 48 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Figure 2-3 PPP link establishment process OPENED Dead Establish Authenticate FAIL FAIL CLOSING DOWN Terminate Network The PPP link establishment process is as follows: Two communicating devices enter the Establish phase if one of them initiates a PPP connection request.
  • Page 49 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration When two communicating devices detect that the physical link between them is activated (for example, carrier signals are detected on the physical link), PPP enters the Establish phase from the Dead phase.
  • Page 50 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Figure 2-4 PAP authentication process Authenticated Authenticating device device Authenticate-Request My user name and password Authenticate-Ack Correct user name and password, authentication succeeds Authenticate-Nak Incorrect user name or...
  • Page 51 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Figure 2-5 CHAP authentication process Authenticated Authenticating device device Challenge My user name (optional) and random packet Response My user name and encrypted packet Success Consistent user name...
  • Page 52: Applications

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration compares the generated cipher text with that carried in the received Response packet, and returns a response based on the result of the check. When the authenticating device is not configured with a user name: –...
  • Page 53: Default Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration establishment process, and connects to the WAN. PPP links are widely used for communication between enterprise branches and the headquarters. Figure 2-6 Communication over a PPP link...
  • Page 54: Configuring Ppp As The Link Layer Protocol Of An Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration 2.5.1.1 Configuring PPP as the Link Layer Protocol of an Interface Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed.
  • Page 55 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration system-view The system view is displayed. – Run: interface interface-type interface-number The interface view is displayed. – Run: ip address ip-address { mask | mask-length } An IPv4 address is allocated to the interface.
  • Page 56 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration The system view is displayed. – Run: interface interface-type interface-number The interface view is displayed. – Run: ip address ip-address { mask | mask-length } An IP address is configured for the server.
  • Page 57: Checking The Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration NOTE To configure the local device to assign an IP address to the remote device, run the ppp ipcp remote- address forced command in the interface view.
  • Page 58 In this step, Authentication, Authorization and Accounting (AAA) local authentication in the default domain is used. When RADIUS authentication or HWTACACS authentication is used, you can refer to AAA Configuration in the Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Security. Run: The AAA view is displayed.
  • Page 59: Configuring Chap Authentication

    In this example, AAA local authentication in the default domain is used. When RADIUS authentication or HWTACACS authentication is used, configure a PPPoE local user by referring to AAA Configuration in the Huawei Issue 01 (2014-11-30) Huawei Proprietary and Confidential...
  • Page 60 The user name and password are configured for the local user. By default, the local account password is admin@huawei.com. The user name and password configured on the authenticated party must be the same as those configured on the authenticator.
  • Page 61 In this example, AAA local authentication in the default domain is used. When RADIUS authentication or HWTACACS authentication is used, configure a PPPoE local user by referring to AAA Configuration in the Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Security.
  • Page 62: Checking The Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Run: ppp chap password { cipher | simple } password The password for CHAP authentication is configured. NOTE When you specify simple, the password is saved in plain text in the configuration, which brings potential security risks.
  • Page 63: Setting The Negotiation Polling Interval

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Therefore, the negotiation timeout period must be set properly. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed.
  • Page 64: Configuring Dns Server Address Negotiation

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration By default, negotiation polling interval is set to 10s. ----End 2.5.3.3 Configuring DNS Server Address Negotiation Context During IP address negotiation, the device can negotiate the DNS server address with the remote device.
  • Page 65: Configuring The Number Of Times For Retransmitting Ppp Heartbeat Packets

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: ppp ipcp dns primary-dns-address [ secondary-dns-address ] The industrial switch router is configured to specify a DNS server address for the remote device.
  • Page 66: Configuring Suppression Of Adding The Peer Host Route To The Local Routing Table Of Direct Routes

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration 2.5.3.5 Configuring Suppression of Adding the Peer Host Route to the Local Routing Table of Direct Routes Context When one end is configured with an incorrect IP address, the other end automatically adds the incorrect peer host route to the local routing table of direct routes.
  • Page 67: Configuring Vjhc On A Ppp Link

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration Pre-configuration Tasks Before configuring PPP compression, complete the following task: Configuring basic PPP functions Configuration Process You can configure at least one of VJHC, IPHC, and Stac LZS compression on an interface.
  • Page 68: Configuring Iphc On A Ppp Link

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration 2.5.4.2 Configuring IPHC on a PPP Link Context IP Header Compression (IPHC) is an algorithm for compressing IP packet headers on PPP links. This algorithm compresses TCP/IP headers or RTP/UDP/IP headers to reduce the packet length and improve transmission efficiency over PPP links.
  • Page 69: Configuring Stac Lzs Compression On A Ppp Link

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration You can restart an interface by using the following methods: l Run the shutdown command and then the undo shutdown command. l Run the restart command. ----End 2.5.4.3 Configuring Stac LZS Compression on a PPP Link...
  • Page 70: Checking The Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 2 PPP Configuration 2.5.4.4 Checking the Configuration Procedure Run the display ppp compression iphc tcp [ interface interface-type interface-number ] command to check TCP/IP header compression statistics in IPHC. Run the display ppp compression iphc rtp [ interface interface-type interface-number ] command to check RTP/UDP/IP header compression statistics in IPHC.
  • Page 71: Pppoe Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration PPPoE Configuration About This Chapter PPPoE is a PPP protocol running on the Ethernet and widely used on campus networks. 3.1 Introduction to PPPoE This section describes the definition and purpose of PPPoE.
  • Page 72: Introduction To Pppoe

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration 3.1 Introduction to PPPoE This section describes the definition and purpose of PPPoE. Definition PPP over Ethernet (PPPoE) is a network protocol that encapsulates Point-to-Point Protocol (PPP) frames into Ethernet frames.
  • Page 73: Pppoe Packet Format

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Figure 3-1 PPPoE networking diagram (1) Figure 3-2 shows the second PPPoE network structure. In the network, a PPPoE session is established between the carrier's router and each host. The router functions as the PPPoE server, and each host functions as a PPPoE client.
  • Page 74 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Figure 3-3 Format of a PPPoE packet VER(0x01) Type(0x01) Destination_Address ( 48 bits ) Code ( 8 bits ) Source_Address Session_ID ( 48 bits ) ( 16 bits )
  • Page 75: Pppoe Session Establishment Process

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Session_ID: indicates the session ID. It is an unsigned number in network byte order. This field is 16 bits in length. The value is fixed for a given PPPoE session and defines a PPPoE session along with Ethernet Source_address and Destination_address.
  • Page 76: Pppoe Packet Structure

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration A PPPoE client broadcasts a PADI packet that contains service information required by the PPPoE client. After receiving the PADI packet, all PPPoE servers compare the requested service with the services they can provide.
  • Page 77 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Discovery Stage PPPoE Active Discovery Initiation (PADI) packet The Code field is set to 0x09. The Session_ID field is set to 0x0000. The Tag_Type field is set to 0x0101 (Service-Name). It is followed by a service name. A PADI packet contains only one tag with Tag_Type being Service-Name, and other tags are optional.
  • Page 78 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration The Session_ID field is set to 0x0000. The Tag_Type field is set to 0x0101 (Service-Name). It is followed by a service name. A PADR packet contains only one tag with Tag_Type being Service-Name, and other tags are optional.
  • Page 79: Applications

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Figure 3-9 Example of a packet at the Session stage Access_Concentrator_MAC_address Access_Concentrator_MAC_address Host_MAC_address ( Continue ) Host_MAC_address ( Continue ) Ethernet_Type ( 0x8864 ) V = 1...
  • Page 80: Wireless Pppoe Access

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Figure 3-11 Networking diagram for connecting a LAN to the Internet using an ADSL modem 3.3.2 Wireless PPPoE Access As shown in Figure 3-12, APs function as PPPoE clients, and the router functions as the PPPoE server.
  • Page 81: Using The Radius Server To Assign Ip Addresses And Routes To Pppoe Clients

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Figure 3-12 Networking diagram of wireless PPPoE access PPPoE Server Internet Router PPPoE Client Host A Host B Host C Host D 3.3.3 Using the RADIUS Server to Assign IP Addresses and Routes...
  • Page 82: Default Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Figure 3-13 Networking diagram for using the RADIUS server to assign IP addresses and routes to PPPoE clients RADIUS server station A RouterA RouterD PPPoE Client1 Headquarters...
  • Page 83: Configuring A Dialer Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Powering on the device 3.5.1.1 Configuring a Dialer Interface Context Before configuring the PPPoE client, you need to configure a dialer interface and a dialer bundle for the dialer interface.
  • Page 84: Configuring The Device To Receive The Dns Server Address Assigned By The Pppoe Server

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Step 9 Run: dialer bundle number RS-DCC is enabled and a dialer bundle is configured for the dialer interface. Step 10 Configure an IP address for the dialer interface.
  • Page 85: Optional) Configuring Imsi Or Sn Negotiation

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration – Run the ppp ipcp dns request command to configure the PPPoE client to proactively request the DNS server address from the PPPoE server. By default, the PPPoE client is disabled from requesting the DNS server address from the PPPoE server.
  • Page 86: Optional) Configuring Nat

    IP addresses into public addresses so that LAN users can access the Internet. Procedure Configure NAT on a dialer interface. For details, see NAT Configuration in the Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide: IP Service . NOTE When the IP address of the PPPoE client assigned by the PPPoE server is used as the NAT server IP address, configure the dynamic DNS (DDNS) client.
  • Page 87: Checking The Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration If no-hostuniq is not specified, the PPPoE session initiated by the PPPoE client contains the Host-Uniq field. The PPPoE client uses this field to associate an access server response with a particular host request, which ensures strict check.
  • Page 88: Configuring A Vt

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration 3.5.2.1 Configuring a VT Context An Ethernet interface provides the PPPoE function after a virtual template (VT) is bound to the interface. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 89: Configuring The Device To Assign Ip Addresses To Pppoe Clients

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration NOTE Configure the domain as required. The system provides the default domain default that provides the default authentication mode. By default, if a user name does not contain the domain name, this user is added to the default domain and local authentication is performed for the user.
  • Page 90 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: ip pool pool-name A global address pool is created and the global address pool view is displayed.
  • Page 91: Optional) Configuring The Device To Specify A Dns Server Address For The Hosts On The Lan

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration 3.5.2.4 (Optional) Configuring the Device to Specify a DNS Server Address for the Hosts on the LAN Context When the device functions as a PPPoE server, you can configure the PPPoE server to specify a DNS server IP address for the hosts on the LAN.
  • Page 92: Enabling The Pppoe Server Function On The Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration By default, the device functioning as a PPPoE server periodically sends heartbeat packets. ----End 3.5.2.6 Enabling the PPPoE Server Function on the Interface Context An interface supports the PPPoE function only after a VT is bound to the interface.
  • Page 93: Checking The Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: pppoe-server max-sessions total number The maximum number of PPPoE sessions that can be created on the device is set.
  • Page 94: Resetting Pppoe Sessions

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration 3.6.1 Resetting PPPoE Sessions Context To disconnect users from the device or trigger re-negotiation, terminate PPPoE sessions. To reset PPPoE sessions, reset PPPoE sessions on the PPPoE server or PPPoE client.
  • Page 95: Configuration Examples

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration In the command output, check IDs of users whose sessions are to be terminated and record them. Step 2 Run: system-view The system view is displayed. Step 3 Run: The AAA view is displayed.
  • Page 96 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Configuration Roadmap The configuration roadmap is as follows: Configure the global IP address pool so that the PPPoE server can dynamically assign IP addresses to hosts. Configure a PPPoE user so that the PPPoE server can authenticate the user.
  • Page 97: Example For Configuring The Pppoe Client

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Step 5 Verify the configuration. After the configurations are complete, verify the configurations on both the PPPoE server and client. PPPoE client Install PPPoE client software on a host and configure the user name user1@system and password huawei2012 on the host.
  • Page 98 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration The device establishes a PPPoE session with the PPPoE server using PPP authentication. The device automatically attempts to create a dial-up connection again at intervals after the disconnection.
  • Page 99: Common Configuration Errors

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration [Router] interface gigabitethernet 2/0/0 [Router-GigabitEthernet2/0/0] undo portswitch [Router-GigabitEthernet2/0/0] pppoe-client dial-bundle-number 1 [Router-GigabitEthernet2/0/0] quit Step 4 Configure NAT to translate private addresses of hosts in the LAN to public addresses so that the hosts can dial up to the Internet.
  • Page 100: Hosts Can Ping The Public Network, But The Network Speed Is Low

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration 3.8.1 Hosts Can Ping the Public Network, But the Network Speed is Low Fault Description When a host dials up to the Internet, the host can ping the public network, but network speed is low and web pages cannot be opened.
  • Page 101: References

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - WAN 3 PPPoE Configuration Step 2 Run the display dns server command to check whether the DNS server address is correctly obtained. ----End 3.9 References This section lists references of PPPoE.

This manual is also suitable for:

Ar550 series

Table of Contents