Johnny Carson hosted The Tonight Show on NBC (1962–1992). There was no CBS show "opposite" him during his run.
The major CBS late-night competitor arrived later: David Letterman hosted The Late Show on CBS from 1993–2015, opposing Jay Leno (NBC).