accounting optional

Syntax

accounting optional

undo accounting optional

View

ISP domain view

Default level

2: System level

Parameters

None

Description

Use accounting optional to enable the accounting optional feature.

Use undo accounting optional to disable the feature.

By default, the feature is disabled.

After you configure the accounting optional command for a domain, a user who would otherwise be disconnected can continue to use the network resources when no accounting server is available or when communication with the current accounting server fails. However, the switch no longer sends real-time accounting updates for the user. The accounting optional feature applies to scenarios where accounting is not important.

After you configure the accounting optional command, the setting configured by the access-limit command in local user view is not effective.

Examples

# Enable the accounting optional feature for users in domain test.

<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting optional