Diagnostic Commands and Tools
Several tools and commands are available on the PIX Firewall to troubleshoot all kinds of issues with PIX Firewall. In this section, we will attempt to go through all such tools and commands, which will be used in the rest of the chapter for troubleshooting specific issues.
show Commands
show commands on PIX Firewall are used to display statistics and information about the PIX firewall both current and past. show commands are used mainly for troubleshooting and the monitoring the health of the PIX firewall. Some of most useful show commands are shown in the sections that follow.
show xlate [detail]
This command shows the translation details through the PIX firewall. Example 3-5 shows both the summary and details of translation that are built up on the PIX firewall. It is recommended to look at the details of the translation which gives the interfaces involved the flow of a packet. This is useful to identify and correct any NAT related mis-configuration.
Example 3-5. Translation Through the PIX Firewall
PIX (config) # show xlate |
Table 3-4 describes the Xlate flags.
Flag | Description |
---|---|
s | Static Translation Slot |
d | Dump Translation Slot on Next Clearing Cycle |
r | Port Map Translation |
n | No Randomization of TCP Sequence Number |
o | Outside Address Translation |
I | Inside Address Translation |
D | DNS A RR Rewrite |
I | Identity Translation from NAT 0 |
show connection [detail]
This command shows the connection details output on the PIX firewall. Connection will not be built up without translation. So, if you do not see any connection, you need to find out if the translation is built up. Example 3-6 shows the translation that is built up on the PIX firewall.
Example 3-6. Shows the show connection [detail] Output from the PIX Firewall
PIX (config) # show connection |