华为AR28-11基本配置
#
sysname Quidway
#
super password level simple admin --设置super用户password,级别,密码显示方式(明文,密文)
#
cpu-usage cycle 1min
#
radius scheme system
#
domain system
#
local-user admin
password cipher .]@USE=B,53Q=^Q`MAF4<!!
service-type telnet terminal
level
service-type ftp
#
dhcp server ip-pool --建立DHCP服务器,设置相应IP地址池,网关,DNS等信息
network 192.168.1.0 mask 255.255.255.0
gateway-list 192.168.1.1
dns-list 192.168.1.1
#
acl number --创建标准ACL
rule permit source 192.168.1.0 0.0.0.255 --允许192.168.1.0这个网段通过
rule deny --拒绝其它地址通过
#
interface Aux0
async mode flow
#
interface Ethernet0/ --指定外网IP地址,并做NAT地址转换,NAT转换规则根据
ip address 10.10.10.1 255.255.255.0 标准ACL来实现
nat server protocol tcp global 10.10.10.1 inside 192.168.1.88 --对外映射相应的服务
nat outbound
#
interface Ethernet0/
ip address 192.168.1.1 255.255.255.0 --指定内网IP地址段
#
interface Serial0/
clock DTECLK1
link-protocol ppp
ip address dhcp-alloc
#
interface NULL0
#
FTP server enable
#
ip route-static 0.0.0.0 0.0.0.0 10.10.10.5 preference --创建默认路由,华为默认优先级为60
#
user-interface con
user-interface aux
user-interface vty
set authentication password simple admin ---设置通过VTY登录认证方式及密码显示方式
return
04-16 19:29