I dont think there is any problem with layer 2, as you are able to see the switch on CDP.
Are you configuring the main switch as VTP server and the other as client ? In that case, if you dont assign the IP address to the VLAN in the second switch , you cannot ping the 4006 from the 2950 switch.
Give us a little more information of the layer 3 configs done at your end.
On the 4006 the VTP oper mode is Server and it is in VTP domain HHH, On the 2950 I have not set up any VTP config could this be the problem. The 4006 has the IP address associated with the vlan and the GIG port is just layer 2 with access to the vlan. Same on the 2950 IP address is associated with the vlan and the Gig port has switchport access to the vlan.
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...