Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 93

Advertising
background image

Network OS NETCONF Operations Guide

61

53-1003231-02

Evaluating a firmware upgrade

5

<directory>—The directory on the remote server where the firmware file is located.

<file>—The firmware filename.

<nocomit>—Ensures the firmware image is downloaded only to the primary partition.

The reply message contains a session ID in the <fwdl-tid> element.

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

<action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">

<data>

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

<download>

<ftp>

<user>fvt</user>

<password>pary4green</password>

<host>10.1.2.30</host>

<directory>/</directory>

<file>release.plist</file>

<nocommit>

</ftp>

</download>

</firmware>

</data>

</action>

</rpc>

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

message-id="408">

<data>

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

<download>

<ftp>

<fwdl-tid>34</fwdl-tid>

<fwdl-status>0</fwdl-status>

</ftp>

</download>

</firmware>

</data>

</rpc-reply>

The switch will perform a reboot and come up with the new firmware. Your current switch
session will automatically disconnect.

6. Issue the <show-firmware-version> custom RPC to confirm that the primary partition of the

switch contains the new firmware, and the secondary does not.

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

<show-firmware-version xmlns="urn:brocade.com:mgmt:brocade-firmware-ext">

<switchid xmlns="urn:brocade.com:mgmt:brocade-ras-ext">24</switchid>

</show-firmware-version>

</rpc>

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

<show-firmware-version xmlns="urn:brocade.com:mgmt:brocade-firmware-ext">

<switchid xmlns="urn:brocade.com:mgmt:brocade-ras-ext">24</switchid>

<os-name>Network Operating system Software</os-name>

<os-version>4.0.0</os-version>

<copy-right-info>1995-2010 Brocade Communications Systems, Inc.

</copy-right-info>

<build-time>19:18:58 Jun 23, 2012</build-time>

<firmware-full-version>v4.0.0_bldg56</firmware-full-version>

Advertising