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

AR500, AR510, and AR530 V200R007 Commands Reference

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).
route accept

route accept

Function

The route accept command configures the device to generate routes based on the received subnet route information and define the priority and tag value for the routes.

The undo route accept command disables the function that generates routes based on the received subnet route information.

By default, the device does not generate routes based on the received subnet route information.

Format

route accept [ preference preference-number ] [ tag tag-value ]

undo route accept

Parameters

Parameter

Description

Value

preference preference-number

Specifies the priority for the route generated based on the received subnet route information.

The value is an integer that ranges from 1 to 255.

tag tag-value

Specifies the tag value for the route generated based on the received subnet route information.

The value is an integer that ranges from 1 to 4294967295.

Views

IKE peer view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When virtual tunnel interfaces are used for IPSec tunnel setup, you can run this command to allow the local device to accept subnet route information sent by the remote device.

Precautions

The local device can accept subnet route information sent by the remote device only when both the route accept command and the config-exchange set accept command are configured.

NOTE:
This command is supported by IKEv2 only.

Example

# Configure the IKE peer named peer1 to accept subnet route information sent by the remote device and set the priority and tag value of the generated route to 20 and 256 respectively.

<Huawei> system-view
[Huawei] ike peer peer1 v2
[Huawei-ike-peer-peer1] route accept preference 20 tag 256
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 90850

Downloads: 124

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