Obtaining host attribute information, Disabling or enabling a chassis – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 58

Advertising
background image

26

Network OS NETCONF Operations Guide

53-1003231-02

Disabling or enabling a chassis

3

<switch-attributes>

<rbridge-id>27</rbridge-id>

<host-name>lab1_vdx0023</host-name>

<chassis-name>lab1_vdx0023</chassis-name>

</switch-attributes>

</system>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Obtaining host attribute information

To return the configured host attribute information, issue the <get-config> RPC with a subtree filter
to return only the information under the <system>/<switch-attributes> node in the
urn:brocade.com:mgmt:brocade-ras namespace, as shown in the following example. Include the
<rbridge-id> leaf element under the <switch-attributes> node to restrict output to a specific switch.

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

<system xmlns="urn:brocade.com:mgmt:brocade-ras">

<switch-attributes>

<rbridge-id>27</rbridge-id>

</switch-attributes>

</system>

</filter>

</get-config>

</rpc>

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

<system xmlns="urn:brocade.com:mgmt:brocade-ras">

<switch-attributes>

<rbridge-id>27</rbridge-id>

<host-name>lab1_vdx0023</host-name>

<chassis-name>lab1_vdx0023</chassis-name>

</switch-attributes>

</system>

</rpc-reply>

Disabling or enabling a chassis

By default, the chassis is enabled after power is turned on and diagnostics and switch initialization
routines have finished. All interfaces are online. You can disable and re-enable the chassis as
necessary.

Disable the chassis if you want to take all interfaces offline. If the switch was part of an
Ethernet fabric, the fabric reconfigures.

Advertising