HP Virtual Connect Migration Guide
Technical white paper | Virtual Connect Migration Techniques
24
Appendix B: Sample SHOW CONFIG Script from VC FlexFabric 10Gb/24-port
The script file below was modified as shown in this document, and used to create the new Virtual Connect configuration with
the FlexFabric 20/40 F8 modules.
->show config -includepoolinfo
Generating configuration. Please wait...
# The commands in this output should be used ONLY for replication purposes for
enclosure SN <Sn of primary enclosure> or its replacement. If used for other
purposes, unintended address duplication may occur.
#### IMPORT ENCLOSURE(S) FIRST
### Modify 'ExitOnFailure' property value to FALSE, when executing in script
### mode to avoid exiting (vcmcli returning FAILURE) on a command failure
### set cli ExitOnFailure=TRUE
set domain Name=enc1-FF-c7000_vc_domain
set snmp enet ReadCommunity=public
set snmp fc ReadCommunity=public
set ssl -quiet Strength=Strong
set user-security StrongPasswords=Disabled MinPasswordLength=8
set ldap Enabled=false
### Below command can only be executed by remote user (ldap/tacacs/radius) having a 'domain' privilege
### Locally authenticated users are not allowed to disable or enable local user authentication
### set local-users Enabled=true PrimaryRemoteAuthenticationMethod=none
set tacacs Enabled=false Port=49 Timeout=10 SecondaryPort=49 SecondaryTimeout=10 LoggingEnabled=false
set radius Enabled=false Port=1812 Timeout=10 SecondaryPort=1812 SecondaryTimeout=10
set role domain Order=local,ldap,radius,tacacs
Operations=FirmwareUpdate,RestoreConfig,SaveConfig,SupportFiles
set role network Order=tacacs,radius,local Operations=PortMonitoring
set role server Order=ldap,local Operations=PortMonitoring
set role storage Order=radius,local Operations=
set serverid Type=VC-Defined PoolId=9
### Password for user : 'admin' set to 'changeme'
add user admin Password=changeme Enabled=true Roles="domain,network,storage,server"
set session Timeout=15
set domain MacType=VC-Defined MacPool=9
set mac-cache Enabled=true Refresh=5
set igmp Enabled=false
set enet-vlan -quiet VlanCapacity=Expanded
set statistics-throughput -quiet Enabled=true SampleRate=5m
set port-protect networkLoop=Enabled
set port-protect pauseFlood=Enabled
set lacp-timer Default=Short
add uplinkset SUS-A ConnectionMode=Auto LacpTimer=Domain-Default
add uplinkport enc0:1:X3 UplinkSet=SUS-A Speed=Auto
add uplinkport enc0:1:X4 UplinkSet=SUS-A Speed=Auto
add network-range -quiet UplinkSet=SUS-A nameprefix=Network_ namesuffix=a vlanids=101-105,255 NAGs=Default
SmartLink=Enabled
add uplinkset SUS-B ConnectionMode=Auto LacpTimer=Domain-Default
add uplinkport enc0:2:X3 UplinkSet=SUS-B Speed=Auto
add uplinkport enc0:2:X4 UplinkSet=SUS-B Speed=Auto
add network-range -quiet UplinkSet=SUS-B nameprefix=Network_ namesuffix=b vlanids=101-105,255 NAGs=Default
SmartLink=Enabled
add network heartbeat -quiet NAGs=Default VLanTunnel=Disabled LacpTimer=Domain-Default
add network 1G-max -quiet NAGs=Default VLanTunnel=Disabled LacpTimer=Domain-Default MaxSpeedType=Custom
MaxSpeed=1000
add network 10G-max -quiet NAGs=Default VLanTunnel=Disabled LacpTimer=Domain-Default MaxSpeedType=Custom
MaxSpeed=10000