Obtaining slot and module status information, Replacing an interface module – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 61

Network OS NETCONF Operations Guide
29
53-1003231-02
Interfaces, slots, and modules
3
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="306" 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/>
</interface>
</filter>
</get-config>
</rpc>
Obtaining slot and module status information
To show information about all slots in the chassis, issue the <slotsinfor>/<slots> custom action
located in the urn:brocade.com:mgmt:brocade-linecard-management namespace. The <slotsinfor>
node is included in the <show> node of the urn:brocade.com:mgmt:brocade-common-def
namespace.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="307">
<nca:action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">
<nca:data>
<show xmlns="urn:brocade.com:mgmt:brocade-common-def">
<slotsinfor
xmlns="urn:brocade.com:mgmt:brocade-linecard-management">
<slots/>
</slotsinfor>
</show>
</nca:data>
</nca:action>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="307">
<ok/>
</rpc-reply>
Similarly, you can show information about specific module types by issuing the following custom
actions:
•
Issue the <mminfor>/<mm> custom action to display information for the management
modules.
•
Issue the <sfminfo>/<sfm> custom action to display information for the switch fabric modules.
•
Issue the <linecardinfo>/<linecard> custom action to display information for the interface
modules.
Replacing an interface module
You can remove an interface module without powering it off. However, doing so will not remove the
configuration. When you replace a module with a different type, you must first remove the
configuration and then reconfigure the slot for the new interface module type.
Removing the configuration requires the interface module to be powered off.