< Home

service-scheme (IKE peer view)

Function

The service-scheme command specifies a service scheme referenced by an IKE peer.

The undo service-scheme command deletes a service scheme referenced by an IKE peer.

By default, an IKE peer does not reference any service scheme.

Format

service-scheme service-scheme-name

undo service-scheme

Parameters

Parameter Description Value
service-scheme-name Specifies the name of a service scheme. The service scheme name must already exist.

Views

IKE peer view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When multiple branches need to access the headquarters, the customer wants to deploy network resources including the domain name, DNS server address, and IP addresses on headquarters gateway. The headquarters gateway pushes network resource information to branch gateways to simplify configuration and maintenance of network resources on them. In this case, run the service-scheme command to specify a service scheme referenced by an IKE peer. After a branch gateway initiates IKEv2 negotiation and establishes an IPSec tunnel with the headquarters gateway, the headquarters gateway pushes network resource information to this branch gateway through IKEv2.

Prerequisites

A service scheme has been created by running the service-scheme service-scheme-name command.

Example

# Configure the service scheme service referenced by an IKE peer.
<sysname> system-view
[sysname] aaa
[sysname-aaa] service-scheme service
[sysname-aaa-service-service] quit
[sysname-aaa] quit
[sysname] ike peer huawei
[sysname-ike-peer-huawei] service-scheme service
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >