Disable secondary routing on core switches

To disable secondary routing on core switches, you can use no ip routing where supported, or convert all Layer 3 interfaces to switchports while keeping a management interface active.Methods to Disabl...

Disable secondary routing on core switches

To disable secondary routing on core switches, you can use no ip routing where supported, or convert all Layer 3 interfaces to switchports while keeping a management interface active.

Methods to Disable Routing

1. Using no ip routing Command On many Cisco Layer 3 switches, such as Catalyst 9500 series, you can disable IP routing with the no ip routing command if the switch does not need to perform Layer 3 functions for VLANs other than management . This effectively converts the switch to operate primarily at Layer 2, improving performance and reducing security risks. Note that some older platforms, like SUP720 in a Cat6509E, may not fully support persistent disabling of IP routing, and the command may revert after a reload . 2. Converting Interfaces to Switchports If no ip routing is not available or reliable, configure all physical interfaces as Layer 2 switchports and remove any Layer 3 SVIs except for a single management interface. This ensures no routing occurs while maintaining access for configuration changes via SSH or console . Example configuration:

interface range GigabitEthernet1/0/1 - 48 switchport no ip address

Keep one SVI for management:

interface Vlan1 ip address 192.168.1.2 255.255.255.0

3. Using Route-Maps and Prefix-Lists for Controlled Routing For core switches that participate in dynamic routing protocols like OSPF, you can control which routes are advertised by applying route-maps to redistributed connected interfaces. This allows selective routing without fully disabling Layer 3 functionality . 4. Automation and Scripts For platforms like Meraki, there is no direct “kill switch” for routing, but you can automate the removal and re-addition of SVIs or disable non-infrastructure ports to prevent lateral traffic spread during incidents . This approach preserves the configuration for recovery.

Best Practices

  • Always maintain at least one management interface to access the switch remotely.
  • Test changes in a lab environment before applying to production to avoid network outages.
  • Document all changes and consider using scripts for reversible operations.
  • For high-availability environments, coordinate with redundant core switches to prevent routing loops or traffic blackholing. By combining these methods, you can effectively disable secondary routing on core switches while maintaining Layer 2 connectivity and management access.
Information
Dec 11, 2025

How to disable IP routing in a Cisco Catalyst 6500 switch with

Resolution IP routing is enabled by default. However, IP routing does not work if what must be routed is not

Information
Oct 03, 2025

Cisco L3 Switch

When all are done you can remove the SVIs, and issue “no ip routing” if you want. Remember you will need to leave

Information
Jan 05, 2026

Solved: no ip routing impact

If you disable IP routing on the core switches and their SVIs are configured as the gateways for the VLANs, then

Information
May 14, 2026

How to Configure Redundant Switches in Cisco Networks

Configuring Additional Redundancy Protocols To further enhance the redundancy in Cisco

Information
May 24, 2026

Configure NXOS Switch as Layer 2 or disable inter-vlan routing

The reason for configuring the NXOS switches as a Layer 2 devices (aka disabling inter-vlan routing) is so I can

Information
Mar 24, 2026

Routing on firewall or core switches? : r/networking

In my research I''m getting mixed suggestions - Some say that core switches are for routing, when others say that core switches have

Information
Jul 09, 2026

AOS-CX 10.13 Virtual Switching Extension (VSX) Guide

Also, if the primary VSX switch has routing enabled, the secondary switch must have routing enabled. Once the name and routing

Information
Jan 23, 2026

Inter-VLAN routing on Core vs Distribution switches

We''re currently upgrading our flat L2 switch topology to a three-tier design using SG-class switches in a building

Information
Nov 22, 2025

Disable routing on the core

We are looking for an overall "Kill Switch" that doesn''t kill the config in case of a cyber attack. We could always unplug

Information
Jul 02, 2026

Configure Inter VLAN Routing with Multiple Switches

The question comes up often when talking about inter vlan routing and how this is done with multiple switches in a

Information
Jun 29, 2026

M4300 Fully Managed Switches Disable IP Routing and Dhcp Server

I''ve been assigned to convert our core switches from layer 3 to layer 2 and migrating the dhcp server elsewhere for a

Information
Jul 14, 2026

Configure Inter-VLAN Routing with Catalyst Switches

This document describes how to configure Inter VLAN routing with Cisco Catalyst series switches.

Information
Mar 16, 2026

Question regarding 2 core switches and two firewalls on same network

Good Morning, We have 2 Catalyst 3750 switches and 2 ASA 5515x on the same network and vlan. One firewall is

Information
Jul 17, 2026

Redundant Core switches and Single Router Design

Hello Everyone, I am working on one design and need support for connectivity between two

Information
Oct 05, 2025

VSX Configuration Best Practices for Aruba CX 6400, 8320, 8325, 8400

sync” mechanism is very helpful to avoid configuration human mistakes on the VSX secondary. aggregated together to form a LAG

Information
Sep 07, 2025

How to setup special routing of internet traffic in Layer 3 switch?

At my work, I want to change the way our internet traffic routes through our core switch at the main office and

Information
Jun 17, 2026

Two-Tier Core

Prepare switches for deployment in Aruba Central for building a Two-Tier Data Center. The L2 Two-Tier Data Center

Information
Apr 16, 2026

Configure Isolated Private VLANs on Catalyst Switches

This document describes the procedure to configure isolated PVLANs on Cisco Catalyst switches with either Catalyst

Information
May 15, 2026

Cisco IOS XE Software Hardening Guide

If IP options have not been completely disabled via the IP Options Selective Drop feature, it is important that IP source routing is

Information
Dec 16, 2025

Configuring Routing Engine Redundancy

In systems with two Routing Engines, both Routing Engines cannot be configured to be primary at the same time. This configuration

Information
Oct 31, 2025

VTP and HSRP config on two core switches

hello Experts, Please help me regarding VTP Server config on 3560E. I have configure multiple vlans on both the

Information
Feb 23, 2026

Solved: STP working on core switches

Hi, I have two core Nexus 9K switches on which one is acting as a root bridge and obviously other is not. So what if i

Information
Aug 05, 2025

How to configure two Core switches in a network with intervlan routing

Dear All, Hi Friends, i have two 3750 switches. I configured intervlan routing between three vlans which are

Information
Aug 10, 2025

MS Layer 3 Switching and Routing

Layer 3 routing capabilities are available on most Cisco Meraki switches. This allows the switches to route traffic

Information
Dec 01, 2025

EOS 4.36.1F

Arista switches support Multi-Chassis Link Aggregation (MLAG) to logically aggregate ports across two switches. For example, two

Fiber Optic Accessories & Infrastructure Insights

Need Reliable Fiber Optic Protection Solutions?

Contact us today for product inquiries, custom assemblies, or technical support