Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


nztim

4012 posts

Uber Geek
+1 received by user: 2710

ID Verified
Trusted
TEAMnetwork
Subscriber

#270560 14-May-2020 22:36
Send private message

Hi There, this is tearing my hair our!

 

Objective: Switchport fastEthernet 0/0/0 is untagged VLAN1 and tagged VLAN2

 

RTR01#interface fastEthernet 0/0/0
RTR01(config-if)##switchport mode ?
  access        Set trunking mode to ACCESS unconditionally
  dot1q-tunnel  set trunking mode to TUNNEL unconditionally
  trunk         Set trunking mode to TRUNK unconditionally

 

it seems I can only really use access (single untagged VLAN only) or trunk (both VLANs Tagged) - I don't really dot1q-tunnel

 

Anyone with some insight into what I am missing? 





Any views expressed on these forums are my own and don't necessarily reflect those of my employer. 


Filter this topic showing only the reply marked as answer Create new topic
Intravix
110 posts

Master Geek
+1 received by user: 49


  #2484146 14-May-2020 23:09
Send private message

You will want to configure it as a trunk port with a native VLAN (basically means that ingress untagged frames will be associated with the native vlan, and frames from that VLAN will be untagged on egress).

 

switchport mode trunk

 

switchport trunk native vlan 1

 

switchport trunk allowed vlan 2




nztim

4012 posts

Uber Geek
+1 received by user: 2710

ID Verified
Trusted
TEAMnetwork
Subscriber

  #2484155 14-May-2020 23:42
Send private message

Intravix:

 

You will want to configure it as a trunk port with a native VLAN (basically means that ingress untagged frames will be associated with the native vlan, and frames from that VLAN will be untagged on egress).

 

switchport mode trunk

 

switchport trunk native vlan 1

 

switchport trunk allowed vlan 2

 

 

Thanks that worked!

 

Got this error though! - Command rejected: Bad VLAN allowed list. You have to include all default vlans, e.g. 1-2,1002-1005.

 

Google suggests that because the IOS is old, not a big to include them though!

 

 

 

 





Any views expressed on these forums are my own and don't necessarily reflect those of my employer. 


Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.