Interface FastEthernet0/1
switchport mode access (default, invisible)
switchport access vlan 1 (default, invisible)
!
Interface FastEthernet0/1
switchport mode access (default, invisible)
switchport access vlan 2
!
Interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1-2004 (default, invisible)
!
Interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1,5-7,9
!
Interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1,5-7,9
switchport access vlan 2 (not in use since the port is in trunk mode)
!
or:
Interface FastEthernet0/1
switchport mode access (default, invisible)
switchport trunk allowed vlan 1,5-7,9 (not in use since the port is configured as an access port)
!
Interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1,5-7,9
switchport trunk native vlan 6
!
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (0)