Syntax
idle-timeout minutes [ seconds ]
undo idle-timeout
Default
The CLI connection idle-timeout timer is 10 minutes.
Views
User line view
User line class view
Predefined user roles
network-admin
Parameters
: Specifies the number of minutes, in the range of 0 to 35791.
minutes
: Specifies the number of seconds, in the range of 0 to 59. The default is 0 seconds.
seconds
Usage guidelines
The system automatically terminates a user connection if no information interaction occurs on the
connection within the idle-timeout interval.
To disable the idle-timeout feature, execute the
This command is available in both user line view and user line class view. A non-default setting in
either view takes precedence over a default setting in the other view. A non-default setting in user
line view takes precedence over a non-default setting in user line class view.
The setting in user line view takes effect immediately for the current session. The setting in user line
class view takes effect for login sessions that are established after the setting is configured.
Examples
# Set the CLI connection idle-timeout timer to 1 minute and 30 seconds for VTY line 0.
<Sysname> system-view
[Sysname] line vty 0
[Sysname-line-vty0] idle-timeout 1 30
ip http acl
Use
ip http acl
Use
undo ip http acl
Syntax
ip http acl { acl-number | name acl-name }
undo ip http acl
Default
No ACL is applied to the HTTP service.
Views
System view
Predefined user roles
network-admin
to apply an ACL to the HTTP service.
to restore the default.
idle-timeout 0
23
command.