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.
| Parameter | Description | Value |
|---|---|---|
| service-scheme-name | Specifies the name of a service scheme. | The service scheme name must already exist. |
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.