version 5.20, Release 2507, Basic

#

 sysname H3C

#

 domain default enable system

#

 telnet server enable

#

 dar p2p signature-filecfa0:/p2p_default.mtd

#

 port-security enable

#

 password-recovery enable

#

acl number 2000

 rule 0 permit source 192.168.209.0 0.0.0.255

 rule 1 deny

#

vlan 1

#

domain system

 access-limit disable

 state active

 idle-cut disable

 self-service-url disable

#

dhcp server ip-pool 1

 network 192.168.209.0 mask 255.255.255.0

 gateway-list 192.168.209.1

 dns-list 221.11.1.67 221.11.1.68

#

user-group system

 group-attribute allow-guest

#

local-user admin

 password cipher$c$3$e+2CpFKSuwN4dQe1ifMlpyw7cuM4PRo5

 authorization-attribute level 3

 service-type telnet

 service-type web

local-user super

 password cipher$c$3$vhIYeEFYmZeYY3S71iWT903Rd1erhcKPwND4

 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 Ethernet0/0

 port link-mode route

 ip address 192.168.209.1 255.255.255.0

#

interface Ethernet0/1

 port link-mode route

 nat outbound 2000

 ip address X.X.X.X X.X.X.X     (运营商提供的IP和子网掩码)

#

interface NULL0

#

 ip route-static 0.0.0.0 0.0.0.0 X.X.X.X  (运营商提供的网关)

#

 dhcp server forbidden-ip 192.168.209.1

#

 dhcp enable

#

 load xml-configuration

#

user-interface con 0

user-interface tty 13

user-interface aux 0

user-interface vty 0 4

 authentication-mode scheme

#

return

[H3C]