Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
the command is usable in global config mode. and still supported by newer version of IOS (tested on Cat3k_caa-Universalk16.12.5b)You might also want to negate "errdisable detect cause gbic-invalid" if its configured in your environment.