华为AR设备配置PPPOE拨号上网

合集下载

华为AR系列路由器 01-06 LLDP配置

华为AR系列路由器 01-06 LLDP配置
6.6 维护LLDP 完成LLDP配置后,监控LLDP运行状况、维护LLDP统计信息。
6.7 LLDP配置举例 介绍LLDP的配置示例。配置示例中包括组网需求、配置思路等。
6.1 LLDP 简介
介绍LLDP的定义和目的。
定义
LLDP(Link Layer Discovery Protocol)是IEEE 802.1ab中定义的链路层发现协议。 LLDP是一种标准的二层发现方式,可以将本端设备的管理地址、设备标识、接口标识 等信息组织起来,并发布给自己的邻居设备,邻居设备收到这些信息后将其以标准的
6.2 LLDP 原理描述
介绍LLDP的实现原理。
6.2.1 LLDP 工作原理
LLDP可以将本地设备的信息组织起来并发布给自己的远端设备,本地设备将收到的远 端设备信息以标准MIB的形式保存起来。工作原理如图6-1所示。
图 6-1 LLDP 原理框图
本地设备自定义的 LLDP扩展MIB
(可选)
远端设备自定义的 LLDPБайду номын сангаас展MIB
Network Policy TLV
Voice VLAN的VLAN ID、二层优先级以及DSCP 值等。
Extended Power-via-MDI TLV
当前设备的供电能力。
Hardware Revision TLV
媒体终端ME(Media Endpoint)设备的硬件版 本。
Firmware Revision TLV
Maximum Frame Size TLV 端口支持的最大帧长度,取端口最大传输单元 MTU(Max Transmission Unit)。
Power Via MDI TLV
端口的供电能力,比如是否支持PoE,是供电设 备还是受电设备。

华为AR160系列企业路由器数据手册说明书

华为AR160系列企业路由器数据手册说明书

DatasheetProduct OverviewThe AR160 series are fixed interface routers that provide a comprehensive platform for a variety of network topologies, including IMS, NGN, WAN and PSTN. The AR160s also employ embedded hardware encryption for security.The AR160 series are mature, stable and quiet routers that offer high performance functionality for small networks, enabling small businesses to greatly increase productivity at a lower cost.AR160s are easy to deploy, configure and customize, greatly reducing cost of deployment and maintenance, while offering maximum value to customers. These models allow network administrators to expand their networks easily and quickly, saving time and costs. The routers support firewalls, call processing, and application program functionalities.The AR160 series include the following models:●AR161, AR161G-L, AR161W, AR169, AR169G-L, AR169WThe specifications for these models are shown in the following table.AR161AR161G-LAR161WAR169AR169G-LAR169WProduct Features and BenefitsSmall Size and High Performance●More applications: Huawei series routers use the dual-core processor that isolates the control plane from the forwarding plane and processes more enterprise applications. Huawei series routers improve user experience for multimedia service when streams overlap.●Higher performance: The AR160s can process various enterprise applications, and its service processing capability is four times that in the industry.●Greater potential: Huawei series routers provide the capability to migrate services to the 3G and LTE networks.Low Investment with High Returns●Easy to construct: The AR160s supports plug-and-play, intelligent configuration, and deployment using the USB flash drive. It can function immediately after being installed. Users do not need to configure an IP address manually. The PPP and VPN indicators show the status of corresponding services. The AR160s helps to quickly construct an enterprise IT network.●Simplified solution: Huawei provides an all-around solution that integrates the routing, switching, voice, security, and wireless services. Customers can customize solutions as required.●Easy to expand: Huawei series routers have four/eight FE/GE ports, can access more employee for small enterprises. The two uplink WAN ports implement load balancing and link protection, maximizing the return on investments.Small footprint on a Comprehensive Platform●Maturity and Stableness: The AR160s uses the Huawei VRP operating system and VSP voice platform. In addition, theAR160s uses modularized hardware design, which brings good user experience.●Low-noise office: Huawei series routers have no fan, which brings low noise and good user experience.●Secure environment: The lightning failure rate of AR160s is only 3% of industry average. The AR160s can be applied in the harsh environment.Sample DeploymentsWAN AccessExample deployment in branch networks for WAN access. In this example, the AR160s function as the egress routers on enterprise branch networks and provide multiple access methods, including Ethernet, xDSL, 3G, LTE and WLAN.VPN Deployment for Secure Enterprise CommunicationsVPNs Connecting Branches and Partners to HeadquartersThis illustration shows how to deploy AR160s using VPNs to connect branches and partners to headquarters.AR160s provide various VPN tunnel protocols to ensure secure communications between:●Enterprise branches and other branch offices●Enterprise branches and headquarters●Partners and enterprise resourcesAR160s support the following VPN tunnel protocols:●GRE VPN●IPSEC VPN●DSVPN●L2TP VPNAR160s support fast tunnel set-up and authentication.Wireless Access and Management in Branch3G/LTE and Wi-Fi Wireless Access applicationThe AR160s routers complied with 3G and LTE standards including HSPA+ and FDD LTE, meeting the wireless communication requirements between branches and the headquarters. In addition, the 3G or LTE data link can be used as a backup for wired link to protect the xDSL, FE/GE, and ISDN uplinks. The backup link improves network stability and reduces network construction costs.Some models of AR160s routers are dual SIM devices, providing dual SIM standby. The customers can switch the SIM card manually according to 3G/LTE network standards. In addition, the device can switch to the backup SIM card when signal is weak to avoid link interruptionThe AR160s routers integrated WLAN wireless access capabilities, support 802.11a/b/g/n standard communication, Built-in AC function make the deployment and management more conveniently. Its wireless features can meet users’ demand for wireless access, and help enterprises to build a branch network flexibly.Wireless AC Management applicationThe AR160s routers integrated AC (Access Controller, a wireless controller) functionality, which can manage the wireless AP (Access Point, Access Point) in wireless LAN. AR supported rich certification and flexible user access control, which can provide security access guarantee for Wi-Fi users. The rich wireless capabilities integrated in one device, this can realize centralized management of wired and wireless network, meet the customers’ requirements of building different scale enterprises networks. Copper and Fiber integration Access SolutionHuawei new generation AR160 routers integrated 4 GE LAN and 1 GE WAN ports, some models support VDSL2 access, which can provide 100M access bandwidth (800 meters). This new box device can bring a high bandwidth experience to the enterprise and carrier customers.In the future, if the customers have optical access requirements, they don't need to replace the devices. As the GE WAN port supports Combo switch. The one box solution can meet the customers’ requirements perfectly, thereby prote ct their investments. Technical SpecificationsAR160s Technical SpecificationsHow to Configure the Modular AR160 RoutersThe AR160 series routers require 2 types of configuration modules:●Basic software configuration●Software license configurationThe basic software configuration modules provide functions such as routing, switching, and security. The software license configuration modules provide additional functions such as AC.Ordering InformationThe AR160 series routers are configured by selecting and installing the appropriate configuration module. The configuration module ordering information and descriptions are shown in the following tables.Table 1: Chassis OptionsCopyright © Huawei Technologies Co., Ltd. 2019. All rights reserved.No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd. Trademarks and Permissionsand other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.All other trademarks and trade names mentioned in this document are the property of their respective holders.NoticeThe 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. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied.The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied.Huawei Technologies Co., Ltd. Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: 。

华为路由器拨号典型配置

华为路由器拨号典型配置

紫色 必须配置 红色 相关配置 蓝色 相关配置 绿色 建议配置
第二种配置:拨号用户固定 ip 地址
! version 1.63 login telnet user telnet service-type exec password 0 telnet user user0 service-type ppp password 0 pass0 user user1 service-type ppp password 0 pass0 user user2 service-type ppp password 0 pass0 user user3 service-type ppp password 0 pass0 user user4 service-type ppp password 0 pass0 dialer-list 1 protocol ip permit
使能拨号 引用控制 DDR 呼叫发生的数据报文 的条件 引用 dialer0 口拨号参数
中间省略……
使能拨号 引用控制 DDR 呼叫发生的数据报文 的条件 引用 dialer0 口拨号参数
应用 pap 验证 带宽 64K
借用以太口地址 应用地址池 1 使能拨号 引用控制 DDR 呼叫发生的数据报文 的条件
pc 机所设的网关地址
允许 2 个 B 信道上网 拨号用户名 169,密码 169 地址由 ISP 分配 在此接口启用地址转换 使能拨号 引用控制 DDR 呼叫发生的数据报文 的条件 空闲 600 秒后自动断开拨号连接 在线路流量超过 1%时第二个 B 信道 也启动
end
紫色 必须配置 红色 拨号上网 蓝色 nat 转换
access-list normal 1 permit 10.0.0.0 0.0.0.255 access-list normal 1 deny any ! interface Ethernet0 ip address 10.0.0.1 255.255.255.0 ! interface Bri0 encapsulation ppp ppp multilink ppp pap sent-username 169 password 0 169 ip address negotiate nat inside 1 interface dialer in-band dialer-group 1

华为AR201系列配置

华为AR201系列配置

2. 在Router上配置进行IKE协商时需要的本机ID和IKE Peer。
ike peer jfgf v1
pre-shared-key simple XMgovVPNPS
ike-proposal 10
remote-ad ip source 192.168.254.0 0.0.0.255
rule 40 permit ip source 10.20.69.0 0.0.0.255
2.配置执行ppoe的物理接口
interface Ethernet0/0/8
pppoe-client dial-bundle-number 1 on-demand
local-user user2 privilege level 3
二、配置DHCP服务:
1.全局启用dhcp
dhcp enable
#
ip pool lan
gateway-list 10.20.69.1
local-user user1 password cipher user1
local-user user1 service-type ftp
local-user user1 ftp-directory flash:/
电脑上传web.zip
ftp> binary 使用二进制上传
四、在配置ike vpn
1.配置感兴趣流
acl number 3002
rule 10 permit ip source 10.20.69.0 0.0.0.255 destination 172.16.0.0 0.7.255.255
rule 20 permit ip source 10.20.69.0 0.0.0.255 destination 192.168.0.0 0.0.0.255

PPPOE拨号上网实验案例

PPPOE拨号上网实验案例

PPPoE拨号上网实验案例实际需求:PC能够通过拨号实现PC与运营商通信1、AR2为pppoe服务器,使用ppp中chap认证,用户名为user1,密码为Huawei@123,地址池如图提供IP地址2、AR1为pppoe客户端,客户端拨号进行认证,认证通过,获取服务器提供的IP地址信息3、实现PC端与ISP的通信配置实验命令行:R1为客户端:配置访问控制列表,使用Easy-ip允许进行NAT转换acl number 2000rule 5 permit source 10.1.0.0 0.0.0.255创建配置虚拟拨号接口interface Dialer1link-protocol pppppp chap user user1ppp chap password cipher Huawei@123ip address ppp-negotiatedialer user user1dialer bundle 1nat outbound 2000配置启用PPPoE客户端功能interface GigabitEthernet0/0/0pppoe-client dial-bundle-number 1内网为静态配置IP地址interface GigabitEthernet0/0/1ip address 10.1.0.1 255.255.255.0配置一条缺省静态路由协议,能够实现内外网的互通ip route-static 0.0.0.0 0.0.0.0 Dialer1R2:配置PPPoE服务器地址池ip pool aaagateway-list 12.1.1.2network 12.1.1.0 mask 255.255.255.252配置服务器虚拟模板interface Virtual-Template1ppp authentication-mode chapremote address pool aaaip address 12.1.1.2 255.255.255.252配置开启PPPoeE服务器功能interface GigabitEthernet0/0/0pppoe-server bind Virtual-Template 1配置需要验证的用户名和密码aaalocal-user user1 password cipher Huawei@123locla-user user1 service-type ppp所有配置完成后进行测试验证测试1:display ip interface brief dialer 1 进行测试R1接口是否获取到IP地址<R1>display ip interface brief dialer 1*down: administratively down^down: standby(l): loopback(s): spoofingInterface IP Address/Mask Physical Protocol Dialer1 12.1.1.1/32 up up(s)验证测试2:PC1配置好IP地址10.1.0.100,子网掩码255.255.255.0,网关地址10.1.0.1 ping 12.1.1.2能够通信PC>ping 12.1.1.2Ping 12.1.1.2: 32 data bytes, Press Ctrl_C to breakFrom 12.1.1.2: bytes=32 seq=1 ttl=254 time=47 msFrom 12.1.1.2: bytes=32 seq=2 ttl=254 time=31 msFrom 12.1.1.2: bytes=32 seq=3 ttl=254 time=16 msFrom 12.1.1.2: bytes=32 seq=4 ttl=254 time=16 msFrom 12.1.1.2: bytes=32 seq=5 ttl=254 time=16 ms--- 12.1.1.2 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 16/25/47 ms实验拓展:现网中内网使用DHCP服务器提供相应的IP地址,实现DHCP与PPPoE的联动,思考让路由器R1实现DHCP服务器的功能命令行如下:<R1>system-view[R1]dhcp enable[R1]ip pool aaa[R1-ip-pool-aaa]network 10.1.0.0 mask 24[R1-ip-pool-aaa]gateway-list 10.1.0.1[R1-ip-pool-aaa]dns-list 192.168.4.6 202.102.152.3[R1-ip-pool-aaa]quit[R1]interface g0/0/1[R1-GigabitEthernet0/0/1]ip address 10.1.0.1 24[R1-GigabitEthernet0/0/1]dhcp select global验证:步骤一、点开PC,选择基础设置--DHCP--应用--命令行--ipconfig能够正常获取到相应的IP地址步骤二PC>ipconfigLink local IPv6 address...........: fe80::5689:98ff:fe31:6ba3 IPv6 address......................: :: / 128IPv6 gateway......................: ::IPv4 address......................: 10.1.0.254Subnet mask.......................: 255.255.255.0 Gateway...........................: 10.1.0.1Physical address..................: 54-89-98-31-6B-A3DNS server........................: 192.168.4.6 202.102.152.3步骤三ping 12.1.1.2能够通信。

华为AR系列路由器 01-06 ADSL接口配置

华为AR系列路由器 01-06 ADSL接口配置
说明
使用频带范围扩展到2.208MHz,上行速 率可达到1Mbit/s,下行速率可达到 24Mbit/s。
AnnexM通过对ADSL2或ADSL2+标准上 行频带的扩展,上行速率可达到 2Mbit/s。
说明
表示支持对ADSL2或ADSL2+标准上行频 带扩展,上行速率可达到3078Kbit/s。
说明
文档版本 08 (2020-08-31)
版权所有 © 华为技术有限公司
118
Huawei AR 系列物联网关 配置指南-接口管理(命令行)
传输标准 T1.413
6 ADSL 接口配置
说明 全速率ADSL,上行速率可达到 1Mbit/s,下行速率可达到8Mbit/s。
说明
说明
ADSL接口的性能依赖于各种外部因素,包括DSLAM的线卡种类、DSLAM的软件版本、线路噪声、 线路长度和温度变化等因素。
ADSL 技术演进
G.992.1(G.dmt)、G.992.2(G.lite)是ITU-T发布的第一代ADSL标准,支持上行速 率640kbit/s到2Mbit/s,下行速率1Mbit/s到8Mbit/s,其有效的传输距离在3~5公里范 围以内。自1999年6月发布以来,ITU-T对ADSL的传输性能、抗线路损伤、射频干扰能 力、线路诊断和运行维护等方面不断进行了改进。2002年,ITU-T公布了ADSL的2个新 标准(G.992.3和G.992.4),也就是所谓的ADSL2。2003年,在新一代ADSL标准的基 础上,ITU-T制定了G.992.5,也就是ADSL2+。
Huawei AR 系列物联网关 配置指南-接口管理(命令行)
6 ADSL 接口配置
6 ADSL 接口配置

华为路由器配置PPPoE

华为路由器配置PPPoE
上可以创建的最大 PPPoE session 数目。 步骤 4 执行命令 pppoe-server max-sessions remote-mac remote-mac-number,配置对端 MAC
地址上可以创建的最大 PPPoE session 数目。 步骤 5 执行命令 pppoe-server max-sessions total number,配置系统可以创建的最大 PPPoE
Quidway Eudemon 100/100E/200/200S 配置指南 网际互联分册
7.1 PPPoE 简介
PPPoE(Point-to-Point Protocol over Ethernet)协议可以使以太网的主机通过一个简单的 桥接设备连到一个远端的接入集中器上。通过 PPPoE 协议,远端接入设备能够实现对 每个接入用户的控制和计费。与传统的接入方式相比,PPPoE 具有较高的性能价格 比,它在包括小区组网建设等一系列应用中被广泛采用,目前流行的宽带接入方式 ADSL 就使用了 PPPoE 协议。
议。
----结束
7.2.3 配置 PPPoE 协议参数
步骤 1 执行命令 system-view,进入系统视图。 步骤 2 执行命令 pppoe up-down-log enable,配置对 PPPoE 用户的状态变化进行日志记录。 步骤 3 执行命令 pppoe-server max-sessions local-mac local-mac-number,配置本端 MAC 地址
7.2.1 建立配置任务.....................................................................................................................................7-2 7.2.2 启用 PPPoE 协议 ...............................................................................................................................7-3 7.2.3 配置 PPPoE 协议参数........................................................................................................................7-3 7.2.4 检查配置结果.....................................................................................................................................7-4 7.3 配置 PPPoE Client.......................................................................................................................................7-4 7.3.1 建立配置任务.....................................................................................................................................7-4 7.3.2 配置拨号接口.....................................................................................................................................7-5 7.3.3 配置 PPPoE 会话 ...............................................................................................................................7-5 7.3.4 检查配置结果.....................................................................................................................................7-5 7.4 维护 PPPoE..................................................................................................................................................7-6 7.4.1 调试 PPPoE ........................................................................................................................................7-6 7.4.2 清除 PPPoE 会话 ...............................................................................................................................7-6 7.5 PPPoE 配置举例...........................................................................................................................................7-7

AR71XX等路由器多拨及多线接入使用教程

AR71XX等路由器多拨及多线接入使用教程

AR71XX 多拨及多线接入使用教程(适用于841/941/3420/水星迅捷300R /300T+等机)本机固件,已经内置了多拨程序,通过菜单的网络N-WAN->来设置多拨,通过进行多拨后的配置.一. 多拨设置:1. 按正常操作设置好WAN口拨号.并确认能正常拨号.如下图:2.菜单网络N-WAN->多WAN设置单WAN多拨,只需设置上图的几项,其他的一律不用管.按提示操作就得了.最后点保存&应用。

如上图,是设置3拨的.点击网络接口看到已经有了3个WAN口,分别是WAN WAN1 WAN2这时你可以分别点击各个WAN口,进去看一下帐号密码是否都已经设置好.如果已经设置好了,就可以等待系统自动完成拨号了(注:有的路由需要重启一下).下图,是拨号成功后的图,各地的ISP不同,有的地方是先后拨上的,每拨一次相隔几分钟到十几分钟不等.3.有的ISP,要求同时并发拨号,才能成功的,这就需要在网络NWAN里设置一下并发拨号了.4.如果按上面设置并发拨号,还是不行的话,那你可以再试一下加载多拨并发脚本,先取消上面第3点的设置,然后在菜单系统->启动的最后面加入下图的脚本:这个脚本是按5拨设置的,你是多少拨,就改成多少个。

如果用上这个并发脚本,还是多拨不成功,那恭喜你,ISP把你限死了,放弃多拨吧。

5.拨号成功后,在的下部,启用以下端口指定走某一个WAN:80端口是IE网页浏览443是网银支付端口8000是QQ登录端口这几个端口是常用软件,必需指定使用某一出口,否则会出现打开论坛要经常重新登录,QQ经常掉线,网银无法支付等问题二. 多线接入设置, 841N V3 / 941N V2机型.1.如果你有多条外网线路,需要合并,可以通过网络创建多WAN口里的创建虚拟WAN口来把原来的LAN口分配成WAN口使用.按上图配置,并点2. 菜单网络接口,如下图看到WAN100已经创建好了,使用的物理接口是lan4也就是说,在路由背板的LAN4口,现在已经是WAN100了,另外一条外网的网线直接插到LAN4口.3. 如果你多条接入的线路,是需要PPPOE拨号的,直接设置帐号密码就可以了.如果需要分别设置多拨,请参考第一部分.只需要在下图的位置,选择相应的接口进行多拨设置就得了.三.多线接入设置, 841N V7 / 300R/3420机型.下图的设置,先路由型号为3420,接入线路数量为2(最大也只支持2,多设无效),就可以启用双线接入的功能了。

华为AR系列路由器 01-04 PPPoE配置

华为AR系列路由器 01-04 PPPoE配置

4 PPPoE配置关于本章PPPoE(PPP over Ethernet)是在以太网链路上运行PPP协议,在小区组网建设等一系列应用中被广泛采用。

4.1 PPPoE简介介绍PPPoE的定义和目的。

4.2 PPPoE配置注意事项介绍PPPoE的配置注意事项。

4.3 PPPoE原理描述介绍PPPoE的实现原理。

4.4 PPPoE应用场景介绍PPPoE的应用场景。

4.5 PPPoE附录介绍PPPoE的报文。

4.6 PPPoE缺省配置介绍PPPoE常见参数的缺省配置。

4.7 配置设备作为PPPoE Server设备提供了PPPoE Server的功能,支持动态分配IP地址,提供多种认证方式。

4.8 配置设备作为PPPoE Client设备作为PPPoE Client下行连接局域网用户,同一个局域网中的所有主机可以共享一个帐号,进行拨号上网。

4.9 维护PPPoEPPPoE相关维护命令,包括复位PPPoE会话和强制断开PPPoE会话。

4.10 PPPoE配置举例介绍PPPoE典型场景配置举例。

配置示例中包括组网需求、配置思路等。

4.11 PPPoE常见配置错误介绍常见配置错误的案例,避免在配置阶段引入故障。

4.1 PPPoE简介介绍PPPoE的定义和目的。

定义PPPoE(PPP over Ethernet)协议是一种把PPP帧封装到以太网帧中的链路层协议。

PPPoE可以使以太网网络中的多台主机连接到远端的宽带接入服务器。

目的运营商希望把一个站点上的多台主机连接到同一台远程接入设备,同时接入设备能够提供与拨号上网类似的访问控制和计费功能。

在众多的接入技术中,把多个主机连接到接入设备的最经济的方法就是以太网,而PPP协议可以提供良好的访问控制和计费功能,于是产生了在以太网上传输PPP报文的技术,即PPPoE。

PPPoE利用以太网将大量主机组成网络,通过一个远端接入设备连入因特网,并运用PPP协议对接入的每个主机进行控制,具有适用范围广、安全性高、计费方便的特点。

PPPOE拨号系列之四:华为路由器 PPPoE拨号配置(包含Client+NAT与服务器配置)

PPPOE拨号系列之四:华为路由器 PPPoE拨号配置(包含Client+NAT与服务器配置)

掌握目标1、在华为路由器上PPPOE服务器的配置2、在华为路由器上PPPOE客户端的配置(工作上常用)3、配置NAT(上网使用)4、默认路由配置拓扑图1、在华为路由器上PPPOE服务器的配置(1)地址池配置[PPPOE_server]ip pool pppoe[PPPOE_server-ip-pool-pppoe]network123.1.1.0mask24[PPPOE_server-ip-pool-pppoe]dns-list114.114.114.114(2)配置虚拟模板[PPPOE_server]int e0/0/0[PPPOE_server-Ethernet0/0/0]ip address123.1.1.124[PPPOE_server]interface Virtual-Templa1[PPPOE_server-Virtual-Template1]ip address unnumbered interface e0/0/0 [PPPOE_server-Virtual-Template1]remote address pool pppoe说明:这里是调用了出接口的地址,也可以手工配置,另外调用全局定义的地址池(3)接口调用[PPPOE_server]interface e0/0/0[PPPOE_server-Ethernet0/0/0]pppoe-server bind virtual-template1(4)用户名定义[PPPOE_server]aaa[PPPOE_server-aaa]local-user ccieh3c password cipher [PPPOE_server-aaa]local-user ccieh3c service-type ppp2、在华为路由器上PPPOE客户端的配置(工作上常用)客户端的配置在企业的环境中是最常见遇到的,掌握是非常有必要。

(1)定义拨号规则[pppoe-client]dialer-rule[pppoe-client-dialer-rule]dialer-rule1ip permit说明:这里就是定义的拨号规则,允许所有的IPV4流量通过。

华为PPPoE配置实例

华为PPPoE配置实例

华为PPPoE配置实例这是一个华为路由器连接ADSL Modem将局域网接入Internet 的应用案例,在小企业的网络中比较常用,大家可以参考,详细配置步骤如下:1. 组网需求局域网内的计算机通过路由器RouterA访问Internet,路由器A 通过ADSL Modem采用永久在线的方式接入DSLAM。

ADSL帐户的用户名为net1980,密码为123456。

RouterB作为PPPoE Server通过25M atm2/0/0接口连接至DSLAM,提供RADIUS认证、计费功能。

在路由器A上使能PPPoE Client功能,局域网内的主机不用安装PPPoE客户端软件即可访问Internet。

2. 组网图3. 配置步骤(1) 配置RouterA# 配置Dialer接口[Quidway] dialer-rule 1 ip permit[Quidway] interface dialer 1[Quidway-Dialer1] dialer user net1980[Quidway-Dialer1] dialer-group 1[Quidway-Dialer1] dialer bundle 1[Quidway-Dialer1] ip address ppp-negotiate[Quidway-Dialer1] ppp pap local-user huawei password cipher 123456[Quidway-Dialer1] quit# 配置PPPoE会话[Quidway] interface ethernet 2/0/0[Quidway-Ethernet2/0/0] pppoe-client dial-bundle-number 1# 配置局域网接口及缺省路由[Quidway-Ethernet2/0/0] interface ethernet 0/0/0[Quidway-Ethernet0/0/0] ip address 192.168.1.1 255.255.255.0[Quidway-Ethernet0/0/0]quit[Quidway] ip route-static 0.0.0.0 0 dialer 1如果局域网内计算机使用的IP地址为私有地址,就还需要在路由器上配置NAT(Network Address Translation,网络地址转换)。

AR28-11路由器基本配置与ONU,PPPOE的设置

AR28-11路由器基本配置与ONU,PPPOE的设置
11
第十一步最基本的配置数据
12
华为8245ONU配置
• 华为8245ONU配置成PPPOE方式上网。
13
第一步设置IP为同一网段
14
第二步进入配置界面
超级用户名:telecomadmin 密码:admintelecom
15
第三步进入LAN项打4个勾
16
第五步进入WAN新建连接
17
第六步配置无线密码
18
第七步保存重启
19
AR28-11路由器基本配置
以下是详细的配置步骤
1
第一步进入超级终端
2
第二步终端设置
3
第三步还原默认值
4
第四步进入路由的初始页面
5
第五步进入配置界面
6
第六步配置IP地址池
7
第七步配置访问控制列表
8
第八步配置外网口IP地址及nat转换
9
第九步配置内网口IP地址
10

第十步配置IP路由

华为AR系列路由器 01-01 接口基础配置

华为AR系列路由器 01-01 接口基础配置

1接口基础配置关于本章通过了解常见接口类型、接口编号规则以及各种可配置的接口参数等内容,方便用户对接口进行管理。

1.1 接口基础简介通过本小节,您可以了解到设备的接口分类和接口编号规则。

1.2 接口配置注意事项介绍接口的配置注意事项。

1.3 配置接口基本参数配置接口基本参数,包括接口描述信息、接口流量统计时间间隔功能以及开启或关闭接口。

1.4 清除接口统计信息1.1 接口基础简介通过本小节,您可以了解到设备的接口分类和接口编号规则。

1.1.1 接口分类接口是设备与网络中的其它设备交换数据并相互作用的部件,分为物理接口和逻辑接口两类,其中:●物理接口物理接口是真实存在、有器件支持的接口。

物理接口分为管理接口、业务接口和GPIO接口三种:–管理接口管理接口主要为用户提供配置管理支持,也就是用户通过此类接口可以登录到设备,并进行配置和管理操作。

管理接口不承担业务传输。

说明本章仅具体介绍业务接口、GPIO接口和逻辑接口,关于管理接口的详细配置,请参见《Huawei AR系列物联网关配置指南-基础配置》。

设备支持的管理接口如表1-1所示:表1-1各管理接口介绍说明Console接口和MiniUSB接口互斥,同一时刻只能使用其中的1个接口。

默认情况下,串口使用Console接口。

–业务接口业务接口需要承担业务传输,分为两种:▪LAN侧接口:路由器可以通过它与局域网中的网络设备交换数据。

▪WAN侧接口:路由器可以通过它与远距离的外部网络设备交换数据。

设备支持的业务接口如表1-2所示:表1-2业务接口说明业务接口有时也被称为端口,为便于描述,在本手册中,统一描述为接口。

–GPIO接口GPIO接口与外接设备相连,可以作为DI接口监控外接设备的电平信号状态,也可以作为DO接口输出高低电平,控制外接设备的开关。

设备支持的GPIO接口如表1-3所示:表1-3 GPIO接口●逻辑接口逻辑接口是指能够实现数据交换功能但物理上不存在、需要通过配置建立的接口。

AR2831配置PPPOE

AR2831配置PPPOE
#
domain system
#
local-user atype telnet terminal
level 3
service-type ftp
#
acl number 2001 match-order auto(添加一个ACL用于NAT)
dialer-group 1
nat outbound 2001(配置NAT)
#
interface Ethernet0/0
pppoe-client dial-bundle-number 1
(配置PPPoE会话,dial-bundle-number 必须与interface Dialer1 里的 dialer bundle 一致)
#
return
#
ip route-static 0.0.0.0 0.0.0.0 Dialer 1 preference 60(配置缺省路由)
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
ip address dhcp-alloc (配置自动获取到公网IP)
#
interface Ethernet0/1
ip address 192.168.11.254 255.255.255.0(配置内网网关)
#
interface NULL0
#
FTP server enable
AR28-31上详细配置:
[AR28-31]dis curr
#
sysname AR28-31(配置路由器名称)

PPPOE配置命令说明

PPPOE配置命令说明

P p p o e服务器system-view /进入系统视图ip pool pool1 /创建全局地址池pool1 注意事项AR2200-S上最多可以创建128个全局地址池,以及128个接口地址池。

如果全局地址池的IP地址正在使用,不能删除该全局地址池。

/配置全局地址池下可分配的网段地址后续配置注意事项每个IP地址池只能配置一个网段,该网段可配置为需求的任意网段。

如果系统需要多段地址,则需要配置多个地址池。

如果该地址池的IP地址已经使用,不能删除该地址池。

gateway-list /网关interface?virtual-template 1 /创建虚拟接口模板并进入虚拟接口模板视图前置条件VT需要在系统创建VA接口之前创建。

ppp authentication-mode chap domain system /本端PPP协议对对端设备的认证方式为chap认证方式,域名为systemip?address/配置接口地址为remote address pool pool1 /配置为了为端分配IP地址或指定地址池。

注意事项缺省情况下,本端不为对端分配IP地址。

interface gigabitethernet 1/0/0 /创建以太网子接口pppoe-server bind virtual-template 1 /将指定的虚拟模板绑定到当前以太网接口上,并在以太网接口上启用PPPoE协议。

Aaa / AAA视图authentication-scheme system_a /配置域的认证方案名称authentication-mode local /配置当前授权方案使用的授权模式为本地授权domain system /创建system域authentication-scheme system_a /配置域的认证方案名称local-user user1@system password huawei /创建本地用户,并配置本地用户的各项参数指定用户名和用户口令local-user user1@system service-type ppp /配置本地用户的接入类型为ppppppoe客户端dialer-rule 1 ip permit /配置某个拨号访问组对应的拨号访问控制列表,指定引发DCC呼叫的条件。

华为AR系列路由器 01-02 WLAN-FAT AP基本业务配置

华为AR系列路由器 01-02 WLAN-FAT AP基本业务配置

2 WLAN-FAT AP基本业务配置关于本章通过配置WLAN-FAT AP基本业务,用户可以方便地接入到无线网络,并在无线网络覆盖区域内自由移动,彻底摆脱有线网络的束缚。

2.1 WLAN-FAT AP介绍介绍WLAN的定义、目的和受益。

2.2 WLAN-FAT AP原理描述介绍WLAN基本业务的实现原理。

2.3 WLAN-FAT AP应用场景介绍WLAN基本业务的应用场景。

2.4 WLAN-FAT AP缺省配置介绍系统常见参数的缺省配置。

2.5 WLAN-FAT AP配置注意事项介绍WLAN-FAT AP的配置注意事项。

2.6 配置WLAN-FAT AP基本业务通过配置WLAN-FAT AP基本业务,用户可以方便地接入到无线网络,并在无线网络覆盖区域内自由移动,彻底摆脱有线网络的束缚。

2.7 维护WLAN-FAT AP介绍如何复位和初始化FAT AP。

2.8 WLAN-FAT AP配置举例介绍FAT AP的配置举例。

配置举例中包括组网需求、配置思路等。

2.9 WLAN-FAT AP FAQ2.1 WLAN-FAT AP介绍介绍WLAN的定义、目的和受益。

定义无线局域网WLAN(Wireless Local Area Network)广义上是指以无线电波、激光、红外线等来代替有线局域网中的部分或全部传输介质所构成的网络。

本文介绍的WLAN技术是基于802.11标准系列的,即利用高频信号(例如2.4GHz或5GHz)作为传输介质的无线局域网。

802.11是IEEE在1997年为WLAN定义的一个无线网络通信的工业标准。

此后这一标准又不断得到补充和完善,形成802.11的标准系列,例如802.11、802.11a、802.11b、802.11e、802.11g、802.11i、802.11n、802.11ac等。

目的以有线电缆或光纤作为传输介质的有线局域网应用广泛,但有线传输介质的铺设成本高,位置固定,移动性差。

AR系列路由器作为PPPoE-Client使用ADSL接口接入Internet典型配置

AR系列路由器作为PPPoE-Client使用ADSL接口接入Internet典型配置

AR系列路由器作为PPPoE Client使用ADSL接口接入Internet典型配置【需求】路由器通过ADSL接口通过ADSL线路, 由路由器发起拨号连接到Internet。

【组网图】RouterA配置#sysname RouterA#dialer-rule 1 ip permit /创建dialer-rule 1/#radius scheme system#domain system#acl number 2001 /配置进行NAT的ACL/rule 0 permit source 192.168.1.0 0.0.0.255rule 1 deny#interface Dialer1 /创建int dialer 1/link-protocol pppppp pap local-user huawei password simple 123456 /用来认证的ADSL帐号和密码/ip address ppp-negotiate /IP地址通过PPP协商获取/dialer user mypppoedialer-group 1 /引用dialer-rule 1/dialer bundle 1nat outbound 2001 /引用ACL 2001进行Easy IP NAT/【验证】disp int dialer 1可以看到已经获取到公网的IP地址, 并且内网通过NAT 可以访问公网。

【提示】1. 通过ADSL接口方式, 实际上是PPPoEoA的方式。

2、 PVC的VPI/VCI号由ISP提供, 常用PVC为: 0/35。

3、 VE接口的虚拟MAC可以随便配置, 但是建议采用“0001-0002-0003”这样特殊的MAC地址。

AR配置PPPoE拨号+静态IP双链路负载分担示例

AR配置PPPoE拨号+静态IP双链路负载分担示例

AR配置PPPoE拨号+静态IP双链路负载分担示例业务需求:运营商1分配的PPPoE用户名为user1,密码为huawei123。

运营商2分配的接口IP为200.200.1.2,子网掩码为255.255.255.248,网关IP为200.200.1.1。

内网的网段为192.168.1.0/24。

实现通过PPPoE拨号和静态IP双上行接入Internet,链路1和链路2的出口路由采用等价默认路由进行负载分担。

解决方案一、WAN侧配置1. 配置PPPoE拨号接口<AR> system-view //先从用户视图切换到系统视图再进行配置[AR] interface dialer1 //创建并进入Dialer接口[AR-Dialer1] dialer userabc //启动共享DCC功能[AR-Dialer1] dialer bundle 1[AR-Dialer1] dialer number 1autodial //配置拨号失败时将dialer 接口状态转换为Down说明:为匹配服务器端配置的CHAP或PAP两种不同认证方式,下面同时配置CHAP和PAP两种认证方式的用户名和密码[AR-Dialer1] ppp chap useruser1 //配置CHAP认证方式的用户名[AR-Dialer1] ppp chap password cipherhuawei123 //配置CHAP认证方式的密码[AR-Dialer1] ppp pap local-user user1 password cipher huawei123 //配置PAP认证方式的用户名和密码[AR-Dialer1] tcp adjust-mss1200 //配置接口的TCP最大报文段长度为1200字节[AR-Dialer1] ip address ppp-negotiate[AR-Dialer1] ppp ipcp dns admit-any[AR-Dialer1] quit[AR] interface gigabitethernet0/0/1 //进入WAN口(GE1)建立PPPoE会话[AR-GigabitEthernet0/0/1] pppoe-client dial-bundle-number1 //dial-bundle-number编号需要和dialer bundle编号一致[AR-GigabitEthernet0/0/1] quit2. 配置静态IP接口[AR] interface gigabitethernet0/0/0 //对GE0口配置运营商2分配的IP和子网掩码[AR-GigabitEthernet0/0/0] ip address 200.200.1.2 255.255.255.248[AR-GigabitEthernet0/0/0] quit3. 配置等价默认路由(基于源IP地址进行负载分担)[AR] ip route-static 0.0.0.0 0.0.0.0 dialer 1[AR] ip route-static 0.0.0.0 0.0.0.0200.200.1.1 //配置运营商2分配的网关IP [AR] ip load-balance hash src-ip4. 配置NAT功能[AR] acl number 3000[AR-acl-adv-3000] rule permit ip[AR-acl-adv-3000] quit[AR] interface dialer 1[AR-Dialer1] nat outbound 3000[AR-Dialer1] quit[AR] interface gigabitethernet 0/0/0[AR-GigabitEthernet0/0/0] nat outbound 3000[AR-GigabitEthernet0/0/0] quit二、LAN侧配置配置接口IP和DHCP服务器(为PC分配IP)[AR] dhcpenable //打开DHCP总开关[AR] interface gigabitethernet0/0/2 //进入GE2接口,配置IP和子网掩码[AR-GigabitEthernet0/0/2] ip address 192.168.1.1 255.255.255.0[AR-GigabitEthernet0/0/2] dhcp selectinterface //启用接口地址池方式的DHCP服务器功能[AR-GigabitEthernet0/0/2] dhcp server dns-list 114.114.114.114 //配置DNS服务器为公共的DNS(114.114.114.114)[AR-GigabitEthernet0/0/2] return。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
利用系统的DNS设置:系统自动下发DNS服务器IP地址,与网关的IP地址一致。
指定DNS服务器:用户指定DNS服务器IP地址。
首选DNS服务器
配置首选DNS服务器的IP地址。当选择指定DNS服务时才可配置。
备用DNS服务器
配置备用DNS服务器的IP地址。当选择指定DNS服务时才可配置。
接入互联网向导操作步骤1.选择接入类型a.如图1所示,依次单击“配置向导 > 接入互联网向导”。
图1配置向导界面
b.依次选择或输入各项参数,如表2所示。
图2选择接入类型(现在一般都是使用以太网接口的,所以下面选择以太接口)
c.单击“下一步”。
图4以太网接口接入互联网(PPP拨号方式)
1.配置局域网
a.如图10所示,依次选择或输入各项参数,如表7所示。
图10配置局域网
b.单击“下一步”。
表7配置局域网
参数
说明
启用DHCP服务
启用或禁用接口的DHCP服务器功能。
启用DHCP服务器后,局域网用户能够从DHCP地址池中自动获取到IP地址。
网关地址
配置DHCP客户端的出口网关地址,即VLANIF1接口的IP地址。
子网掩码
出口网关的子网掩码。
DNS服务
配置VLAN接口的DNS服务。当启用DHCP服务时才可配置,分为:
相关文档
最新文档