beautypg.com

Extreme Networks Px Series User Manual

Page 89

background image

Px Series Application Switch Installation and Configuration Guide

7-11

Configuration Example

config server-group name images policy rr

config server-group name images add-server index 10 - 11

config server-group name media policy rr

config server-group name media add-server index 20

#

#

#----------------------------------------------------------------

# service-table

#----------------------------------------------------------------

config service vip 64.1.2.10 port 80 protocol tcp l7 class http

config pattern-rule “*.gif” server-group-name images

config pattern-rule “*.jpg” server-group-name images

config pattern-rule “*.mov” server-group-name media

config pattern-rule “*.mp3” server-group-name media

config domain name default

config pattern-rule “default” server-group-name yourdomain cookie-name

“session-id” cookie-type learn

config service vip 64.1.2.11 port 443 protocol tcp l7 class https

config domain name default

config pattern-rule “default” server-group-name ecom

#----------------------------------------------------------------

# system configuration

#----------------------------------------------------------------

config system-ip 64.1.1.10 / 24

config default-gateway 64.1.1.1

disable vlan

config mgmt ipaddress 10.10.10.10 / 24 vlan 100

enable vlan

enable syslog

config syslog ip 10.10.10.20

config nat-mode server-only

enable clipaging

disable port gigabit

#----------------------------------------------------------------

# proxy-ip's

#----------------------------------------------------------------

config proxy-ip 64.1.1.11 - 64.1.1.42

#----------------------------------------------------------------

# SNMP configuration

#----------------------------------------------------------------