beautypg.com

HP Traffic Director sa7220 User Manual

Page 224

background image

C H A P T E R 6

HP Traffic Director Server Appliances User Guide

212

Password:

HP SA8220 e-Commerce

Director command line interface

Copyright (c) 2001 Hewlett-Packard Company All

Rights Reserved.

Please wait ..

HP SA8220#

Create a Policy Group

1. To create a policy group, first move the prompt to the CLI’s

policy group level by typing this command:

HP SA8220#config policygroup

2. To specify the new policy group’s name (“gold” in this example),

by typing this command:

HP SA8220/config/policygroup#create gold

policygroup gold created.

3. To move the prompt to that level, type the name of the new

policy group:

HP SA8220/config/policygroup#gold

Add HTTP Service and VIP

1. To add HTTP service (with a virtual IP address of 30.1.1.201 on

port 80) to policy group gold, type this command:

HP SA8220/config/policygroup/gold#

service create http vip 30.1.1.201 port 80

This command creates a new HTTP service on the SA8220 at IP
address 30.1.1.201, listening on TCP port 80.

2. To move the prompt to the level of the specific service (“http”),

type this command:

HP SA8220/config/policygroup/gold#service http