Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to create sub interfaces 2

Status
Not open for further replies.

phonetech1

Technical User
Jan 31, 2005
164
0
0
US
Hi All,
I have a 3550 switch which is used mostly for intervlan routing.

I am trying to create a port with subinterfaces and I am getting this error.

interface FastEthernet0/24
description Desk 4
no switchport
no ip address
spanning-tree portfast

3550-1(config)#interface fa0/24.10
^
% Invalid input detected at '^' marker.

ip routing is enabled

Here is sh ver

3550-1 uptime is 5 hours, 52 minutes
System returned to ROM by power-on
System image file is "flash:c3550-ipservices-mz.122-25.SEE4/c3550-ipservices-mz.122-25.SEE4.bin"

Cisco WS-C3550-24-PWR (PowerPC) processor (revision D0) with 65526K/8192K bytes of memory.

Any ideas what I am doing wrong?
Thanks
 
You won't create sub-interfaces like that on the switch. Instead, just create the vlan interfaces and then assign each switch port to the appropriate vlan.

 
I need to use vlan tagging. This is for a device in the lab that will be connected to one switch port.

Are you saying that 3550 switch doesn't support sub interfaces?
 
All you need to do is to create a trunk on the 3550 if you need to tag vlans .

interface fx/x
switchport mode trunk
switchport trunk encapsulation dot1q
switchport nonegotiate
switchport trunk native vlan X
switchport trunk allowed vlan <vlan numbers>

 
The "sub-interface" is therefore going to be your VLAN interfaces"
interface VLAN 10
ip address 10.1.10.1 255.255.255.0
no shut

interface VLAN 11
ip address 10.1.11.1 255.255.255.0
no shut

etc....

So your physical interface gets:
interface f0/24
sw tr en do
sw mo tr
sw tr all vlan 10,11
no shut

And the switch it connects to has the same switchport config.

( & the VLANs usually won't become active until you actually patch something live to a port that is in that VLAN on one of the switches in the network.)
 
Sorry for not closing the thread.
It worked on a different machine, so I've used that.
There must be something running on the first 3550 that prevents me from creating sub interfaces.
I can't start taking things out of the configuration to find out what it is.
One day I will.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top