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

dot1q and encapsulation 3

Status
Not open for further replies.

sigma2

Instructor
Apr 2, 2003
2
US
when i´m trying to configure my router to route between 2 vlan i get stuck. The command "encapsulation" isn´t available. Anyone knows why?
router:cisco 2620, OS:12.2
switch:cisco 2950
Router(config)#int f0/0.1
Router(config-subif)#encapsulation dot1q 2 - Doesn´t work
thanks chris
 
If you cannot configure the encapsulation it is assuming a default, and in the 2950 it should be the 801.1q. Please check with the following command:
show interface <interface-id> switchport
The <interface-id> should reffer to the trunk interface.
 

The encapsulation dot1Q 1 native command was added in Cisco IOS version 12.1(3)T. If you are using an earlier version of Cisco IOS, then you need to use 802.1Q configuration for Cisco IOS Versions Earlier than 12.1(3)T

Here is an example of how to do that:

c2600#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

!-- Select FastEthernet 0/0 for the trunk configuration.
c2600(config)#int fastEthernet 0/0
c2600(config-if)#no shut

!-- Note that the IP address for VLAN1 is configured on the main interface,
!-- and no encapsulation for VLAN1 will be done under the sub-interface.

c2600(config-if)#ip address 10.10.10.1 255.255.255.0
c2600(config-if)#exit

!-- Configure dot1q encapsulation for VLAN 2
!-- on sub-interface fastEthernet 0/0.2.

c2600(config)#int fastEthernet 0/0.2
c2600(config-subif)#encapsulation dot1Q 2
c2600(config-subif)#

!-- Configuring L3 information on the sub-interface 0/0.2.

c2600(config-subif)#ip address 10.10.11.1 255.255.255.0
c2600(config-subif)#exit
c2600(config)#^Z

 
Make sure you have IP Plus software on your router too..


BuckWeet
 
oops you said you are using 12.2, Should have noticed that my fault there

Buckwheet is right you need IP plus or better yet Enterprise edition of the IOS to user that feature
 
thanks all.
Seems like i only have IP not IP Plus. Is this file, c2600-is-mz.12.2-5d, available for download anywhere. Anyone knows?
regards chris
 
BuckWeet is right, for VLAN Trunking [ISL/802.1Q], u need to run, at a minimum, the IP PLUS IOS Featureset... your encapsulation command will then become available..

good luck..
 
I have the same problem with 3600 router.
what version should i use to support encapsulation dot1q?
how do i recognise from the version name (*.bin) if it's an IP plus package?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top