08-10-2014 06:06 PM - edited 03-04-2019 11:31 PM
hi Guys,
I am trying to do a "no switchport" on cisco 7609 router but it keeps rejecting the command.
lab01(config-if)#no switchport
Command rejected: not allowed on this interface.
Interface config -
sh run int te2/0/1
Building configuration...
Current configuration : 81 bytes
!
interface TenGigabitEthernet2/0/1
switchport
shutdown
no mls qos trust
end
This was a routed port before but during troubleshooting I configured it to switchport and now I can't seem to take that off
Any help?
08-10-2014 11:02 PM
Try doing this:
conf t
default interface tengig2/0/1
(wait for a few seconds)
interface tengig2/0/1
no switchport
08-11-2014 11:30 PM
run the command in global configuration mode
08-11-2014 11:38 PM
Yeap! Just what francis said as well, ip routing needs to be enabled :D
08-12-2014 10:31 PM
Yeah it was. All the interfaces are routed :)
08-11-2014 11:36 PM
sorry, before you run that command you have to run ip routing command at global congig mode. then on interface mode run no switchport command.
08-12-2014 10:28 PM
thanks guys for you replies.
There is cisco bug CSCsk22554 related to this issue.
I reloaded the router which fixed it as recommended by cisco TAC
should have tried default interface first!
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide