Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 63

Advertising
background image

Network OS NETCONF Operations Guide

31

53-1003231-02

Interfaces, slots, and modules

3

<running/>

</target>

<config>

<rbridge-id xmlns="urn:brocade.com:mgmt:brocade-rbridge">

<rbridge-id>5</rbridge-id>

<global-lc-holder

xmlns="urn:brocade.com:mgmt:brocade-linecard-management">

<linecard>

<linecards>

<linecardName>1</linecardName>

<linecardType>LC48x10G</linecardType>

</linecards>

</linecard>

</global-lc-holder>

</rbridgeid>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

5. Insert the new interface module into the configured slot.

6. To power on the new line card, reissue the <linecardservice>/<power-off> custom action

located in the urn:brocade.com:mgmt:brocade-linecard-management namespace.

7. Issue the <bna-config-cmd> custom RPC in the urn:brocade.com:mgmt:brocade-ras

namespace to copy the running-config file to the startup-config file and save your configuration
changes.

8. To verify the configuration change, issue the <get-config> RPC with a subtree filter to return

only the contents of the <linecard>/<linecards> node in the
urn:brocade.com:mgmt:brocade-linecard-management namespace.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="311" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

<rbridgeid xmlns="urn:brocade.com:mgmt:brocade-rbridge">

<rbridge-id>5</rbridge-id>

<global-lc-holder

xmlns="urn:brocade.com:mgmt:brocade-linecard-management">

<linecard>

<linecards>

<linecardName>1</linecardName>

</linecards>

</linecard>

</global-lc-holder>

</rbridgeid>

</filter>

</get-config>

</rpc>

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

<rbridgeid xmlns="urn:brocade.com:mgmt:brocade-rbridge">

<rbridge-id>5</rbridge-id>

Advertising