The Catalyst 2960X is still widely deployed in enterprise networks. Generate a complete, hardened configuration — including correct in-band management via SVI.
Generate my 2960X config →
The Catalyst 2960X is a pure Layer 2 access switch. Unlike the 9300 series which runs IOS-XE
and supports Layer 3 routing, the 2960X runs IOS and has no routing capability — ip routing
should never appear in its configuration. This distinction matters when generating or reviewing configs:
every management decision flows from this single architectural fact.
Key differences compared to the Catalyst 9300:
GigabitEthernet0/0. Management access is via a VLAN SVI (interface Vlan99 or similar).ip default-gateway, not ip route — on a Layer 2 switch without ip routing, the default gateway is set with this single command.| Model | Ports | PoE | Uplink Interface | Management |
|---|---|---|---|---|
C2960X-48PS |
48 × 1G | PoE+ | GigabitEthernet1/0/49 |
SVI |
C2960X-48TS |
48 × 1G | No | GigabitEthernet1/0/49 |
SVI |
C2960X-24PS |
24 × 1G | PoE+ | GigabitEthernet1/0/25 |
SVI |
C2960X-24TS |
24 × 1G | No | GigabitEthernet1/0/25 |
SVI |
On switches with a dedicated OOB management port (Catalyst 9300, 9200, 3850), management traffic
travels on a completely separate physical interface isolated in a Mgmt-vrf. The 2960X
has no such port — management traffic shares the data-plane uplink via a VLAN SVI. This means your
management VLAN must be trunked to the uplink and the SVI must have an IP address. The default gateway
is set with ip default-gateway, not with a VRF static route.
! 2960X — in-band management via SVI interface Vlan99 description MANAGEMENT ip address 10.10.99.10 255.255.255.0 no shutdown ! ip default-gateway 10.10.99.1 ! ! Note: no ip routing on a pure L2 switch
interface GigabitEthernet0/0 will fail or produce an error. Use a VLAN SVI instead.ip routing — the 2960X is a pure Layer 2 switch. Enabling ip routing is not supported and may cause unexpected behavior. This command belongs on the 3850, 9300, and other multilayer switches.ip route instead of ip default-gateway — on a Layer 2 switch without ip routing, global ip route statements are ignored. Use ip default-gateway [gateway-ip] for management reachability.Correct SVI management, security hardening, BLACKHOLE VLAN — all included.
Generate my 2960X config →