cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
654
Views
0
Helpful
3
Replies

C2960X switchport mode trunk

dawnccier
Level 1
Level 1

Model: WS-C2960X-48LPS-L

OS version: 15.0(2a)EX5

VLAN: 10,20

Port configuration:

!

interface GigabitEthernet1/0/52
switchport mode trunk

!

 

Query1. Is the vlan 10,20 frame can be switched via port52 when only 'switchport mode trunk' configured?

Query2. Is port52 trunk allowed vlan all when 'switchport mode trunk' configured?

Query3. Is the vlan 1 still the default vlan ?

2 Accepted Solutions

Accepted Solutions

1. yes. you can limit VLANs using

#switchport trunk allowed vlan

command

2. yes default behavior is to allow all vlans

3. yes. 

 

rate and mark this answer if this helps

Good luck

KB

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

View solution in original post

rasmus.elmholt
Level 7
Level 7

A1: Per default all active VLANs are allowed on a trunk. As in your case

A2: See the previous answer

A3: VLAN 1 is still allowed and will be untagged pr. default.

 

rate and mark this answer if this helps

Br,

Rasmus

View solution in original post

3 Replies 3

Leo Laohoo
Hall of Fame
Hall of Fame

@dawnccier wrote:

Query1. Is the vlan 10,20 frame can be switched via port52 when only 'switchport mode trunk' configured?

Query2. Is port52 trunk allowed vlan all when 'switchport mode trunk' configured?

Query3. Is the vlan 1 still the default vlan ?


All VLANs found in the VLAN database will be allowed through because there is no limitation (default).

1. yes. you can limit VLANs using

#switchport trunk allowed vlan

command

2. yes default behavior is to allow all vlans

3. yes. 

 

rate and mark this answer if this helps

Good luck

KB

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

rasmus.elmholt
Level 7
Level 7

A1: Per default all active VLANs are allowed on a trunk. As in your case

A2: See the previous answer

A3: VLAN 1 is still allowed and will be untagged pr. default.

 

rate and mark this answer if this helps

Br,

Rasmus

Review Cisco Networking for a $25 gift card