Chapter 19 Virtual Domains : Virtual Domains in Transparent mode : Example of VDOMs in Transparent mode : Configuring the VLAN switch and router : Configuring the Cisco switch
  
Configuring the Cisco switch
On the Cisco Catalyst 2900 ethernet switch, you need to define the VLANs 100, 200 and 300 in the VLAN database, and then add configuration files to define the VLAN subinterfaces and the 802.1Q trunk interface.
Add this file to Cisco VLAN switch:
!
interface FastEthernet0/1
switchport access vlan 100
!
interface FastEthernet0/5
switchport access vlan 300
!
interface FastEthernet0/6
switchport trunk encapsulation dot1q
switchport mode trunk
!
Switch 1 has the following configuration:
Port 0/1
VLAN ID 100
Port 0/3
VLAN ID 200
Port 0/6
802.1Q trunk