cancel
Showing results for 
Search instead for 
Did you mean: 

Voss Access/Trunk Port configuration

Voss Access/Trunk Port configuration

Isaac001
New Contributor II

Hi Support,

I have gone through the extreme documentation but still the configuration between access port and trunk port in VOSS cli is really confusing to me.

For example:

vlan members 23 1/7 portmember I think refers to trunk port configuration on port 1/7

This article:https://extreme-networks.my.site.com/ExtrArticleDetail?an=000104947   Further adds to the configuration.

In the documentation, the there is also this Example:

!

For untagging the port in a VLAN:
#vlan create 12 type port-mstprstp 0 (Create VLAN and type)
#vlan mem 2/2 12 (Add it as a member)
#int gig 2/2
#encapsulation dot1q
#default-vlan-id port 2/2 12 (Specifying that vlan 12 is the default untagged vlan OR Native VLAN)
#untag-port-default-vlan (Specifying that vlan 12 will be used as untagged)
#exit

!

Kindly clarify with clear examples of the differences between access port and trunk port interface configuration in voss.

Thank you all!

Isaac.

1 ACCEPTED SOLUTION

Hello,

Are we using VOSS commands here???

The only way to configure a trunk or tagged port or an access or untagged port in VOSS is

VOSS_SWITCH-01:1(config-if)#interface gigabitEthernet 1/25
VOSS_SWITCH-01:1(config-if)#encapsulation dot1q
VOSS_SWITCH-01:1(config-if)#no encapsulation dot1q

Switchport, I think, is a Cisco command.

In VOSS (and also BOSS ERS), the default-vlan-id is always configured.
- When it is an access port then the default-vlan-id = automatically the to that port assigned vlan id and this cannot be changed.
- When it is a tagged or trunk port the default-vlan-id is also configured on the port but it has no meaning or effect unless untag-port-default-vlan is configured, then packets originating from the default-vlan-id are send out untagged (often used to tagg packets for an IP phone and untag packets for a PC connected behind the IP phone).

As an example I configured vlans 3000 3001 and 4000 on port 1/25 and configured vlan 4000 to be untaged.

SMC-MCN-003-01:1#show interfaces gigabitEthernet vlan 1/25
************************************************************************************
Command Execution Time: Tue May 28 21:48:55 2024 CEST
************************************************************************************
====================================================================================================

Port Vlans
====================================================================================================
PORT           DISCARD  DISCARD    DEFAULT  VLAN           PORT    UNTAG    DYNAMIC  UNTAG
NUM   TAGGING  TAGFRAM  UNTAGFRAM  VLANID   IDS            TYPE    DEFVLAN  VLANS    VLANS
----------------------------------------------------------------------------------------------------
1/25  enable   false    false      4000    3000,3001,4000  normal  enable   P        4000
----------------------------------------------------------------------------------------------------
DYNAMIC VLAN Legend:

P=Protocol enabled.
SMC-MCN-003-01:1#

 

View solution in original post

10 REPLIES 10

gfriedl
Extreme Employee

your examples are fine. so 1/1 and 1/2 have tagging disabled, which means these are access (not trunk) ports.

Port 1/3 has encapsulation dot1q enabled, so is in trunk mode.

regarding PVID: if a trunk was never attached to any VLAN, the PVID is just 0. if it was assigned, it changes to this vlan and it stays so, when you add other VLANs to the trunk. you might chnage it anytime and this is necessary, when you want/must use untagged native VLANs, which on VOSS is defined by this PVID. To use untagged native vlan, you must specify it by PVID and also set "untag-port-default-vlan" on this port (or mlt).

GTM-P2G8KFN