Hi,
sorry for the delay.
I can give you some more details, what I have done:
Test 1 (with two G3-Switches)
a.) remove all cables and delete the whole config of both switches (clear config)
b.) configure the following commands on both:
set spantree version rstp
set spantree adminedge ge.1.1 true
set spantree adminedge ge.1.2 true
set spantree adminedge ge.1.3 true
set spantree adminedge ge.1.4 true
set spantree adminedge ge.1.5 true
set spantree adminedge ge.1.6 true
set spantree adminedge ge.1.7 true
set spantree adminedge ge.1.8 true
set spantree adminedge ge.1.9 true
set spantree adminedge ge.1.10 true
set spantree spanguard enable
set spantree spanguardtimeout 0
c.) connect port ge.1.2 of both switches together
Result:
- Spanguard disable one of both ports (that is what should happen)
Test 2 (only one G3-Switch)
a.) remove all cables and delete the whole config of the switch (clear config)
b.) configure the following commands on it:
set spantree version rstp
set spantree adminedge ge.1.1 true
set spantree adminedge ge.1.2 true
set spantree adminedge ge.1.3 true
set spantree adminedge ge.1.4 true
set spantree adminedge ge.1.5 true
set spantree adminedge ge.1.6 true
set spantree adminedge ge.1.7 true
set spantree adminedge ge.1.8 true
set spantree adminedge ge.1.9 true
set spantree adminedge ge.1.10 true
set spantree spanguard enable
set spantree spanguardtimeout 0
c.) connect port ge.1.3 with ge.1.4 with a short copper patch cable together
Result:
- the LED looks like spanguard had disabled one of both ports
- but "show spantree spangardlook ge.1.1-10" showes:
G3(su)->show spantree spanguardlock ge.1.1-10
Port ge.1.1 is Unlocked
Port ge.1.2 is Unlocked
Port ge.1.3 is Unlocked
Port ge.1.4 is Unlocked
Port ge.1.5 is Unlocked
Port ge.1.6 is Unlocked
Port ge.1.7 is Unlocked
Port ge.1.8 is Unlocked
Port ge.1.9 is Unlocked
Port ge.1.10 is Unlocked
And the interessing thing is now:
If I connect a normal Laptop to port ge.1.3 it will work:
G3(su)->show port status ge.1.3-4
Alias Oper Admin Speed
Port (truncated) Status Status (bps) Duplex Type
--------- ------------ ------- ------- --------- ------- ------------
ge.1.3 Up Up 1.0G full BaseT RJ45/PoE
ge.1.4 Down Up N/A N/A BaseT RJ45/PoE
G3(su)->
If I plug the cable from the laptop to port ge.1.4 it will not work.
G3(su)->show port status ge.1.3-4
Alias Oper Admin Speed
Port (truncated) Status Status (bps) Duplex Type
--------- ------------ ------- ------- --------- ------- ------------
ge.1.3 Down Up N/A N/A BaseT RJ45/PoE
ge.1.4 Down Up N/A N/A BaseT RJ45/PoE
G3(su)->
G3(su)->show port negotiation ge.1.4
auto-negotiation is enabled on port ge.1.4
G3(su)->show port advertise ge.1.4
ge.1.4 capability advertised remote
-------------------------------------------------
10BASE-T yes yes yes
10BASE-TFD yes yes yes
100BASE-TX yes yes yes
100BASE-TXFD yes yes yes
1000BASE-T no no no
1000BASE-TFD yes yes yes
pause yes yes no
If I disable port ge.1.4 and enable it, it will work again.
G3(su)->set port disable ge.1.4
G3(su)->set port enable ge.1.4
G3(su)->show port status ge.1.3-4
Alias Oper Admin Speed
Port (truncated) Status Status (bps) Duplex Type
--------- ------------ ------- ------- --------- ------- ------------
ge.1.3 Down Up N/A N/A BaseT RJ45/PoE
ge.1.4 Up Up 1.0G full BaseT RJ45/PoE
G3(su)->
BUT: How do I know what ports were connect localy at the same switch so that the port has to be disabeld/enabled again?
Is there any outher command I can use to find out, at port ge.1.4 has to disabled/enabled to get it functional again?
The logging will not show me something:
G3(su)->show logging buffer
G3(su)->
So I have to correct my question from the beginning of this discussion:
Why ist the port ge.1.4 not accessible for the Laptop after someone has connect a loop cable between two ports of the same switch?
Or why is spanguard not disable port ge.1.4?
I thought, that all ports (ge.1.3 and ge.1.4) of the same switch will send out BPDU's and that receiving BPDU's should trigger spanguard, isn't it so?
Best regards,
Axel