2.6. Debug

2.6.1. buffers

Show information about buffers and buffer usage.

Description

Show information about buffers and buffer usage.

Usage

buffers -show [-verbose] [-hardware] [-account] [-channel] [-blame]
List buffers.
buffers 
Same as "buffers -show".

Options

-account
Show "accounting info" for the buffers (in what system/module are my buffers).
-blame
Show "trace points" for the buffers (where was my buffers last seen in the code).
-channel
Show "userspace channel info" for the buffers (what userspace channel have received my buffers).
-hardware
Extra hardware related information.
-show
Show buffers.
-verbose
Verbose (more information).

2.6.2. drm

Show Slowpath Dynamic Rule Manager state.

Description

Shows the state of the SP Dynamic Rule Manager.

Usage

drm -show [-type={PROCESS | TRNX}] [-num=<n>] 
Show requested state table.
drm 
Same as "sdrm -show".

Options

-num=<n>
Limit list to <n> rules. (Default: 40)
-show
Shows the specified table.
-type={PROCESS | TRNX}
The state information type to show. (Default: process)

2.6.3. frag

Show information about fragment status.

Description

Show information about pseudo-reassembler fragment status.

Usage

frag -show 
List fragments.
frag -flush 
Discard fragments.
frag 
Same as "fragments -show".

Options

-flush
Discard fragments.
-show
Show fragments.

2.6.4. ruledb

Command to print slowpath rule databases.

Description

Display information about the slow path rule databases and routing tables:

-
Contents of a (named) rule database.
-
Parameters of a specific rule within a database

Explanation of Flags field of the rule databases:

Z
Zombie - Will soon be deleted.
R
Remove - Marked for removal. Will be deleted when transaction is committed.
D
Disabled - Not used in rule lookups. Will be enabled when transaction is committed.
F
Fallthrough - Rule matching will continue to match more rules even if this rule match.
S
System - Internal rule (iRules), default rules, e.g. default drop, goto etc.
P
Private - Flows set up with this rule will be using the private IP and MAC addresses.
T
Stateless - Rule configured as stateless. Will set up stateless flows.
U
Unidirectional - Rule configured as unidirectional. Will set up unidirectional flows.
J
Reject - Rule configured with OnDeny=Reject. Will send ICMP errors or TCP reject instead of opening new flows.
6
IPv6 - Rule database is for IPv6.
L
Limbo - Rule database is not linked to an owner. Will be removed.
W
Pending Wipe - Rule database is linked to an owner that is in the process of being wiped.

Example 2.49. Print every rule database and its rules in its own table.

System:/> ruledb

Example 2.50. Print all rule databases in one table.

System:/> ruledb -show instance

Example 2.51. Print all rules of a particular database.

System:/> ruledb -show instance -db=0x20

Example 2.52. Print the content of a rule in one particular rule database.

System:/> ruledb -show instance -db=0x20 -rule=0x21

Example 2.53. Print the content of all rules in one particular rule database.

System:/> ruledb -show rule -db=0x20

Usage

ruledb -show[={INSTANCE | ROUTES | MAIN | PREIPBLOCK | PREIP |
       PREIPSEC | PREGTP | PREGTPINSP | ACCOVERRIDE | IPBLOCK |
       ACCESS | BLACKLIST | WHITELIST | POSTPBR | PREPBR |
       PREPBRIPSEC | PBR | IFSP | RULE | SIPALG | IPS | THRESHOLD |
       TRAFFICSHAPING | OWNERSHIP | GRE}] [-iface=<interface>]
       [-ipv6] [-rule=<Integer>] [-ruleorigin] [-db=<Integer>] 
Prints the content of the rule database or the specified rule cache.
ruledb 
Show all RuleDB instances.

Options

-db=<Integer>
ID of RuleDB.
-iface=<interface>
Interface name.
-ipv6
The operation will be executed on the IPv6 rule database.
-rule=<Integer>
ID of Rule.
-ruleorigin
Show Rule Originator and SessionID.
-show[={INSTANCE | ROUTES | MAIN | PREIPBLOCK | PREIP | PREIPSEC | PREGTP | PREGTPINSP | ACCOVERRIDE | IPBLOCK | ACCESS | BLACKLIST | WHITELIST | POSTPBR | PREPBR | PREPBRIPSEC | PBR | IFSP | RULE | SIPALG | IPS | THRESHOLD | TRAFFICSHAPING | OWNERSHIP | GRE}]
Prints the content of the rule database or the specified rule cache. (Default: rules)
 
 
 
 
 

2.6.5. teststatd

Get runtime information from and test the statistical daemon.

Description

List detailed information about the statistical daemon.

Usage

teststatd -clients [-delete] 
List clients.
teststatd -requests 
List requests.
teststatd -signatures [-item=<String>] [-verbose] 
List signatures.
teststatd -values [-item=<String>] [-verbose] [-reset] 
List statistical values.
teststatd -find [-guid=<Integer>] [-oid=<String>] [-nc=<String>] 
Find a value from key.
teststatd 
List general statd information.

Options

-clients
List clients.
-delete
Delete connected clients.
-find
Find a value from key.
-guid=<Integer>
Value GUID.
-item=<String>
Specify a single item to list.
-nc=<String>
NC view ID.
-oid=<String>
Value OID.
-requests
List cache client requests.
-reset
Reset all statistical values.
-signatures
List signatures.
-values
List statistical values.
-verbose
Verbose listing.

2.6.6. vlan

VLAN.

Description

Shows the VLAN state in dataplane

Usage

vlan