Applying a Shaper Policy

The following examples illustrate the CLI syntax to apply a shaper policy to an MDA and a hybrid port (access and network egress).

CLI Syntax:
config>card>mda#
    access 
        ingress
            shaper-policy policy-name
CLI Syntax:
config>port>ethernet#
    egress-rate sub-rate 
    mode hybrid 
    access 
        egress
            shaper-policy policy-name
            unshaped-sap-cir cir-rate
    network 
        egress
            shaper-policy policy-name
            unshaped-if-cir cir-rate

The following outputs show an ingress shaper policy applied to an MDA and different shaper policies applied to access egress and network egress traffic on a hybrid port:

*A:ALU>config>card>mda>access# info detail
----------------------------------------------
                ingress
                    fabric-policy 1
                    security-queue-policy 1
                    shaper-policy "test_shaper_policy"
                exit
----------------------------------------------
*A:ALU>config>card>mda>access#
*A:ALU>config>port>ethernet# info
----------------------------------------------
            mode hybrid
            encap-type dot1q
            network
                egress
                    shaper-policy 2
                    unshaped-if-cir 250000
                exit
            exit
            access
                egress
                    unshaped-sap-cir 200000
                    shaper-policy 5
                exit
            exit
----------------------------------------------