< Home

Configuring the Interval for Sending 802.1X Authentication Request Packets

This section provides a sample of configuring the interval for sending 802.1X authentication request packets using the merge method.

Table 1 Configuring the interval for sending 802.1X authentication request packets

Operation

XPATH

edit-config:merge

/huawei-nac-dot1x:dot1x-access/tx-period

Data Requirements

Table 2 Configuring the interval for sending 802.1X authentication request packets

Item

Data

Description

tx-period

40

Set the interval for sending 802.1X authentication request packets to 40 seconds.

Request Example

<?xml version='1.0' encoding='UTF-8'?>
<rpc message-id="0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <hw-nac-dot1x:dot1x-access xmlns:hw-nac-dot1x="urn:huawei:params:xml:ns:yang:huawei-nac-dot1x">
        <hw-nac-dot1x:tx-period>40</hw-nac-dot1x:tx-period>
      </hw-nac-dot1x:dot1x-access>
    </config>
  </edit-config>
</rpc>

Response Example

Sample of successful response

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

Sample of failed response

<?xml version='1.0' encoding='UTF-8'?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="20">
  <rpc-error>
    <error-type>application</error-type>
    <error-tag>operation-failed</error-tag>
    <error-severity>error</error-severity>
    <error-path>/huawei-nac-dot1x:dot1x-access/quiet-function/quiet-times</error-path>
    <error-message>parse rpc config error.(Value "121" does not satisfy the constraint "1..10" (range, length, or pattern).).</error-message>
  </rpc-error>
</rpc-reply>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >