10-01-2021 03:02 AM
Device : SG300-28 28-Port Gigabit Managed Switch
SW version 1.4.11.5 ( date 08-Apr-2020 time 13:49:34 )
Boot version 1.3.5.06 ( date 21-Jul-2013 time 15:12:10 )
HW version V03
Switch port is getting UP/Down which connected to AP, I am confused that it issue is for my Laptop or AP. As I am receiving below logs for this port
%STP-W-PORTSTATUS: gi18: STP status Forwarding >> After generating this log port goes down and then UP again. But due to port down my AP gatting reboot again and again. It happen 3 to 5 time in a day.
Spanning tree status.
================================================================
Spanning tree enabled mode RSTP
Default port cost method: long
Loopback guard: Disabled
Root ID Priority 32768
Address 04:6c:9d:df:96:31
This switch is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Number of topology changes 19 last change occurred 24:10:29 ago
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
=====================================================
Interfaces
Name State Prio .Nbr Cost Sts Role PortFast Type
--------- -------- --------- -------- ------ ---- -------- -----------------
gi18 enabled 128.66 20000 Frw Desg Yes P2P (RSTP)
10-01-2021 03:12 AM
If you do not like port to be part of STP process you can config switch port portfast. (but again if you can provide below config)
what Access point is this ?
Can you post below config :
show run interface gi18
show spanning brief
10-01-2021 03:59 AM - edited 10-01-2021 04:00 AM
AP model :
NAME: "AP1040", DESCR: "Cisco Aironet 1040 Series (IEEE 802.11n) Access Point"
show spanning brief command is not supporting, Given output "show spanning-tree detail active"
Switch#sh run int gi18
interface gigabitethernet18
description ***Uplink_to_AP
spanning-tree portfast
switchport trunk native vlan 100
!
Switch#show spanning-tree detail active
Spanning tree enabled mode RSTP
Default port cost method: long
Loopback guard: Disabled
Root ID Priority 32768
Address 04:6c:9d:df:96:31
This switch is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Number of topology changes 19 last change occurred 25:26:52 ago
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Interfaces
Port gi1 enabled
State: forwarding Role: designated
Port id: 128.49 Port cost: 200000
Type: P2P (configured:Auto ) RSTP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.49 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 0
BPDU: sent 1459351, received 0
Port gi7 enabled
State: forwarding Role: designated
Port id: 128.55 Port cost: 200000
Type: P2P (configured:Auto ) RSTP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.55 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 0
BPDU: sent 1459352, received 0
Port gi9 enabled
State: forwarding Role: designated
Port id: 128.57 Port cost: 200000
Type: P2P (configured:Auto ) RSTP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.57 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 0
BPDU: sent 1459347, received 0
Port gi18 enabled
State: forwarding Role: designated
Port id: 128.66 Port cost: 20000
Type: P2P (configured:Auto ) RSTP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.66 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 0
BPDU: sent 1459324, received 0
Port gi21 enabled
State: forwarding Role: designated
Port id: 128.69 Port cost: 200000
Type: P2P (configured:Auto ) RSTP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.69 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 0
BPDU: sent 1459352, received 0
Port gi23 enabled
State: forwarding Role: designated
Port id: 128.71 Port cost: 200000
Type: P2P (configured:Auto ) RSTP Port Fast: Yes (configured:Yes)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.71 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 0
BPDU: sent 1459354, received 0
Port gi25 enabled
State: forwarding Role: designated
Port id: 128.73 Port cost: 20000
Type: P2P (configured:Auto ) RSTP Port Fast: No (configured:Auto)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.73 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 1
BPDU: sent 1459333, received 12
Port gi26 enabled
State: forwarding Role: designated
Port id: 128.74 Port cost: 20000
Type: P2P (configured:Auto ) RSTP Port Fast: No (configured:Auto)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.74 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 1
BPDU: sent 1459333, received 8
Port gi28 enabled
State: forwarding Role: designated
Port id: 128.76 Port cost: 20000
Type: P2P (configured:Auto ) RSTP Port Fast: Yes (configured:Auto)
Designated bridge Priority : 32768 Address: 04:6c:9d:df:96:31
Designated port id: 128.76 Designated path cost: 0
Guard root: Disabled BPDU guard: Disabled
Number of transitions to forwarding state: 1
BPDU: sent 1459354, received 0
Switch#
10-01-2021 03:43 AM
Hello,
the most likely reason for this is that the AP (port) goes down, for whatever reason. Make sure the speed/duplex settings on the SG300 and the AP match. Ports going down could also indicate a physical (e.g. cabling) problem, you might want to replace the cable, and check if he port stays up...
10-01-2021 04:04 AM
Ok, I will change the cable and check.
Speed same at both side and showing : :full duplex and speed -1000" at both end as checked on both side interface
Speed :Auto
Duplex : Auto
10-01-2021 04:39 AM - edited 10-01-2021 04:40 AM
Hello
@vyas.2020 wrote:
Switch port is getting UP/Down which connected to AP, I am confused that it issue is for my Laptop or AP. As I am receiving below logs for this port
Is the AP POE, if so is the switchport providng the correct power?
Also
Autonomous AP(standalone) switchport = trunk mode, disable stp portfast and any portsecurity with mac limit.
Lightweight (LAP) switchport = access mode
When you connect laptop to same switchport do you get the same result?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide