Mirror service configuration

Workflow

See the “Mirror services” chapter of the NSP NFM-P Classic Management User Guide for information about the prerequisites and workflow to create a mirror service. The following describes the workflow to create a mirror service.

 

Create a mirror service.


Create a mirror service destination with a source far end and an access interface. This is the mirror destination on router A in Figure 19-13, Remote service mirroring .


Create a mirror service source site with a spoke SDP binding and a source port. This is the mirror source on router B in Figure 19-13, Remote service mirroring .

Examples

The following example shows XML requests to create a remote mirror service that contains a destination site with the far end address of the source and an access interface, and another request to create source site with a spoke SDP binding.

Mirror service creation parameters

Figure 19-14: Simple mirror service creation request example
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
   <deployer>immediate</deployer>
   <synchronousDeploy>true</synchronousDeploy>
   <distinguishedName>svc-mgr</distinguishedName>
   <childConfigInfo>
      <mirror.Mirror>
         <actionMask>
            <bit>create</bit>
         </actionMask>
         <subscriberPointer>subscriber:1</subscriberPointer>
          ..
      </mirror.Mirror>
   </childConfigInfo>
</generic.GenericObject.configureChildInstance>

Mirror service destination site creation parameters

Figure 19-15: Mirror service destination creation request example
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
   <deployer>immediate</deployer>
   <synchronousDeploy>true</synchronousDeploy>
   <distinguishedName>svc-mgr:service-732</distinguishedName>
   <childConfigInfo>
      <mirror.Site>
         <actionMask>
            <bit>create</bit>
         </actionMask>
         <siteId/>
         <mirrorSiteType>destination</mirrorSiteType>
         <children-Set>
            <mirror.RemoteSource>
               <actionMask>
                  <bit>create</bit>
               </actionMask>
               <remoteSourceSiteId/>
            </mirror.RemoteSource>
            <mirror.L2AccessInterface>
               <actionMask>
                  <bit>create</bit>
               </actionMask>
               <portPointer/>
               <innerEncapValue/>
               <outerEncapValue/>
            </mirror.L2AccessInterface>
         </children-Set>
      </mirror.Site>
   </childConfigInfo>
</generic.GenericObject.configureChildInstance>

Mirror service source site creation parameters

Figure 19-16: Mirror service source creation request example
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
   <deployer>immediate</deployer>
   <synchronousDeploy>true</synchronousDeploy>
   <distinguishedName>svc-mgr:service-732</distinguishedName>
   <childConfigInfo>
      <mirror.Site>
         <actionMask>
            <bit>create</bit>
         </actionMask>
         <siteId/>
         <mirrorSiteType>source</mirrorSiteType>
         <children-Set>
            <svt.MirrorSdpBinding>
               <actionMask>
                  <bit>create</bit>
               </actionMask>
               <tunnelSelectionTerminationSiteId/>
            </svt.MirrorSdpBinding>
            <mirror.SourcePort>
               <actionMask>
                  <bit>create</bit>
               </actionMask>
               <portName/>
            </mirror.SourcePort>
         </children-Set>
      </mirror.Site>
   </childConfigInfo>
</generic.GenericObject.configureChildInstance>

The following example outlines what is required for an XML request to create a remote mirror service that contains a destination site with the far-end address of the source and an access interface, and a source site with a spoke SDP binding, in one request.

Mirror service creation parameters

The following figure shows an example of a request to create a mirror service, including the source, destination, and SDP binding

Figure 19-17: Complete mirror service creation request example
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
   <deployer>immediate</deployer>
   <synchronousDeploy>true</synchronousDeploy>
   <distinguishedName>svc-mgr</distinguishedName>
   <childConfigInfo>
      <mirror.Mirror>
         <actionMask>
            <bit>create</bit>
         </actionMask>
         <subscriberPointer>subscriber:1</subscriberPointer>
         <children-Set>
            <mirror.Site>
               <actionMask>
                  <bit>create</bit>
               </actionMask>
               <siteId/>
               <mirrorSiteType>destination</mirrorSiteType>
               <children-Set>
                  <mirror.RemoteSource>
                     <actionMask>
                        <bit>create</bit>
                     </actionMask>
                     <remoteSourceSiteId/>
                  </mirror.RemoteSource>
                  <mirror.L2AccessInterface>
                     <actionMask>
                        <bit>create</bit>
                     </actionMask>
                     <portPointer/>
                     <innerEncapValue/>
                     <outerEncapValue/>
                  </mirror.L2AccessInterface>
               </children-Set>
            </mirror.Site>
            <mirror.Site>
               <actionMask>
                  <bit>create</bit>
               </actionMask>
               <siteId/>
               <mirrorSiteType>source</mirrorSiteType>
               <children-Set>
                  <svt.MirrorSdpBinding>
                     <actionMask>
                        <bit>create</bit>
                     </actionMask>
                     <tunnelSelectionTerminationSiteId/>
                  </svt.MirrorSdpBinding>
                  <mirror.SourcePort>
                     <actionMask>
                        <bit>create</bit>
                     </actionMask>
                     <portName/>
                  </mirror.SourcePort>
               </children-Set>
            </mirror.Site>
         </children-Set>
      </mirror.Mirror>
   </childConfigInfo>
</generic.GenericObject.configureChildInstance>