Create shaped Gen-2 SAPs by configuring the scheduler mode to 16-priority. On Gen-3 hardware, the scheduler mode is always 4-priority and SAPs are shaped.
Configure a shaped SAPs’ aggregate rates by setting the CIR and PIR, as required. The SAP must be shut down before the scheduler mode and the agg-rate and cir-rate can be changed.
Use the first CLI syntax (below) to create shaped SAPs for access egress and access ingress for VLL and VPLS services (including routed VPLS), and the second syntax for IES and VPRN services. Examples are given for Epipe and IES services on Gen-2 and Gen-3 hardware:
config>service>epipe service-id customer customer-id create
sap sap-id create
egress
scheduler-mode {4-priority | 16-priority}
agg-rate-limit agg-rate [cir cir-rate]
ingress
scheduler-mode {4-priority | 16-priority}
agg-rate-limit agg-rate [cir cir-rate]
config>service>ies service-id customer customer-id create
interface ip-interface-name create
sap sap-id create
egress
scheduler-mode {4-priority | 16-priority}
agg-rate-limit agg-rate [cir cir-rate]
ingress
scheduler-mode {4-priority | 16-priority}
agg-rate-limit agg-rate [cir cir-rate]
In the examples below, MDA 1/12 is a Gen-2 adapter card and MDA 1/3 is a Gen-3 adapter card.
config>service>epipe# sap 1/12/8 create
config>service>epipe>sap# shutdown
config>service>epipe>sap# egress
...egress# scheduler-mode 16-priority
...egress# agg-rate-limit 250000 cir 150000
config>service>epipe# sap 1/12/7 create
config>service>epipe>sap# ingress
...ingress# scheduler-mode 16-priority
...ingress# agg-rate-limit 250000 cir 150000
config>service>epipe# sap 1/3/2 create
config>service>epipe>sap# ingress
...ingress# agg-rate-limit 250000 cir 150000
config>service>ies# interface ‟ies_6000_interface”
config>service>ies>if# sap 1/12/5 create
config>service>ies>if>sap# shutdown
config>service>ies>if>sap# egress
...egress# scheduler-mode 16-priority
...egress# agg-rate-limit 250000 cir 150000
config>service>ies# interface ‟ies_6001_interface”
config>service>ies>if# sap 1/12/6 create
config>service>ies>if>sap# # ingress
...ingress# scheduler-mode 16-priority
...ingress# agg-rate-limit 250000 cir 150000
config>service>ies>if# sap 1/3/3 create
config>service>ies>if>sap# # ingress
...ingress# agg-rate-limit 250000 cir 150000
The following outputs display the shaped SAP configuration for Epipe and IES services:
*A:7705custDoc:Sar18>config>service>epipe# info
----------------------------------------------
....
sap 1/12/7 create
shutdown
ingress
scheduler-mode 16-priority
agg-rate-limit 250000 cir 150000
exit
exit
sap 1/12/8 create
shutdown
egress
scheduler-mode 16-priority
agg-rate-limit 250000 cir 150000
exit
exit
sap 1/3/2 create
shutdown
egress
agg-rate-limit 250000 cir 150000
exit
exit
----------------------------------------------
*A:7705custDoc:Sar18>config>service>epipe#
*A:7705custDoc:Sar18>config>service>ies# info
----------------------------------------------
....
interface "ies_6000_interface" create
sap 1/12/5 create
shutdown
egress
scheduler-mode 16-priority
agg-rate-limit 250000 cir 150000
exit
exit
exit
interface "ies_6001_interface" create
sap 1/12/6 create
shutdown
ingress
scheduler-mode 16-priority
agg-rate-limit 250000 cir 150000
exit
exit
exit
interface "ies_6002_interface" create
sap 1/3/3 create
shutdown
egress
agg-rate-limit 250000 cir 150000
exit
exit
----------------------------------------------