beautypg.com

6 logging loghost sequence-number, Logging loghost sequence, Number – PLANET WGSW-52040 User Manual

Page 850

background image

63-390

Command Mode:

Global mode.

Default:

Disable state.

Usage Guide:

After enable this command, the commands executed by user at the console, telnet or ssh terminal will record the log,

so it should be used with the logging LOGHOST command.

Example:

Enable the command and send the commands executed by user into log host (10.1.1.1)

Switch(Config)#logging 10.1.1.1

Switch(Config)#logging executed-commands enable

63.6 logging loghost sequence-number

Command:

logging loghost sequence-number

no logging loghost sequence-number

Function:

Add the loghost sequence-number for the log; the no command does not include the loghost sequence-number.

Command Mode:

Port mode

Default:

Do not include the sequence-number.

Usage Guide:

Use logging command to configure the loghost before this command is set.

Example:

Open the loghost sequence-number.

Switch(config)# logging loghost sequence-number