Use the following CLI syntax to configure Apipe SAP parameters.
config>service# apipe service-id [customer customer-id] [vpn vpn-id] [vc-type {atm-vcc|atm-sdu|atm-vpc|atm-cell}][vc-switching]
— sap sap-id
— accounting-policy acct-policy-id
— atm
— egress
— traffic-desc traffic-desc-profile-id
— ingress
— traffic-desc traffic-desc-profile-id
— oam
— alarm-cells
— terminate
— collect-stats
— description description-string
— egress
— qos policy-id
— scheduler-policy scheduler-policy-name
— ingress
— qos policy-id [shared-queuing]
— scheduler-policy scheduler-policy-name
— multi-service-site customer-site-name
— no shutdown
The following example shows the command usage to create Apipe SAPs:
PE router 1 (A:ALA-41), example:
A:ALA-41>config>service# apipe 5
A:ALA-41>config>service>apipe# sap 1/1/1:0/32 create
A:ALA-41>config>service>apipe>sap# ingress
A:ALA-41>config>service>apipe>sap>ingress# qos 102
A:ALA-41>config>service>apipe>sap>ingress# exit
A:ALA-41>config>service>apipe>sap# egress
A:ALA-41>config>service>apipe>sap>egress# qos 103
A:ALA-41>config>service>apipe>sap>egress# exit
A:ALA-41>config>service>apipe>sap# no shutdown
A:ALA-41>config>service>apipe>sap# exit
A:ALA-41>config>service>apipe#
PE router 2 (A:ALA-42), example:
A:ALA-42>config>service# apipe 5
A:ALA-42>config>service>apipe# sap 2/2/2:0/32 create
A:ALA-42>config>service>apipe>sap# ingress
A:ALA-42>config>service>apipe>sap>ingress# qos 102
A:ALA-42>config>service>apipe>sap>ingress# exit
A:ALA-42>config>service>apipe>sap# egress
A:ALA-42>config>service>apipe>sap>egress# qos 103
A:ALA-42>config>service>apipe>sap>egress# exit
A:ALA-42>config>service>apipe>sap# no shutdown
A:ALA-42>config>service>apipe>sap# exit
A:ALA-42>config>service>apipe#
The following output shows the Apipe SAP configuration.
PE router 1 (ALA-41):
A:ALA-41>config>service# info
-------------------------------------
...
apipe 5 customer 1 create
description "apipe test"
service-mtu 1400
sap 1/1/1:0/32 create
ingress
qos 102
exit
egress
qos 103
exit
exit
no shutdown
exit
...
-------------------------------------
A:ALA-41>config>service#
PE router 2 (ALA-42):
A:ALA-42>config>service# info
-------------------------------------
...
apipe 5 customer 1 create
description "apipe test"
service-mtu 1400
sap 2/2/2:0/32 create
ingress
qos 102
exit
egress
qos 103
exit
exit
no shutdown
exit
...
-------------------------------------
A:ALA-42>config>service#