12-02-2018 06:04 AM - edited 03-08-2019 04:43 PM
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.
Solved! Go to Solution.
12-02-2018 06:39 AM - edited 12-02-2018 06:46 AM
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
12-02-2018 06:51 AM
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
12-02-2018 06:39 AM - edited 12-02-2018 06:46 AM
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
12-02-2018 06:51 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide