Brocade san switch service mode
- #BROCADE SAN SWITCH SERVICE MODE SERIAL#
- #BROCADE SAN SWITCH SERVICE MODE SOFTWARE#
- #BROCADE SAN SWITCH SERVICE MODE FREE#
It is recommended that you only use this command from the serial console port.Īre you sure you really want to do this? (yes, y, no, n): yįorce 100 Mbps / Full Duplex (yes, y, no, n): y Note: As per Brocade it is recommended that the eth0 interface be running at 100/Full Duplex (assuming the IP network switch can support it).Įxercise care when using this command. Forcing the link to an operating mode not supported by the network equipment to which it is attached may result in an inability to communicate with the system through its ethernet interface. Link mode: 100 Mbit, half duplex, link okĬhange the following to the opposite of the above output, in our case change it to 100/Full duplex. Change IP address of the switch and then change it back to the original IP.Ĭhange the IP settings back to factory defaultĮthernet IP Address :xx.xx.xx.xxĮthernet Subnetmask :xxx.x.x.xĮthernet Subnetmask : Perform hareboot, which will reboot the processor, but not the switch (non-disruptive to fibre channel)ī. Reset eth0 using one of the options below (options are listed in recommended order from Brocade).Ī. Connect to the switch via serial cable.Ģ. NOTE: The workarounds below are considered non-disruptive, however it is recommended that the action plan be carried out during a customer window in case an unexpected reboot occurs.ġ. Workaround for both Director and Departmental switch: NONINFRINGEMENT.Warning: D o not perform "ifconfig eth0 down" command to bring down the Ethernet port as it may cause panic or reboot on departmental class switch or unexpected HAfailover on Director class switch. OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
#BROCADE SAN SWITCH SERVICE MODE SOFTWARE#
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,ĮXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES Included in all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be
Software is furnished to do so, subject to the following Restriction, including without limitation the rights to use,Ĭopy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Obtaining a copy of this software and associated documentationįiles (the "Software"), to deal in the Software without
#BROCADE SAN SWITCH SERVICE MODE FREE#
Permission is hereby granted, free of charge, to any person # agent methods outside of transaction will save configuration immediately # transaction saves configuration at the end, it does not enable effective configuration # creates zone and adds it to the configuration in transaction # gets effecive configuration (false gets name only without members) Zone = Brocade::SAN::Zone.new("host_array_zone") # creates a agent, user must have provisioning rightsĪgent=Brocade::SAN::Provisoning::Agent.create("address","user","password") This wrapper expects some basic understanding of zoning provisioning tasks and should be used to build This is wrapper API for provisioning tasks with added control.
The data will be raw output from the switch with each cmd prefixed by defined/default prompt. You can get the data by calling +data+ and errors by calling +errors+. Response is type of Brocade::SAN::Switch::Response. # change it back to :script when you want to run non-interactive command # calls interactive command and sends response along the way Response=switch.query("switchshow","cfgshow") Response=switch.query("portshow | grep Online ") If the API is not sufficient for your need you can always utilize the Brocade::SAN::Switch#query method to execute arbitrary commands # this will query the switch name and version and open connection to switch only once Query the SAN switch in session block using 1 connection per session Switch=Brocade::SAN::Switch.new("address","user","password") # this will query the switch name and version and open connection to switch twice Query the SAN switch directly using 1 connection per command query You can use BrocadeSAN in 2 different ways: You have option to either run the command manualy or query the switch with pre-defined set of methods.Īdditionally you can use Brocade::SAN::Provisioning::Agent for zoning provisioning tasks. BrocadeSAN provides a simple wrapper API to communicate with Brocade SAN switches using SSH connection.