< Home

user-table

Function

The user-table command references an IKE user table in an IKE peer.

The undo user-table command deletes the referenced IKE user table.

By default, the IKE peer does not reference an IKE user table.

Format

user-table user-table-id

undo user-table

Parameters

Parameter

Description

Value

user-table-id

Specifies the ID of an IKE user table.

The value must be an existing IKE user table ID.

Views

IKE peer view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An IKE user table records the mapping between remote IDs of IKE peers and pre-shared keys. After an IKE peer references an IKE user table, the device searches for the pre-shared key matching the remote ID of the IKE peer in the IKE user table to complete identity authentication during IKE negotiation. In this manner, branches use different IDs and pre-shared keys.

Prerequisites

An IKE user table has been created using the ike user-table command.

Precautions

After an IKE peer references an IKE user table, the pre-shared key configured using the pre-shared-key command takes precedence over that configured using the pre-shared-key (IKE peer view) command.

Example

# Reference IKE user table 10 in IKE peer peer1.

<sysname> system-view
[sysname] ike user-table 10
[sysname-ike-user-table-10] quit
[sysname] ike peer peer1
[sysname-ike-peer-peer1] user-table 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >