beautypg.com

Diagnostic commands connect profile

Page 19: Enable trace, Ping ipaddr [ < n_size, Set log level <1-10

background image

Diagnostic Commands

connect profile

Description: For switched profiles, this command activates the profile as if a trigger occurred. This
command has no effect on leased line profiles.

disable trace

Description: This command disables the debug trace messages.

disconnect profile

Description: For active switched profiles, this command terminates the connection as if an idle
timeout occurred. This command has no effect on leased line profiles.

enable trace

Description: This command enables the debug trace messages. When enabled, all log messages
entered into the system log will appear in the console session from which this command is issued.

ping ipAddr [ < n_size>]

Description: This command allows the user to ping an IP device (send a diagnostic message to be
echoed by the receiving device). If n_times and n_size are optionally specified, the ping will be
performed n_times times, and each time with size equal to n_size. Otherwise, ping will only be
executed once with the packet size equal to 56 bytes. The maximum value of n_times is 100: any value
larger than this will be set to 100. The maximum value of n_size is 1932: any value larger than this
will be set to 1932.

Example:

Router> ping 10.0.0.2 100 1000

repeating times = 100, data length = 1000

Ping packets -- total: 100 sent: 100 received: 100

Router> ping 10.0.0.2

repeating times = 1, data length = 56

Ping packets -- total: 1 sent: 1 received: 1

set log level <1-10>

Description: For a description of this command, see “set log level <1-10>” under System Commands.