enable
configure terminal
!
vlan 10
 name IT
!
vlan 20
 name Management
!
interface e0/1
 description PCI-1 - IT
 switchport mode access
 switchport access vlan 10
 no shutdown
!
interface e0/2
 description PCI-2 - IT
 switchport mode access
 switchport access vlan 10
 no shutdown
!
interface e0/3
 description PCM-1 - Management
 switchport mode access
 switchport access vlan 20
 no shutdown
!
interface e1/0
 description PCM-2 - Management
 switchport mode access
 switchport access vlan 20
 no shutdown
!
interface e0/0
 description To R-HQ
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk allowed vlan 10,20
 no shutdown
!
end
write memory