H3C MSR2011路由器pppoe配置实例
[H3C]dis current-configuration
#
version 5.20, Release 1809P01
#
sysname H3C
#
domain default enable system
#
telnet server enable
#
acl number 2000
rule 0 permit source 192.168.6.0 0.0.0.255
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
#
local-user admin
password cipher .]@USE=B,53Q=^Q`MAF4<1!!
authorization-attribute level 3
service-type telnet
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Cellular0/0
async mode protocol
link-protocol ppp
#
interface Dialer1
nat outbound 2000
link-protocol ppp
ppp pap local-user sz31740741@163.gd password cipher&7HC@%XaGR=V'_1BX@K`F!!!
ip address ppp-negotiate
tcp mss 1024
dialer user sz31740741@163.gd
dialer-group 1
dialer bundle 1
#
interface Ethernet0/0
port link-mode route
pppoe-client dial-bundle-number 1
#
interface Serial0/0
link-protocol ppp
ip address 33.33.32.2 255.255.255.252
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.6.254 255.255.255.0
#
interface Ethernet0/1
port link-mode bridge
#
interface Ethernet0/2
port link-mode bridge
#
interface Ethernet0/3
port link-mode bridge
#
interface Ethernet0/4
port link-mode bridge
#
ip route-static 0.0.0.0 0.0.0.0 Dialer1
ip route-static 10.1.0.0 255.255.255.0 33.33.32.1
ip route-static 10.5.113.0 255.255.255.0 33.33.32.1
ip route-static 192.168.0.0 255.255.0.0 33.33.32.1
#
dialer-rule 1 ip permit
#
load xml-configuration
#
load tr069-configuration
#
user-interface tty 12
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
[H3C]