Mechanism to ask switches for information