|
|
Service objects can be created, modified, and deleted using the CPC Script Language Flow-Through Interface (FTI). This chapter provides detailed examples of the creation, modification, and deletion of the full compliment of Service Objects that are available in CPC, depending on the array of Service Applications that have been included with your CPC installation. These can include:
![]() |
Note This chapter will deal with creating, modifying, and deleting each type of Service Object. For a full list of Service Object commands, refer to the chapter "Script Language Tutorial." |
This section provides examples for creating, modifying and deleting ATM Service Objects using the CPC Script Language FTI. Examples will includes the procedure behind a specific operation, and the order of operations in creating the service (if multiple Service Objects need to be created to complete the provisioning of a service).
You can create, modify and delete ATM Service Objects using the CPC Script Language FTI and the ATM Service Application. The ATM Service Object creates an end to end Service from an ATM logical port on a WAN switch in one subnetwork to an ATM logical port on a WAN switch in another subnetwork. Numerous PVs can be created across several subnetworks in the creation of a Service.
alias -x atmcreate="java com.syndesis.activator.Activator \ `com.syndesis.frrm.RAsvServiceObject create " atmcreate AVcr=auto "AVdescription=Create ATM Service" \ name=ex-2-1 \ a_tp=STGEN_CC5_2/NAOC3-11-3-1 z_tp=Tor_bpx_1./4.2 \ qos=nrt_VBR az_tdtype=VBR.1 za_tdtype=VBR.1 \ az_scr=2400 az_pcr=2400 za_scr=2400 za_pcr=2400
In this example, the ATM Service created in example C-1 is being modified to add a customer name.
alias - x atmmodify="java com.syndesis.activator.Activator \ com.syndesis.frrm.RAsvServiceObject modify " atmmodify AVcr=auto "AVdescription=Modify ATM Service" \ name=ex-2-1 \ vpn=bigNSP
alias -x atmdelete="java com.syndesis.activator.Activator \ com.syndesis.frrm.RAsvServiceObject delete " atmdelete AVcr=auto "AVdescription=Delete ATM Service" \ name=ex-2-1
This section provides examples for creating, modifying and deleting Frame Relay Service Objects using the CPC Script Language FTI. Examples will include the procedure behind a specific operation, and the order of operations in creating the service (if multiple Service Objects need to be created to complete the provisioning of a service).
You can create, modify, and delete Frame Relay Service Objects using the CPC Script Language FTI and the ATM Service Application.
alias -x frcreate="java com.syndesis.activator.Activator \ com.syndesis.frrm.RFsvServiceObject create " frcreate AVcr=auto "AVdescription=Create FR Service" \ name=FR_110 \ a_tp=L9002/FT1-3-1-1 z_tp=L9001/FT1-3-1-1 \ az_cir=16 az_bc=16 az_be=16 za_cir=16 za_bc=16 \ za_be=16 priority=Low vpn=ISP
In this example, the Frame Relay Service created in example Example C-4 is being modified to add an NNI Recovery Priority value.
alias-x frmodify="java com.syndesis.activator.Activator \ com.syndesis.frrm.RFsvServiceObject modify " frmodify AVcr=auto "AVdescription=Modify FR Service" \ name=FR_110 \ recoveryprio=5
alias -x frdelete="java com.syndesis.activator.Activator \ com.syndesis.frrm.RFsvSericeObject delete " frdelete AVcr=auto "AVdescription=Delete FR Service" \ name=FR_110
This section provides examples for creating, modifying and deleting FR-ATM Interworking Service Objects using the CPC Script Language FTI. Examples will include the procedure behind a specific operation, and the order of operations in creating the service (if multiple Service Objects need to be created to complete the provisioning of a service).
You can create, modify and delete FR-ATM Interworking Service Objects using the CPC Script Language FTI and the Interworking Service Application.
When creating an interworking service, the A endpoint must specify a Frame Relay logical port and the Z endpoint must specify an ATM logical port.
alias -x iwcreate="java com.syndesis.activator.Activator \ com.syndesis.frrm.RFixServiceObject create " iwcreate AVcr=auto "AVdescription=Create FR-ATM Service" \ name=IWK-Service-1 \ a_tp=MSE_4/FTI-3-1-1 z_tp=ST_1/DS3-S1-C5-D1 \ az_cir=10 az_bc=10 az_be=10 za_cir=10 za_bc=10 \ za_be=10 qos=nrt_VBR az_tdtype=VBR.3 za_tdtype=VBR.3
In this example, the FR-ATM Interworking Service created in example Example C-7 is being modified to add a customer name.
alias -x iwmodify="java com.syndesis.activator.Activator \ com.syndesis.frrm.RFixServiceObject modify " iwmodify AVcr=auto "AVdescription=Modify FR-ATM Service" \ name=IWK-Service-1 \ vpn=netISP
alias -x iwdelete="java com.syndesis.activator.Activator com.syndesis.frrm.RFixServiceObject delete " iwdelete AVcr=atuo "AVdescription=Delete FR=ATM Service" \ name=IWK-Service-1
This section provides examples for creating, modifying and deleting DSL Service Objects using the CPC Script Language FTI. Examples will include the procedure behind a specific operation, and the order of operations in creating the service (if multiple Service Objects need to be created to complete the provisioning of a service).
You can create, modify and delete DSL Service Objects using the CPC Script Language FTI and the DSL Service Application. Creating an end to end DSL Service follows the following order of operations:
Step 2 Create a Provider Service Definition (PSD)
Step 3 Create Provider Access Points (PAP)
Step 4 Create Provider Access Definitions (PAD)
Step 5 Create L3 Connectivity and L2TP Subscriber Aggregation Points or LAN Subscriber Aggregation Points if L2TP/LAN aggregation is required.
Step 6 Create a L2TP Destination Service and an IPRoute Service (necessary only for L2TP aggregation).
Step 7 Create a L2TP Tunnel Aggregation Point (TAP) if L2TP multi-hop aggregation is required.
Step 8 Create Subscribers
Step 9 Create a Subscriber Connection attached to a Provider Access Point (PAP) or Subscriber Aggregation Point (SAP).
Step 10 Create a Subscriber Destination if dynamic binding is used (for L2TP case).
The following examples illustrate the method of creating, modifying and deleting a DSL Provider Service using the Script Language FTI. The DSL Provider Service Object represents a particular DSL Service Provider Creating a DSL Provider Service Object.
alias -x provcreate="java com.syndesis.activator.Activator \ com.syndsis.sdl.SDLProvider create " provcreate AVcr=auto "AVdescription=Create DSL Provider" \ name=Provider1 \ maxsubsc=125000 \ id=prov_1111
In this example, the Provider created in example is being modified to lower the maximum number of subscribers to 75000.
alias -x provmodify="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLProvider modify " provmodify AVcr=auto "AVdescription=Modify DSL Provider" \ name=Provider1 \ maxsubsc=75000
alias -x provdelete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLProvider delete " provdelete AVcr=auto "AVdescription=Delete DSL Provider" \ name=Provider1
The following examples illustrate the method of creating, modifying and deleting a DSL Provider Service Definition (PSD) using the Script Language FTI. The PSD defines a particular Service for the Provider. One Provider can have multiple service definitions. Examples of PSDs include: Gold ATM Service, Silver ATM Service, Bronze ATM Service and VoiceOver ATM ATM Service.
alias -x psdcreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPsd create " psdcreate AVcr=auto "AVdescription=Create DSL PSD" \ name=Gold_101 \ servicetype=ATM \ provider.name=Provider1\ papPolicy=ATMonly
In this example, the PSD created in example Example C-12 is being modified to change the PAP selection policy.
alias -x psdmodify="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPsd modify " psdmodify AVcr=auto "AVdescription=Modify DSL PSD" \ name=Gold_101 \ papPolicy=FRonly
alias -x psddelete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPsd delete " psddelete AVcr=auto "AVdescription=Delete DSL PSD" \ name=Gold_101
The following examples illustrate the method of creating, modifying and deleting a DSL Provider Access Point using the Script Language FTI. This Service Object represents a Provider's Access Point (Link) to the network, like DS3 or OC3 links for example. One Provider can have multiple Access Points. The Provider Access Point is set for a Provider and creates a logical port on a WAN switch if one does not exist. The logical port is the point where the provider is connected to the backbone network.
alias -x papcreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPap create " papcreate AVcr=auto "AVdescription=Create DSL PAP" \ name=PAP_239 \ provider.name=Provider1 \ port=Net112/CBX_120/233 \ type=FR \ lportname=LP-2-3-3 \ maxconnections=1670 \ oversubscr=100 \ location=Denver
In this example, the PAP created in example Example C-15 is being modified to change the name of the oversubscription for the PAP.
alias -x papmodify="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPap modify " papmodify AVcr=auto "AVdescription=Modify DSL PAP" \ name=PAP_239 \ oversubscr=200
alias -x papdelete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPsd delete " papdelete AVcr=auto "AVdescription=Delete DSL PAP" \ name=PAP_239
The following examples illustrate the method of creating and deleting a DSL Provider Access Definition (PAD) using the Script Language FTI. The PAD defines different VPI/VCI or DLCI ranges for a particular Access Point in a DSL Service. A Provider Access Definition can not be modified.
alias -x padcreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPad create " padcreate AVcr=auto "AVdescription=Create DSL PAD" \ name=ATM_G11_PAD \ provider.name=Provider1 \ pap=SDLPap:1034 \ service.name=GOLD_101 \ minconid=0/12 \ maxconid=64/68
alias -x paddelete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLPad delete " paddelete AVcr=auto "AVdescription=Delete DSL PAP" \ name=ATM_G11_PAD
The following examples illustrates the method of creating, modifying and deleting a DSL Provider Subscriber Service using the Script Language FTI. A DSL Subscriber Service represents a particular DSL Subscriber. The Subscriber is identified by it's name and the Access point. The Access point for the subscriber could be either a DSL physical port on a DSLAM or an ATM or Frame Relay physical port to which DSLAM is connected. The following examples involve the activation of a Frame Relay subscriber.
alias -x subscreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscriber create " subscreate AVcr=auto "AVdescription=Create DSL Subscribe" \ name=Subscriber1 \ id=809684-3 \ subscriberport=Network1/DSLAM1_11/1193 \ protocoltype=FR \ uprate=1024 \ dnrate=1024
In this example, the Subscriber service created in example Example C-20 is being modified to increase the upstream and downstream rates to 2048.
alias -x subsmodify="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscriber modify " subsmodify AVcr=auto "AVdescription=Modify DSL Subscriber" \ name=Subscriber1 \ uprate=2048 \ dnrate=2048
alias -x subsdelete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscriber delete " subsdelete AVcr=auto "AVdescription=Delete DSL Subscriber" \ name=Subscriber1
The following examples illustrate the method of creating, modifying and deleting a DSL Subscriber Connection Service using the Script Language FTI. This Service Object represents a particular service subscription for the subscriber. One Subscriber can have multiple subscriptions for different services. Those services can be provided by the same Provider or by different Providers. Creation of a Subscriber Connection will require Provider, Subscriber and Service Definition information and SAP if the service type is aggregated.
alias -x subconcreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscConnection create " subconcreate AVcr=auto "AVdescription=Create DSL Subscriber Connection" \ name=SC1 \ provider.name=Provider1 \ service.name=Gold_Service_FR \ servicetype=FR \ subscriber.name=Subscriber1 \ az_rate=128 \ za_rate=512
In this example, the Subscriber Connection service created in example Example C-23 is being modified to change the upstream and downstream rates to 1000.
alias -x subconmod="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscConnection modify " subconmod AVcr=auto "AVdescription=Modify DSL Subscriber Connection" \ name=SC1 az_rate=1000 \ za_rate=1000
alias -x subconde1="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscConnection delete " subcondel AVcr=auto "AVdescription=Delete DSL Subscriber" \ name=SC1
The creation of a L3 Connectivity service object is necessary in activating a Subscriber for L2TP aggregation. This Service Object manages IP connectivity between either two Node Routing Processors (NRPs) on the Cisco 6400 UAC or between an NRP and a PAP. An L3 Connectivity service object must be created with a name, a Provider A side port on the Cisco 6400 NRP, service definition information, NRP source and destination subinterface IP addresses, and upstream and downstream rates.
alias -x 13create="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL3Conn create " 13create AVcr=auto "AVdescription=Create L3 Conn" \ name=LC3_101 \ provider.name=Provider1 \ service.name=Gold_PPP \ a_nrp=Network3/BPX_12/11_12 \ a_subifip=101.21.0.4 \ az_rate=10 \ za_rate=20 \ z_subifip=102.4.5.6
In this example, the L3 connectivity service created in example Example C-26 is being modified to increase the downstream rate to 2000.
alias -x 13modify="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL3Conn modify " l3modify AVcr=auto "AVdescription=Modify L3 Conn" \ name=LC3_101 \ za_rate=2000
alias -x 13delete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL3Conn delete " 13delete AVcr=auto "AVdescription=Delete L3 Conn" \ name=LC3_101
The L2TP Subscriber Aggregation Point (SAP) Service Object manages L2TP Aggregation Points (Tunnels) in the Radius Server.
alias -x 12sapcreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPSap create " 12sapcreate AVcr=auto "AVdescription=Create L2TP SAP" \ name=L2TP_102 \ tunnelname=Tunnel_102 \ password=abc_102 \ radius.srname=Radius_Server_1 \ provider.name=Provider1 \ masubsc=1000 \ 12tptype=L2TPSAP
In this example, the L2TP SAP created in example Example C-29 is being modified to increase the maximum number of subscribers to 2000.
alias -x 12sapmodify="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPSap modify " 12sapmodify AVcr=auto "AVdescription=Modify L2TP SAP" \ name=L2TP_102 \ masubsc=2000
alias -x 12sapdelete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPSap delete " 12sapdelete AVcr=auto "AVdescription=Delete L2TP SAP" \ name=L2TP_102
The creation of a DSL LAN Subscriber Aggregation Point is necessary in activating a subscriber for LAN aggregation. This Service Object manages LAN aggregation on a Copper Mountain CopperEdge DSLAM.
alias -x lansapcreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLLANSap create " lansapcreate AVcr=auto "AVdescription=Create LAN SAP" \ name=LANSAP_10 \ node=Net112/DSLAM_511 \ provider.name=Provider1 \ service.name=LAN_Silver_Service \ az_rate=256 za_rate=1024 maxsubsc=1250 agginterfacetype=Bridged
In this example, the LAN SAP created in Example C-32 is being modified to increase the maximum number of subscribers to 1500.
alias -x lansapmod="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLLANSap modify " lansapmod AVcr=auto "AVdescription=Modify LAN SAP" \ name=LANSAP_10 \ maxsubsc=1500
alias -x lansapdel="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLLANSap delete " lansapdel AVcr=auto "AVdescriptor=Delete LAN SAP" \ name=LANSAP_10
The creation of an L2TP Destination Service is created in order to provision a tunnel destination on the Cisco 6400 device. An L2TP Destination Service is needed in order to aggregate tunnels on a 6400 Node Route Processor (NRP).
alias -x 12tpcreate="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPDest create " 12tpcreate AVcr=auto "AVdescription=Create L2TP Destination" \ name=Dest_11 \ 12tpsap.name=L2TP_102 \ destipaddr=202.11.23.11 \ maxsubsc=500
In this example, the L2TP Destination Service created in example Example C-35 is being modified to increase the maximum number of subscribers to 1500.
alias -x 12tpmodify="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPDest modify " 12tpmodify AVcr=auto "AVdescription=Modify L2TP Destination" \ name=Dest_11 \ maxsumbsc=1500
alias -x12tpdelete="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPDest delete " 12tpdelete AVcr=auto "AVdescription=Delete L2TP Destination" \ name=Dest_11
The creation of an IP Route Service is necessary to achieve L2TP tunnel aggregation. This service provisions an entry in the static routing table on a Cisco 6400 NRP.
alias -x iproute="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLIPRoute create " iproute AVcr=auto "AVdescription=Create IP Route" \ name=Route_11 \ destination.name=Dest_11 \ 13conn.name=LC3_101
In this example, the IP Route Service created in example Example C-38 is being modified to change the rfu1attribute.
alias -x iproutemod="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLIPRoute modify " iproutemod AVcr=auto "AVdescription=Modify IP Route" \ name=Route_11 \ rfu1=abc_123
alias -x iproutedel="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLIPRoute delete " iproutedel AVcr=auto "AVdescription=Delete IP Route" \ name=Route_11
The L2TP Tunnel Aggregation Point (TAP) is a service used to aggregate multiple single-hop tunnels (SHTs) into one multi-hop egress tunnel (MHET). Creation of this object will create an aggregation key in the 6400.
alias -x 12tptap="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPTap create " 12tptap AVcr=auto "AVdescription=Create L2TP TAP" \ name=Tap_111 \ type=tunnelname \ a_tunnel.name=L2TP_103 \ z_tunnel.name=L2TP_102
In this example, the Tunnel Aggregation Point created in example Example C-41 is being modified to change the rfu1 attribute.
alias -x12tptapmod="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPTap modify " 12tptapmod AVcr=auto "AVdescription=Modify L2TP TAP" \ name=Tap_111 \ rfu1=xyz_102
alias -x 12tptapdel="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLL2TPTap delete " 12tptapdel AVcr=auto "AVdescription=Delete L2TP TAP" \ name=Tap_111
A Subscriber Destination Service provisions different destinations for the same Subscriber Connection on the Cisco 6400. This service is used when dynamic binding is chosen. If static binding is chosen, a Subscriber Destination Service object is created automatically as a part of the creation of a Subscriber Connection Service Object.
alias -x createsubdest="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscDestination create " createsubdest AVcr=auto "AVdescription=Create Subscriber Dest" \ name=Dest_103 \ subscconnection.name=SC1 \ domainbinding=dynamic \ 12tpsap.name=L2TP_102 \
When modifying a subscriber destination service, certain restrictions must be considered.
If the domainbinding attribute is changed from dynamic to static and other destinations for the same subscriber connection exist, an exception will be thrown.
alias -x modifysubdest="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscDestination modify " modifysubdest AVcr=auto "AVdescription=Modify Subscriber Dest" \ domainbinding=static
alias -x deletesubdest="java com.syndesis.activator.Activator \ com.syndesis.sdl.SDLSubscDestination delete " deletesubdest AVcr=auto "AVdescription=Delete Subscriber Dest" \ name=Dest_103
This section provides examples for creating, modifying and deleting CBR Service Objects using the CPC Script Language FTI. Example will include the procedure behind a specific operation, and the order of operations in creating the service (if multiple Service Objects need to be created to complete the provisioning of a service).
You can create, modify and delete CBR Service Objects (CBR-CBR) using the CPC Script Language FTI and the Private Line Service Application.
alias -x cbrcreate="java com.syndesis.activator.Activator \ com.syndesis.scb.SCB1CBR create " cbrcreate AVcr=auto "AVdescription=Create CBR Service" \ name=CBR_T1 \ a_tp=LY1/1-05-001 z_tp=LY1/2-05-002 \ srprofile.sy_profname=CBR1
In this example, the CBR Service created in example Example C-47 is being modified by changing the service profile.
alias - x cbrmodify="java com.syndesis.activator.Activator \ com.syndesis.scb.SCB1CBR modify " cbrmodify AVcr=auto "AVdescription=Modify CBR Service" \ name=CBR_T1 \ srprofile.sy_profname=CBR5
alias -x cbrdelete="java com.syndesis.activator.Activator \ com.syndesis.scb.SCB1CBR delete " cbrdelete AVcr=auto "AVdescription=Delete CBR Service" \ name=CBR_T1
This section provides examples for creating, modifying and deleting Circuit Emulation Service Objects (CBR-ATM) using the CPC Script Language FTI. Examples will include the procedure behind a specific operation, and the order of operations in creating the service (if multiple Service Objects need to be created to complete the provisioning of a service).
You can create, modify and delete Circuit Emulation Objects using the CPC Script Language FTI and the Private Line Service Application.
alias -x cescreate="java com.syndesis.activator.Activator \ com.syndesis.scb.SCB3CES create " cescreate AVcr=auto "AVdescription=Create CES Service" \ name=CES_T1 \ a_tp=LY1/1-05-001 z_tp=LY1/2-05-002 \ srprofile.sy_profname=CES1
In this example, the Circuit Emulation Service created in example Example C-50 is being modified by changing the service profile.
alias -x cesmodify="java com.syndesis.activator.Activator \ com.syndesis.scb.SCB3CES modify " cesmodify AVcr=auto "AVdescription=Modify CES Service" \ name=CES_T1 \ srprofile.sy_profname=CES2
alias -x cesdelete="java com.syndesis.activator.Activator \ com.syndesis.scb.SCB3CES delete " cesdelete AVcr=auto "AVdescription=Delete CES Service" \ name=CES_T1
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Aug 3 16:21:44 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.