• Register the system: subscription-manager register or subscription-manager register --username <username> --password <password>
  • Pulls the latest subscription data from the server: subscription-manager refresh
  • Attache the best-matched, compatible subscriptions: subscription-manager attach --auto
  • Lists all repositories provided by the content service that the system uses: subscription-manager repos --list
  • Enables the specified repository: subscription-manager repos --enable=rhel-7-server-optional-beta-rpms
  • Disables the specified repository: subscription-manager repos --disable=rhel-7-server-optional-beta-rpms
  • Lists all possible subscriptions that have been purchased, even if they do not match the system architecture: subscription-manager list --available --all
  • Attaches a specified subscription to the registered system: subscription-manager attach --pool=8af5f9643d4ade76013123451f6e495d
  • Disable all repositories (this will set "manage_repo" to 0 in /etc/rhsm/rhsm.conf and redhat.repo file will be deleted): subscription-manager config --rhsm.manage_repos=0