CatOS: How do I tag the native VLAN on a 802.1q trunk

Answered Question
Aug 19th, 2010

Hi Guys,

In IOS you can ask aswitch to tag yor native vlan traffic over a .1q trunk using the switchport trunk native vlan tag command. Is there an equivilant command in CatOS? And if so, can someone tell me what it is?

Thanks in advance

Cheers

Scott

I have this problem too.
0 votes
Correct Answer by Lei Tian about 3 years 8 months ago

Hi Scott,

'set port dot1q-all-tagged' is the equivilant CATOS command. Check the command reference of your running release to see if this command is available.

HTH,

Lei Tian

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
Scott Cannon Thu, 08/19/2010 - 03:47

Doesnt this set the native vlan? I already have my native vlan set (the default 1) I just want to have packets for that vlan tagged on the trunk link, and I'd prefer to do it without changing native vlan.

Will this command do the job? (I dont have a test environment so I'm relying on NetPro's experiences before implementing)

Cheers

Scott

foreverkaruppu Thu, 08/19/2010 - 03:59

Hi,

The command which imentioned in my thread will set the native vlan from vlan 1 to the new native vlan(by default native vlan is 1).

Generally all the frames will have their own vlan tag id.

Frames belonging to the Native VLAN do NOT carry VLAN tags when sent over the trunk. Conversely, if an untagged frame is received on a trunk port, the frame is associated with the Native VLAN for this port.

Hope it will clarify your doubt.

Thanks

Samy

Scott Cannon Thu, 08/19/2010 - 04:02

Hi

Regarding your comment "Frames belonging to the Native VLAN do NOT carry VLAN tags when sent over the trunk." this is normally true. However ou can ove-ride this in IOS using the command "sw trunk nat vlan tag"

I seek the same command for CatOS. I cant find it anywhere.... perhaps CatOS doesnt support this feature...

Rgds

Scott

Correct Answer
Lei Tian Thu, 08/19/2010 - 04:03

Hi Scott,

'set port dot1q-all-tagged' is the equivilant CATOS command. Check the command reference of your running release to see if this command is available.

HTH,

Lei Tian

Scott Cannon Thu, 08/19/2010 - 04:19

Thanks Lei.

You wouldnt beleive how hard it is to find something so simple on the internet. Much appreciated. Did the trick nicely.

Cheers

Scott

Lei Tian Thu, 08/19/2010 - 06:11

Yes, totally agree. When I search myself on internet, google always give me other people with same name.

Glad to help!

Cheers

Lei Tian

Actions

Login or Register to take actions

This Discussion

Posted August 19, 2010 at 3:36 AM
Stats:
Replies:7 Avg. Rating:5
Views:1520 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,730
4 7,083
5 6,742
Rank Username Points
150
72
69
65
45