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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

encapsulation on subinterface command error

Status
Not open for further replies.

elliottl

IS-IT--Management
Joined
Jan 15, 2005
Messages
1
Location
GB
I am using a 2600 with IOS version 12.2
I am working through a Cisco CCNA lab
When I type the command encapsulation dot1q 1 on the subif
if returns an error message "invalid input"


Router_A(config)#interface fastethernet 0/0
Router_A(config-if)#no shutdown
Router_A(config-if)#interface fastethernet 0/0.1
Router_A(config-subif)#encapsulation dot1q 1
Router_A(config-subif)#ip address 192.168.1.1 255.255.255.0
Router_A(config-if)#interface fastethernet 0/0.2
Router_A(config-subif)#encapsulation dot1q 10
Router_A(config-subif ip address 192.168.5.1 255.255.255.0 )#
Router_A(config-if)#interface fastethernet 0/0.3
Router_A(config-subif)#encapsulation dot1q 20
Router_A(config-subif)#ip address 192.168.7.1 255.255.255.0
Router_A(config-subif)#end

Can anyone help with an explanation ASAP.
I would really be grateful
 
i think you should actually shutdown your main interface and no shut on the subint, but that is probably not whats causing it..

CCNA, CCNP..partly ;)
 
What IOS Feature set do you have? I think you need at least IP Plus for 802.1q support - this feature isn't in the base IP feature set.

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top