Recommended Posts

According to this:

  Quote

 

*Nov 1 11:28:26.132: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking GigabitEthernet1/0/1 on VLAN0002. Inconsistent port type.


 

Expand  

You should not be able to ping the isp device. 

 

Doesn't say what port it is supposed to be on. 

 

Try this at an enable prompt (we will only change port 1 on the switch)
 

  Quote

 

conf t

int gi1/0/1

no switchport mode access

no spanning-tree portfast

switchport trunk allowed vlan add 1,2

switchport mode dynamic desirable

exit

exit

wr

 

Expand  

 

see if it is still in an inconsistent port type

 

perform this command at an enable prompt and post results

 

  Quote

sh int gi1/0/1

Expand  

 

 

 

HI,

it worked now as follows:

conf t

int vlan 217

exit

int range gi1/0/1-24

switchport mode access

switchport access vlan 217

exit

exit

wr

 

failed scenario :

conf t

int gi1/0/24

no switchport mode

no switchport access vlan 217

switchport mo trunk

switchport trunk allowed vlan217

 

worked up scenario:

conf t

int gi1/0/24

no switchport mo

no switchport trunk allowed vlan 217

switchport mo access

switchport access vlan 217

spanning-tree bdufilter enable

sh spanning-tree vlan 217

wr

 

 

 

VLAN 217 was the vlan configured on isp switch and so on my switch I created the same vlan name

This topic is now closed to further replies.