HP Traffic Director sa7220 User Manual

Page 162

Advertising
background image

C H A P T E R 5

HP Traffic Director Server Appliances User Guide

150

trace (continued)

-x

Output each packet in hex.

-X

Output each packet in hex and ASCII.

The

<expression>

has the same format as a "tcpdump"

expression: If no

<expression>

is given all packets on the net

will be output.

<expression>

primitives (listed below) can be

combined using parentheses and '!' or 'not', '&&' or 'and', and '||' or
'or.'

The

<expression>

primitives are listed below:

dst host <host>

: true if the IP destination field of the

packet is

<host>

.

src host <host>

: true if the IP source field of the packet

is

<host>

.

host <host>

: true if either the IP source or destination

field of the packet is

<host>

.

ether dst <ehost>

: true if the ethernet destination

address is

<ehost>

.

ether src <ehost>

: true if the ethernet source address is

<ehost>

.

ether host <ehost>

: true if either the ethernet source or

destination address is

<ehost>

.

gateway <host>

: true if the packet used

<host>

as a

gateway.

dst net <net>

: true if the IP destination address of the

packet has a network number of

<net>

.

src net <net>

: true if the IP source address of the packet

has a network number of

<net>

.

net <net>

: true if the IP source or destination address of

the packet has a network number of

<net>

.

net <net> mask <mask>

: true if the IP address matches

<net>

with the specific netmask

net <net>/<len>

: true if the IP address matches

<net>

a

netmask

<len>

bits wide.

dst port <port>

: true if the packet is ip/tcp or ip/udp

and has a destination port value of

<port>

.

src port <port>

: true if the packet has a source port

value of

<port>

.

port <port>

: true if either the source port value or

destination port has a value of

<port>

.

Command

Description

Advertising