Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / Networking / Cisco Certification / Cisco – IP routing not enabled error on Layer 3 switch

Mar 25, 2014 By Jared Heinrichs Leave a Comment

Cisco – IP routing not enabled error on Layer 3 switch

The first time I worked on a layer 3 switch I went to go an configure OSPF on the layer 3 switch or also called a “swouter”.

When I ran “router ospf 1” then command line spit back this error: “IP routing not enabled”.  You can see the screenshot below of the error:

image

It turns out that Layer 3 switches need to have routing enabled because it is disabled by default! But what is the command to enable routing on the layer 3 switch?

The command is:

ip routing

Yes. That’s all it takes to enable routing on the layer 3 switch! Once you have done that you should be able to finish setting up OSPF or any other routing protocol you wish!

In packet tracer the layer 3 switch I used was a “3560-24PS”.

Here’s an example of a layer 3 switch being setup:

  • en
  • conf t
  • ip routing
  • host 4.4.4.4
  • !
  • int lo0
  • ip address 4.4.4.4 255.255.255.255
  • no shut
  • !
  • int vlan1
  • ip address 192.168.2.2 255.255.255.252
  • no shut
  • !
  • int vlan30
  • ip address 192.168.30.1 255.255.255.0
  • no shut
  • !
  • int vlan40
  • ip addres 192.168.40.1 255.255.255.0
  • no shut
  • !
  • int fa0/1
  • switchport access vlan 30
  • !
  • int fa0/2
  • switchport access vlan 40
  • !
  • int gig0/1
  • switchport access vlan 1
  • !
  • exit
  • !
  • router ospf 1
  • router-id 4.4.4.4
  • !
  • network 4.4.4.4       0.0.0.0 area 2
  • network 192.168.2.2   0.0.0.0 area 2
  • network 192.168.30.1  0.0.0.0 area 2
  • network 192.168.40.1  0.0.0.0 area 2\
  • end
  • wr
  • !

Filed Under: Cisco Certification

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design