Subscriber agg-rate-limit on LNS

In non-LNS ESM environment, the existing agg-rate-limit command is applied to the subscriber within the subscriber profile (sub-profile). However, the agg-rate-limit cannot be the highest level in subscriber’s HQoS hierarchy. The agg-rate-limit is only effective if it is applied to a subscriber that is tied to a port-scheduler. In other words, the port-scheduler in subscriber’s HQoS hierarchy is a prerequisite for successful operation of agg-rate-limit. On regular MDAs, the port-scheduler is directly applied to a physical port. The port between the carrier IOM and the ISA is an internal port that is not exposed in the CLI. This is shown in Figure: QoS hierarchy on LNS.

Figure: QoS hierarchy on LNS

The port-scheduler is applied to the internal lns-esm port in the egress direction. The lns-esm egress port is a port between the carrier IOM and the ISA that is passing traffic from all VRFs that have subscriber L2TP sessions terminated in the corresponding ISA.

Use the following CLI syntax to apply the port-scheduler to each lns-esm port:

configure
    port-policy <port-policy-name
        egress-scheduler-policy <port-scheduler-policy-name>

Port-policy at the root CLI level creates a port policy manager that can apply various policies (port scheduler) to hidden, dynamically created ports for WLAN GW/LNS/NAT.

CLI syntax:

configure
    isa
        lns-group <grp-id>
            mda <card>/<slot>
            mda <card>/<slot>
            :
            port-policy <port-policy-name>

The port policy itself is applied to internal LNS port under the lns-group CLI hierarchy. The port scheduler is automatically applied to egress lns-esm ports on carrier IOMs toward every LNS ISA in the lns-group. The port schedulers have the same configuration on every lns-esm port in the lns group but operate independently on each port. Additional consideration: