aaa connection-recording policy

Use aaa connection-recording policy to create a connection recording policy and enter its view, or enter the view of an existing connection recording policy.

Use aaa connection-recording policy to delete the connection recording policy.

Syntax

aaa connection-recording policy

undo aaa connection-recording policy

Default

The connection recording policy does not exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Use this feature on scenarios where the device acts as an FTP, SSH, SFTP, or Telnet login client to establish a connection with a login server. This feature enables the device to provide an accounting server with the connection start and termination information. When the login client establishes a connection with the login server, the system sends a start-accounting request to the accounting server. When the connection is terminated, the system sends a stop-accounting request to the accounting server.

Examples

# Create a connection recording policy and enter its view.

<Sysname> system-view
[Sysname] aaa connection-recording policy
[sysname-connection-recording-policy]

Related commands

accounting hwtacacs-scheme

display aaa connection-recording policy