当前位置:文档之家› 华为AR28系列路由器配置脚本

华为AR28系列路由器配置脚本

sys

local-user huawei
password cipher huawei
service-type telnet terminal
level 3
quit

dhcp server ip-pool hw1
network 192.168.1.0 mask 255.255.255.0
gateway-list 192.168.1.1
domain-name huawei
dns-list 218.85.157.99
quit

acl number 2000
rule 0 permit source 192.168.1.0 0.0.0.255
rule 1 deny
quit

interface Ethernet0/0
ip address 218.66.15.18 255.255.255.0
nat outbound 2000
quit

interface Ethernet0/1
ip address 192.168.1.1 255.255.255.0
quit

ip route-static 0.0.0.0 0.0.0.0 218.66.15.1 preference 60

user-interface con 0
authentication-mode scheme
user-interface aux 0
authentication-mode scheme
user-interface vty 0 4
authentication-mode scheme
quit



相关主题
文本预览
相关文档 最新文档