I've bought a Cisco WS-C3560CX-8XPD-S consolidate some things, and to learn some IOS.
And mainly because it's cool for the hobby
The WS-C3560CX-8XPD-S has six 1GbE interface ports, two multi-GbE interface ports and two SFP+ interface ports.
It also has POE, so I can connect my UbiQuiti AP to it.
In my hypervisor server (Free Hyper-V 2012 R2) I will install a Qlogic card with two SFP+ ports, of which I will use one port connect to the first SFP+ port on the Cisco switch.
The port will be divided in four Functions. One for Management, one for WAN and one for LAN.
The fourth is a spare.
I want to set up two VLANs. One for WAN and one for LAN.
And they both have to work over the SFP+ cable (Twinax).
The WAN VLAN will have a 1GbE port and the SFP+ port.
The LAN VLAN will have several 1GbE ports and the SFP+ port.
I would like to use this topic to gain knowledge, and set up an interesting environment at home.
Regarding this setup, I have experience from my previous job where we ran Hyper-V clusters connected with SFP+ to Cisco Nexus switches, who were in turn connected to Cisco 4500E core switches.
The Nexus was set in transparent mode. The VM's had the VLAN ID set in their settings, not in the guest OS. The vSwitches, in general, didn't have a VLAN ID set because of the VM's working in several VLANs.
VLANs were configured on the core switches.
However, my Cisco IOS skills are minimal. Hence this topic.
What I've figured out so far, is that after I create a VLAN I add interfaces to it.
And in the case of my WAN VLAN I need to set the switchport to trunk allowed.
The 1GbE port connected to my cable mode will not have trunk allowed, but native.
But I am not 100% sure if that is correct. If it is, it's because that port is not connected to other VLANs.
Am I right, or did I miss something?
And mainly because it's cool for the hobby
The WS-C3560CX-8XPD-S has six 1GbE interface ports, two multi-GbE interface ports and two SFP+ interface ports.
It also has POE, so I can connect my UbiQuiti AP to it.
In my hypervisor server (Free Hyper-V 2012 R2) I will install a Qlogic card with two SFP+ ports, of which I will use one port connect to the first SFP+ port on the Cisco switch.
The port will be divided in four Functions. One for Management, one for WAN and one for LAN.
The fourth is a spare.
I want to set up two VLANs. One for WAN and one for LAN.
And they both have to work over the SFP+ cable (Twinax).
The WAN VLAN will have a 1GbE port and the SFP+ port.
The LAN VLAN will have several 1GbE ports and the SFP+ port.
I would like to use this topic to gain knowledge, and set up an interesting environment at home.
Regarding this setup, I have experience from my previous job where we ran Hyper-V clusters connected with SFP+ to Cisco Nexus switches, who were in turn connected to Cisco 4500E core switches.
The Nexus was set in transparent mode. The VM's had the VLAN ID set in their settings, not in the guest OS. The vSwitches, in general, didn't have a VLAN ID set because of the VM's working in several VLANs.
VLANs were configured on the core switches.
However, my Cisco IOS skills are minimal. Hence this topic.
What I've figured out so far, is that after I create a VLAN I add interfaces to it.
And in the case of my WAN VLAN I need to set the switchport to trunk allowed.
Code:
interface TenGigabitEthernet1/0/1
switchport access vlan 666
switchport trunk allowed vlan 666
switchport mode trunk
But I am not 100% sure if that is correct. If it is, it's because that port is not connected to other VLANs.
Code:
interface GigabitEthernet1/0/1
switchport access vlan 666
switchport trunk native vlan 666
switchport mode trunk