2024年3月2日发(作者:夏侯蔓)
华为 AR1220-S
[V200R002C01SPC200]
#
snmp-agent local-engineid 800007DB037054F595C80D
snmp-agent
#
http server enable
#
drop illegal-mac alarm
#
dns resolve
dns server 218.30.19.40
dns server 61.134.1.4
dns proxy enable
#
dhcp enable
#
set transceiver-monitoring disable
#
acl name gigabitethernet0/0/1 2998
rule 5 permit
acl name gigabitethernet0/0/0 2999
rule 5 permit
#
ip pool vlanif1
gateway-list 192.168.0.1
network 192.168.0.0 mask 255.255.255.0
dns-list 192.168.0.1
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$(b(0PYf#e7g|)+,h049$N6-$%$%$
local-user admin privilege level 3
local-user admin service-type web http
#
firewall zone webtrust
priority 10
#
firewall zone webuntrust
priority 5
#
firewall interzone webtrust webuntrust
#
interface Dialer1
link-protocol ppp
ppp chap user
ppp chap password cipher %$%$w}*]!`E5z9;COL6!h"P~,:1(%$%$
ppp pap local-user password cipher %$%$@m9%Zl/.u=1O!$*9`0}Q,-$x%$%$
ppp ipcp dns admit-any
ppp ipcp dns request
tcp adjust-mss 1400
ip address ppp-negotiate
dialer user
dialer bundle 1
dialer-group 4
nat outbound 2998
#
interface Vlanif1
ip address 192.168.0.1 255.255.255.0
dhcp select global
zone webtrust
#
interface Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
description 1_Management_Internet_R_gigabitethernet0/0/0
ip address 61.185.8.128 255.255.255.128
nat outbound 2999
#
interface GigabitEthernet0/0/1
pppoe-client dial-bundle-number 1
description 1_Internet_R_gigabitethernet0/0/1
#
interface NULL0
#
dialer-rule
dialer-rule 4 ip permit
#
ip route-static 0.0.0.0 0.0.0.0 Dialer1
ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/0/0 61.185.8.129
#
user-interface con 0
authentication-mode password
set authentication password cipher %$%$8`10'-)aU@"#G7Sq&x9O,|sjI[6IMjUD&5J]/~)J
OKSH.%yt%$%$
user-interface vty 0 4
user-interface vty 16 20
#
voice
#
diagnose
#
return
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file,
..
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
2024年3月2日发(作者:夏侯蔓)
华为 AR1220-S
[V200R002C01SPC200]
#
snmp-agent local-engineid 800007DB037054F595C80D
snmp-agent
#
http server enable
#
drop illegal-mac alarm
#
dns resolve
dns server 218.30.19.40
dns server 61.134.1.4
dns proxy enable
#
dhcp enable
#
set transceiver-monitoring disable
#
acl name gigabitethernet0/0/1 2998
rule 5 permit
acl name gigabitethernet0/0/0 2999
rule 5 permit
#
ip pool vlanif1
gateway-list 192.168.0.1
network 192.168.0.0 mask 255.255.255.0
dns-list 192.168.0.1
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$(b(0PYf#e7g|)+,h049$N6-$%$%$
local-user admin privilege level 3
local-user admin service-type web http
#
firewall zone webtrust
priority 10
#
firewall zone webuntrust
priority 5
#
firewall interzone webtrust webuntrust
#
interface Dialer1
link-protocol ppp
ppp chap user
ppp chap password cipher %$%$w}*]!`E5z9;COL6!h"P~,:1(%$%$
ppp pap local-user password cipher %$%$@m9%Zl/.u=1O!$*9`0}Q,-$x%$%$
ppp ipcp dns admit-any
ppp ipcp dns request
tcp adjust-mss 1400
ip address ppp-negotiate
dialer user
dialer bundle 1
dialer-group 4
nat outbound 2998
#
interface Vlanif1
ip address 192.168.0.1 255.255.255.0
dhcp select global
zone webtrust
#
interface Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
description 1_Management_Internet_R_gigabitethernet0/0/0
ip address 61.185.8.128 255.255.255.128
nat outbound 2999
#
interface GigabitEthernet0/0/1
pppoe-client dial-bundle-number 1
description 1_Internet_R_gigabitethernet0/0/1
#
interface NULL0
#
dialer-rule
dialer-rule 4 ip permit
#
ip route-static 0.0.0.0 0.0.0.0 Dialer1
ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/0/0 61.185.8.129
#
user-interface con 0
authentication-mode password
set authentication password cipher %$%$8`10'-)aU@"#G7Sq&x9O,|sjI[6IMjUD&5J]/~)J
OKSH.%yt%$%$
user-interface vty 0 4
user-interface vty 16 20
#
voice
#
diagnose
#
return
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file,
..
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated