A:ALA-48>config>vsm# info detail
#------------------------------------------
echo "Versatile Services Module Configuration"
#------------------------------------------
vsm
ccag 1 create
no description
cca-rate max
access
adapt-qos distribute
exit
path a
weight 50
rate max aggregate
sap-sap
no mac
no mtu
egress
pool
resv-cbs default
slope-policy "default"
exit
exit
ingress
pool
resv-cbs default
slope-policy "default"
exit
exit
exit
sap-net
no mac
no mtu
egress
pool
resv-cbs default
slope-policy "default"
exit
exit
ingress
pool
resv-cbs default
slope-policy "default"
exit
exit
exit
net-sap
no mac
no mtu
no accounting-policy
no collect-stats
queue-policy "default"
egress
pool
resv-cbs default
slope-policy "default"
exit
exit
exit
exit
path b
weight 50
rate max aggregate
sap-sap
no mac
no mtu
egress
pool
resv-cbs default
slope-policy "default"
exit
exit
ingress
pool
resv-cbs default
slope-policy "default"
exit
exit
exit
sap-net
no mac
no mtu
egress
pool
resv-cbs default
slope-policy "default"
exit
exit
ingress
pool
resv-cbs default
slope-policy "default"
exit
exit
exit
net-sap
no mac
no mtu
no accounting-policy
no collect-stats
queue-policy "default"
egress
pool
resv-cbs default
slope-policy "default"
exit
exit
exit
exit
no shutdown
exit
exit
----------------------------------------------
A:ALA-48>config>vsm#
Example: config# card 10
config>card# mda 1
config>card>mda# mda-type vsm-cca
config>card>mda# exit
config>card#
A:ALA-48>config>card# info
----------------------------------------------
card-type iom-20g
mda 1
mda-type vsm-cca
exit
mda 2
mda-type m20-1gb-tx
exit
----------------------------------------------
A:ALA-48>config>card#
Example:
config>vsm# ccag 1
config>vsm>ccag# description "VSM test"
config>vsm>ccag# cca-rate 1000000
config>vsm>ccag# member-cca 10/1
A:ALA-48>config>vsm# info
----------------------------------------------
ccag 1 create
description "VSM test"
cca-rate 1000000
member-cca 10/1
exit
...
----------------------------------------------
A:ALA-48>config>vsm#
rate kilo-bits-per-second [aggregate|cca]
A:ALA-48>config>vsm# info
----------------------------------------------
ccag 1 create
description "VSM test"
member-cca 10/1
path a
weight 100
exit
path b
weight 100
rate 99999999
exit
no shutdown
exit
...
----------------------------------------------
A:ALA-48>config>vsm#
To support cross connection between services and network IP interfaces, the network interface port command has been augmented to allow the binding of the IP interface to a ccag cc-id. Similar to service CCAG SAPs, the network IP interface port binding command must reference the ccag-id, the CCA path (.a or .b) and the
cc-id used by the service CCAG SAP on the other CCA path.
address {ip-address/mask |
ip-address netmask} [broadcast all-ones|host-ones]
A:ALA-48>config>router# info
#------------------------------------------
echo "IP Configuration"
#------------------------------------------
...
interface "ccanet"
address 2.1.1.1/24
port ccag-1.a.net-sap:200
mac 00:00:00:00:00:ff
exit
interface "ccanet2"
address 4.1.1.1/24
port ccag-1.b.net-sap:300
static-arp 4.1.1.2 00:00:00:00:00:aa
exit
...
#------------------------------------------
A:ALA-48>config>router#
Services are provisioned onto a CCAG using a special CCAG SAP definition. CCAG SAPs must reference a ccag-id, a CCA path (a or b), a pairing type (sap-sap or sap-net) and a unique
cc-id. The
ccag-id identifies the group of CCAs that will be used for forwarding packets associated with the SAP. The path identifies the bandwidth control grouping used to manage CCA egress bandwidth. The pairing type helps the system identify which buffering resources will be used to manage egress queuing of packets. Finally, the
cc-id is used to explicitly cross connect the SAP to another SAP or network IP interface configured with the same
cc-id.
epipe service-id [customer
customer-id]
sap ccag-ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id [create]
A:ALA-48>config>service# info
-------------------------------------------
...
epipe 103 customer 6 vpn 103 create
sap 3/1/1.1.1 create
exit
sap ccag-1.a:100 create
exit
no shutdown
exit
-------------------------------------------
A:ALA-48>config>service#
vpls service-id [customer
customer-id]
sap ccag-ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id [create]
A:ALA-48>config>service# info
-------------------------------------------
...
vpls 740 customer 1 vpn 740 create
stp
shutdown
exit
sap 1/1/19:1 create
exit
sap 1/1/19:2 create
ingress
qos 3
exit
exit
sap ccag-1.a:456 create
ingress
qos 3
exit
egress
qos 1010
exit
exit
no shutdown
exit
...
-------------------------------------------
A:ALA-48>config>service#
ies service-id [customer
customer-id]
interface ip-interface-name
sap ccag-
ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id [create]
A:ALA-48>config>service# info
-------------------------------------------
...
ies 200 customer 1 create
interface "ccaiesif" create
address 8.1.1.1/24
sap ccag-1.b:456 create
ingress
qos 3
exit
egress
qos 1010
exit
exit
exit
no shutdown
exit
...
-------------------------------------------
A:ALA-48>config>service#
vprn service-id [customer
customer-id]
interface ip-interface-name
sap ccag-
ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id [create]
Example: config>service# vprn 701 customer 2 create
config>service>vprn$ interface "VSM Test" create
config>service>vprn>if$ sap ccag-2.a:100 create
config>service>vprn>if>sap$ no shutdown
config>service>vprn>if>sap# exit
config>service>vprn>if# exit
config>service>vprn# no shutdown
A:ALA-48>config>service>vprn# info
----------------------------------------------
interface "VSM Test" create
sap ccag-2.a:100 create
exit
exit
no shutdown
----------------------------------------------
A:ALA-48>config>service>vprn#
Example: config# card 10
config>card# mda 1
config>card>mda# mda-type vsm-cca
config>card>mda# shutdown
config>card>mda# exit
config>card# no mda 1
A:ALA-48>config>card# info
----------------------------------------------
card-type iom-20g
mda 2
mda-type vsm-cca
exit
----------------------------------------------
A:ALA-48>config>card#
Example:
config>router# interface ccanet
config>router>if# address 3.1.1.1/24
config>router>if# exit
A:ALA-48>config>router# info
----------------------------------------------
#------------------------------------------
echo "IP Configuration"
#------------------------------------------
...
interface "ccanet"
address 3.1.1.1/24
port ccag-1.a.net-sap:200
mac 00:00:00:00:00:ff
exit
interface "ccanet2"
address 4.1.1.1/24
port ccag-1.b.net-sap:300
static-arp 4.1.1.2 00:00:00:00:00:aa
exit
...
#------------------------------------------
A:ALA-48>config>router#
Example:
config>vsm# ccag 1
config>vsm>ccag# access
config>vsm>ccag>access#
config>vsm>ccag>access# adapt-qos distribute
config>vsm>ccag>access# exit
config>vsm>ccag# member-cca 10/2
config>vsm>ccag# exit
A:ALA-48>config>vsm# info
----------------------------------------------
ccag 1 create
description "VSM test"
member-cca 10/1
member-cca 10/2
path a
weight 100
exit
path b
weight 100
rate 99999999
exit
no shutdown
exit
...
----------------------------------------------
A:ALA-48>config>vsm# ccag 1
Example:
config>vsm# ccag 1
config>vsm>ccag# path a
config>vsm>ccag>path# no weight
config>vsm>ccag>path# net-sap
config>vsm>ccag>path>net-sap# queue-policy nq1
config>vsm>ccag>path>net-sap# egress
config>vsm>ccag>path>net-sap>egr# pool
config>vsm>ccag>path>net-sap>egr>pool# slope-policy A
config>vsm>ccag>path>net-sap>egr>pool# exit
config>vsm>ccag>path>net-sap>egr# exit
config>vsm>ccag>path>net-sap# exit
config>vsm>ccag>path# exit
config>vsm>ccag# path b
config>vsm>ccag>path# no rate
config>vsm>ccag>path# sap-sap
config>vsm>ccag>path>sap-sap# egress
config>vsm>ccag>path>sap-sap>egr# pool
config>vsm>ccag>path>sap-sap>egr>pool#
config>vsm>ccag>path>sap-sap>egr>pool# slope-policy B
config>vsm>ccag>path>sap-sap>egr>pool# exit
config>vsm>ccag>path>sap-sap>egr# exit
config>vsm>ccag>path>sap-sap# exit
config>vsm>ccag>path# exit
config>vsm>ccag#
A:ALA-48>config>vsm# info
----------------------------------------------
ccag 1 create
description "VSM test"
member-cca 10/1
member-cca 10/2
path a
net-sap
queue-policy "nq1"
egress
pool
slope-policy "A"
exit
exit
exit
exit
path b
weight 100
sap-sap
egress
pool
slope-policy "B"
exit
exit
exit
exit
no shutdown
exit
...
----------------------------------------------
A:ALA-48>config>vsm#
sap ccag-ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id
Example:
config>service# epipe 103
config>service>epipe# sap ccag-1.a:100
config>service>epipe>sap# shutdown
config>service>epipe>sap# exit
config>service>epipe# no sap ccag-1.a:100
config>service>epipe# sap ccag-1.b:200 create
config>service>epipe>sap$ no shutdown
config>service>epipe>sap$ exit
config>service>epipe#
A:ALA-48>config>service>epipe# info
----------------------------------------------
sap 3/1/1.1.1 create
exit
sap ccag-1.b:200 create
exit
no shutdown
----------------------------------------------
A:ALA-48>config>service>epipe#
vpls service-id [customer
customer-id]
sap ccag-ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id
Example: config>service>vpls# sap ccag-1.a:456
config>service>vpls>sap# shutdown
config>service>vpls>sap# exit
config>service>vpls# no sap ccag-1.a:456
config>service>vpls# sap ccag-1.b:100 create
config>service>vpls>sap$ no shutdown
config>service>vpls>sap$ exit
config>service>vpls# sap ccag-1.a:100
config>service>vpls>sap# ingress
config>service>vpls>sap>ingress# qos 3
config>service>vpls>sap>ingress# exit
config>service>vpls>sap# egress
config>service>vpls>sap>egress# qos 1010
config>service>vpls>sap>egress# exit
config>service>vpls>sap# exit
A:ALA-48>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
sap 1/1/19:1 create
exit
sap 1/1/19:2 create
ingress
qos 3
exit
exit
sap ccag-1.b:100 create
exit
no shutdown
----------------------------------------------
A:ALA-48>config>service>vpls#
ies service-id [customer
customer-id]
interface ip-interface-name
sap ccag-
ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id
Example: config>service# ies 200
config>service>ies# interface "ccanet6"
config>service>ies>if# sap ccag-1.a:101 create
config>service>ies>if>sap# ingress
config>service>ies>if>sap>ingress# qos 3
config>service>ies>if>sap>ingress# exit
config>service>ies>if>sap# egress
config>service>ies>if>sap>egress# qos 1010
config>service>ies>if>sap>egress# exit
config>service>ies>if>sap# no shutdown
config>service>ies>if>sap# exit
config>service>ies>if#
A:ALA-48>config>service>ies# info
----------------------------------------------
interface "ccaiesif" create
address 8.1.1.1/24
sap ccag-1.b:456 create
ingress
qos 3
exit
egress
qos 1010
exit
exit
exit
interface "ccanet6" create
address 7.1.1.1/24
sap ccag-1.a:101 create
ingress
qos 3
exit
egress
qos 1010
exit
exit
exit
no shutdown
----------------------------------------------
A:ALA-48>config>service>ies#
vprn service-id [customer
customer-id]
interface ip-interface-name
sap ccag-
ccag-id.{a|b}[.
sap-net|.
sap-sap]:
cc-id
Example: config>service# vprn 701
config>service>vprn# interface "VSM-Test Config" create
config>service>vprn>if$ sap ccag-2.b:50 create
config>service>vprn>if>sap$ no shutdown
config>service>vprn>if>sap$ exit
config>service>vprn>if# exit
config>service>vprn#
A:ALA-48>config>service>vprn# info
----------------------------------------------
interface "VSM Test" create
sap ccag-2.a:100 create
exit
exit
interface "VSM-Test Config" create
sap ccag-2.b:50 create
exit
exit
no shutdown
----------------------------------------------
A:ALA-48>config>service>vprn#