CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies CLI Guide - WatchGuard Technologies

watchguard.com
from watchguard.com More from this publisher
25.06.2013 Views

CHAPTER 4: Debug Mode Commands netstat command WG#debug WG(debug)#netstat Effect This command displays the network status as seen from the security appliance’s point of view. To review the arguments for this command, type -?. The following are some of the available arguments. Arguments -a Displays active network connections and their status -i Shows summaries sorted by appliance interface -s Shows statistics -r Shows routing table information Example WG(debug)#netstat -i ping command WG#debug WG(debug)#ping Effect Use the ping command to send an ICMP ECHO_REQUEST to a designated device. Arguments This argument records the IP address of the device/appliance to be pinged. Example WG(debug)#ping 122.13.2.9 The WatchGuard CLI will send ping packets to the designated IP address. Enter ^c (Control-C) to stop the ping. The CLI will then display the results and return to the WG(debug)# prompt. 134 WatchGuard Vclass 5.1

pppoe_config command Debugging/troubleshooting commands pppoe_config [show | set num | set_default] show Show current settings. set num Set PPPoE parameters. -i is for echo interval (1-1200 Sec). -f is for echo failure (1-60). -r is for re-auth period (0-7200 Min). -t is for re-auth interval (0-120 Min). num is an integer. set_default Restore factory default value. Effect This command allows you to set PPPoE echo (keepalive) and re-authorization times and limits. Arguments -i allows you to set the echo (keep-alive) interval, from 1—1200 seconds. -f allows you to set the threshold for echo (keepalive) failure, from 1—60 seconds. -r allows you to set the re-authorization period, from 0—7200 minutes. -t alows you to set the re-autorization interval, from 0—120minutes. set_default allows you to set the default values for PPPoE echo and re-authorization. Example WG(debug)#pppoe_config set -1 300 -f 5\ -r 1800 -t 60 radius_ping command WG#debug WG(debug)#radius_ping \ [-pap |-sid ] \ [-p ] [-r ] \ [-s ] [-t ] \ [-u ] Effect Use this command to test the connections between this WatchGuard appliance and a RADIUS server. WatchGuard Command Line Interface Guide 135

CHAPTER 4: Debug Mode Commands<br />

netstat command<br />

WG#debug<br />

WG(debug)#netstat<br />

Effect<br />

This command displays the network status as seen<br />

from the security appliance’s point of view. To<br />

review the arguments for this command, type -?.<br />

The following are some of the available arguments.<br />

Arguments<br />

-a Displays active network connections and their<br />

status<br />

-i Shows summaries sorted by appliance interface<br />

-s Shows statistics<br />

-r Shows routing table information<br />

Example<br />

WG(debug)#netstat -i<br />

ping command<br />

WG#debug<br />

WG(debug)#ping <br />

Effect<br />

Use the ping command to send an ICMP<br />

ECHO_REQUEST to a designated device.<br />

Arguments<br />

<br />

This argument records the IP address of the<br />

device/appliance to be pinged.<br />

Example<br />

WG(debug)#ping 122.13.2.9<br />

The <strong>WatchGuard</strong> <strong>CLI</strong> will send ping packets to the<br />

designated IP address. Enter ^c (Control-C) to stop<br />

the ping. The <strong>CLI</strong> will then display the results and<br />

return to the WG(debug)# prompt.<br />

134 <strong>WatchGuard</strong> Vclass 5.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!