Register a new system usig RedHat username and password and subscribe it to default and optional channels:
subscription-manager register subscription-manager subscribe --auto subscription-manager repos --enable=rhel-6-server-optional-rpms