[Quidway]dis cu
#
sysname Quidway
#
cpu-usage cycle 1min
#
nat address-group 0 172.121.2.100 172.121.2.253 外网地址池
#
radius scheme system
#
domain system
#
local-user admin
password cipher .]@USE=B,53Q=^Q`MAF4<1!!
service-type telnet terminal
level 3
service-type ftp
#
acl number 2000 要做NAT的内网地址
rule 0 permit
#
interface Aux0
async mode flow
#
interface GigabitEthernet0/0/0
ip address *.*.*.* 255.255.255.0 外网地址
nat outbound 2000 address-group 0 NAT转换地址
#
interface GigabitEthernet0/0/1
ip address *.*.*.* 255.255.255.0 内网地址
#
interface NULL0
#
FTP server enable
#
ip route-static 0.0.0.0. 0.0.0.0. *.*.*.* preference 60 指上外网网关的路由
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
[Quidway]