HP Virtual Connect Migration Guide

Technical white paper | Virtual Connect Migration Techniques
21
Appendix A: Sample SHOW CONFIG Script
The script file below was modified as shown in this document, and used to create the new Virtual Connect configuration with
the Flex10/10D modules.
-> show config -includepoolinfo
Generating configuration. Please wait...
# The commands in this output should be used ONLY for replication purposes for
enclosure SN USE6281BK1 or its replacement. If used for other purposes, unintended
address duplication may occur.
#### IMPORT ENCLOSURE(S) FIRST
# Bulk commands are not used. Using this CLI script to recreate a large configuration with more than 300
networks is not recommended as it can take a long time.
set domain Name=USE6281BK1_vc_domain
set snmp enet ReadCommunity=public
set snmp fc ReadCommunity=public
set ssl Strength=Strong
set user-security StrongPasswords=Disabled MinPasswordLength=3
set ldap Enabled=false
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
set role network Order=tacacs,radius,local
set role server Order=ldap,local
set role storage Order=radius,local
set serverid Type=VC-Defined PoolId=44
### Password for user : 'hp' set to 'changeme'
add user hp Password=changeme Enabled=true Privileges="domain,network,storage,server"
### Password for user : 'net-admin' set to 'changeme'
add user net-admin Password=changeme Enabled=true Privileges="network"
set domain MacType=VC-Defined MacPool=44
set mac-cache Enabled=true Refresh=5
set igmp Enabled=false
set enet-vlan -quiet VlanCapacity=Legacy
set statistics-throughput Enabled=false
set port-protect networkLoop=Enabled
set port-protect pauseFlood=Enabled
add uplinkset UplinkSet_A ConnectionMode=Auto
add uplinkport enc0:1:1 UplinkSet=UplinkSet_A Speed=Auto
add uplinkport enc0:1:2 UplinkSet=UplinkSet_A Speed=Auto
add uplinkset UplinkSet_B ConnectionMode=Auto
add uplinkport enc0:2:1 UplinkSet=UplinkSet_B Speed=Auto
add uplinkport enc0:2:2 UplinkSet=UplinkSet_B Speed=Auto
add network VC-Tunnel -quiet NAGs=Default VLanTunnel=Enabled
add uplinkport enc0:1:3 Network=VC-Tunnel Speed=Auto
add uplinkport enc0:1:4 Network=VC-Tunnel Speed=Auto
add uplinkport enc0:2:3 Network=VC-Tunnel Speed=Auto
add uplinkport enc0:2:4 Network=VC-Tunnel Speed=Auto
add network Backup-Network -quiet NAGs=Default VLanTunnel=Disabled
add uplinkport enc0:1:8 Network=Backup-Network Speed=Auto
add uplinkport enc0:2:8 Network=Backup-Network Speed=Auto
add network Network_100_A -quiet NAGs=Default UplinkSet=UplinkSet_A VLanID=100
set network Network_100_A SmartLink=Enabled
add network Network_101_A -quiet NAGs=Default UplinkSet=UplinkSet_A VLanID=101
set network Network_101_A SmartLink=Enabled
add network Network_102_A -quiet NAGs=Default UplinkSet=UplinkSet_A VLanID=102
set network Network_102_A SmartLink=Enabled
add network Network_103_A -quiet NAGs=Default UplinkSet=UplinkSet_A VLanID=103
set network Network_103_A SmartLink=Enabled
add network Network_104_A -quiet NAGs=Default UplinkSet=UplinkSet_A VLanID=104
set network Network_104_A SmartLink=Enabled