< Home

Configuring a Redirection ACL in the Service Scheme

This section provides a sample of configuring a redirection ACL in the service scheme using the merge method.

Table 1 Configuring a redirection ACL in the service scheme

Operation

XPATH

edit-config:merge

/huawei-aaa:aaa/service-scheme/redirect-acl

Data Requirements

Table 2 Configuring a redirection ACL in the service scheme

Item

Data

Description

Number of the redirection ACL 3000
NOTE:
Ensure that the redirection ACL has been created.
Set the number of the redirection ACL in service scheme s1 to 3000.

Request Example

<rpc message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <hw-aaa:aaa xmlns:hw-aaa="urn:huawei:params:xml:ns:yang:huawei-aaa">
        <hw-aaa:service-scheme xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0" xc:operation="merge">
          <hw-aaa:name>s1</hw-aaa:name>
          <hw-aaa:vsys>sys</hw-aaa:vsys>
          <hw-aaa:redirect-acl>
            <hw-aaa:acl-id>3000</hw-aaa:acl-id>
          </hw-aaa:redirect-acl>
        </hw-aaa:service-scheme>
      </hw-aaa:aaa>
    </config>
  </edit-config>
</rpc>

Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <ok/>
</rpc-reply>

Sample of failed response

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >