ipsec sa (RIPng view)

Function

The ipsec sa command enables IPsec authentication in a RIPng process.

The undo ipsec sa command disables IPsec authentication in a RIPng process.

By default, IPsec authentication is disabled in a RIPng process. Configuring IPsec authentication is recommended to ensure system security.

Format

ipsec sa sa-name

undo ipsec sa

Parameters

Parameter Description Value
sa-name

Specifies the name of a security association (SA).

It is a string of 1 to 15 case-sensitive characters, spaces not supported. The characters can be letters or numbers, hyphens (-) not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

RIPng view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ripng write

Usage Guidelines

Usage Scenario

As network services develop, security has become an increasing concern. RIPng IPsec uses defined SAs to authenticate received RIPng packets and those to be sent. Those packets that fail to be authenticated are discarded, which prevents RIPng networks from being attacked by forged RIPng packets.

If the ipsec sa command is run for a RIPng process, all packets of the process will be authenticated using the SA specified in the command, indicating that IPsec authentication takes effect on all interfaces in the RIPng process.

Prerequisites

A RIPng process has been created and the RIPng view has been displayed using the ripng command.

Precautions

The ripng ipsec sa command takes precedence over the ipsec sa command. If both commands are run in respective views and different SA names are specified, only the configuration of the ripng ipsec sa command takes effect.

Example

# Enable IPsec in a RIPng process and specify sa1 as the SA name.
<HUAWEI> system-view
[~HUAWEI] ipsec sa sa1
[*HUAWEI-ipsec-sa-sa1] quit
[*HUAWEI] ripng 1
[*HUAWEI-ripng-1] ipsec sa sa1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >