No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

AR500, AR510, and AR530 V200R007

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
config-exchange

config-exchange

Function

The config-exchange command enables the device to request or set subnet route information.

The undo config-exchange command disables the device from requesting or setting subnet route information.

By default, the device cannot request or set subnet route information.

Format

config-exchange { request | set { accept | send } }

undo config-exchange { request | set [ accept | send ] }

Parameters

Parameter

Description

Value

request

Enables the device to request subnet route information from a remote device.

-

set { accept | send }

Enables the device to accept subnet route information from a remote device or send local subnet route information.

-

Views

IKE peer view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A headquarters gateway sets up an IPSec tunnel with a branch gateway in virtual tunnel mode. In this case, you can run the config-exchange command to enable the gateways to request or set subnet route information.

  1. The config-exchange request command can only be used on the initiator to enable it to request subnet information from the responder.
  2. The config-exchange set { accept | send } command can be configured on both the initiator and the responder.

    • The config-exchange set accept command enables the local device to accept subnet route information sent by the remote device.
    • The config-exchange set send command enables the local device to send subnet route information to the remote device.

    If the config-exchange set send command is configured on the local device, the config-exchange set accept command must be configured on the remote device.

Prerequisites

Before you configure the config-exchange set send command to enable the local device to send subnet route information, the following operations must have been completed in the AAA service scheme.

  • Run the route set acl acl-number command to configure local subnet route information.
  • Run the route set interface command to configure interface addresses to which the IPSec profile is applied.

Precautions

If the config-exchange set accept command is configured on the local device, the route accept command must also be configured before the local device can accept subnet route information sent by the remote device and generate routes.

NOTE:

This command is supported by IKEv2 only.

Example

# Enable the IKE peer named peer1 to accept subnet route information from the remote device.

<Huawei> system-view
[Huawei] ike peer peer1 v2
[Huawei-ike-peer-peer1] config-exchange set accept
Related Topics
Translation
Download
Updated: 2019-02-18

Document ID: EDOC1000097293

Views: 35546

Downloads: 101

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next