Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 13
Registered: ‎02-24-2010

Configuration Backup with FabOS 6.2.2

hy,

I'm searching a way to backup the complete configuration from my san switches included zoneconfig, user and so on.

On our lan switches rancid http://www.shrubbery.net/rancid/ does this job very fine.

I found no command on the switch which shows me the *complete* configuration. For Example:

configshow -a

doesn't show the netmask from the ethernet device, also no user ar shown and so on.

So is there a way to do an backup from the complete configuration, and a way to get it back to the switch?

Super Contributor
Posts: 644
Registered: ‎03-01-2007

Re: Configuration Backup with FabOS 6.2.2

with the command "configdownload" in Fabric OS based SAn Switches.

--->>>> On our lan switches rancid http://www.shrubbery.net/rancid/ does this job very fine.

i assume here you are confused with IP based Switches, and SAN Switches.

Occasional Contributor
Posts: 13
Registered: ‎02-24-2010

Re: Configuration Backup with FabOS 6.2.2

no soory,  configUpload /Configdownload also missing informations for example the netmask from the ethernet Interface or the

account informations. Here the output from it:

fab01-x03:admin> configShow -a

Configuration Format = 2.0
date = Mon Apr 26 18:30:15 2010
FOS version = v6.2.2.0
Number of LS = 0


passwdcfg.minlength:8
passwdcfg.lowercase:0
passwdcfg.uppercase:0
passwdcfg.digits:0
passwdcfg.punctuation:0
passwdcfg.history:1
passwdcfg.minpasswordage:0
passwdcfg.maxpasswordage:0
passwdcfg.warning:0
passwdcfg.lockoutthreshold:0
passwdcfg.lockoutduration:30
passwdcfg.adminlockout:0
passwdcfg.repeat:1
passwdcfg.sequence:1
passwdcfg.status:0
fips.mode:0
fips.selftests:0
ipfilter.0.name:default_ipv4
ipfilter.0.numofrules:12
ipfilter.0.rule.1:0,0x23,0,0,6,22
ipfilter.0.rule.10:0,0x23,0,0,17,123
ipfilter.0.rule.11:0,0x63,0,0,6,600,1023
ipfilter.0.rule.12:0,0x63,0,0,17,600,1023
ipfilter.0.rule.2:0,0x23,0,0,6,23
ipfilter.0.rule.3:0,0x23,0,0,6,897
ipfilter.0.rule.4:0,0x23,0,0,6,898
ipfilter.0.rule.5:0,0x23,0,0,6,111
ipfilter.0.rule.6:0,0x23,0,0,6,80
ipfilter.0.rule.7:0,0x23,0,0,6,443
ipfilter.0.rule.8:0,0x23,0,0,17,161
ipfilter.0.rule.9:0,0x23,0,0,17,111
ipfilter.0.state:3
ipfilter.0.type:0
ipfilter.1.name:default_ipv6
ipfilter.1.numofrules:12
ipfilter.1.rule.1:0,0x23,0,0,6,22
ipfilter.1.rule.10:0,0x23,0,0,17,123
ipfilter.1.rule.11:0,0x63,0,0,6,600,1023
ipfilter.1.rule.12:0,0x63,0,0,17,600,1023
ipfilter.1.rule.2:0,0x23,0,0,6,23
ipfilter.1.rule.3:0,0x23,0,0,6,897
ipfilter.1.rule.4:0,0x23,0,0,6,898
ipfilter.1.rule.5:0,0x23,0,0,6,111
ipfilter.1.rule.6:0,0x23,0,0,6,80
ipfilter.1.rule.7:0,0x23,0,0,6,443
ipfilter.1.rule.8:0,0x23,0,0,17,161
ipfilter.1.rule.9:0,0x23,0,0,17,111
ipfilter.1.state:3
ipfilter.1.type:1
snmp.accessList.0.address:0.0.0.0
snmp.accessList.0.address_v6:0/0
snmp.accessList.0.rw:1
snmp.accessList.1.address:0.0.0.0
snmp.accessList.1.address_v6:0/0
snmp.accessList.1.rw:1
snmp.accessList.2.address:0.0.0.0
snmp.accessList.2.address_v6:0/0
snmp.accessList.2.rw:1
snmp.accessList.3.address:0.0.0.0
snmp.accessList.3.address_v6:0/0
snmp.accessList.3.rw:1
snmp.accessList.4.address:0.0.0.0
snmp.accessList.4.address_v6:0/0
snmp.accessList.4.rw:1
snmp.accessList.5.address:0.0.0.0
snmp.accessList.5.address_v6:0/0
snmp.accessList.5.rw:1
snmp.agtParty.0.address:0.0.0.0
snmp.agtParty.0.address_v6:0
snmp.agtParty.0.authPrivSecretSmiley Frustratedecret C0de
snmp.agtParty.0.index:1
snmp.agtParty.0.trapSeverityLevel:0
snmp.agtParty.0.trapport:162
snmp.agtParty.1.address:0.0.0.0
snmp.agtParty.1.address_v6:0
snmp.agtParty.1.authPrivSecretSmiley SurprisedrigEquipMfr
snmp.agtParty.1.index:2
snmp.agtParty.1.trapSeverityLevel:0
snmp.agtParty.1.trapport:162
snmp.agtParty.2.address:0.0.0.0
snmp.agtParty.2.address_v6:0
snmp.agtParty.2.authPrivSecretSmiley Tonguerivate
snmp.agtParty.2.index:3
snmp.agtParty.2.trapSeverityLevel:0
snmp.agtParty.2.trapport:162
snmp.agtParty.3.address:0.0.0.0
snmp.agtParty.3.address_v6:0
snmp.agtParty.3.authPrivSecretSmiley Tongueublic
snmp.agtParty.3.index:4
snmp.agtParty.3.trapSeverityLevel:0
snmp.agtParty.3.trapport:162
snmp.agtParty.4.address:0.0.0.0
snmp.agtParty.4.address_v6:0
snmp.agtParty.4.authPrivSecret:common
snmp.agtParty.4.index:5
snmp.agtParty.4.trapSeverityLevel:0
snmp.agtParty.4.trapport:162
snmp.agtParty.5.address:0.0.0.0
snmp.agtParty.5.address_v6:0
snmp.agtParty.5.authPrivSecret:FibreChannel
snmp.agtParty.5.index:6
snmp.agtParty.5.trapSeverityLevel:0
snmp.agtParty.5.trapport:162
snmp.authentTraps:0
snmp.mibCap:536870759
snmp.seclevel:0
snmp.setseclevel:0
snmp.snmpv3EngineBoots:16
snmp.snmpv3TrapTarget.0.trapSeverityLevel:0
snmp.snmpv3TrapTarget.0.trapTargetAddr:0.0.0.0
snmp.snmpv3TrapTarget.0.trapTargetAddr_v6:0
snmp.snmpv3TrapTarget.0.trapTargetIndex:1
snmp.snmpv3TrapTarget.0.trapUsmIndex:1
snmp.snmpv3TrapTarget.0.trapport:162
snmp.snmpv3TrapTarget.1.trapSeverityLevel:0
snmp.snmpv3TrapTarget.1.trapTargetAddr:0.0.0.0
snmp.snmpv3TrapTarget.1.trapTargetAddr_v6:0
snmp.snmpv3TrapTarget.1.trapTargetIndex:2
snmp.snmpv3TrapTarget.1.trapUsmIndex:2
snmp.snmpv3TrapTarget.1.trapport:162
snmp.snmpv3TrapTarget.2.trapSeverityLevel:0
snmp.snmpv3TrapTarget.2.trapTargetAddr:0.0.0.0
snmp.snmpv3TrapTarget.2.trapTargetAddr_v6:0
snmp.snmpv3TrapTarget.2.trapTargetIndex:3
snmp.snmpv3TrapTarget.2.trapUsmIndex:3
snmp.snmpv3TrapTarget.2.trapport:162
snmp.snmpv3TrapTarget.3.trapSeverityLevel:0
snmp.snmpv3TrapTarget.3.trapTargetAddr:0.0.0.0
snmp.snmpv3TrapTarget.3.trapTargetAddr_v6:0
snmp.snmpv3TrapTarget.3.trapTargetIndex:4
snmp.snmpv3TrapTarget.3.trapUsmIndex:4
snmp.snmpv3TrapTarget.3.trapport:162
snmp.snmpv3TrapTarget.4.trapSeverityLevel:0
snmp.snmpv3TrapTarget.4.trapTargetAddr:0.0.0.0
snmp.snmpv3TrapTarget.4.trapTargetAddr_v6:0
snmp.snmpv3TrapTarget.4.trapTargetIndex:5
snmp.snmpv3TrapTarget.4.trapUsmIndex:5
snmp.snmpv3TrapTarget.4.trapport:162
snmp.snmpv3TrapTarget.5.trapSeverityLevel:0
snmp.snmpv3TrapTarget.5.trapTargetAddr:0.0.0.0

snmp.snmpv3TrapTarget.5.trapTargetAddr_v6:0
snmp.snmpv3TrapTarget.5.trapTargetIndex:6
snmp.snmpv3TrapTarget.5.trapUsmIndex:6
snmp.snmpv3TrapTarget.5.trapport:162
snmp.snmpv3Usm.0.usmAuthProtocol:3
snmp.snmpv3Usm.0.usmAuthSecret:adminpasswd1
snmp.snmpv3Usm.0.usmIndex:1
snmp.snmpv3Usm.0.usmPrivProtocol:2
snmp.snmpv3Usm.0.usmPrivSecret:adminpasswd1
snmp.snmpv3Usm.0.usmUserName:snmpadmin1
snmp.snmpv3Usm.1.usmAuthProtocol:3
snmp.snmpv3Usm.1.usmAuthSecret:adminpasswd2
snmp.snmpv3Usm.1.usmIndex:2
snmp.snmpv3Usm.1.usmPrivProtocol:2
snmp.snmpv3Usm.1.usmPrivSecret:adminpasswd2
snmp.snmpv3Usm.1.usmUserName:snmpadmin2
snmp.snmpv3Usm.2.usmAuthProtocol:3
snmp.snmpv3Usm.2.usmAuthSecret:adminpasswd3
snmp.snmpv3Usm.2.usmIndex:3
snmp.snmpv3Usm.2.usmPrivProtocol:2
snmp.snmpv3Usm.2.usmPrivSecret:adminpasswd3
snmp.snmpv3Usm.2.usmUserName:snmpadmin3
snmp.snmpv3Usm.3.usmAuthProtocol:3
snmp.snmpv3Usm.3.usmAuthSecret:userpasswd1
snmp.snmpv3Usm.3.usmIndex:4
snmp.snmpv3Usm.3.usmPrivProtocol:2
snmp.snmpv3Usm.3.usmPrivSecret:userpasswd1
snmp.snmpv3Usm.3.usmUserName:snmpuser1
snmp.snmpv3Usm.4.usmAuthProtocol:3
snmp.snmpv3Usm.4.usmAuthSecret:userpasswd2
snmp.snmpv3Usm.4.usmIndex:5
snmp.snmpv3Usm.4.usmPrivProtocol:2
snmp.snmpv3Usm.4.usmPrivSecret:userpasswd2
snmp.snmpv3Usm.4.usmUserName:snmpuser2
snmp.snmpv3Usm.5.usmAuthProtocol:3
snmp.snmpv3Usm.5.usmAuthSecret:userpasswd3
snmp.snmpv3Usm.5.usmIndex:6
snmp.snmpv3Usm.5.usmPrivProtocol:2
snmp.snmpv3Usm.5.usmPrivSecret:userpasswd3
snmp.snmpv3Usm.5.usmUserName:snmpuser3
snmp.sysContact:Field Support.
snmp.sysDescription:Fibre Channel Switch.
snmp.sysLocation:End User Premise.
snmp.sysObjectID:1588.2.1.1.1
snmp.trapEnterpriseFlag:0
ssl.certfile:none
ssl.crypto.length:128
ssl.keyfileSmiley Tonguevt_key
ssl.root.certfile:none
ts.tzh:0
ts.tzm:0
ts.tz:Europe/Berlin
sec.fstov:5000
sec.mode:0
sec.versionStamp:0
trace.ftp.hostname:
trace.ftp.username:
trace.ftp.password:
trace.ftp.remotedir:
trace.ftp.period:0
trace.ftp.enableflag:0
syslog.address.1:192.168.4.98
system.blade.bladeFaultOnHwErrMsk:0
system.login.timeout:600
cfgload.secure:0
cfgload.signed:0
diag.postDisable:0


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX

date = Mon Apr 26 18:30:15 2010

SwitchName = fab01-x03
Fabric ID = 128


boot.name:fab01-x03
boot.ipa:192.168.44.217
boot.licid:10:00:00:05:1e:de:fa:1a
boot.mac:10:00:00:05:1e:de:fa:1a
boot.device:eth0
boot.gateway.ipa:192.168.44.209


Custom.index:0
acl.clear:0
ag.port.nfportfailback:0x0
ag.port.nfportfailover:0x0
ag.port.nfporttopo.0:0x0
ag.port.nfporttopo.1:0x0
ag.port.nfporttopo.10:0x0
ag.port.nfporttopo.11:0x0
ag.port.nfporttopo.12:0x0
ag.port.nfporttopo.13:0x0
ag.port.nfporttopo.14:0x0
ag.port.nfporttopo.15:0x0
ag.port.nfporttopo.16:0x0
ag.port.nfporttopo.17:0x0
ag.port.nfporttopo.18:0x0
ag.port.nfporttopo.19:0x0
ag.port.nfporttopo.2:0x0
ag.port.nfporttopo.20:0x0
ag.port.nfporttopo.21:0x0
ag.port.nfporttopo.22:0x0
ag.port.nfporttopo.23:0x0
ag.port.nfporttopo.24:0x0
ag.port.nfporttopo.25:0x0
ag.port.nfporttopo.26:0x0
ag.port.nfporttopo.27:0x0
ag.port.nfporttopo.28:0x0
ag.port.nfporttopo.29:0x0
ag.port.nfporttopo.3:0x0
ag.port.nfporttopo.30:0x0
ag.port.nfporttopo.31:0x0
ag.port.nfporttopo.32:0x0
ag.port.nfporttopo.33:0x0
ag.port.nfporttopo.34:0x0
ag.port.nfporttopo.35:0x0
ag.port.nfporttopo.36:0x0
ag.port.nfporttopo.37:0x0
ag.port.nfporttopo.38:0x0
ag.port.nfporttopo.39:0x0
ag.port.nfporttopo.4:0x0
ag.port.nfporttopo.5:0x0
ag.port.nfporttopo.6:0x0
ag.port.nfporttopo.7:0x0
ag.port.nfporttopo.8:0x0
ag.port.nfporttopo.9:0x0
alpaList:1
audit.cfg.class:1,2,3,4,5,
auth.policy:0
auth.policy.dev:3
cer.internal_port_code:1
fabric.domain:1
fabric.ididmode:0
fabric.ops.BBCredit:16
fabric.ops.E_D_TOV:2000
fabric.ops.R_A_TOV:10000
fabric.ops.bladeFault_on_hwErrlevel:0
fabric.ops.dataFieldSize:2112
fabric.ops.max_hops:7
fabric.ops.mode.fcpProbeDisable:0
fabric.ops.mode.isolate:0
fabric.ops.mode.longDistance:0
fabric.ops.mode.noClassF:0
fabric.ops.mode.pidFormat:1
fabric.ops.mode.tachyonCompat:0
fabric.ops.mode.unicastOnly:0
fabric.ops.mode.useCsCtl:0
fabric.ops.vc.class.2:2
fabric.ops.vc.class.3:3
fabric.ops.vc.config:0xc0
fabric.ops.vc.linkCtrl:0
fabric.ops.vc.multicast:7
fabric.ops.wan_tov:0
fabric.principalSwSelMode:0
fc4.fcp.productId:FC Switch
fc4.fcp.vendorId:BROCADE
fcAL.alwaysSendRSCN:0
fcAL.fanFrameDisable:0
fcAL.openSendCLS:4
fcAL.useAltBBCredit:0
fdd.acceptcfg.auth:1
fdd.acceptcfg.dcc:1
fdd.acceptcfg.fcs:1
fdd.acceptcfg.ipf:1
fdd.acceptcfg.pwd:1
fdd.acceptcfg.scc:1
fdd.fabwidecfg:
fdd.hash.dcc:
fdd.hash.fbw:
fdd.hash.pwd:
fdd.hash.scc:
fdd.hashpresent.dcc:0
fdd.hashpresent.fbw:0
fdd.hashpresent.fcs:0
fdd.hashpresent.pwd:0
fdd.hashpresent.scc:0
featuredb.status:1
ficu.EBCDICcodePage:37
ficu.MIHPTO:180
ficu.fmsmode:0
flannel.ops.frameColMethodSmiley Tongueiling
flannel.ops.openBBCredit:4
gen.fabos:0
gen.zone:0
lsportCfg:0,0x10000000,0x0;1,0x10000000,0x0;2,0x10000000,0x0;3,0x10000000,0x0;4,0x10000000,0x0;5,0x10000000,0x0;6,0x10000000,0x0;7,0x10000000,0x0;8,0x10000000,0x0;9,0x10000000,0x0;10,0x10000000,0x0;11,0x10000000,0x0;12,0x10000000,0x0;13,0x10000000,0x0;14,0x10000000,0x0;15,0x10000000,0x0;16,0x10000000,0x0;17,0x10000000,0x0;18,0x10000000,0x0;19,0x10000000,0x0;20,0x10000000,0x0;21,0x10000000,0x0;22,0x10000000,0x0;23,0x10000000,0x0;
ms.PlatEnable:0
ms.TDEnable:0
ns.DomRscnToDevForSwChg.enable:0
ns.EndDeviceRscnFormat:1
oemLogo:0
portCfg:0,0x10000000,0x0;1,0x10000000,0x0;2,0x10000000,0x0;3,0x10000000,0x0;4,0x10000000,0x0;5,0x10000000,0x0;6,0x10000000,0x0;7,0x10000000,0x0;8,0x10000000,0x0;9,0x10000000,0x0;10,0x10000000,0x0;11,0x10000000,0x0;12,0x10000000,0x0;13,0x10000000,0x0;14,0x10000000,0x0;15,0x10000000,0x0;16,0x10000000,0x0;17,0x10000000,0x0;18,0x10000000,0x0;19,0x10000000,0x0;20,0x10000000,0x0;21,0x10000000,0x0;22,0x10000000,0x0;23,0x10000000,0x0;
quickLoop.holdOpenInit:0
quickLoop.noAlpaZero:0
quickLoop.peerWWN:00:00:00:00:00:00:00:00
quickLoop.portBitmap:0x0000000000000000
quickLoop.softInit:0
rasm.filter:5
rlsDisable:1
route.delayReroute:0
route.embeddedPortBcast:1
route.stickyRoutes:0
rpcd.callback.enabled:0
rpcd.callback.secret:secret
rpcd.enabled:1
rpcd.ssl.enabled:0
secrpc.enabled:0
shell.delete:0
shell.quiet:0
ssn:ALJ0606F03T
switch.domain_id_offset:96
switch.interopMode:0
switch.largeEntry.cap:0
switch.mcdtDefaultZone:0
switch.mcdtFabricMode:0
switch.mcdtSafeZone:0
switch.status.policy.Fans.down:2
switch.status.policy.Fans.marginal:1
switch.status.policy.FaultyPorts.down:6
switch.status.policy.FaultyPorts.marginal:2
switch.status.policy.Flash.down:0
switch.status.policy.Flash.marginal:1
switch.status.policy.MarginalPorts.down:6
switch.status.policy.MarginalPorts.marginal:2
switch.status.policy.MissingSFPs.down:0
switch.status.policy.MissingSFPs.marginal:0
switch.status.policy.PowerSupplies.down:1
switch.status.policy.PowerSupplies.marginal:1
switch.status.policy.Temperatures.down:2
switch.status.policy.Temperatures.marginal:1
system.cpuLoad:121
thresh.alarmsfilter:1
ts.clockServer:LOCL
ts.clockServerList:LOCL
xlativeModeDisable:0
zoning.check.nodeNameDisabled:0
zoning.standardMode:0


**Zoning Informations Removed ***



--------------------------------------------------------

You see no netmask, no user accounts ?

No I'm not confused with IP bases Switches. I will only use the same configuration managment software if possible.

rancid is a collection of scipts which will login to an switch, request the configuration, safe this in cvs or subversion and tracks so all changes.

But in the moment I don't see a way to get the whole configuration from the brocade switches.

Super Contributor
Posts: 644
Registered: ‎03-01-2007

Re: Configuration Backup with FabOS 6.2.2

"configdownload -all"

for details/operands refer the Command Reference Manual

Occasional Contributor
Posts: 13
Registered: ‎02-24-2010

Re: Configuration Backup with FabOS 6.2.2

I have found this, but this belongs to configUpload and configShow so it also does not recover the netmask, user accounts and the data that is missing in configUpload or configShow -a

Super Contributor
Posts: 425
Registered: ‎03-03-2010

Re: Configuration Backup with FabOS 6.2.2

if u talk about config bup  of SAN SWs, then it is configupload. for supportdata it is  supportshow/supportsave

Occasional Contributor
Posts: 13
Registered: ‎02-24-2010

Re: Configuration Backup with FabOS 6.2.2

Yes I know but both configShow -a and configUpload -a has missing data on 6.2.2.

Try It self make an configUpload and search for netmask or for teh user accounts on the switch!!!

It seems that it is noch possible to get an complete backup!

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.