cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
343
Views
0
Helpful
5
Replies

Multiple vlans on port in nexus 3548

Hy All

I need to configure multiple vlans on port.
But the command allow on 1 vlan for port.
How I change it to allow multiple vlan on port?

2 Accepted Solutions

Accepted Solutions

switchport trunk allow vlan x,y,z or X-Z (meaning the VLAN number from X to Z)

MHM

View solution in original post

New output in the next reply

View solution in original post

5 Replies 5

switchport trunk allow vlan x,y,z or X-Z (meaning the VLAN number from X to Z)

MHM

Hy & tnx for the reply

i tried that but it didn't work.

Interface 1/1 is the trunk to HP switch that is working.

version 6.0(2)A8(11b)

interface Ethernet1/1
switchport mode trunk
no shutdown

interface Ethernet1/2
switchport mode trunk
switchport trunk allowed vlan 50,100-104,200
no shutdown

interface Ethernet1/3
switchport mode trunk
switchport trunk allowed vlan 50,100-104,200
no shutdown

interface Ethernet1/4
switchport mode trunk
switchport trunk allowed vlan 50,100-104,200
no shutdown

interface Ethernet1/5
switchport mode trunk
switchport trunk allowed vlan 50,100-104,200
no shutdown

The interfaces 2 thru 5 are the hosts that need to vlan (all tagged)

Tnx

 

 

Thr trunk allow vlan but these vlan not add to vlan db 

You  need to add vlan by 

#Vlan x

Then check 

Show interface trunk 

MHM

New output in the next reply

The vlans are in the db:

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Eth1/6, Eth1/7, Eth1/8, Eth1/9
Eth1/10, Eth1/11, Eth1/12
Eth1/13, Eth1/14, Eth1/15
Eth1/17, Eth1/18, Eth1/19
Eth1/20, Eth1/21, Eth1/22
Eth1/23, Eth1/24, Eth1/25
Eth1/26, Eth1/27, Eth1/28
Eth1/29, Eth1/30, Eth1/31
Eth1/32, Eth1/33, Eth1/34
Eth1/35, Eth1/36, Eth1/37
Eth1/38, Eth1/39, Eth1/40
Eth1/41, Eth1/42
50 Business active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5
100 Production active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5
101 Development active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5
104 MyCPA.Cloud active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5
200 Home-vLan active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5
500 Storage active Eth1/43, Eth1/44, Eth1/45
Eth1/46, Eth1/47, Eth1/48

VLAN Type Vlan-mode
---- ----- ----------
1 enet CE
50 enet CE
100 enet CE
101 enet CE
104 enet CE
200 enet CE
500 enet CE

The trunk status:

--------------------------------------------------------------------------------
Port Native Status Port
Vlan Channel
--------------------------------------------------------------------------------
Eth1/1 1 trunking --
Eth1/2 1 trunking --
Eth1/3 1 trunking --
Eth1/4 1 trunking --
Eth1/5 1 trunking --

--------------------------------------------------------------------------------
Port Vlans Allowed on Trunk
--------------------------------------------------------------------------------
Eth1/1 2-499,501-4094
Eth1/2 2-499,501-4094
Eth1/3 2-499,501-4094
Eth1/4 2-499,501-4094
Eth1/5 2-499,501-4094

--------------------------------------------------------------------------------
Port Vlans Err-disabled on Trunk
--------------------------------------------------------------------------------
Eth1/1 none
Eth1/2 none
Eth1/3 none
Eth1/4 none
Eth1/5 none

--------------------------------------------------------------------------------
Port STP Forwarding
--------------------------------------------------------------------------------
Eth1/1 50,100-101,104,200
Eth1/2 50,100-101,104,200
Eth1/3 50,100-101,104,200
Eth1/4 none
Eth1/5 50,100-101,104,200

--------------------------------------------------------------------------------
Port Vlans in spanning tree forwarding state and not pruned
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Port Vlans Forwarding on FabricPath
--------------------------------------------------------------------------------
Eth1/1 none
Eth1/2 none
Eth1/3 none
Eth1/4 none
Eth1/5 none

Review Cisco Networking for a $25 gift card