cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18331
Views
10
Helpful
5
Replies

no switchport command is not working in

srinivask2
Level 1
Level 1

I have a WS-C2960X-48TD-L Switch and in this switch routing, routing protocals are working fine even it is L2 Switch. But when I try to enter the command as "no switchport" in the interface mode, it is not working.

Actually it is Layer2 switch or Layer 3 switch. I am still confusing.

Can someone share your experience.     

1 Accepted Solution

Accepted Solutions

To use routing, you have to reconfigured the switch with

sdm prefer lanbase-routing
# now a reload is needed
ip routing

After that, you have to configure SVIs with the needed IP addresses. The 2960X doesn't support routed ports.

View solution in original post

5 Replies 5

InayathUlla Sharieff
Cisco Employee
Cisco Employee

2960 - Layer 2, but has limited layer 3 with IOS 12.2(55)SE or newer

 

According to this spec sheet http://blog.router-switch.com/2014/03/cisco-catalyst-2960-x-comparison-features/

 

 

Layer 3 features with IP Lite feature set (2960-XR only)

 

Cisco IOS Software feature sets Cisco Catalyst 2960-X Series Switches support:

Platform

IP Lite

(Layer 3)

LAN Base

(Layer 2)

LAN Lite

(Basic Layer 2)

2960-XR

Yes

No

No

2960-X

No

Yes

Yes

 

The 2960 series supports static IP unicast routing.  You must be running IOS 12.2(55)SE or 12.2(58)SE.  Here is the info from CIsco:
 
This chapter describes how to configure IP Version 4 (IPv4) static IP unicast routing on the Catalyst 2960-S and 2960 switch. Static routing is supported only on switched virtual interfaces (SVIs) and not on physical interfaces. The switch does not support routing protocols.
 
Types of Routing
Routers and Layer 3 switches can route packets in these ways:
•Using default routing to send traffic with a destination unknown to the router to a default outlet or destination
•Using static routes to forward packets from predetermined ports through a single path into and out of a network
•Dynamically calculating routes by using a routing protocol
The switch supports static routes and default routes, It does not support routing protocols.
 
Steps for Configuring Routing
By default, IP routing is disabled on the switch. For detailed IP routing configuration information, see the Cisco IOS IP Configuration Guide, Release 12.2 from the Cisco.com page under Documentation > Cisco IOS Software Releases > 12.2 Mainline > Configuration Guides.
In these procedures, the specified interface must be a switch virtual interface (SVI)—a VLAN interface created by using the interface vlan vlan_id global configuration command and by default a Layer 3 interface. All Layer 3 interfaces on which routing will occur must have IP addresses assigned to them. See the "Assigning IP Addresses to SVIs" section.
 
Note The switch supports 16 static routes (including user-configured routes and the default route) and any directly connected routes and default routes for the management interface. The switch can have an IP address assigned to each SVI. Before enabling routing, enter the sdm prefer lanbase-routing global configuration command and reload the switch.
 
Now, because the switch does not support any routing protocols, does that mean it is not a layer 3 switch?  It still supports static routing and default routes.  So, whether we call it a layer 2, layer 2,5 or even layer 3 switch or not.  The fact remains it supports limited static IP unicast routing.

 

HTH

But actually the IOS of that switch is 15.0(2)EX5. 

Cisco Catalyst 2960-XR models also offer:

 Power resiliency with optional dual field-replaceable power supplies

 IP Lite Cisco IOS® software with dynamic routing and Layer 3 features

============================================================

High Performance Routing (IP Lite Image)

  • IP unicast routing protocols (Static, Routing Information Protocol Version 1 (RIPv1) and RIPv2) are supported for small-network routing applications.
  • Advanced IP unicast routing protocols (OSPF for routed access) are supported for load balancing and constructing scalable LANs. IPv6 routing (OSPFv3) is supported in hardware for maximum performance.
  • Equal-cost routing facilitates Layer 3 load balancing and redundancy across the stack.
  • Policy-based routing (PBR) allows superior traffic control by providing flow redirection regardless of the routing protocol configured.
  • Hot Standby Routing Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP) provide dynamic load balancing and failover for routed links.
  • Protocol Independent Multicast (PIM) for IP multicast is supported, including PIM sparse mode (PIM-SM), PIM dense mode (PIM-DM), PIM sparse-dense mode and Source Specific Multicast (SSM)

SeHTH

 

To use routing, you have to reconfigured the switch with

sdm prefer lanbase-routing
# now a reload is needed
ip routing

After that, you have to configure SVIs with the needed IP addresses. The 2960X doesn't support routed ports.

fhk
Level 1
Level 1

c3640-ik9o3s-mz.124-25b.image

Ram size 256

L3 SW1(config)#int e0/1
L3 SW1(config-if)#no switchport
^
% Invalid input detected at '^' marker.

 

can solve this?

I thing my gns3 support bin file do you have bin file of L3switch