·华为路由器简单配置详解·华为路由器防火墙配置命令总结(1)·华为路由器静态路由配置命令·华为路由器和防火墙配置命令总结·华为路由器1760的nat配置·华为路由器的简单配置·华为路由器以太网口配置命令·华为路由器简单配置·华为路由器防火墙配置命令总结·华为路由器防火墙配置命令总结(上) Client: Now create configuration... Current configuration ! version 1.65 hostname R1 ! interface Aux0 async mode interactive encapsulation ppp ! interface Ethernet0 speed auto duplex auto no loopback ! interface Ethernet1 speed auto duplex auto no loopback ! interface Serial0 encapsulation ppp ppp pap sent-username
[email protected] password 0 ***** ip address negotiate ! interface Serial1 clock-select DTECLK1 encapsulation ppp shutdown ! voice-port 0 ! voice-port 1 ! end LAC: Now create configuration... Current configuration ! version 1.65 user
[email protected] service-type ppp password 0 ***** vpdn enable aaa-enable aaa authentication ppp default local aaa authentication login default local aaa accounting optional hostname R2 ! interface Aux0 async mode interactive encapsulation ppp ! interface Ethernet0 speed auto duplex auto no loopback ! interface Ethernet1 speed auto duplex auto no loopback ! interface Ethernet1 speed auto duplex auto no loopback ! interface Serial0 clock-select DTECLK1 encapsulation ppp ppp authentication pap ! interface Serial1 encapsulation ppp ip address 202.103.1.21 255.255.255.252 ! vpdn-group 1 request dialin l2tp ip 202.103.1.22 fullusername ***** l2tp tunnel password 0 **** ! end LNS: Now create configuration... Current configuration ! version 1.65 user
[email protected] service-type ppp password 0 ***** vpdn enable ip local pool 1 192.168.1.2 192.168.1.254 aaa-enable aaa authentication ppp default local aaa authentication login default local aaa accounting optional hostname R3 ! interface Aux0 async mode interactive encapsulation ppp ! interface Ethernet0 speed auto duplex auto no loopback ! interface Serial0 no loopback ! interface Serial0 encapsulation ppp shutdown ! interface Serial1 clock-select DTECLK1 encapsulation ppp ip address 202.103.1.22 255.255.255.252 ! interface Virtual-Template1 encapsulation ppp ppp authentication pap peer default ip address pool 1 ip address 192.168.1.1 255.255.255.0 ! vpdn-group 1 accept dialin l2tp virtual-template 1 remote R2 l2tp tunnel password 0 **** ! end