cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2613
Views
0
Helpful
8
Replies

No switchport command

Abdou RD
Level 1
Level 1

Hello, 

I just baught an old cisco switch today ( ws-c3750x-48p ) for my office.

 

This command is not working for me: no switchport , and when i press enter this is what i get : Command rejected: not allowed on this interface.

 

>show version

License Level: lanbase
License Type: Permanent
Next reload license Level: lanbase

>show license detail

Index: 1 Feature: ipbase Version: 1.0
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
Period used: 0 minute 0 second
License Priority: None
License Count: Non-Counted
Store Index: 2
Store Name:

Index: 2 Feature: ipbase Version: 1.0
License Type: PermanentRightToUse
License State: Inactive
Period used: 0 minute 0 second
License Priority: None
License Count: Non-Counted
Store Index: 3
Store Name:

Index: 3 Feature: ipservices Version: 1.0
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
Period used: 0 minute 0 second
License Priority: None
License Count: Non-Counted
Store Index: 0
Store Name:

Index: 4 Feature: ipservices Version: 1.0
License Type: PermanentRightToUse
License State: Inactive
Period used: 0 minute 0 second
License Priority: None
License Count: Non-Counted
Store Index: 1
Store Name:

Index: 5 Feature: lanbase Version: 1.0
License Type: Permanent
License State: Active, In Use
License Priority: Medium
License Count: Non-Counted
Store Index: 0
Store Name: Primary License Storage

 

 

 

 

1 Accepted Solution

Accepted Solutions

Hi

 

 "Next reload license Level: lanbase"

Reload the switch in the first place.

 

License State: Active, Not in Use, EULA not accepted

Accecpt the eula:

 

run after reload:

"

license accept end user agreement

 

With Lan base you can do:

 

LAN Base feature set—Provides basic Layer 2+ features, including access control lists (ACLs) and quality of service (QoS). Starting with Cisco IOS Release 12.2(58)SE, the LAN Base feature set also supports static IP routing on switch virtual interfaces (SVIs) for 16 user-configured routes

 

Then, enter "ip routing" and try to enable IP address on the interfaces.

 

View solution in original post

8 Replies 8

balaji.bandi
Hall of Fame
Hall of Fame

by the what interface is that ? 

If i recall correctly, try 

config t

IP routing

then try interface no switchport ?

 

Other side

 

>show version

License Level: lanbase
License Type: Permanent
Next reload license Level: lanbase

 

I do not remember lan base support Layer 3 interface

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

You would need to apply that command under an interface. For example:

config t

interface gi1/0/1

no switchport

Also, make sure you have full access to the switch.

HTH

Hello Reza, thank you for your help,

 

That's exactly what i did, but it leads to this error : Command rejected: not allowed on this interface.

Hi,

This should not matter, but try turning on "ip routing" and "SDM prefer routing" and see if it makes a difference.

Also, can you post the exact procedure you are trying?

Also, it may be helpful if you post the output of "sh run and sh ver"

 

Link to document:

A Layer 3 switch can have an IP address assigned to each routed port and SVI. The number of routed ports and SVIs that you can configure is not limited by software. However, the interrelationship between this number and the number and volume of features being implemented might have an impact on CPU utilization because of hardware limitations. To optimize system memory for routing, use the sdm prefer routing global configuration command.

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_53_se/configuration/guide/3750xscg/swiprout.html

HTH

 

try config SVI instead of config router port.
the LC not support router port not SW

Hi

 

 "Next reload license Level: lanbase"

Reload the switch in the first place.

 

License State: Active, Not in Use, EULA not accepted

Accecpt the eula:

 

run after reload:

"

license accept end user agreement

 

With Lan base you can do:

 

LAN Base feature set—Provides basic Layer 2+ features, including access control lists (ACLs) and quality of service (QoS). Starting with Cisco IOS Release 12.2(58)SE, the LAN Base feature set also supports static IP routing on switch virtual interfaces (SVIs) for 16 user-configured routes

 

Then, enter "ip routing" and try to enable IP address on the interfaces.

 

Hii, thank you Miranda for your help,

 

Apparently after reload, i did the command :

 

license accept end user agreement

But it didn't work: % Invalid input detected at '^' marker.

 

Use :

license ?

 

 

For ios 15, should be.

license accept end user agreement

Review Cisco Networking for a $25 gift card