Watch the Connect Diagonally: Half Step, Whole online guitar lesson by Dave Celentano from CAGED Commander
Now check out a different two string/seven note sequence that uses a friendly finger combination of 'index, middle, and pinkie'. The pinkie handles the ascending shifts and the index takes the descending shifts. This and the former example show two ways to quickly get up and down the fretboard by using octave positions to parrot musical ideas. See if you can spot which CAGED patterns are being covered here.