RE: Basic switching trunking question..please answer

From: Djerk Geurts (djerk@djerk.nl)
Date: Wed Jul 25 2007 - 05:55:49 ART


Joseph,

Mind you that ip routing is only needed when the switch needs to route
packets, not when the switch itself needs to access a subnet. Subsequently
the ip default-gateway command is used to indicate how the switch can access
subnets not directly connected.

As the vlan is directly connected on both switches my hunch is that the clan
hasn't been created yet in the vlan database. This only happens -on modern-
switches when an access mode interface is added to a vlan and not when
creating a vlan interface.

When only a vlan interface is available the interface will remain up/down
untill the vlan is added to the vlan database. This can be done with the
following commands:

switch(config)# vlan <id>
switch(config-vlan)#name <name>
[^Z]
switch#

The vlan database is updated when leaving configuration mode, not when
configuring the vlan or name. Verify the vlan database with the "show vlan"
command.

Djerk
www.djerk.nl

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of Joseph Saad
> Sent: woensdag 25 juli 2007 7:36
> To: subodh.rawat@wipro.com; ccielab@groupstudy.com
> Subject: RE: Basic switching trunking question..please answer
>
> I doubt you can treat those 2 VLAN's as directly connected.
>
> I can only think of doing 2 thing:
>
> Enable IP routing on the 2 switches
> during pinging specify the Vlan interface as the source.
>
> Also do "Debug ip icmp" on the receiving end of the ping to see if the
> packets are reached or not.
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of
> subodh.rawat@wipro.com
> Sent: Wednesday, July 25, 2007 8:43 AM
> To: ccielab@groupstudy.com
> Subject: Basic switching trunking question..please answer
>
> Hi Champs,
>
> A basic switching problem I am facing. Please see the diagram below:
>
>
> --- f1/7 f1/7 ---
> |sw1|--------------------------------|sw2|
> --- dot1Q Trunk ---
>
>
> Switch 1 is VTp Server with domain CISCO
> Switch 2 is VTP Client with domain CISCO
> port f1/7 is configured as Dot1q encapsulation on both the switches.
> Only one VLAN, i.e. VLAN 3 is added on Sw1 and Same is
> reflected in Sw2
> too when I see "show vtp status"
> and "show vlan brief" command. Please note that this VLAn is not
> associated with any physical interface of switch.
>
> When I see "sh int fa1/7 trunk" on both the switches, it shows as
> trunking with dot1q encapsulation.
>
> IP address of VLAn 3 on SW1 is 3.3.3.1/24 while on sw2 is 3.3.3.2/24.
>
> "sh ip int br" also shows up,up for fa1/7 and vlan 3.
>
> I am not able to ping 3.3.3.1 from sw2 and 3.3.3.2 from sw1.
> However, I
> can ping Ip of own switch, i.e. 3.3.3.2 from sw2 and 3.3.3.1 from sw1.
>
> Can somebody tell me what is wrong with my configuration?
>
> Another good thing is that, when I see "show cdp entry *" from either
> switches, it shows information about other switch. e.g. when
> I see "show
> cdp entry *" from sw1, it shows IP address of 3.3.3.2 (of sw2) in its
> CDP database. It means layer 2 is working perfect and trunking is also
> perfect. Trunking is working fine can be verified from the result that
> VLAN 3 is present on sw2 which is VTP client for CISCO VTP domain.
>
> I am not sure why I am not able to ping VLAN 3 IP address of
> each other
> switches.
>
>
>
> My configuration is below:
>
> Sw1
> interface FastEthernet1/7
> switchport trunk encapsulation dot1q
> switchport mode trunk
> !
> interface Vlan3
> ip address 3.3.3.1 255.255.255.0
>
> Sw2
> interface FastEthernet1/7
> switchport trunk encapsulation dot1q
> switchport mode trunk
> !
> interface Vlan3
> ip address 3.3.3.2 255.255.255.0
>
>
> CDP output:
> sw1#sh cdp entry *
> -------------------------
> Device ID: sw2
> Entry address(es):
> IP address: 3.3.3.2
> Platform: Cisco 3640, Capabilities: Router Switch IGMP
> Interface: FastEthernet1/7, Port ID (outgoing port): FastEthernet1/7
> Holdtime : 128 sec
>
> Version :
> Cisco IOS Software, 3600 Software (C3640-IS-M), Version
> 12.4(8), RELEASE
> SOFTWAR
> E (fc1)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2006 by Cisco Systems, Inc.
> Compiled Mon 15-May-06 16:27 by prod_rel_team
>
> advertisement version: 2
> VTP Management Domain: 'cisco'
> Duplex: full
>
>
> Regards
> Subodh
>
>
>
> The information contained in this electronic message and any
> attachments to
> this message are intended for the exclusive use of the
> addressee(s) and may
> contain proprietary, confidential or privileged information.
> If you are not
> the intended recipient, you should not disseminate,
> distribute or copy this
> e-mail. Please notify the sender immediately and destroy all
> copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The
> recipient should
> check this email and any attachments for the presence of viruses. The
> company
> accepts no liability for any damage caused by any virus
> transmitted by this
> email.
>
> www.wipro.com
>
> ______________________________________________________________
> _________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> ______________________________________________________________
> _________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:41 ART