9.2. Configuring MCAC with CLI

This section provides information to configure MCAC using the command line interface.

9.2.1. Basic MCAC Configuration

Perform the following basic MCAC configuration tasks:

  1. configure policy name
  2. configure bundle parameters
  3. specify default action

The following example displays the enabled IGMP and PIM configurations:

A:LAX>config>router>igmp# info
----------------------------------------------
        interface "lax-vls"
        exit
        interface "p1-ix"
        exit
----------------------------------------------
A:LAX>config>router>igmp# info detail
----------------------------------------------
        interface "lax-vls"
            no import
            version 3
            no shutdown
        exit
        interface "p1-ix"
            no import
            version 3
            no shutdown
        exit
        query-interval 125
        query-last-member-interval 1
        query-response-interval 10
        robust-count 2
        no shutdown
----------------------------------------------
A:LAX>config>router>igmp# exit
A:LAX>config>router# pim
A:LAX>config>router>pim# info
----------------------------------------------
            interface "system"
            exit
            interface "lax-vls"
            exit
            interface "lax-sjc"
            exit
            interface "p1-ix"
            exit
            rp
                static
                    address 10.22.187.237
                        group-prefix 239.24.24.24/32
                    exit
                exit
                bsr-candidate
                    shutdown
                exit
                rp-candidate
                    shutdown
                exit
            exit
----------------------------------------------
A:LAX>config>router>pim# info detail
----------------------------------------------
            no import join-policy
            no import register-policy
            interface "system"
                priority 1
                hello-interval 30
                multicast-senders auto
                no tracking-support
                bsm-check-rtr-alert
                no shutdown
            exit
            interface "lax-vls"
                priority 1
                hello-interval 30
                multicast-senders auto
                no tracking-support
                bsm-check-rtr-alert
                no shutdown
            exit
            interface "lax-sjc"
                priority 1
                hello-interval 30
                multicast-senders auto
                no tracking-support
                bsm-check-rtr-alert
                no shutdown
            exit
            interface "p1-ix"
                priority 1
                hello-interval 30
                multicast-senders auto
                no tracking-support
                bsm-check-rtr-alert
                no shutdown
            exit
            apply-to none
            rp
                no bootstrap-import
                no bootstrap-export
                static
                    address 10.22.187.237
                        no override
                        group-prefix 239.24.24.24/32
                    exit
                exit
                bsr-candidate
                    shutdown
                    priority 0
                    hash-mask-len 30
                    no address
                exit
                rp-candidate
                    shutdown
                    no address
                    holdtime 150
                    priority 192
                exit
            exit
            no shutdown
----------------------------------------------
A:LAX>config>router>pim#

9.2.2. Configuring MCAC Parameters

The MCAC policies can be added to a SAP, spoke-SDP, mesh-SDP, an IGMP interface, and a PIM interface.

The following example displays the command usage to create MCAC policies.

Example:
config>router# mcac
config>router>mcac# policy "btv_fr"
config>router>mcac>policy# description "foreign TV offering"
config>router>mcac>policy# bundle "FOR" create
config>router>mcac>policy>bundle# bandwidth 30000
config>router>mcac>policy>bundle# channel 239.0.3.1 239.0.3.1 bw 4000
config>router>mcac>policy>bundle# channel 239.0.3.2 239.0.3.2 bw 4000
config>router>mcac>policy>bundle# channel 239.0.4.1 239.0.4.1 bw 3500 class high type mandatory
config>router>mcac>policy>bundle# channel 239.0.4.2 239.0.4.2 bw 3500 class high
config>router>mcac>policy>bundle# channel 239.0.4.3 239.0.4.3 bw 2800 type mandatory
config>router>mcac>policy>bundle# channel 239.0.4.4 239.0.4.4 bw 2800
config>router>mcac>policy>bundle# mc-constraints
config>router>mcac>policy>bundle>mc-constraints# level 1 bw 20000
config>router>mcac>policy>bundle>mc-constraints# level 2 bw 20000
config>router>mcac>policy>bundle>mc-constraints# level 3 bw 20000
config>router>mcac>policy>bundle>mc-constraints# level 4 bw 20000
config>router>mcac>policy>bundle>mc-constraints# level 5 bw 20000
config>router>mcac>policy>bundle>mc-constraints# level 6 bw 20000
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 1 number-down 1 level 1
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 1 number-down 2 level 3
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 1 number-down 3 level 5
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 2 number-down 1 level 1
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 2 number-down 2 level 3
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 2 number-down 3 level 5
config>router>mcac>policy>bundle>mc-constraints# exit
config>router>mcac>policy>bundle# no shutdown
config>router>mcac>policy>bundle# exit
config>router>mcac>policy# exit
config>router>mcac# policy "btv_vl"
config>router>mcac>policy# description "eastern TV offering"
config>router>mcac>policy# bundle "VRT" create
config>router>mcac>policy>bundle# bandwidth 120000
config>router>mcac>policy>bundle# channel 239.1.2.0 239.1.2.4 bw 4000 class high type mandatory
config>router>mcac>policy>bundle# channel 239.1.2.5 239.1.2.5 bw 20000 type mandatory
config>router>mcac>policy>bundle# channel 239.1.2.10 239.1.2.10 bw 8000 type mandatory
config>router>mcac>policy>bundle# channel 239.2.2.0 239.2.2.4 bw 4000
config>router>mcac>policy>bundle# channel 239.2.2.5 239.2.2.5 bw 10000 class high
config>router>mcac>policy>bundle# channel 239.2.2.6 239.2.2.6 bw 10000 class high
config>router>mcac>policy>bundle# channel 239.2.2.7 239.2.2.7 bw 10000
config>router>mcac>policy>bundle# channel 239.2.2.8 239.2.2.8 bw 10000
config>router>mcac>policy>bundle# mc-constraints
config>router>mcac>policy>bundle>mc-constraints# level 1 bw 60000
config>router>mcac>policy>bundle>mc-constraints# level 2 bw 50000
config>router>mcac>policy>bundle>mc-constraints# level 3 bw 40000
config>router>mcac>policy>bundle>mc-constraints# level 4 bw 30000
config>router>mcac>policy>bundle>mc-constraints# level 5 bw 20000
config>router>mcac>policy>bundle>mc-constraints# level 6 bw 10000
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 1 number-down 1 level 1
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 1 number-down 2 level 3
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 1 number-down 3 level 5
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 2 number-down 1 level 1
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 2 number-down 2 level 3
config>router>mcac>policy>bundle>mc-constraints# lag-port-down 2 number-down 3 level 5
config>router>mcac>policy>bundle>mc-constraints# exit
config>router>mcac>policy>bundle# no shutdown
config>router>mcac>policy>bundle# exit
config>router>mcac>policy# exit

The following example displays the configuration:

*A:ALA-48>config>router>mcac# info
----------------------------------------------
        policy "btv_fr"
            description "foreign TV offering"
            bundle "FOR" create
                bandwidth 30000
                channel 239.0.3.1 239.0.3.1 bw 4000
                channel 239.0.3.2 239.0.3.2 bw 4000
                channel 239.0.4.1 239.0.4.1 bw 3500 class high type mandatory
                channel 239.0.4.2 239.0.4.2 bw 3500 class high
                channel 239.0.4.3 239.0.4.3 bw 2800  type mandatory
                channel 239.0.4.4 239.0.4.4 bw 2800
                mc-constraints
                    level 1 bw 20000
                    level 2 bw 20000
                    level 3 bw 20000
                    level 4 bw 20000
                    level 5 bw 20000
                    level 6 bw 20000
                    lag-port-down 1 number-down 1 level 1
                    lag-port-down 1 number-down 2 level 3
                    lag-port-down 1 number-down 3 level 5
                    lag-port-down 2 number-down 1 level 1
                    lag-port-down 2 number-down 2 level 3
                    lag-port-down 2 number-down 3 level 5
                exit
                no shutdown
            exit
        exit
        policy "btv_vl"
            description "eastern TV offering"
            bundle "VRT" create
                bandwidth 120000
                channel 239.1.2.0 239.1.2.4 bw 4000 class high type mandatory
                channel 239.1.2.5 239.1.2.5 bw 20000  type mandatory
                channel 239.1.2.10 239.1.2.10 bw 8000  type mandatory
                channel 239.2.2.0 239.2.2.4 bw 4000
                channel 239.2.2.5 239.2.2.5 bw 10000 class high
                channel 239.2.2.6 239.2.2.6 bw 10000 class high
                channel 239.2.2.7 239.2.2.7 bw 10000
                channel 239.2.2.8 239.2.2.8 bw 10000
                mc-constraints
                    level 1 bw 60000
                    level 2 bw 50000
                    level 3 bw 40000
                    level 4 bw 30000
                    level 5 bw 20000
                    level 6 bw 10000
                    lag-port-down 1 number-down 1 level 1
                    lag-port-down 1 number-down 2 level 3
                    lag-port-down 1 number-down 3 level 5
                    lag-port-down 2 number-down 1 level 1
                    lag-port-down 2 number-down 2 level 3
                    lag-port-down 2 number-down 3 level 5
                exit
                no shutdown
            exit
        exit
----------------------------------------------
*A:ALA-48>config>router>mcac#