enable
configure terminal
!
vlan 50
 name HQ-Servers
!
interface e0/1
 description DC - Data Center
 switchport mode access
 switchport access vlan 50
 no shutdown
!
interface e0/2
 description DNS - DNS Server
 switchport mode access
 switchport access vlan 50
 no shutdown
!
interface e0/3
 description Mail - Mail Server
 switchport mode access
 switchport access vlan 50
 no shutdown
!
interface e1/0
 description Ansible - Automation
 switchport mode access
 switchport access vlan 50
 no shutdown
!
interface e1/1
 description FS - File Server
 switchport mode access
 switchport access vlan 50
 no shutdown
!
interface e1/2
 description Web - Web Server
 switchport mode access
 switchport access vlan 50
 no shutdown
!
interface e0/0
 description To R-HQ
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk allowed vlan 50
 no shutdown
!
end
write memory