Assign hostname to switch
Create Inter-Site Links (join two switches together to share zones)
trunk protocol enable #to enable trunking protocol
no trunk protocol enable #to disable trunking protocol
trunk protocol auto #to set trunking in auto mode . The preferred conf for CISCO MDS switches is (on) (auto) – one switch enabled, second is auto.
1. Connect 2 switches with FC cable on ANY port
2. In each switch, change port mode to TE:
show interface fc1/1
show running-config interface 1/1 # to see a current configuration
switchport mode auto /on /off #will automatically set the port in TE mode in case it was previously set in another mode
3. Trunking ports should remain in VSAN1
4. Create new VSAN (same name and number) on both switches.
5. On both switches, run:
switchport trunk allowed vsan 2-4 (To configure an allowed-active list of VSANs for an interface)
switchport trunk allowed vsan add 6 (Expands the specified VSAN 6 to the new allowed list)
no switchport trunk allowed vsan 2-4 (Disallow VSANS from being trunked)
no switchport trunk allowed vsan 5
One important note: you should create a VSANs BEFORE you allowing trunking on them –
otherwise trunking port will be automatically disabled due to VSAN mismatch.
Same problem can occur, if trunking interfaces are located in different VSANs
(for example, fc1/1 on switch A is in VSAN 2, while fc1/9 on switch B is in VSAN 3).