beautypg.com

Displaying csw policy information – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 301

background image

Brocade Virtual ADX Server Load Balancing Guide

285

53-1003247-01

Displaying CSW information

5

Displaying CSW policy information

To display information about a Layer 7 content switching policy, enter the following command on
the BP.

Syntax: show csw-policy server-sw

Table 29

defines the fields shown in the screen display.

TABLE 29

Output from the show csw-policy command

Field

Description

Policy Name

The name of the policy.

Reference Count

Number of VIPs using this policy.

Rule Name

The rules configured under the policy.

Act

The action specified for each rule.

Data fields

The specification for the rule; that is, the content that the rule matches.

Flags

Information about the content-rewrite actions for the rule, if configured.

Hit Cnt

The number of times a rule matched.

Virtual ADX#show csw-policy server-sw

Policy Name :server-sw

Policy Type:Content Switching

Policy Index:4

Reference Count:0

total received packet:0

created session:0total scanned packet:0

no session drop:0no session frag drop:0

send redirect packet:0case-sensitive:FALSE

Action code description:

fwd: forwardrst: reset-clientper: persist

rdr: redirecterr: reply-error got: goto

rwt: rewrite log: log

con: countdrp: droprec: vir-reset

Flag description:

A: insert-cookieB: delete-cookie C: destroy-cookie

D: req-ins-hdrE: req-ins-client-ipF: resp-ins-hdr

G: delete-contentH: insert-content I: modify-content

L: log

Rule Name |Act|Data1 |Data2 |Data3 |Flags |Hit Cnt

------------------------------------------------------------------------------

url1024 |fwd|1024 | |N/A |_______ |2

url1025 |fwd|1025 | |N/A |_______ |3

default |fwd|1 | |N/A |_______ |10

-------------------------------------------------------------------------------