02-21-2025 01:52 AM
I've got C1300 switches and by default there are 8 units defined for stacking. I don't use stacking, but SNMP always reports back with all possible interfaces as if it has 8 stacked switches.
How do I remove unused units or disable stacking on C1300 so it just reports on the actual physical interface over SNMP?
02-21-2025 02:30 AM
Hello @KoenD ,
can you share the config of the C1300?
02-21-2025 06:59 AM
I'm afraid there is no much to share, appart from the stack configuration. The rest is just simple config.
!
unit-type-control-start
unit-type unit 1 network gi uplink te
unit-type unit 2 network gi uplink te
unit-type unit 3 network gi uplink te
unit-type unit 4 network gi uplink te
unit-type unit 5 network gi uplink te
unit-type unit 6 network gi uplink te
unit-type unit 7 network gi uplink te
unit-type unit 8 network gi uplink te
unit-type-control-end
!
It seems there is no way of removing unit-types.
02-21-2025 07:40 AM
Have you tried followed by saving the config and reload?
no unit-type unit 1 network gi uplink te
no unit-type unit 2 network gi uplink te
no unit-type unit 3 network gi uplink te
no unit-type unit 4 network gi uplink te
no unit-type unit 5 network gi uplink te
no unit-type unit 6 network gi uplink te
no unit-type unit 7 network gi uplink te
no unit-type unit 8 network gi uplink te
02-21-2025 07:50 AM
Tried that, but returns % Unrecognized command
02-21-2025 08:09 AM
Can you share the output of the commands:
show stack
show stack configuration
show stack links
02-24-2025 12:09 AM
See here (apologies for the bad formatting):
#sho stack
Topology is Chain
Unit Id MAC Address Role Network Uplink
Port Port
Type Type
------- ------------------- ---------- ------- ------
1 a4:00:4e:41:63:93 active gi te
#sho stack configuration
Unit Id After Reboot Configuration
Unit Id Stack Links
-------- ------- ---------------
1 Auto
#sho stack links
Topology is Chain
Unit Id Active Links Neighbor Links Operational Down/Standby
Link Speed Links
------- -------------------- -------------------- ----------- --------------------
1 NA
02-24-2025 02:35 AM
From the outputs you shared, there seems there is no stack configured. Can you try the following command in global config mode:
no stack configuration links te11 unit-id 1
02-24-2025 03:07 AM
Only 'no stack configuration' is available as command.
02-24-2025 04:31 AM
Ok. Use 'no stack configuration' command.
02-24-2025 05:24 AM
Did that already. Needs a reboot of the device. Will be done this night.
02-24-2025 05:03 AM
Enter global configuration mode with 'configure terminal', then use 'no switch <unit-number> provision' to de-provision the unit. Save the changes with 'write memory' or 'copy running-config startup-config'. This updates the stack configuration to reflect only and Only active units.
02-24-2025 05:25 AM
'no switch <unit-number> provision' is an unrecognized command.
C1300s are not IOS based, but some Linux flavour it appears.
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