cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13709
Views
0
Helpful
2
Replies

How to Tag Vlan on trunk ports

Hi,

 

How to tag one VLAN on trunk port in Cisco switches.

 

here by i have attached the screen of the requirement.

please help me with configuration commands.

 

Thnak you.

2 Accepted Solutions

Accepted Solutions

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi

The vlan id is included into the header, now if you want to specify the VLAN passing through over a trunk so you can use the following line:

 

interface gx/x/x

switchport mode trunk

switchport trunk allowed vlan 901

no shutdown

 

The vlan 901 should be created on both switches. 

 

conf t

vlan 901

name MANAGEMENT

 

Hope is is useful

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

Abheesh Kumar
VIP Alumni
VIP Alumni

Hi,

Vlan 901
name 901
!
interface Vlan901
ip address 10.66.127.240 255.255.255.0

!
interface Port-channel10
description --UPLINK---
switchport trunk allowed vlan 901
!
interface GigabitEthernet1/0/1
switchport access vlan 901
!

 

HTH

Abheesh

 

View solution in original post

2 Replies 2

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi

The vlan id is included into the header, now if you want to specify the VLAN passing through over a trunk so you can use the following line:

 

interface gx/x/x

switchport mode trunk

switchport trunk allowed vlan 901

no shutdown

 

The vlan 901 should be created on both switches. 

 

conf t

vlan 901

name MANAGEMENT

 

Hope is is useful

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Abheesh Kumar
VIP Alumni
VIP Alumni

Hi,

Vlan 901
name 901
!
interface Vlan901
ip address 10.66.127.240 255.255.255.0

!
interface Port-channel10
description --UPLINK---
switchport trunk allowed vlan 901
!
interface GigabitEthernet1/0/1
switchport access vlan 901
!

 

HTH

Abheesh