!Current configuration: 2054 bytes
!Configuration last updated at 17:27:46 CST Thu Aug 4 2011
!Configuration last saved at 17:28:07 CST Thu Aug 4 2011
!version 2.6.1, build 479 (May-03-2011,20:57)
!
hostname AX1000
!
clock timezone Asia/Shanghai
!
!
!
trunk 1
ethernet 1 to 2
!
trunk 2
ethernet 3 to 4
!
vlan 2
untagged ethernet 1 to 2
router-interface ve 2
!
!
interface management
ip address 172.31.31.31 255.255.255.0
!
interface ethernet 5
ip address 172.16.120.10 255.255.255.0
!
interface ethernet 6
disable
!
interface ethernet 7
disable
!
interface ethernet 8
disable
!
interface ve 2
ip address 172.16.0.20 255.255.255.0
!
ip route 0.0.0.0 /0 172.16.0.254
!
!
!
!
!
!
!
!
!
!
!
!
ip nat pool snat_pool 172.16.0.21 172.16.0.21 netmask /24
ip nat pool snat_pool_user 172.16.0.22 172.16.0.22 netmask /24
!
!
!
!
!
!
!
!
!
!
slb server rs_172.16.0.5 172.16.0.5
port 80 tcp
slb server rs_172.16.0.6 172.16.0.6
port 80 tcp
slb server rs_user_1 10.0.0.24
port 80 tcp
slb server rs_user_2 10.0.0.25
port 80 tcp
slb server rs_user_3 10.0.0.26
port 80 tcp
slb server rs_68 10.0.0.68
port 80 tcp
slb server rs_69 10.0.0.69
port 80 tcp
!
slb service-group test tcp
member rs_172.16.0.5:80
member rs_172.16.0.6:80
!
slb service-group sg_user tcp
member rs_user_1:80
member rs_user_2:80
member rs_user_3:80
!
slb service-group nginx-group tcp
member rs_68:80
member rs_69:80
!
!
slb virtual-server vip_172.16.0.21 172.16.0.21
port 80 tcp
source-nat pool snat_pool
service-group nginx-group
!
slb virtual-server vip_172.16.0.22 172.16.0.22
port 80 http
source-nat pool snat_pool_user
service-group sg_user
!
!
!
!
!
!
!
!
!
!
!
!
enable-management service ssh ethernet 1 to 8 ve 2
enable-management service telnet management ethernet 1 to 8 ve 2
enable-management service http ethernet 1 to 8 ve 2
enable-management service https ethernet 1 to 8 ve 2
enable-management service snmp ethernet 1 to 8 ve 2
!
!
!
!
!
!
!
!
!
!
no terminal auto-size
terminal width 80
terminal length 0
!
end