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

switchport trunk pruning vlan 2

piotrkrol
Level 1
Level 1

hi

knows someone why I have on port 8 on the catalyst WS-C3550-12T

switchport trunk pruning vlan 2

--------------------------------------------------------------

# sh run

.......................

interface Port-channel1

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 1,1001-1005

switchport mode trunk

!

interface GigabitEthernet0/1

no switchport

ip address 192.168.0.10 255.255.255.0

!

interface GigabitEthernet0/2

switchport mode dynamic desirable

speed 10

duplex full

!

interface GigabitEthernet0/3

switchport mode dynamic desirable

!

interface GigabitEthernet0/4

switchport mode dynamic desirable

!

interface GigabitEthernet0/5

switchport mode dynamic desirable

!

interface GigabitEthernet0/6

switchport mode dynamic desirable

!

interface GigabitEthernet0/7

switchport trunk allowed vlan 1,1001-1005

switchport mode dynamic desirable

spanning-tree portfast

!

interface GigabitEthernet0/8

switchport trunk allowed vlan 1,1001-1005

switchport trunk pruning vlan 2

switchport mode dynamic desirable

spanning-tree portfast

!

interface GigabitEthernet0/9

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 1,1001-1005

switchport mode trunk

channel-group 1 mode active

channel-protocol lacp

!

interface GigabitEthernet0/10

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 1,1001-1005

switchport mode trunk

channel-group 1 mode active

channel-protocol lacp

!

interface GigabitEthernet0/11

switchport mode dynamic desirable

!

interface GigabitEthernet0/12

switchport mode dynamic desirable

!

--------------------------------------------------------------

howto get the same settings like on the port 7 ?

2 Replies 2

Hello Piotr,

somebody probably put this command on the interface to manually prune Vlan 2 off that specific trunk, likely because whatever is connected to interface GigagbitEthernet0/8 does not have a need for VLAN 2.

You can get rid of the command by typing:

no switchport trunk pruning 2

in interface configuration mode.

Does that make sense ?

Regards,

GP

thanks a lot