华为AR1220-S配置命令

更新时间:2023-10-21 11:16:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

华为 AR1220-S

dis cur

[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 02985500000

ppp chap password cipher %$%$w}*]!`E5z9;COL6!h\

ppp pap local-user 02985500000 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 02985500000 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@\OKSH.%yt%$%$ user-interface vty 0 4 user-interface vty 16 20 # voice #

diagnose # return

save

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, please wait.......... ..

Configuration file had been saved successfully

Note: The configuration file will take effect after being activated

本文来源:https://www.bwwdw.com/article/nrpf.html

Top