timer (RPKI-session view)

Function

The timer command configures timers for the Resource Public Key Infrastructure (RPKI) session.

The undo timer command restores the default configuration.

By default, the refresh interval of an RPKI session is 1800s.

Format

timer refresh refresh-time

timer aging aging-time

undo timer { refresh refresh-time | aging aging-time }

undo timer refresh

undo timer aging

Parameters

Parameter Description Value
aging aging-time

Specifies the aging time of validation information.

The value is an integer ranging from 60 to 604800, in seconds.

refresh refresh-time

Specifies the interval at which validation information is updated.

The value is an integer ranging from 10 to 3600, in seconds.

Views

RPKI-session view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
rpki write

Usage Guidelines

Usage Scenario

To configure the aging time of validation information and the interval at which validation information is updated, run the timer command. You can configure the two timers to achieve the desired level of BGP security. If stronger BGP security is desired, configure a small value for each timer. Note that frequent validation information updates will lead to higher bandwidth resource consumption.

Example

# Configure the parameters for the RPKI session between the client and the RPKI server.
<HUAWEI> system-view
[~HUAWEI] rpki
[*HUAWEI-rpki] session 10.1.1.1
[*HUAWEI-rpki-session] timer aging 4000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >