switch behavior on configtype.