Exploiting differentiated filter configuration in fixed and flex-grid optical networks