President Abdel Fattah al-Sisi warned Egypt would strike back at any militant threats to its security as he toured the border area with Libya today, two days after Cairo bombed Islamic State targets there.

Sisi, accompanied by Defence Minister Sedki Sobhi, toured an air base near the borders with Libya to oversee measures aimed at securing his country's western frontier.

Egypt directly intervened for the first time in the conflict in neighbouring Libya on Monday after Islamic State released a video showing the beheading of 21 Egyptian Christians.

"He (Sisi) stressed that Egypt will continue to confront firmly any attempts aimed at compromising its national security," army spokesman Brigadier General Mohammad Samir said in a statement posted on his official Facebook page.

Egypt said Monday's pre-dawn strike hit militant camps, training sites and weapons storage areas in the neighbouring oil-producing country, where factional fighting has created chaos and havens for Islamist militants.

The 21 decapitations pushed Sisi into open action, expanding his battle against Islamist militancy in Libya not long after he appeared to be gaining the upper hand against militants in the Sinai Peninsula who support Islamic State.

Yesterday, he called for a United Nations resolution mandating a U.S.-led coalition fighting Islamic State in Iraq and Syria to intervene in Libya.

Ahead of a U.N. Security Council meeting today on the situation in Libya, Egypt's Foreign Minister Sameh Shukri met with ambassadors from the council's five veto-wielding powers - the United States, Britain, France, Russia and China.

Since the fall of strongman Muammar Gaddafi in 2011, a number of Islamist movements have taken hold in Libya. Recently, some have declared ties to Islamic State and claimed high-profile attacks in what appears to be an intensifying campaign.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.