logging export

Description                                                    Send the messages that are in the event buffer to an external file server.

Syntax                                                                  [no] logging export [all] [use-mgmt-port] url

Parameter

Description

all

Include system support messages.

use-mgmt-port

Use the management interface as the source interface for the connection to the remote device. The management route table is used to reach the device. Without this option, the ACOS device attempts to use the data route table to reach the remote device through a data interface.

url

Saves a backup of the log to a remote server.

You can enter the entire URL on the command line or press Enter to display a prompt for each part of the URL. If you enter the entire URL and a password is required, you will still be prompted for the password. The password can be up to 255 characters long.

To enter the entire URL:

  tftp://host/file

  ftp://[user@]host[:port]/file

  scp://[user@]host/file

  sftp://[user@]host/file

Default                                                                Not set

Mode                                                                   Configuration mode

Usage                                                                  If the ACOS device is a member of an aVCS virtual chassis, use the device-context com­mand to specify the device in the chassis to which to apply this command.

Example                                                            The following example sends the event buffer to an external file server using FTP. The file “event-buffer-messages.txt” will be created on the remote server.

ACOS(config)#logging export ftp://exampleuser@examplehost/event-buffer-messages.txt

 

Table of Contents

Index

Glossary

-Search-

Back