If you are involved in manufacturing activities/ providing taxable service, you can claim credit of excise duty paid, even if it is to 2nd stage dealer.
Reference in CENVAT credit Rule3:-
3. CENVAT credit. -
(1) A manufacturer or producer of final products or a provider of taxable service shall be allowed to take credit (hereinafter referred to as the CENVAT credit) of -
(i) the duty of excise specified in the First Schedule to the Excise Tariff Act, leviable under the Excise Act;
(ii) the duty of excise specified in the Second Schedule to the Excise Tariff Act, leviable under the Excise Act;