From: But Nicky (lyredhair@gmail.com)
Date: Sun Nov 23 2008 - 05:47:48 ARST
Hi Omkar,
More reference,
http://www.cisco.com/en/US/docs/ios/lanswitch/command/reference/lsw_b1.html#wp1020413
the second-dot1q is only available with sub-interface.
Regards,
But Nguyen,
On Sun, Nov 23, 2008 at 2:29 PM, Omkar Tambalkar <omkar.groupstudy@gmail.com
> wrote:
> What type of scenario has prompted you to use the following configuration?
> interface FastEthernet0/0
>  no shut
> interface FastEthernet0/0.1
>  encapsulation dot1q 212 second-dot1q 12
>  ip add 1.1.1.1 255.255.255.0
> - Omkar
>
> On Sat, Nov 22, 2008 at 7:42 PM, But Nicky <lyredhair@gmail.com> wrote:
>
>> Hi all,
>> I have just fixed my problem.
>> Only change a little bit as below:
>> SW2
>> !
>> interface FastEthernet0/2
>>  switchport access vlan 212
>>  *switchport mode trunk*
>>  switchport nonegotiate
>>  no cdp enable
>>  no shut
>> !
>> My network work fine.
>>
>> Thanks away.
>> But Nguyen,
>>
>> On Sun, Nov 23, 2008 at 5:28 AM, But Nicky <lyredhair@gmail.com> wrote:
>>
>> > My topology as below:
>> >
>> >
>> R1[F0/0]-------[F0/1]SW1[F0/13]---Trunk---[F0/13]SW2[F0/2]--------[F0/0}R2
>> > 1.1.1.1/24
>> > 1.1.1.2/24
>> >
>> ==========================================================================
>> > R1:
>> > !
>> > interface FastEthernet0/0
>> >  no shut
>> > interface FastEthernet0/0.1
>> >  encapsulation dot1q 212 second-dot1q 12
>> >  ip add 1.1.1.1 255.255.255.0
>> > !
>> > =====================================
>> > SW1
>> > !
>> > vlan 12,212
>> > sytem mtu 1504
>> > !
>> > interface FastEthernet0/1
>> >  switchport trunk encapsulation dot1q
>> >  switchport mode dot1q-tunnel
>> >  switchport nonegotiate
>> >  no cdp enable
>> >  no shut
>> > !
>> > interface FastEthernet0/13
>> >  switchport trunk encapsulation dot1q
>> >  switchport mode trunk
>> >  no shut
>> > !
>> > Rack3SW1(config)#do st
>> >
>> > Port        Mode             Encapsulation  Status        Native vlan
>> > Fa0/13      on               802.1q         trunking      1
>> >
>> > Port        Vlans allowed on trunk
>> > Fa0/13              1-4094
>> >
>> > Port                Vlans allowed and active in management domain
>> > Fa0/13              1,12,212
>> >
>> > Port                Vlans in spanning tree forwarding state and not
>> pruned
>> > Fa0/13              1,12,212
>> > =====================================
>> > SW2
>> > !
>> > vlan 12,212
>> > sytem mtu 1504
>> > !
>> > interface FastEthernet0/2
>> >  switchport access vlan 212
>> >  switchport mode dot1q-tunnel
>> >  switchport nonegotiate
>> >  no cdp enable
>> >  no shut
>> > !
>> > interface FastEthernet0/13
>> >  switchport trunk encapsulation dot1q
>> >  switchport mode trunk
>> >  no shut
>> > !
>> > Rack3SW2(config)#do st
>> >
>> > Port        Mode             Encapsulation  Status        Native vlan
>> > Fa0/13      on               802.1q         trunking      1
>> >
>> > Port        Vlans allowed on trunk
>> > Fa0/13              1-4094
>> >
>> > Port                Vlans allowed and active in management domain
>> > Fa0/13              1,12,212
>> >
>> > Port                Vlans in spanning tree forwarding state and not
>> pruned
>> > Fa0/13              1,12,212
>> > =====================================
>> > R2:
>> > !
>> > !
>> > interface FastEthernet0/0
>> >  no shut
>> > interface FastEthernet0/0.1
>> >  encapsulation dot1q 12
>> >  ip add 1.1.1.2 255.255.255.0
>> > !
>> >
>> >
>> ============================================================================
>> > Result:
>> > R1(config-subif)#do ping 1.1.1.2 re 100
>> >
>> > Type escape sequence to abort.
>> > Sending 100, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
>> > ......................................................................
>> > ..............................
>> > Success rate is 0 percent (0/100)
>> >
>> > I try to change order beetwen 12, 212 in R1 fa0/0.1, but the same
>> result.
>> > Please let me know, where is I am wrong??? and how to debug this case???
>> >
>> > Thanks in advandce,
>> > But Nguyen.
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:31 ARST