US President Donald Trump speaks during a meeting with NATO Secretary General Jens Stoltenberg in the Oval Office of the White House in Washington, DC, May 17, 2018. (Photo by SAUL LOEB / AFP)        (Photo credit should read SAUL LOEB/AFP/Getty Images)
SAUL LOEB/AFP/Getty Images
US President Donald Trump speaks during a meeting with NATO Secretary General Jens Stoltenberg in the Oval Office of the White House in Washington, DC, May 17, 2018. (Photo by SAUL LOEB / AFP) (Photo credit should read SAUL LOEB/AFP/Getty Images)
Now playing
02:41
Trump blasts NATO allies ahead of summit
WASHINGTON, DC - JULY 17:  U.S. President Donald Trump talks about his meeting with Russian President Vladimir Putin, during a meeting with House Republicans in the Cabinet Room of the White House on July 17, 2018 in Washington, DC. Following a diplomatic summit in Helsinki, Trump faced harsh criticism after a press conference with Putin where he would not say whether he believed Russia meddled with the 2016 presidential election. (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images North America/Getty Images
WASHINGTON, DC - JULY 17: U.S. President Donald Trump talks about his meeting with Russian President Vladimir Putin, during a meeting with House Republicans in the Cabinet Room of the White House on July 17, 2018 in Washington, DC. Following a diplomatic summit in Helsinki, Trump faced harsh criticism after a press conference with Putin where he would not say whether he believed Russia meddled with the 2016 presidential election. (Photo by Mark Wilson/Getty Images)
Now playing
02:18
Trump questions commitment to defend NATO allies
Shutterstock
Now playing
02:37
Montenegro residents laugh off Trump's remarks
National Security Advisor John Bolton listens as US President Donald Trump addresses the nation on the situation in Syria April 13, 2018 at the White House in Washington, DC. Trump said strikes on Syria are under way.  / AFP PHOTO / Mandel NGAN        (Photo credit should read MANDEL NGAN/AFP/Getty Images)
MANDEL NGAN/AFP/Getty Images
National Security Advisor John Bolton listens as US President Donald Trump addresses the nation on the situation in Syria April 13, 2018 at the White House in Washington, DC. Trump said strikes on Syria are under way. / AFP PHOTO / Mandel NGAN (Photo credit should read MANDEL NGAN/AFP/Getty Images)
Now playing
00:50
Bolton criticized Trump's NATO stance in 2016
Trump NATO
POOL
Trump NATO
Now playing
01:09
Trump: Alliance to NATO remains 'very strong'
US President Donald Trump gestures as he addresses a press conference on the second day of the North Atlantic Treaty Organization (NATO) summit in Brussels on July 12, 2018. (Photo by Brendan SMIALOWSKI / AFP)        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
BRENDAN SMIALOWSKI/AFP/Getty Images
US President Donald Trump gestures as he addresses a press conference on the second day of the North Atlantic Treaty Organization (NATO) summit in Brussels on July 12, 2018. (Photo by Brendan SMIALOWSKI / AFP) (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
00:52
Trump explains what he thinks of Putin
Trump NATO 2
POOL
Trump NATO 2
Now playing
00:25
Trump to reporter: I'm a very stable genius
U.S. President Donald Trump speaks during a press conference after a summit of heads of state and government at NATO headquarters in Brussels, Belgium, Thursday, July 12, 2018. NATO leaders gather in Brussels for a two-day summit. (AP Photo/Geert Vanden Wijngaert)
Geert Vanden Wijngaert/AP
U.S. President Donald Trump speaks during a press conference after a summit of heads of state and government at NATO headquarters in Brussels, Belgium, Thursday, July 12, 2018. NATO leaders gather in Brussels for a two-day summit. (AP Photo/Geert Vanden Wijngaert)
Now playing
03:41
Fact-checking Trump's NATO claims
NATO Secretary General Jens Stoltenberg (L), US President Donald Trump (R), NATO Assistant Secretary General for Political Affairs and Security Policy Alejandro Alvargonzalez (2L), NATO Spokesperson Oana Lungescu (3L) and White House Chief of Staff John Kelly (3R) and US Ambassador to NATO Kay Bailey Hutchison (2R) speak at a breakfast meeting at the US chief of mission's residence in Brussels on July 11, 2018, ahead of a NATO (North Atlantic Treaty Organization) summit. Brendan Smialowski/AFP/Getty Images
Brendan Smialowski/AFP/Getty Images
NATO Secretary General Jens Stoltenberg (L), US President Donald Trump (R), NATO Assistant Secretary General for Political Affairs and Security Policy Alejandro Alvargonzalez (2L), NATO Spokesperson Oana Lungescu (3L) and White House Chief of Staff John Kelly (3R) and US Ambassador to NATO Kay Bailey Hutchison (2R) speak at a breakfast meeting at the US chief of mission's residence in Brussels on July 11, 2018, ahead of a NATO (North Atlantic Treaty Organization) summit. Brendan Smialowski/AFP/Getty Images
Now playing
01:49
Trump's NATO comment made his own staff squirm
U.S. President Donald Trump attends a meeting of the North Atlantic Council during a summit of heads of state and government at NATO headquarters in Brussels on Wednesday, July 11, 2018. NATO leaders gather in Brussels for a two-day summit to discuss Russia, Iraq and their mission in Afghanistan. (AP Photo/Geert Vanden Wijngaert)
Geert Vanden Wijngaert/AP
U.S. President Donald Trump attends a meeting of the North Atlantic Council during a summit of heads of state and government at NATO headquarters in Brussels on Wednesday, July 11, 2018. NATO leaders gather in Brussels for a two-day summit to discuss Russia, Iraq and their mission in Afghanistan. (AP Photo/Geert Vanden Wijngaert)
Now playing
02:05
Trump unleashes on allies at NATO summit
CNN
Now playing
01:00
NATO secretary general: We have to invest more
POOL
Now playing
01:30
Trump: Germany held captive by Russia
ZAGAN, POLAND - JUNE 18:  A soldier of the Polish Army mans a tank as a NATO flag flies behind during the NATO Noble Jump military exercises of the VJTF forces on June 18, 2015 in Zagan, Poland. The VJTF, the Very High Readiness Joint Task Force, is NATO's response to Russia's annexation of Crimea and the conflict in eastern Ukraine. Troops from Germany, Norway, Belgium, Poland, Czech Republic, Lithuania and Holland were among those taking part today.  (Photo by Sean Gallup/Getty Images)
Sean Gallup/Getty Images Europe/Getty Images
ZAGAN, POLAND - JUNE 18: A soldier of the Polish Army mans a tank as a NATO flag flies behind during the NATO Noble Jump military exercises of the VJTF forces on June 18, 2015 in Zagan, Poland. The VJTF, the Very High Readiness Joint Task Force, is NATO's response to Russia's annexation of Crimea and the conflict in eastern Ukraine. Troops from Germany, Norway, Belgium, Poland, Czech Republic, Lithuania and Holland were among those taking part today. (Photo by Sean Gallup/Getty Images)
Now playing
01:23
What's the point of NATO?
CNN
Now playing
02:20
NATO ambassador: Discord music to Putin's ears
NATO flag flying at NATO Headquarters Brussels.
From NATO/From NATO/From NATO
NATO flag flying at NATO Headquarters Brussels.
Now playing
02:23
What Trump says about NATO and what it actually does
(CNN) —  

The Senate took a bipartisan swipe at President Donald Trump on Tuesday when it overwhelmingly approved a motion of support for NATO.

The 97-2 vote reflects the broad concerns on Capitol Hill over Trump’s seeming ambivalence about the alliance and his commitment to it.

The vote came the same day Trump arrived in Brussels, Belgium, for a summit of NATO nations and shortly before he heads to Helsinki, Finland, for a one-on-one session with Russian President Vladimir Putin.

Before he landed in Brussels, Trump tweeted some of his concerns about NATO:

“Many countries in NATO, which we are expected to defend, are not only short of their current commitment of 2% (which is low), but are also delinquent for many years in payments that have not been made. Will they reimburse the U.S.?”

Sen. Jack Reed, the Rhode Island Democrat who authored the nonbinding motion, spoke on the Senate floor.

“No one should ever doubt the United States’ resolve in meeting its commitments to the mutual defense of the NATO alliance,” Reed said. “Unfortunately, this motion has become necessary because some of our closest allies have come to question the US commitment to collective self-defense. President Trump has at times called the alliance ‘obsolete.’ Our allies are starting to wonder whether they can rely on the United States to come to their defense in a crisis.”

In an interview on CNN, Sen. John Thune of South Dakota, the third-ranking Senate GOP leader, explained why the motion was needed.

“I think it is important that we demonstrate a strong commitment to the NATO alliance,” Thune said. “I mean this is something that has served freedom-loving countries well for half a century.”

The motion also called on the administration to “urgently prioritize the completion of a comprehensive, whole-of-government strategy to counter malign activities of Russia that seek to undermine faith in democratic institutions in the United States and around the world.”

Critics have repeatedly accused Trump of being too close to Putin and not responsive to evidence of meddling by Russia in the last US presidential election.

Two GOP senators, Mike Lee of Utah and Rand Paul of Kentucky, voted against the measure.

“Why is the U.S. Senate pushing to expand NATO when most of them aren’t even paying their fair share? I stand with @realDonaldTrump,” Paul said in a tweet.

Lee’s office did not immediately respond to a request for an explanation why the Utah senator voted against the measure.