The most basic configuration must specify the following:
chassis slot
line card type (must be an allowed card type)
MDA slot
MDA (must be an allowed MDA type)
specific port to configure
The following is an example of card configuration for the 7750 SR:
classic CLI configuration
A:Dut-B# admin display-config | match "Card Configuration" post-lines 22  
echo "Card Configuration"
#--------------------------------------------------
    card 6
        card-type iom4-e
        no shutdown
    exit
    card 7
        card-type iom4-e
        mda 1
            mda-type me10-10gb-sfp+
            no shutdown
        exit
        mda 2
            mda-type me1-100gb-cfp2
            no shutdown
        exit
        no shutdown
    exit
    card 8
        card-type iom4-e
        no shutdown
    exit
#--------------------------------------------------
MD-CLI configuration
A:admin@Dut-B# info
    configure {
        card 6 {
            card-type iom4-e
            mda 1 {
                mda-type me1-100gb-cfp2
            }
            fp 1 {
            }
        }
        card 7 {
            card-type iom4-e
            mda 1 {
                mda-type me10-10gb-sfp+
            }
            mda 2 {
                mda-type me1-100gb-cfp2
            }
            fp 1 {
            }
        }
        card 8 {
            card-type iom4-e
            mda 1 {
                mda-type me10-10gb-sfp+
            }
        }
The following is an example of card configurations for the 7950 XRS:
A:7950 XRS-20# configure card 1
A:7950 XRS-20>config>card# info
----------------------------------------------
        card-type xcm-x20
        mda 1
            mda-type cx20-10g-sfp
            no shutdown
        exit
        mda 2
            mda-type cx2-100g-cfp
            no shutdown
        exit
        no shutdown
----------------------------------------------