North Korea has warned the US not to take provocative action in the region, saying it is "ready to hit back with nuclear attacks".
The comments came as North Korea marked the 105th anniversary of the birth of its founding president, Kim Il-sung.
A huge parade in Pyongyang was held amid speculation current leader Kim Jong-un could order a new nuclear test.
Among the hardware on display appeared to be new intercontinental and submarine-launched ballistic missiles.
The show of strength comes amid mounting tension, with a US aircraft carrier group steaming towards the region.
- North Koreans celebrate leader amid tensions
- Trump's steep learning curve
- Read more about North Korea's missile programme
"We're prepared to respond to an all-out war with an all-out war," said Choe Ryong-hae, believed to be the country's second most powerful official.
"We are ready to hit back with nuclear attacks of our own style against any nuclear attacks," he said.
Rows of military bands and goose-stepping and sword-wielding soldiers marched through Pyongyang's main Kim Il-sung square for the "Day of the Sun" celebrations, as a black-suited Kim Jong-un watched on.
Image copyrightREUTERSImage caption
He saluted an honour guard and took his place on the podium. At times he appeared relaxed and laughed with aides.
Military planes created the number 105 in the sky.
With concerns that North Korea is getting closer to successfully producing a nuclear arsenal, Saturday's parade was an opportunity for Mr Kim to broadcast North Korea's current military capabilities.
On display for the first time were what appeared to be the Pukkuksong submarine-launched ballistic missiles (SLBMs), which have a range of more than 1,000 km (600 miles).
Weapons analysts said there also appeared to be two new types of intercontinental ballistic missiles in canister launchers, but it remains unclear whether they have been tested.
Image copyrightREUTERSImage caption
The event made clear how vital the state's nuclear programme is to its future ambitions as it continues to ignore growing pressure from the US to abandon its nuclear weapons programme.
North Korea has conducted five nuclear tests and a series of missile launches. Experts and government officials believe it is working to develop nuclear-warhead missiles that can reach the US.
On Friday, China's Foreign Minister Wang Yi warned that "conflict could break out at any moment", adding that if war occurred there could be no winner.
Unlike at previous Pyongyang parades there did not appear to be any Chinese representatives present.
Image copyrightGETTY IMAGESImage caption
Adding to Chinese unease, US President Donald Trump said on Thursday that "the problem of North Korea" would be "taken care of".
"If China decides to help, that would be great. If not, we will solve the problem without them! U.S.A."
Vice-President Mike Pence will be in South Korea on Sunday as part of a 10-day Asia trip.
The aircraft carrier USS Carl Vinson and an accompanying battle group have also been sent to the Korean peninsula.
"We are sending an armada. Very powerful," Mr Trump told the Fox Business Network. "He is doing the wrong thing," he said of Kim Jong-un. "He's making a big mistake."
However, Associated Press quoted US officials as saying that the Trump administration was focusing more on raising pressure on North Korea with the help of China rather than using military force.
The US president has recently demonstrated his willingness to resort to military methods. He ordered a cruise missile attack on Syria in retaliation for a suspected chemical weapons attack, and the US military just used a huge bombagainst so-called Islamic State in Afghanistan.
Media captionHow North Korea is testing the US