switch configuration