Defending Schools’ Cup champions RBAI had to survive a late rally by Belfast rivals Campbell to book their place in the quarter-finals.