i have to Switches connected together via trunk,on the trunk i allowed 5 vlan to cross the trunk (Port-channel 4) from SW1 to SW2 but on sw2 i found all vlan there?what could be the problem
If i understand you right, you have more than five vlans, and you have allowed 5 vlans on the trunk, but you are seeing all your other vlans??
If so, Are you running VTP on your switch???
Or you can post your config and i'll have a look.