mdgajjar

updated

5 years ago

M

mdgajjar

2 Intern

34 Posts

0

5036

August 10th, 2021 21:00

Trunk example S4810

Hello All,

Please share Trunk configuration for S4810.  lets say I want to pass Vlan 100  to 500 on interface Ten. 0/1

Ten 0/1 is connected to another Dell S4810 switch.

  • DELL-Josh Cr

    Community Manager

    9693 Posts

    43676 Points

    3526

    0

    Posted August 11th, 2021 11:00

    In that case, use switchport trunk allowed vlan 100,500 Page 408 https://dell.to/2X8Cgkr

     

  • DELL-Erman O

    Moderator

    2984 Posts

    14874 Points

    3537

    0

    Posted August 11th, 2021 02:00

    Hello,

     

    I found an example like this and hope this will useful 

     

    vlan-stack trunk

    Specify a Layer 2 port or port channel as a trunk port to the stackable VLAN network.

    Syntax
    vlan-stack trunk

    To remove a trunk port designation from the selected interface, use the no vlan-stack trunk command.

    Defaults
    Not configured.
    Command Modes
    INTERFACE
    Command History

    This guide is platform-specific. For command information about other platforms, see the relevant Dell Networking OS Command Line Reference Guide.

    Usage Information

    Prior to using this command, to place the interface in Layer 2 mode, use the switchport command.

    To remove the trunk port designation, first remove the port (using the no member interface command) from all stackable VLAN-enabled VLANs.

    In Example 1, a VLAN-Stack trunk port is configured and then made part of a single-tagged VLAN.

    In Example 2, the tag protocol identifier (TPID) is set to 88A8. The Te 3/10 port is configured to act as a VLAN-Stack access port; the Te 5/1 port acts as a VLAN-Stack trunk port, switching stackable VLAN traffic for VLAN 10, while also switching untagged traffic for VLAN 30 and tagged traffic for VLAN 40. (To allow VLAN 30 traffic, you need the native VLAN feature. Use the portmode hybrid command. For more information, see the portmode hybrid command.

    Example 1
    Dell(conf-if-te-1/42)# switchport
    Dell(conf-if-te-1/42)# vlan-stack trunk
    Dell(conf-if-te-1/42)# show config
    !
    interface TenGigabitEthernet 1/42
      no ip address
      switchport
      vlan-stack trunk
      no shutdown
    Dell(conf-if-te-1/42)# interface vlan 100
    Dell(conf-if-vl-100)# vlan-stack compatible
    Dell(conf-if-vl-100-stack)# member tengigabitethernet 1/42
    Dell(conf-if-vl-100-stack)# show config
    !
    interface Vlan 100
      no ip address
      vlan-stack compatible
      member TenGigabitEthernet 1/42
      shutdown
    Dell(conf-if-vl-100-stack)# interface vlan 20
    Dell(conf-if-vl-20)# tagged Tengigabitethernet 1/42
    Dell(conf-if-vl-20)# show config
    !
    interface Vlan 20
      no ip address
      tagged TenGigabitEthernet 1/42
      shutdown
    Dell(conf-if-vl-20)# do show vlan
    Codes: * - Default VLAN, G - GVRP VLANs
    Q: U - Untagged, T - Tagged
       x - Dot1x untagged, X - Dot1x tagged
       G - GVRP tagged, M - Vlan-stack
    
      NUM  Status Description   Q Ports
    * 1    Inactive
      20   Active               T Te 1/42
      100  Active               M Te 1/42
    Dell(conf-if-vl-20)#
    Example 2
    Dell(config)# vlan-stack protocol-type 88A8
    Dell(config)# interface TenGigabitethernet 3/10
    Dell(conf-if-te-3/10)# no shutdown
    Dell(conf-if-te-3/10)# switchport
    Dell(conf-if-te-3/10)# vlan-stack access
    Dell(conf-if-te-3/10)# exit
    
    Dell(config)# interface TenGigabitethernet 5/1
    Dell(conf-if-te-5/1)# no shutdown
    Dell(conf-if-te-5/1)# portmode hybrid
    Dell(conf-if-te-5/1)# switchport
    Dell(conf-if-te-5/1)# vlan-stack trunk
    Dell(conf-if-te-5/1)# exit
    
    Dell(config)# interface vlan 10
    Dell(conf-if-vlan)# vlan-stack compatible
    Dell(conf-if-vlan)# member Te 4/1, Te 3/10, TenGi 5/1
    Dell(conf-if-vlan)# exit
    
    Dell(config)# interface vlan 30
    Dell(conf-if-vlan)# untagged TenGi 5/1
    Dell(conf-if-vlan)# exit
    Dell(config)#
    
    Dell(config)# interface vlan 40
    Dell(conf-if-vlan)# tagged TenGi 5/1
    Dell(conf-if-vlan)# exit
    Dell(config)#


    Hope this will help!

    DELL-Erman O

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • mdgajjar

    2 Intern

    34 Posts

    3528

    0

    Posted August 11th, 2021 10:00

    Thanks and appreciate for your reply.

     

    I am not using stack here. that's a just standalone switch. that trucking config is little bit confusing here.  

  • mdgajjar

    2 Intern

    34 Posts

    3392

    0

    Posted September 9th, 2021 10:00

    I do not found switch port mode trunk command on my switch. can you please give me example. below is the versoin details. 

     

     

    Capture.PNG

  • DELL-Josh Cr

    Community Manager

    9693 Posts

    43676 Points

    3389

    0

    Posted September 9th, 2021 11:00

    It should be the switchport command on OS9 instead of OS10. Page 737 https://dell.to/3DV7ht4

  • danmany

    3 Posts

    3367

    0

    Posted September 10th, 2021 02:00

    Hello. I also have a problem with trunk settings on the port. Port is configured:

    interface TenGigabitEthernet 0/2
    no ip address
    switchport
    switchport mode private-vlan trunk
    no shutdown

    This is not working

    I have a task to miss all VLAN through the port

    Help please

     

  • DELL-Marco B

    Moderator

    3980 Posts

    3366

    0

    Posted September 10th, 2021 03:00

    Hello,

    please can you give us more details?

    Is it a S4810? With OS version?
    you said that with command switchport mode private-vlan trunk is not working. What do you want to configure and how?

    Please post also the config of the switch.

     

    Thanks

    Marco

    DELL- Marco B

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • mdgajjar

    2 Intern

    34 Posts

    3354

    0

    Posted September 10th, 2021 10:00

    Capture.PNG

     

    I want configured interface as trunk port. s4180 switch is connected to another dell. i want to allow some vlans on this trunk port. and switchport mode trunk is not working on this switch. 

     

    can you please share any example or just config on trunk/tag interface. 

  • DELL-Josh Cr

    Community Manager

    9693 Posts

    43676 Points

    3351

    0

    Posted September 10th, 2021 10:00

    Try

     switchport mode trunk.

  • danmany

    3 Posts

    637

    0

    Posted September 10th, 2021 12:00

    Hello

    This is your case:

    SW5#configure
    SW5(conf)#interface vlan 200
    SW5(conf-if-vl-200)#tagged tengigabitethernet 0/2
    SW5(conf-if-vl-200)#exit
    SW5(conf)#interface vlan 500
    SW5(conf-if-vl-500)#tagged tengigabitethernet 0/2
    SW5(conf-if-vl-500)#exit
    SW5(conf)#exit
    SW5#show interfaces switchport tengigabitethernet 0/2

    Codes: U - Untagged, T - Tagged
    x - Dot1x untagged, X - Dot1x tagged
    G - GVRP tagged, M - Trunk, H - VSN tagged
    i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged

    Name: TenGigabitEthernet 0/2
    802.1QTagged: True
    Vlan membership:
    Q Vlans
    T 1,200,500