#
version 7.1.059, Release 0306P30
#
sysname H3C
#
dialer-group 1 rule ip permit
#
dhcp enable
#
dns proxy enable
dns server 180.168.255.118
dns server 116.228.111.18
#
password-recovery enable
#
vlan 1
#
dhcp server ip-pool 0
gateway-list 192.168.0.1
dns-list 223.6.6.6 114.114.114.114
static-bind ip-address 192.168.0.44 mask 255.255.255.0 hardware-address 70f3-9502-bd77
static-bind ip-address 192.168.0.102 mask 255.255.255.0 hardware-address 7486-7af2-e704
static-bind ip-address 192.168.0.200 mask 255.255.255.0 hardware-address 000f-6850-020a
#
dhcp server ip-pool 1
gateway-list 192.168.0.1
network 192.168.0.0 mask 255.255.255.0
dns-list 192.168.0.1 114.114.114.114
#
controller Cellular0/0
#
interface Aux0
#
interface Dialer1
ppp chap password cipher $c$3$Oii1oLSS lJ4X0tyWh/N0HPM5IGW1fexkOg4
ppp chap user ad79134769
ppp ipcp dns admit-any
ppp ipcp dns request
ppp pap local-user ad79134769 password cipher $c$3$dKC0rDIdy9HrBPF9P// Y aGAnhutJRgIs6u
dialer bundle enable
dialer-group 1
dialer timer idle 0
ip address ppp-negotiate
nat outbound
nat outbound 2000
nat server protocol tcp global current-interface 8888 inside 192.168.0.102 8080
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.0.1 255.255.255.0
#
interface GigabitEthernet0/0
port link-mode route
pppoe-client dial-bundle-number 1
#
interface GigabitEthernet0/1
port link-mode route
#
interface GigabitEthernet0/2
port link-mode route
#
interface GigabitEthernet0/27
port link-mode route
#
interface GigabitEthernet0/3
port link-mode bridge
#
interface GigabitEthernet0/4
port link-mode bridge
#
interface GigabitEthernet0/5
port link-mode bridge
#
interface GigabitEthernet0/6
port link-mode bridge
#
interface GigabitEthernet0/7
port link-mode bridge
#
interface GigabitEthernet0/8
port link-mode bridge
#
interface GigabitEthernet0/9
port link-mode bridge
#
interface GigabitEthernet0/10
port link-mode bridge
#
interface GigabitEthernet0/11
port link-mode bridge
#
interface GigabitEthernet0/12
port link-mode bridge
#
interface GigabitEthernet0/13
port link-mode bridge
#
interface GigabitEthernet0/14
port link-mode bridge
#
interface GigabitEthernet0/15
port link-mode bridge
#
interface GigabitEthernet0/16
port link-mode bridge
#
interface GigabitEthernet0/17
port link-mode bridge
#
interface GigabitEthernet0/18
port link-mode bridge
#
interface GigabitEthernet0/19
port link-mode bridge
#
interface GigabitEthernet0/20
port link-mode bridge
#
interface GigabitEthernet0/21
port link-mode bridge
#
interface GigabitEthernet0/22
port link-mode bridge
#
interface GigabitEthernet0/23
port link-mode bridge
#
interface GigabitEthernet0/24
port link-mode bridge
#
interface GigabitEthernet0/25
port link-mode bridge
#
interface GigabitEthernet0/26
port link-mode bridge
#
scheduler logfile size 16
#
line class aux
user-role network-admin
#
line class tty
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line vty 0 63
user-role network-operator
#
ip route-static 0.0.0.0 0 Dialer1
#
domain system
#
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
user-group system
#
return
还有第四种方法吗,前面试过