Disabling 802.1x on specific interface ports – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 513

Network OS NETCONF Operations Guide
481
53-1003231-02
Interface-specific administrative tasks for 802.1x
30
<rpc-reply message-id="2406" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Disabling 802.1x on specific interface ports
To disable 802.1x authentication on a specific interface port, perform the following steps.
1. Issue the <edit-config> RPC to configure the <interface> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <interface> node, specify the <gigabitethernet>, <tengigabitethernet>,
<fortygigabitethernet>, or <hundredgigabitethernet> node element.
NOTE
You cannot configure 802.1x authentication on a port-channel.
3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, or
<hundredgigabitethernet> node, include the <name> leaf element and specify the name of
the interface on which you want to disable 802.1x authentication. Specify the interface in
[rbridge-id/]slot/port format.
4. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, or
<hundredgigabitethernet> node, include the <dot1x> node element from the
urn:brocade.com:mgmt:brocade-dot1x namespace.
5. Under the <dot1x> node, include the empty <authentication> leaf element, and include the
delete operation in the element tag to disable 802.1x authentication for the port interface.
6. Issue the <bna-config-cmd> RPC to save the running-config file to the startup-config file.
The following example disables 802.1x authentication on interface 22/0/1.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2407" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/1</name>
<dot1x xmlns="urn:brocade.com:mgmt:brocade-dot1x">
<authentication
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">
</dot1x>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2407" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>