Displaying http trl, Enabling layer 7 slb – Brocade Communications Systems ServerIron ADX 12.4.00a User Manual

Page 35

Advertising
background image

ServerIron ADX Security Guide

21

53-1002440-03

Displaying HTTP TRL

1

Syntax: port http

ServerIronADX(config-rs-web2)# exit

Syntax: exit

5. Define a virtual server with an IP address.

ServerIronADX(config)# server virtual-name-or-ip csw-vip 1.1.1.100

Syntax: server virtual-name-or-ip <vip-name-or-ip-address> <ip-address>

6. Define a virtual HTTP port on the virtual server.

ServerIronADX(config-vs-csw-vip)#port http

Syntax: port http

7. Bind HTTP ports on real servers web1 and web2 to the virtual port HTTP.

ServerIronADX(config-vs-csw-vip)# bind http web1 http web2 http

Syntax: bind http <real-server> http <vip-name>

Creating a CSW rule and policy with HTTP TRL

1. Define a CSW rule to match a pattern in the HTTP header that contains the client name.

ServerIronADX(config)# csw-rule rule1 header Authorization pattern Basic

Syntax: csw-rule <rule-name> header <Authentication> pattern <Basic>

2. Define a CSW policy.

ServerIronADX(config)# csw-policy policy1

Syntax: csw-policy <policy-name>

3. Specify an action to apply HTTP TRL policy when the CSW rule is matched.

ServerIronADX(config-csw-policy1)# match rule1 http-trl p1

Syntax: match <rule-name> http-trl <http-trl-policy-name>

Enabling Layer 7 SLB

To configure Layer 7 SLB, follow these steps.

1. Bind the policy to a virtual HTTP port on the virtual server.

ServerIronADX(config-vs-csw-vip)# port http csw-policy policy1

Syntax: port http csw-policy <policy-name>

2. Enable CSW on the virtual port.

ServerIronADX(config-vs-csw-vip)# port http csw

Syntax: port http csw

Displaying HTTP TRL

This section describes how to display HTTP TRL information.

Advertising