Checking 802.1x configurations – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 514

482
Network OS NETCONF Operations Guide
53-1003231-02
Checking 802.1x configurations
30
Checking 802.1x configurations
You cannot obtain 802.1x authentication operational data using the NETCONF interface. To obtain
information about dot1x statistical and diagnostic information requires the CLI. Refer to the
Network OS Administrator’s Guide for details.
To retrieve running configuration information for global 802.1x authentication, issue the
<get-config> RPC with a subtree filter to return the <dot1x> portion of the configuration, as shown
in the following example. The <enable/> node is returned in the reply if dot1x is configured globally.
The readiness timeout value is also returned.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2408" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<dot1x xmlns="urn:brocade.com:mgmt:brocade-dot1x"/>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="2408" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<dot1x xmlns="urn:brocade.com:mgmt:brocade-dot1x">
<enable/>
<test>
<timeout>20</timeout>
</test>
</dot1x>
</rpc-reply>
To obtain dot1x configuration information for a specific interface, issue the <get-config> RPC with a
subtree filter to restrict the output to the <dot1x> node under a specific interface.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2409" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/1</name>
<dot1x xmlns="urn:brocade.com:mgmt:brocade-dot1x"/>
</tengigabitethernet>
</interface>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="2409" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/1</name>
<dot1x>
<authentication/>
<port-control>auto</port-control>