The rmsx25 command either configures or unconfigures and undefines the X.25 port specified by the -l flag. The default action is to unconfigure the device while retaining its device definition in the customized devices object class.
To unconfigure and completely undefine port sx25a0, enter:
rmsx25 -l sx25a0 -d