03-05-2009 12:00 PM - edited 03-06-2019 04:24 AM
Can you setup a switch port to be both a "no switchport" to allow you to assign it an IP number AND enable it as a trunk to route VLAN traffic over the same interface?
If so...how would you go about setting this up? It seems if you issue a no switchport, then assign an IP you can't then enable trunking on the same port.
~Steve
03-05-2009 12:03 PM
Steve
The "no switchport" command turns the port into a L3 routed port. If it is a L3 routed port it can't at the same time be a L2 trunk port.
So no you can't have the same port as both a routed port and a trunk port. What are you trying to achieve ? - remember that you can use SVI's to allocate IP addresses.
Jon
03-05-2009 02:25 PM
Jon,
I didn't think this was possible. Thanks for the confirmation.
~Steve
03-05-2009 12:07 PM
You can use subinterface to realize routing between vlan.
http://www.cisco.com/en/US/docs/ios/12_1/switch/configuration/guide/xcdvl80q.html
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: