Posted on October 29, 2020 4:38 pm
 |  Asked by Kevin Malone
 |  87 views
RESOLVED
0
0
Print Friendly, PDF & Email

I’m trying to replicate some functionality cisco has on an arista switch.  The global command “vlan dot1Q tag native” is a common command found on ciscos devices which makes the native vlan on trunk ports require a tag or its dropped (essentially drops all untagged traffic on trunk ports).  I’m not seeing this command in EOS.

I see that you can enact this command on a per port basis “switchport trunk native vlan tag”, but how do I accomplish this globally on an arista?

0
Posted by Atif Khawaja
Answered on November 3, 2020 1:54 am

Hello Kevin,

Thanks for posting the question on Arista EOS Central. I understand that you are looking for a command that can drop or tag the native vlan traffic globally on an Arista Switch.

I was not able to find a global configuration command for this purpose, however upon checking in lab, I came to the conclusion that you can select a range of interfaces and then give 'switchport trunk native vlan tag' command and it will apply to the interfaces specified in the range and will send the native vlan traffic as tagged.

For example, on the lab switch Model DCS-7050SX.

Switch(config)#interface ethernet 1/1-52/4

Switch(config-if-Et1-52/4)#switchport trunk native vlan tag

 

You can apply this command to the range of switch ports only depending upon the configs and it will accomplish the task.

Please do let us know if you have any further questions or concerns.

 

Thanks & Regards

Atif Khawaja

0
Posted by Kevin Malone
Answered on November 3, 2020 11:21 pm

thanks, only downside is when we re-use ports we use the default interface command which will wipe out any port specific commands like this one.  We'll just have to make it part of the individual port configuration process to include this on trunk ports.

 

Mainly wanted to confirm I wasn't missing a global command.

Post your Answer

You must be logged in to post an answer.