undo snmp-agent get-cache age-out

Function

The undo snmp-agent get-cache age-out command is used to cancel the set value of aging time of cache for get cache function. restore to the default value.

By default, the value of aging time is 5s.

Format

undo snmp-agent get-cache age-out

Parameters

None

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
snmp write

Usage Guidelines

After the SNMP get cache function is enabled, you can run the undo snmp-agent get-cache age-out command to set the cache aging time to adjust the cache lifetime.

Example

# Cancel the set value of aging time of cache for get cache function and restore to the default value.
<HUAWEI> system-view
[~HUAWEI] snmp-agent
[~HUAWEI] commit
[~HUAWEI] undo snmp-agent get-cache age-out
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >