3560与2960两根线相关接,
在3560上showspanningtree,显示只有一个接口
明明有两个口接到2960为什么只显示一个口,
经高级工程师指点后:
3560为三层交换机端口路由端口
SW3560#shruning0/1
Buildingconfiguration...
Currentconfiguration:66bytes
!
interfaceGigabitEthernet0/1
noswitchport//路由端口
noipaddress
end
要转为交换端口
SW3560(config-if)#switchport
SW3560(config-if)#switchportmodeaccess
SW3560(config-if)#noshut
SW3560#shrunintg0/1
Buildingconfiguration...
Currentconfiguration:60bytes
!
interfaceGigabitEthernet0/1
switchportmodeaccess
end
再showspanningtree两个端口
转路由功能端口更简易
SW3560(config-if)#switchport