cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
600
Views
5
Helpful
3
Replies

Need to understand the packet flow. How port will behave according to below config?

er.vansh17091
Level 1
Level 1

SW6509#sh run int gi/32
Building configuration...
Current configuration : 382 bytes
!
interface GigabitEthernet8/33
description description TEST_ENV
switchport
switchport access vlan 215 
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 205,217
switchport mode access
no ip address
speed 100
duplex full
no snmp trap link-status
spanning-tree portfast
spanning-tree bpduguard disable
spanning-tree guard root
end
SW6509#

1 Accepted Solution

Accepted Solutions

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

As per your configuration, it seems like that this port was configured as Trunk but a letter on you had changed it on the Access mode.

When you will change the mode of a switch port from trunk to access or vise Versa. It will not remove the old commands. You have to remove manually. Currently, this port is working as Administrative Mode: static access and access VLAN is 215.

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

3 Replies 3

er.vansh17091
Level 1
Level 1
how packet will handle the switch port for below config ?

switchport
switchport access vlan 215
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 205,217
switchport mode access

Hi there,

What config the switchport uses from switchport access ... and swichport trunk ... is determined by the configured switchport mode ... command.

In this case the switchport mode is access so it will be sending frames untagged from VLAN 215 and placing all untagged frames received into VLAN 215.

 

cheers,

Seb.

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

As per your configuration, it seems like that this port was configured as Trunk but a letter on you had changed it on the Access mode.

When you will change the mode of a switch port from trunk to access or vise Versa. It will not remove the old commands. You have to remove manually. Currently, this port is working as Administrative Mode: static access and access VLAN is 215.

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Review Cisco Networking for a $25 gift card