![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Table Of Contents
Configuring Circuit Emulation Services
Overview of CES T1/E1 Interfaces
Functions Supported by CES Modules
Framing Formats and Line Coding Options for CES Modules
Default CES T1/E1 Interface Configuration
Configuring CES T1/E1 Interfaces
General Guidelines for Creating Soft PVCs for Circuit Emulation Services
Configuring T1/E1 Unstructured Circuit Emulation Services
Overview of Unstructured Circuit Emulation Services
Configuring a Hard PVC for Unstructured CES
Verifying a Hard PVC for Unstructured CES
Configuring a Soft PVC for Unstructured CES
Verifying a Soft PVC for Unstructured CES
Configuring T1/E1 Structured (n x 64) Circuit Emulation Services
Overview of Structured Circuit Emulation Services
Configuring a Hard PVC for Structured CES
Verifying a Hard PVC for Structured CES
Configuring a Hard PVC for Structured CES with a Shaped VP Tunnel
Verifying a Hard PVC for Structured CES with a Shaped VP Tunnel
Configuring a Soft PVC for Structured CES
Verifying a Soft PVC for Structured CES
Configuring a Soft PVC for Structured CES with CAS Enabled
Verifying a Soft PVC for Structured CES with CAS Enabled
Configuring a Soft PVC for Structured CES with CAS and On-Hook Detection Enabled
Verifying a Soft PVC for Structured CES with CAS and On-Hook Detection Enabled
Creating Multiple Structured Soft PVCs on the Same CES Port
Verifying the Creation of Multiple Structured Soft PVCs on the Same CES Port
Reconfiguring a Previously Established Circuit
Deleting a Previously Established Circuit
Verifying Deletion of a Previously Established Circuit
Configuring SGCP on the Entire Switch
Configuring CES Circuits for SGCP
Configuring SGCP Request Handling
Configuring Call-Agent Address
Configuring Circuit Emulation Services
This chapter describes circuit emulation services (CES) and how to configure the CES T1/E1 port adapters in the Catalyst 8540 MSR, Catalyst 8510 MSR, and LightStream 1010 ATM switch routers. You can use CES T1/E1 port adapters for links that require constant bit rate (CBR) services.
Note
This chapter provides advanced configuration instructions for the Catalyst 8540 MSR, Catalyst 8510 MSR, and LightStream 1010 ATM switch routers. For an overview of CES applications and operation, refer to the Guide to ATM Technology. For complete descriptions of the commands mentioned in this chapter, refer to the ATM Switch Router Command Reference publication. For hardware installation and cabling instructions, refer to the ATM Port Adapter and Interface Module Installation Guide.
This chapter includes the following sections:
•
Overview of CES T1/E1 Interfaces
•
Configuring CES T1/E1 Interfaces
•
General Guidelines for Creating Soft PVCs for Circuit Emulation Services
•
Configuring T1/E1 Unstructured Circuit Emulation Services
•
Configuring T1/E1 Structured (n x 64) Circuit Emulation Services
•
Reconfiguring a Previously Established Circuit
•
Deleting a Previously Established Circuit
Overview of CES T1/E1 Interfaces
You can use CES T1/E1 port adapters for links that require CBR services, such as interconnecting PBXs, time-division multiplexers (TDMs), and video conference equipment over campus, public, or private networks.
This section provides an overview of the hardware features and functions supported on the CES T1/E1 port adapters.
Clocking Options
You can configure each interface on the port adapter to support the following clocking options:
•
Self-timing based on a stratum 4 level clock
•
Loop timing from the received data stream—ideal for public network connections
•
Timing synchronized to a selected master clock port—required to distribute a single clock across a network
Interfaces Supported
The number of CES T1/E1 interfaces you can configure is platform dependent:
•
Catalyst 8540 MSR—up to 64 CES T1/E1 interfaces
•
Catalyst 8510 MSR and LightStream 1010—up to 32 CES T1/E1 interfaces
Connectors Supported
The CES T1 port adapters support UTP connectors and the CES E1 port adapters support UTP, foil twisted-pair, or 75-ohm BNC connectors. Status and carrier-detect LEDs on each port give quick, visual indications of port status and operation. For detailed network management support, comprehensive statistics gathering and alarm monitoring capabilities are provided.
Functions Supported by CES Modules
The functions supported by a CES module include the following:
•
Circuit emulation services interworking function (CES-IWF), which enables communication between CBR and ATM UNI interfaces
•
T1/E1 CES unstructured services
•
T1/E1 CES structured services
Framing Formats and Line Coding Options for CES Modules
The CES modules support the framing formats and line coding options shown in Table 18-1.
Default CES T1/E1 Interface Configuration
The following defaults are assigned to all CES T1/E1 interfaces:
•
Loopback = no loopback
•
Signalling mode = no signalling
•
Transmit clock source = network-derived
•
Data format = clear channel
•
Line build-out (LBO) = 0 to 110 feet
•
Cell delay variation = 2000 microseconds
•
Channel associated signalling (CAS) = FALSE
•
Partial fill = 47
•
AAL1 service type = unstructured
•
AAL1 clock mode = synchronous
The following defaults are assigned to CES T1 port adapters:
–
Framing = ESF
–
Line coding = B8ZS
The following defaults are assigned to CES E1 port adapters:
–
Framing = E1_LT
–
Line coding = HDB3
–
International bits = 0x3
–
National bits = 0x1f
–
Multiframe spare bits = 0xb
Configuring CES T1/E1 Interfaces
To manually change any of the CES T1/E1 default configuration values, enter the interface cbr global configuration command to specify a CBR interface, as follows:
interface cbr card/subcard/port
To configure the CES T1/E1 interfaces perform the following commands, beginning in global configuration mode:
Examples
The following example shows how to change the default cell delay variation for circuit 0 to 30,000, using the ces circuit command:
Switch# configure terminal
Switch(config)# interface cbr 3/0/0
Switch(config-if)# shutdown
Switch(config-if)# ces circuit 0 cdv 3000
Switch(config-if)# no shutdown
Note
You might have to use the shutdown command to shut down the interface before you can modify the circuit. After modifying the circuit, use the no shutdown command to reenable the interface.
The following example shows how to change the default CBR interface framing mode to super frame, using the ces dsx1 framing command:
Switch# configure terminal
Switch(config)# interface cbr 3/0/0
Switch(config-if)# ces dsx1 framing sf
The following example shows how to change the default CBR interface line build-out length to range from 330 to 440 feet, using the ces dsx1 lbo command:
Switch# configure terminal
Switch(config)# interface cbr 3/0/0
Switch(config-if)# ces dsx1 lbo 330_440
The following example shows how to change the default CBR interface line code method to binary 8 zero suppression, using the ces dsx1 linecode command:
Switch# configure terminal
Switch(config)# interface cbr 3/0/0
Switch(config-if)# ces dsx1 linecode b8zs
The following example shows how to change the default CBR interface loopback method to payload, using the ces dsx1 loopback command:
Switch# configure terminal
Switch(config)# interface cbr 3/0/0
Switch(config-if)# ces dsx1 loopback payload
See the "Troubleshooting the Interface Configuration" section to confirm your interface configuration.
General Guidelines for Creating Soft PVCs for Circuit Emulation Services
You can create either hard permanent virtual channels (PVCs) or soft PVCs for unstructured or structured CES, depending on your particular CES application requirements. The main difference between hard and soft PVCs is rerouting in case of failure, as follows:
•
A hard PVC on a CES T1/E1 port—Should a failure occur in a midpoint switch, hard PVCs are not automatically rerouted.
•
A soft PVC on a CES T1/E1 port—Should a failure occur in a midpoint switch, soft PVCs are rerouted automatically, assuming another route is available.
This section provides general guidelines for configuring soft PVCs for CES modules. For specific instructions for configuring both hard and soft PVCs, see the following sections:
•
Configuring T1/E1 Unstructured Circuit Emulation Services
•
Configuring T1/E1 Structured (n x 64) Circuit Emulation Services
Note
The steps in these guidelines assume that you have already used the ces circuit commands to configure circuits on the CES interfaces. If you have not yet configured circuits on the CES interfaces, the show ces address command will not display any addresses. For simplicity, the steps in these guidelines describe how to create a soft PVC between interface modules in the same ATM switch router.
To configure soft PVCs for either unstructured or structured circuit emulation services, follow these steps:
Step 1
Determine which CES interfaces are currently configured in your ATM switch router chassis, using the show ces status command in privileged EXEC mode.
CESwitch# show ces status
Interface IF Admin Port Channels in
Name Status Status Type use
------------- -------- --------- ----------- -----------
CBR3/0/0 UP UP T1
CBR3/0/1 DOWN UP T1
CBR3/0/2 DOWN UP T1
CBR3/0/3 UP UP T1
Step 2
Determine which two ports you want to define as participants in the soft PVC.
Step 3
Decide which of the two ports you want to designate as the destination (or passive) side of the soft PVC.
Note
This is an arbitrary decision—you can choose either port as the destination end of the circuit. However, you must decide which port is to function in this capacity and proceed accordingly.
Step 4
Configure the destination (passive) side of the soft PVC. You must configure the destination end of the soft PVC first, as this end defines a CES-IWF ATM address for that circuit.
Note
If the interface is up, you might have to disable it, using the shutdown command, before you can configure the circuit. After configuring the circuit, use the no shutdown command to reenable the interface.
CESwitch# configure terminal
CESwitch(config)# interface cbr 3/0/1
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces circuit 0 circuit-name CBR-PVC-B
CESwitch(config-if)# no shutdown
Step 5
Retrieve the CES-IWF ATM address of the soft PVC's destination end, using the show ces address command. The following example shows how to display the CES-IWF ATM address and VPI/VCI for a CES circuit:
CESwitch# show ces address
CES-IWF ATM Address(es):
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1030.10 CBR-PVC-A vpi 0 vci 16
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1030.20 CBR-PVC-AC vpi 0 vci 1056
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1034.10 CBR-PVC-B vpi 0 vci 1040
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1038.10 CBR-PVC-CA vp1 0 vci 3088
Step 6
Configure the source (active) end of the soft PVC last, using the information derived from Step 5. You must configure the source end of the soft PVC last, because that end not only defines the configuration information for the source port, but also requires you to enter the CES-IWF ATM address and VPI/VCI values for the destination circuit.
Note
If the interface is up, you might have to disable it, using the shutdown command, before you can configure the circuit. After configuring the circuit, use the no shutdown command to reenable the interface.
CESwitch(config)#
interface cbr 3/0/0CESwitch(config-if)# shutdown
CESwitch(config-if)#
ces circuit 0CESwitch(config-if)# ces pvc 0 dest-address 47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1034.10 vpi 0 vci 104
CESwitch(config-if)# no shutdown
Step 7
To verify that the CES circuits are up on both sides (source and destination), run the show ces interface command. To verify that the soft PVC was established between two switches, run the show atm vc interface command.
Configuring T1/E1 Unstructured Circuit Emulation Services
This section provides an overview of unstructured (clear channel) circuit emulation services and describes how to configure CES modules for unstructured circuit emulation services.
Overview of Unstructured Circuit Emulation Services
Unstructured circuit emulation services in an ATM switch router network emulate point-to-point connections over T1/E1 leased lines. This service maps the entire bandwidth necessary for a T1/E1 leased line connection across the ATM network, allowing users to interconnect PBXs, TDMs, and video conferencing equipment.
For a detailed description of unstructured circuit emulation services, refer to the Guide to ATM Technology.
The circuit you set up on a CBR port for unstructured service is always identified as circuit 0, because you can establish only one unstructured circuit on any given CBR port. An unstructured circuit uses the entire bandwidth of a T1 port (1.544 Mbps) or an E1 port (2.048 Mbps).
The following subsections describe the procedures for configuring CES modules for unstructured circuit emulation services:
•
Configuring a Hard PVC for Unstructured CES
•
Verifying a Hard PVC for Unstructured CES
•
Configuring a Soft PVC for Unstructured CES
•
Verifying a Soft PVC for Unstructured CES
Configuring Network Clocking for Unstructured CES
Circuit emulation services require that the network clock be configured properly. Unstructured services can use synchronous, Synchronous Residual Time Stamp (SRTS), or adaptive clocking mode. For instructions on configuring network clocking, see the "Configuring Network Clocking" section on page 3-10. For a discussion of clocking issues and network examples, refer to the network clock synchronization and network clocking for CES topics in the Guide to ATM Technology.
Configuring Synchronous Clocking With an OC-12c Interface Module
When synchronous clocking is being used and propagated via an OC-12c interface module, be sure to use the following configurations:
•
For the Catalyst 8540 MSR, use the optional clocking module.
•
For the Catalyst 8510 MSR and LightStream 1010 ATM switch routers, use feature card per flow queueing (FC-PFQ).
Configuring a Hard PVC for Unstructured CES
A CES module converts CBR traffic into ATM cells for propagation through an ATM network. CBR traffic arriving on a CES module port must first be segmented into ATM cells. This cell stream is then directed to an outgoing ATM or CBR port.
Note
As a general rule when configuring a hard PVC, you must interconnect a CBR port and an ATM port in the same ATM switch router chassis.
Figure 18-1 displays unstructured circuit emulation services configured on an ATM switch router, using ATM and CES interface modules to create a hard PVC. In this example, the hard permanent virtual channel (PVC) also uses adaptive clocking, and this CES circuit enables bidirectional, unstructured CBR traffic to flow between these two modules.
Figure 18-1 Hard PVC Configured for Unstructured CES
To configure a hard PVC for unstructured CES, follow these steps, beginning in privileged EXEC mode:
Command PurposeStep 1
Switch# show ces status
Displays information about the current CBR interfaces.
Use this command to choose the source CBR port.
Step 2
Switch# show atm status
Displays information about the current ATM interfaces.
Use this command to choose the destination ATM port.
Note
The interface must be up.
Step 3
Switch# configure terminal
Switch(config)#
At the privileged EXEC prompt, enters global configuration mode.
Step 4
Switch(config)# interface cbr card/subcard/port
Switch(config-if)#
Selects the physical interface to be configured.
Step 5
Switch(config-if)# shutdown
Disables the interface.
Step 6
Switch(config-if)# ces aal1 service {structured | unstructured}
Configures the CES interface AAL1 service type.
Step 7
Switch(config-if)# ces aal1 clock {adaptive | srts | synchronous}
Configures the AAL1 clock mode.
Step 8
Switch(config-if)# ces circuit circuit-id circuit-name name
Configures the CES interface circuit identifier and circuit name.
Note
For unstructured service, use 0 for the circuit identifier.
Step 9
Switch(config-if)# ces pvc circuit-id interface atm card/subcard/port vpi vpi vci vci
Configures the hard PVC to the ATM interface and VPI/VCI.
Note
The VPI/VCI are arbitrary here. They are not fixed, whereas the VPI/VCI described in the "General Guidelines for Creating Soft PVCs for Circuit Emulation Services" section are fixed.
Step 10
Switch(config-if)# no shutdown
Reenables the interface.
Example
The following example shows how to configure the hard PVC for unstructured CES (shown in Figure 18-1):
CESwitch# show ces status
Interface IF Admin Port Channels in
Name Status Status Type use
------------- -------- --------- ----------- -----------
CBR3/0/0 UP UP T1
CBR3/0/1 DOWN UP T1
CBR3/0/2 DOWN UP T1
CBR3/0/3 UP UP T1
CESwitch# show atm status
NUMBER OF INSTALLED CONNECTIONS: (P2P=Point to Point, P2MP=Point to MultiPoint,
MP2P=Multipoint to Point)
Type PVCs SoftPVCs SVCs TVCs PVPs SoftPVPs SVPs Total
P2P 27 2 13 0 0 0 0 42
P2MP 0 0 2 0 0 0 0 2
MP2P 0 0 0 0 0 0 0 0
TOTAL INSTALLED CONNECTIONS = 44
PER-INTERFACE STATUS SUMMARY AT 18:12:45 UTC Thu Jul 22 1999:
Interface IF Admin Auto-Cfg ILMI Addr SSCOP Hello
Name Status Status Status Reg State State State
------------- -------- ------------ -------- ------------ --------- --------
ATM0/0/1 DOWN down waiting n/a Idle n/a
ATM0/0/5 DOWN shutdown waiting n/a Idle n/a
ATM0/0/6 DOWN shutdown waiting n/a Idle n/a
ATM0/0/7 DOWN shutdown waiting n/a Idle n/a
ATM0/0/ima1 UP up done UpAndNormal Active 2way_in
ATM0/1/0 DOWN shutdown waiting n/a Idle n/a
ATM0/1/1 DOWN shutdown waiting n/a Idle n/a
ATM0/1/2 DOWN shutdown waiting n/a Idle n/a
ATM0/1/3 DOWN shutdown waiting n/a Idle n/a
ATM0/1/7 DOWN down waiting n/a Idle n/a
ATM0/1/ima2 UP up done UpAndNormal Active 2way_in
ATM1/0/0 DOWN down waiting n/a Idle n/a
ATM1/0/1 DOWN down waiting n/a Idle n/a
ATM1/0/2 DOWN down waiting n/a Idle n/a
ATM1/0/3 UP up done UpAndNormal Active n/a
ATM1/1/0 UP up done UpAndNormal Active n/a
ATM1/1/1 DOWN down waiting n/a Idle n/a
ATM1/1/2 DOWN down waiting n/a Idle n/a
ATM1/1/3 DOWN down waiting n/a Idle n/a
ATM2/0/0 UP up n/a UpAndNormal Idle n/a
ATM-P3/0/3 UP up waiting n/a Idle n/a
ATM3/1/0 DOWN down waiting n/a Idle n/a
ATM3/1/1 UP up done UpAndNormal Active 2way_in
ATM3/1/1.99 UP up done UpAndNormal Active 2way_in
ATM3/1/2 DOWN down waiting n/a Idle n/a
ATM3/1/3 DOWN down waiting n/a Idle n/a
ATM-P4/0/0 UP up waiting n/a Idle n/a
CESwitch# configure terminal
CESwitch(config)# interface cbr 3/0/0
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces aal1 service unstructured
CESwitch(config-if)# ces aal1 clock adaptive
CESwitch(config-if)# ces circuit 0 circuit-name CBR-PVC-A
CESwitch(config-if)# ces pvc 0 interface atm 0/1/3 vpi 0 vci 100
CESwitch(config-if)# no shutdown
Verifying a Hard PVC for Unstructured CES
To verify the hard PVC configuration, use the following privileged EXEC commands:
Examples
The following example shows how to display the basic information about the hard PVC shown in Figure 18-1, using the show ces circuit command:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/0/0 0 HardPVC ATM0/1/3 0 100 UP
The output from this command verifies the source (CBR 3/0/0) and destination (ATM 0/1/3) port IDs of the hard PVC and indicates that the circuit is up.
The following example shows how to display detailed information about the hard PVC shown in Figure 18-1, using the show ces circuit interface command:
CESwitch# show ces circuit interface cbr 3/0/0 0
Circuit: Name CBR-PVC-A, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/0, Circuit_id 0, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_ADAPT
Channel in use on this port: 1-24
Channels used by this circuit: 1-24
Cell-Rate: 4107, Bit-Rate 1544000
cas OFF, cell_header 0x100 (vci = 16)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow 903952, OverFlow 0
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcAlarm, maxQueueDepth 827, startDequeueDepth 437
Partial Fill: 47, Structured Data Transfer 0
HardPVC
src: CBR3/0/0 vpi 0, vci 16
Dst: ATM0/1/3 vpi 0, vci 100
The output from this command verifies the following configuration information:
•
The circuit named CBR-PVC-A is in an UP state.
•
The interface CBR 3/0/0 has a circuit id of 0 (because the entire bandwidth of the port is dedicated to that circuit).
•
The AAL1 clocking method is adaptive clocking.
•
The source port for the hard PVC is CBR 3/0/0. The destination port is ATM 0/1/3.
Configuring a Soft PVC for Unstructured CES
In a soft PVC, as well as a hard PVC, you configure both ends of the CES circuit. However, a soft PVC typically involves CES modules at opposite edges of an ATM network, so a soft PVC can be set up between any two CES modules anywhere in your network.
The destination address of a soft PVC can point to either of the following:
•
Any ATM switch router external ATM port in the network
•
A port in any other CES module in the network
For example, to set up a soft PVC involving a local node and a destination node at the opposite edge of the network, you need to determine the CES-IWF ATM address of the port in the destination node to complete soft PVC setup.
To obtain the destination address (dest-address) for a port already configured in a CES port adapter, log into the remote ATM switch router containing that module. Then use the show ces address command to display all the CES-IWF ATM addresses currently configured for that node.
Figure 18-2 displays a soft PVC configured for unstructured CES. The soft PVC uses adaptive clocking and the source clock is network-derived.
Note
Typically you will configure a soft PVC between CES modules anywhere in your network. For simplicity, this example and the accompanying procedure describe how to create a soft PVC between modules in the same ATM switch router chassis.
Figure 18-2 Soft PVC Configured for Unstructured CES
Configuring a soft PVC for unstructured CES is a two-phase process:
•
Phase 1—Configuring the Destination (Passive) Side of the Soft PVC
•
Phase 2—Configuring the Source (Active) Side of the Soft PVC
Phase 1—Configuring the Destination (Passive) Side of the Soft PVC
To configure the destination (passive) side of a soft PVC destination port, follow these steps, beginning in privileged EXEC mode:
Example
The following example shows how to configure the destination (passive) side of a soft PVC, as shown in Figure 18-2:
CESwitch# show ces status
Interface IF Admin Port Channels in
Name Status Status Type use
------------- -------- --------- ----------- -----------
CBR3/0/0 UP UP T1
CBR3/0/1 UP UP T1
CBR3/0/2 UP UP T1
CBR3/0/3 UP UP T1
CESwitch# configure terminal
CESwitch(config)# interface cbr 3/0/1
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces aal1 service unstructured
CESwitch(config-if)# ces aal1 clock synchronous
CESwitch(config-if)# ces dsx1 clock source network-derived
CESwitch(config-if)# ces circuit 0 circuit-name CBR-PVC-B
CESwitch(config-if)# no shutdown
Note
If you do not specify the circuit name and logical name parameters in the command line, the system automatically assigns a unique default name in the form CBRx/y/z:# for the circuit being configured. For example, the default name for this particular circuit is CBR3/0/1:0.
Phase 2—Configuring the Source (Active) Side of the Soft PVC
To configure the source (active) side of a soft PVC destination port, follow these steps, beginning in privileged EXEC mode:
Example
The following example shows how to configure the source (active) side of a soft PVC, as shown in Figure 18-2:
CESwitch# show ces address
CES-IWF ATM Address(es):
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1034.10 CBR-PVC-B
CESwitch#
configure terminal
CESwitch(config)#
interface cbr 3/0/0CESwitch(config-if)# shutdown
CESwitch(config-if)# ces aal1 service unstructured
CESwitch(config-if)# ces aal1 clock synchronous
CESwitch(config-if)# ces dsx1 clock source network-derived
CESwitch(config-if)#
ces circuit 0 circuit-name CBR-PVC-ACESwitch(config-if)# ces pvc 0 dest-address 47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1034.10 vpi 0 vci 1040
CESwitch(config-if)# no shutdown
Verifying a Soft PVC for Unstructured CES
To verify the soft PVC configuration, use the following privileged EXEC commands:
Examples
The following example shows how to display the soft PVC configured in the previous section (shown in Figure 18-2), using the show ces circuit command:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/0/0 0 Active SoftVC ATM-P3/0/3 0 16 UP
CBR3/0/1 0 Passive SoftVC ATM-P3/0/3 0 1040 UP
The following example shows how to display the detailed circuit information for CBR 3/0/1, the destination (passive) side of the soft PVC (shown in Figure 18-2), using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/1 0
Circuit: Name CBR-PVC-B, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/1, Circuit_id 0, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 1-24
Channels used by this circuit: 1-24
Cell-Rate: 4107, Bit-Rate 1544000
cas OFF, cell_header 0xC100 (vci = 3088)
Configured CDV 2000 usecs, Measured CDV 2378 usecs
De-jitter: UnderFlow 137, OverFlow 0
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcActive, maxQueueDepth 823, startDequeueDepth 435
Partial Fill: 47, Structured Data Transfer 0
Passive SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10 vpi 0, vci 1040
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.00
The following example shows how to display the detailed circuit information for CBR 3/0/0, the source (active) side of the soft PVC (shown in Figure 18-2), using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/0 0
Circuit: Name CBR-PVC-A, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/0, Circuit_id 0, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 1-24
Channels used by this circuit: 1-24
Cell-Rate: 4107, Bit-Rate 1544000
cas OFF, cell_header 0x100 (vci = 16)
Configured CDV 2000 usecs, Measured CDV 326 usecs
De-jitter: UnderFlow 1, OverFlow 0
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcAlarm, maxQueueDepth 823, startDequeueDepth 435
Partial Fill: 47, Structured Data Transfer 0
Active SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.10 vpi 0, vci 16
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10
Configuring T1/E1 Structured (n x 64) Circuit Emulation Services
This section provides an overview of structured (n x 64 Kbps) circuit emulation services and describes how to configure CES modules for structured circuit emulation services.
Overview of Structured Circuit Emulation Services
An important distinction between structured and unstructured circuit emulation services is that structured circuit emulation services allow you to allocate T1/E1 bandwidth. Structured circuit emulation services only use the T1/E1 bandwidth actually required to support the active structured circuit(s) you configure.
For example, configuring a CES module for structured services allows you to define multiple hard PVCs or soft PVCs for any CES T1 or E1 port. In both module types, any bits not available for structured circuit emulation services are used for framing and out-of-band control.
n x 64 refers to a circuit bandwidth (data transmission speed) provided by the aggregation of n x 64-Kbps channels, where n is an integer greater than or equal to 1. The 64-Kbps data rate, or the DS0 channel, is the basic building block of the T carrier systems (T1, T2, and T3).
The T1/E1 structured (n x 64) circuit emulation services enable a CES module to function in the same way as a classic Digital Access and Crossconnect System (DACS) switch.
The Simple Gateway Control Protocol (SGCP) provides similar functionality by controlling structured CES circuits for voice over ATM. For additional information see the "Configuring SGCP" section .
For a detailed description of structured circuit emulation services, refer to the Guide to ATM Technology.
Configuring Network Clocking for Structured CES
Circuit emulation services require that the network clock be configured properly. For structured services, synchronous clocking is required. For instructions on configuring network clocking, see the "Configuring Network Clocking" section on page 3-10. For a discussion of clocking issues and network examples, refer to the network clock synchronization and network clocking for CES topics in the Guide to ATM Technology.
Configuring Synchronous Clocking With an OC-12c Interface Module
When synchronous clocking is being used and propagated via an OC-12c interface module, be sure to use the following configurations:
•
For the Catalyst 8540 MSR, use the optional clocking module.
•
For the Catalyst 8510 MSR and LightStream 1010 ATM switch routers, use feature card per flow queueing (FC-PFQ).
Configuring a Hard PVC for Structured CES
This section describes how to configure a hard permanent virtual channel (PVC) for structured circuit emulation services.
Figure 18-3 shows that the hard PVC for structured CES connection is configured with the following parameters:
•
Four time slots (DS0 channels 1 to 3, and 7) are configured for a circuit named CBR-PVC-A.
•
ATM port 0/1/3 in the ATM switch router is designated as the destination port of the hard PVC.
•
The CES AAL1 service is structured and the clock source is network-derived.
•
The framing is esf and the line code is b8zs.
Figure 18-3 Hard PVC Configured for Structured CES
To configure the CES port for structured CES, follow these steps, beginning in privileged EXEC mode:
Example
The following example shows how to configure the hard PVC for structured T1 CES, as shown in Figure 18-3:
CESwitch# show ces status
Interface IF Admin Port Channels in
Name Status Status Type use
------------- -------- --------- ----------- -----------
CBR3/0/0 UP UP T1
CBR3/0/1 UP UP T1
CBR3/0/2 UP UP T1
CBR3/0/3 UP UP T1
CESwitch#
show atm status
NUMBER OF INSTALLED CONNECTIONS: (P2P=Point to Point, P2MP=Point to MultiPoint,
MP2P=Multipoint to Point)
Type PVCs SoftPVCs SVCs TVCs PVPs SoftPVPs SVPs Total
P2P 27 2 13 0 0 0 0 42
P2MP 0 0 2 0 0 0 0 2
MP2P 0 0 0 0 0 0 0 0
TOTAL INSTALLED CONNECTIONS = 44
PER-INTERFACE STATUS SUMMARY AT 18:12:45 UTC Thu Jul 22 1999:
Interface IF Admin Auto-Cfg ILMI Addr SSCOP Hello
Name Status Status Status Reg State State State
------------- -------- ------------ -------- ------------ --------- --------
ATM0/0/1 DOWN down waiting n/a Idle n/a
ATM0/0/5 DOWN shutdown waiting n/a Idle n/a
ATM0/0/6 DOWN shutdown waiting n/a Idle n/a
ATM0/0/7 DOWN shutdown waiting n/a Idle n/a
ATM0/1/0 DOWN shutdown waiting n/a Idle n/a
ATM0/1/1 DOWN shutdown waiting n/a Idle n/a
ATM0/1/2 DOWN shutdown waiting n/a Idle n/a
ATM0/1/3 UP up done UpAndNormal Active n/a
ATM0/1/7 DOWN down waiting n/a Idle n/a
ATM1/0/0 DOWN down waiting n/a Idle n/a
ATM1/0/1 DOWN down waiting n/a Idle n/a
ATM1/0/2 DOWN down waiting n/a Idle n/a
ATM1/0/3 UP up done UpAndNormal Active n/a
ATM1/1/0 UP up done UpAndNormal Active n/a
ATM1/1/1 DOWN down waiting n/a Idle n/a
ATM1/1/2 DOWN down waiting n/a Idle n/a
ATM1/1/3 DOWN down waiting n/a Idle n/a
ATM2/0/0 UP up n/a UpAndNormal Idle n/a
ATM-P3/0/3 UP up waiting n/a Idle n/a
ATM3/1/0 DOWN down waiting n/a Idle n/a
ATM3/1/1 UP up done UpAndNormal Active 2way_in
ATM3/1/2 DOWN down waiting n/a Idle n/a
ATM3/1/3 DOWN down waiting n/a Idle n/a
ATM-P4/0/0 UP up waiting n/a Idle n/a
CESwitch#
configure terminal
CESwitch(config)#
interface cbr 3/0/0CESwitch(config-if)# shutdown
CESwitch(config-if)#
ces aal1 service structured
CESwitch(config-if)#
ces dsx1 clock source network-derived
CESwitch(config-if)#
ces dsx1 framing esf
CESwitch(config-if)#
ces dsx1 linecode b8zs
CESwitch(config-if)#
ces circuit 1 timeslots 1-3,7
CESwitch(config-if)#
ces circuit 1 circuit-name CBR-PVC-A
CESwitch(config-if)#
ces pvc 1 interface atm 0/1/3 vpi 0 vci 100CESwitch(config-if)# no shutdown
Note
If you do not specify the circuit name and logical name parameters in the command line, the system automatically assigns a unique default name in the form CBRx/y/z:# for the circuit being configured. For example, the default name for this particular circuit is CBR3/0/0:1. For structured CES, the circuit number sequence always begins at 1 for each port in a CES module.
The virtual path identifier/virtual channel identifier (VPI/VCI) values shown in the example (vpi 0 vci 100) are for demonstration purposes only. The service provider you select gives you a virtual path for your data, but you must decide which VCI number to assign to the circuit.
Verifying a Hard PVC for Structured CES
To verify the hard PVC configured with structured services, use the following privileged EXEC commands:
Examples
The following example shows the details of the hard PVC, shown in Figure 18-3, using the show ces circuit command:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/0/0 1 HardPVC ATM0/1/3 0 100 UP
The output from this command verifies the source (CBR 3/0/0) and destination (ATM 0/1/3) port IDs of the hard PVC and indicates that the circuit is up.
The following example shows the interface details for port CBR 3/0/0 (shown in Figure 18-3), using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/0 1
Circuit: Name CBR-PVC-A, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/0, Circuit_id 1, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 1-3, 7
Channels used by this circuit: 1-3, 7
Cell-Rate: 4107, Bit-Rate 1544000
cas OFF, cell_header 0x100 (vci = 16)
Configured CDV 2000 usecs, Measured CDV 326 usecs
De-jitter: UnderFlow 1, OverFlow 0
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcAlarm, maxQueueDepth 823, startDequeueDepth 435
Partial Fill: 47, Structured Data Transfer 1
HardPVC
Src: CBR3/0/0 vpi 0, vci 16
Dst: ATM0/1/3 vpi 0, vci 100
The output from this command verifies the following configuration information:
•
The circuit named CBR-PVC-A is in an UP state.
•
The interface CBR 3/0/0 has a circuit id of 1 (because structured CES services always begin at 1 for each port in a CES module).
•
The channels being used by this circuit are 1-3 and 7.
•
The source port for the hard PVC is CBR 3/0/0. The destination port is ATM 0/1/3.
Configuring a Hard PVC for Structured CES with a Shaped VP Tunnel
A shaped VP tunnel is a VP tunnel that, by default, carries only VCs of the constant bit rate (CBR) service category with a peak cell rate (PCR). However, it is possible to configure a shaped virtual path (VP) tunnel to carry VCs of other service categories. The overall output of the shaped VP tunnel is rate-limited, by hardware, to the PCR of the tunnel.
This section describes how to configure a hard PVC for structured CES with a shaped VP tunnel, which is a two-phase process, as follows:
•
Phase 1—Configuring a Shaped VP Tunnel
•
Phase 2—Configuring a Hard PVC
For more information about configuring shaped VP tunnels, refer to the "Configuring VP Tunnels" section .
Figure 18-4 shows an example of a how a structured CES circuit can be configured with a shaped VP tunnel.
Figure 18-4 Structured CES Circuit Configured with a Shaped VP Tunnel
Phase 1—Configuring a Shaped VP Tunnel
To configure a shaped VP tunnel, follow these steps, beginning in global configuration mode:
Note
Even though the shaped VP tunnel is defined as CBR, it can carry PVCs of another service category by substituting the new service category after the tunnel interface has been initially configured. For information about configuring VP tunnels with other (non-CBR) service categories, see the section "Configure Interface Service Category Support" in the chapter "Configuring Resource Management."
Example
The following example shows how to configure a shaped VP tunnel.
CESwitch#
configure terminal
CESwitch
(config)#
atm connection-traffic-table-row index 10 cbr pcr 4000
CESwitch
(config)#
interface atm 0/0/0
CESwitch
(config-if)#
shutdown
CESwitch
(config-if)#
atm pvp 1 shaped rx-cttr 10 tx-cttr 10
CESwitch
(config-if)#
no shutdown
CESwitch
(config-if)#
interface atm 0/0/0.1
CESwitch
(config-subif)#
exit
CESwitch
(config)#
Note
A shaped VP tunnel is defined as a CBR VP with a PCR. A maximum of 64 shaped VP tunnels can be defined on each of the following interface groups: (0/0/x, 1/0/x), (0/1/x, 1/1/x), (2/0/x, 3/0/x), (2/1/x, 3/1/x), (9/0/x, 10/0/x), (9/1/x, 10/1/x), (11/0/x, 12/0/x) and (11/1/x, 12/1/x). For further limitations on shaped VP tunnels, refer to the "Configuring a Shaped VP Tunnel" section .
Phase 2—Configuring a Hard PVC
To configure a hard PVC, follow these steps:
Example
The following example shows how to configure hard PVCs for the shaped VP tunnel.
CESwitch# show ces status
Interface IF Admin Port Channels in
Name Status Status Type use
------------- -------- --------- ----------- -----------
CBR3/1/0 UP UP T1
CBR3/1/1 UP UP T1
CBR3/1/2 UP UP T1
CBR3/1/3 UP UP T1
CESwitch# show atm status
NUMBER OF INSTALLED CONNECTIONS: (P2P=Point to Point, P2MP=Point to MultiPoint,
MP2P=Multipoint to Point)
Type PVCs SoftPVCs SVCs TVCs PVPs SoftPVPs SVPs Total
P2P 27 2 13 0 0 0 0 42
P2MP 0 0 2 0 0 0 0 2
MP2P 0 0 0 0 0 0 0 0
TOTAL INSTALLED CONNECTIONS = 44
PER-INTERFACE STATUS SUMMARY AT 18:12:45 UTC Thu Jul 22 1999:
Interface IF Admin Auto-Cfg ILMI Addr SSCOP Hello
Name Status Status Status Reg State State State
------------- -------- ------------ -------- ------------ --------- --------
ATM0/0/1 DOWN down waiting n/a Idle n/a
ATM0/0/5 DOWN shutdown waiting n/a Idle n/a
ATM0/0/6 DOWN shutdown waiting n/a Idle n/a
ATM0/0/7 DOWN shutdown waiting n/a Idle n/a
ATM0/0/ima1 UP up done UpAndNormal Active 2way_in
ATM0/1/0 DOWN shutdown waiting n/a Idle n/a
ATM0/1/1 DOWN shutdown waiting n/a Idle n/a
ATM0/1/2 DOWN shutdown waiting n/a Idle n/a
ATM0/1/3 UP up done UpAndNormal Active n/a
ATM0/1/7 DOWN down waiting n/a Idle n/a
ATM0/1/ima2 UP up done UpAndNormal Active 2way_in
ATM1/0/0 DOWN down waiting n/a Idle n/a
ATM1/0/1 DOWN down waiting n/a Idle n/a
ATM1/0/2 DOWN down waiting n/a Idle n/a
ATM1/0/3 UP up done UpAndNormal Active n/a
ATM1/1/0 UP up done UpAndNormal Active n/a
ATM1/1/1 DOWN down waiting n/a Idle n/a
ATM1/1/2 DOWN down waiting n/a Idle n/a
ATM1/1/3 DOWN down waiting n/a Idle n/a
ATM2/0/0 UP up n/a UpAndNormal Idle n/a
ATM-P3/0/3 UP up waiting n/a Idle n/a
ATM3/1/0 DOWN down waiting n/a Idle n/a
ATM3/1/1 UP up done UpAndNormal Active 2way_in
ATM3/1/1.99 UP up done UpAndNormal Active 2way_in
ATM3/1/2 DOWN down waiting n/a Idle n/a
ATM3/1/3 DOWN down waiting n/a Idle n/a
ATM-P4/0/0 UP up waiting n/a Idle n/a
CESwitch# configure terminal
CESwitch(config)# interface cbr 3/1/0
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces aal1 service structured
CESwitch(config-if)# ces circuit 1 timeslots 1
CESwitch(config-if)# ces pvc 1 interface atm 0/0/0.1 vpi 1 vci 101
CESwitch(config-if)# ces circuit 2 timeslots 2
CESwitch(config-if)# ces pvc 2 interface atm 0/0/0.1 vpi 1 vci 102
CESwitch(config-if)# ces circuit 3 timeslots 3
CESwitch(config-if)# ces pvc 3 interface atm 0/0/0.1 vpi 1 vci 103
CESwitch(config-if)# no shutdown
Verifying a Hard PVC for Structured CES with a Shaped VP Tunnel
To verify the hard PVC configuration, use the following privileged EXEC commands:
Examples
The following example shows how to display the basic information about the hard PVC shown in Figure 18-4, using the show ces circuit command:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/1/0 1 HardPVC ATM0/0/0.1 1 101 DOWN
CBR3/1/0 2 HardPVC ATM0/0/0.1 1 102 DOWN
CBR3/1/0 3 HardPVC ATM0/0/0.1 1 103 DOWN
CBR3/1/3 0 Active SoftVC UNKNOWN 0 0 DOWN
The following example shows how to display detailed information about the hard PVC shown in Figure 18-4, using the show ces circuit interface command:
CESwitch# show ces circuit interface cbr 3/1/0 1
Circuit: Name CBR3/1/0:1, Circuit-state ADMIN_UP / oper-state UP Interface CBR3
Port Clocking loop-timed, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 1-3
Channels used by this circuit: 1
Cell-Rate: 172, Bit-Rate 64000
cas OFF, cell_header 0x100 (vci = 16)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavaliable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcLoc, maxQueueDepth 81, startDequeueDepth 64
Partial Fill: 47, Structured Data Transfer 1
HardPVC
src: CBR3/1/0 vpi 0, vci 16
Dst: ATM0/0/0 vpi 1, vci 101
The following example shows how to display detailed information about the shaped VP tunnel shown in Figure 18-4, using the show atm vp command:
NewLs1010# show atm vp interface atm 0/0/0 1
Interface: ATM0/0/0, Type: oc3suni
VPI = 1
Status: SHAPED TUNNEL
Time-since-last-status-change: 13:59:23
Connection-type: PVP
Cast-type: point-to-point
Usage-Parameter-Control (UPC): pass
Wrr weight: 2
Number of OAM-configured connections: 0
OAM-configuration: disabled
OAM-states: Not-applicable
Threshold Group: 1, Cells queued: 0
Rx cells: 0, Tx cells: 0
Tx Clp0:0, Tx Clp1: 0
Rx Clp0:0, Rx Clp1: 0
Rx Upc Violations:0, Rx cell drops:0
Rx Clp0 q full drops:0, Rx Clp1 qthresh drops:0
Rx connection-traffic-table-index: 10
Rx service-category: CBR (Constant Bit Rate)
Rx pcr-clp01: 4000
Rx scr-clp01: none
Rx mcr-clp01: none
Rx cdvt: 1024 (from default for interface)
Rx mbs: none
Tx connection-traffic-table-index: 10
Tx service-category: CBR (Constant Bit Rate)
Tx pcr-clp01: 4000
Tx scr-clp01: none
Tx mcr-clp01: none
Tx cdvt: none
Tx mbs: none
Configuring a Soft PVC for Structured CES
In a soft PVC, as well as a hard PVC, you configure both ends of the CES circuit. However, a soft PVC typically involves CES modules at opposite edges of an ATM network, so a soft PVC can be set up between any two CES modules anywhere in your network.
The destination address of a soft PVC can point to either of the following:
•
Any ATM switch router external ATM port in the network
•
A port in any other CES module in the network
For example, to set up a soft PVC involving a local node and a destination node at the opposite edge of the network, you need to determine the CES-IWF ATM address of the port in the destination node to complete a soft PVC setup.
To obtain the destination address for an already configured port in a CES module, log into the remote ATM switch router containing that module. Then use the show ces address command to display all the CES-IWF ATM addresses currently configured for that node.
Note
Typically you will configure a soft PVC between CES modules anywhere in your network. For simplicity, this example and the accompanying procedure describe how to create a soft PVC between modules in the same ATM switch router chassis.
This section describes how to configure a soft PVC for structured service based on the following assumptions:
•
The source (active) side of the soft PVC is named CBR-PVC-A.
•
The destination (passive) side of the soft PVC is named CBR-PVC-B.
•
Four time slots (DS0 channels) are configured for the soft PVC, as follows:
–
For circuit CBR-PVC-A: DS0 channels 1 to 3 and 7 are used on port CBR 3/0/0.
–
For circuit CBR-PVC-B: DS0 channels 10 to 13 are used on port CBR 3/0/3.
•
Channel associated signalling (CAS) is not enabled. For information about configuring a soft PVC with CAS, see the "Configuring a Soft PVC for Structured CES" section .
•
CES AAL1 service is structured and the clock source is network-derived.
•
CES framing is esf and the line code is b8zs.
Figure 18-5 shows an example of a soft PVC configured for structured CES.
Figure 18-5 Soft PVC Configured for Structured CES
Configuring a soft PVC for structured CES is a two-phase process:
•
Phase 1—Configuring the Destination (Passive) Side of a Soft PVC
•
Phase 2—Configuring the Source (Active) Side of a Soft PVC
Phase 1—Configuring the Destination (Passive) Side of a Soft PVC
To configure a destination (passive) side of a soft PVC for structured CES, follow these steps, beginning in privileged EXEC mode:
Example
The following example shows how to configure the destination (passive) side of a soft PVC for structured T1 CES, as shown in Figure 18-5:
CESwitch# show ces status
Interface IF Admin Port Channels in
Name Status Status Type use
------------- -------- --------- ----------- -----------
CBR3/0/0 UP UP T1
CBR3/0/1 UP UP T1
CBR3/0/2 UP UP T1
CBR3/0/3 UP UP T1
CESwitch#
configure terminal
CESwitch(config)#
interface cbr 3/0/3CESwitch(config-if)# shutdown
CESwitch(config-if)#
ces aal1 service structured
CESwitch(config-if)#
ces dsx1 clock source network-derived
CESwitch(config-if)#
ces dsx1 framing esf
CESwitch(config-if)#
ces dsx1 linecode b8zs
CESwitch(config-if)#
ces circuit 1 timeslots 10-13
CESwitch(config-if)#
ces circuit 1 circuit-name CBR-PVC-BCESwitch(config-if)# no shutdown
Phase 2—Configuring the Source (Active) Side of a Soft PVC
To configure the source (active) side of a soft PVC for structured CES, follow these steps, beginning in privileged EXEC mode:
Example
The following example shows how to configure the source (active) side of a soft PVC for structured CES, as shown in Figure 18-5:
CESwitch#
show ces address
CES-IWF ATM Address(es):
47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10 CBR3/0/3:1 vpi 0 vci 3088
CESwitch#
configure terminal
CESwitch(config)#
interface cbr 3/0/0
CESwitch(config-if)#
shutdown
CESwitch(config-if)#
ces circuit 1 timeslots 1-3, 7
CESwitch(config-if)#
ces circuit 1 circuit-name CBR-PVC-ACESwitch(config-if)# ces pvc 1 dest-address 47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1034.10 vpi 0 vci 16
CESwitch(config-if)#
no shutdown
If you do not specify the circuit name and logical name parameters in the command line, the system automatically assigns a unique default name in the form CBRx/y/z:# for the circuit being configured. For example, the default name for this particular circuit is CBR3/0/0:1. For structured circuit emulation services, the circuit number sequence always begins at 1 for each port in a CES module.
Verifying a Soft PVC for Structured CES
To verify the soft PVC configured with structured CES, use the following EXEC commands:
Examples
The following example shows the details of the CES circuit (shown in Figure 18-5), using the show ces circuit command:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/0/0 1 Active SoftVC ATM-P3/0/3 0 3088 UP
CBR3/0/3 1 Passive SoftVC ATM-P3/0/3 0 16 UP
The following example shows the interface details for the source port (CBR 3/0/0) (shown in Figure 18-5), using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/0 1
Circuit: Name CBR-PVC-A, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/0, Circuit_id 1, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 1-3,7
Channels used by this circuit: 1-3,7
Cell-Rate: 698, Bit-Rate 256000
cas OFF, cell_header 0x100 (vci = 16)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavailable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcActive, maxQueueDepth 45, startDequeueDepth 28
Partial Fill: 47, Structured Data Transfer 98
Active SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.10 vpi 0, vci 16
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10
The following example shows the interface details for the destination port (CBR 3/0/3) (shown in Figure 18-5), using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/3 1
Circuit: Name CBR-PVC-B, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/3, Circuit_id 1, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 10-13
Channels used by this circuit: 10-13
Cell-Rate: 698, Bit-Rate 256000
cas OFF, cell_header 0xC100 (vci = 3088)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavailable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcActive, maxQueueDepth 45, startDequeueDepth 28
Partial Fill: 47, Structured Data Transfer 98
Passive SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10 vpi 0, vci 3088
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.00
Configuring a Soft PVC for Structured CES with CAS Enabled
Since the CES T1/E1 port adapter emulates CBR services over ATM networks, it must be able to support channel-associated signalling (CAS) information that is introduced into structured CES circuits by PBXs and TDMs. An optional CAS feature for the CES T1/E1 port adapter meets this requirement.
CAS information carried in a CBR bit stream can be configured with a CES module, as follows:
•
The optional CAS feature is not enabled (the default state). For information about configuring a soft PVC for structured CES without CAS enabled, see the Configuring a Soft PVC for Structured CES.
•
The optional CAS feature is enabled, but without the optional, Cisco-proprietary on-hook detection feature enabled. This option is described in the following procedure.
•
Both the optional CAS and on-hook detection features are enabled. For information about configuring a soft permanent virtual channel (soft PVC) for structured CES with both CAS and on-hook detection enabled, see the "Configuring a Soft PVC for Structured CES with CAS and On-Hook Detection Enabled" section .
Note
For a detailed description of CAS operation and the on-hook detection feature, refer to the circuit emulation services topic in the Guide to ATM Technology.
This section describes how to configure a soft PVC for structured CES with channel-associated signalling (CAS) enabled.
Note
Typically you will configure a soft PVC between CES modules anywhere in your network. For simplicity, this example and the accompanying procedure describe how to create a soft PVC between modules in the same ATM switch router chassis.
The following procedure is based on the following assumptions:
•
The source (active) side of the soft PVC (CBR-PVC-A) remains as previously configured.
•
The destination (passive) side of the soft PVC (CBR-PVC-B) remains as previously configured.
•
Four time slots (DS0 channels) remain as previously configured for the soft PVC:
–
For circuit CBR-PVC-A: DS0 channels 1 to 3 and 7 are used on port CBR3/0/0.
–
For circuit CBR-PVC-B: DS0 channels 10 to 13 are used on port CBR3/0/3.
•
CAS is enabled for the circuit.
•
The signalling mode for the T1 CBR ports is set to "robbedbit."
Figure 18-6 shows a soft PVC configured for structured CES with CAS enabled.
Figure 18-6 Soft PVC Configured for Structured CES with CAS Enabled
To configure a soft PVC for structured CES with CAS enabled, follow these steps, beginning in privileged EXEC mode:
Example
The following example shows how to enable channel-associated signalling (CAS) on a soft PVC (see Figure 18-6):
CESwitch# show ces status
Interface IF Admin Port Channels in
Name Status Status Type use
------------- -------- --------- ----------- -----------
CBR3/0/0 UP UP T1 1-3,7
CBR3/0/1 DOWN UP T1
CBR3/0/2 DOWN UP T1
CBR3/0/3 UP UP T1 10-13
CESwitch#
configure terminal
CESwitch(config)#
interface cbr 3/0/0CESwitch(config-if)# shutdown
CESwitch(config-if)# ces dsx1 signalmode robbedbit
CESwitch(config-if)# ces circuit 1 cas
CESwitch(config-if)# no shutdown
CESwitch(config-if)#
exit
CESwitch(config)#
interface cbr 3/0/3CESwitch(config-if)# shutdown
CESwitch(config-if)# ces dsx1 signalmode robbedbit
CESwitch(config-if)# ces circuit 1 cas
CESwitch(config-if)# no shutdown
Verifying a Soft PVC for Structured CES with CAS Enabled
To verify the soft PVC with structured CES and CAS enabled, use the following EXEC commands:
Examples
The following example displays the details of the CES circuit (shown in Figure 18-6), using the show ces circuit command at the privileged EXEC mode prompt:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/0/0 0 Active SoftVC ATM-P3/0/3 0 16 UP
CBR3/0/1 0 Passive SoftVC ATM-P3/0/3 0 1040 UP
The following example displays the CAS status for the source port CBR 3/0/0 (shown in Figure 18-6):
CESwitch# show ces circuit interface cbr 3/0/0 1
Circuit: Name CBR-PVC-A, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/0, Circuit_id 1, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 1-3,7
Channels used by this circuit: 1-3,7
Cell-Rate: 698, Bit-Rate 256000
cas ON, cell_header 0x100 (vci = 16)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavailable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcActive, maxQueueDepth 45, startDequeueDepth 28
Partial Fill: 47, Structured Data Transfer 98
Active SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.10 vpi 0, vci 16
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10
The following example displays the CAS status for the destination port CBR 3/0/3 (shown in Figure 18-6):
CESwitch# show ces circuit interface cbr 3/0/3 1
Circuit: Name CBR-PVC-B, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/3, Circuit_id 1, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 10-13
Channels used by this circuit: 10-13
Cell-Rate: 698, Bit-Rate 256000
cas ON, cell_header 0xC100 (vci = 3088)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavailable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcActive, maxQueueDepth 45, startDequeueDepth 28
Partial Fill: 47, Structured Data Transfer 98
Passive SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10 vpi 0, vci 3088
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.00
Configuring a Soft PVC for Structured CES with CAS and On-Hook Detection Enabled
This section outlines the additional steps that you must take to activate the on-hook detection (bandwidth-release) feature in a 1 x 64 structured CES circuit.
To configure a soft PVC for structured CES with CAS and on-hook detection enabled, follow these steps, beginning in global configuration mode:
Example
The following example shows how to configure on-hook detection on the soft PVC with structured CES and CAS enabled in the "Configuring a Soft PVC for Structured CES with CAS Enabled" section (shown in Figure 18-6):
CESwitch(config)# interface cbr 3/0/0
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces circuit 1 cas on-hook-detect 2
CESwitch(config-if)# no shutdown
Note
The four ABCD bits in the CAS mechanism are device-specific, depending on the manufacturer of the voice/video telephony device that generates the CBR traffic. The ABCD bits of the CAS mechanism are user-configurable.
Verifying a Soft PVC for Structured CES with CAS and On-Hook Detection Enabled
To show the on-hook detection configuration of a soft PVC configured with structured CES and CAS enabled, use the following EXEC command:
Command Purposeshow ces circuit interface cbr card/subcard/port circuit-id
Shows the detailed interface configuration information for the soft PVC.
Example
The following example shows the soft PVC with CAS and on-hook detection enabled as hexadecimal number 2 (shown in Figure 18-6):
CESwitch# show ces circuit interface cbr 3/0/3 1
Circuit: Name CBR-PVC-B, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/3, Circuit_id 1, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 10-13
Channels used by this circuit: 10-13
Cell-Rate: 698, Bit-Rate 256000
cas ON, cell_header 0xC100 (vci = 3088)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavailable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x2
state: VcActive, maxQueueDepth 45, startDequeueDepth 28
Partial Fill: 47, Structured Data Transfer 98
Passive SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10 vpi 0, vci 3088
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.00
Creating Multiple Structured Soft PVCs on the Same CES Port
This section describes how to create more than one structured soft permanent virtual channel (soft PVC) on the same CES T1/E1 port. Figure 18-7 shows how you can configure multiple CES circuits on a single T1/E1 port.
Note
Typically you will configure a soft PVC between CES modules anywhere in your network. For simplicity, this example and the accompanying procedure describe how to create a soft PVC between modules in the same ATM switch router chassis.
Assume that certain configuration information has already been established for a soft PVC (see Figure 18-6) and that you are to create an additional soft PVC involving the same CES module.
The following assumptions apply to creating multiple soft PVCs on the same T1/E1 port (see Figure 18-7):
•
The source (active) side of a soft PVC named CBR-PVC-A is already created on port CBR 3/0/0.
•
The destination (passive) side of a soft PVC named CBR-PVC-B is already created on port CBR 3/0/3.
•
A new source (active) side of a soft PVC named CBR-PVC-AC will be created on port CBR 3/0/0 of the CES module, thereby creating a multiple CES circuit on this particular port.
•
A new destination (passive) side of a soft PVC named CBR-PVC-CA will be created on port CBR 3/0/2 of the CES module.
•
The CES AAL1 service is structured and the clock source is network-derived.
•
The CES framing is esf and the line code is b8zs.
Figure 18-7 Configuring Multiple Structured Soft PVCs on the Same CES T1/E1 Port
Configuring multiple soft PVCs for structured CES is a two-phase process:
•
Phase 1—Configuring the Destination (Passive) Side of Multiple Soft PVCs
•
Phase 2—Configuring the Source (Active) Side of Multiple Soft PVCs
Phase 1—Configuring the Destination (Passive) Side of Multiple Soft PVCs
To configure multiple soft PVCs on the destination (passive) side of the same port, follow these steps, beginning in global configuration mode:
Example
The following example shows how to configure multiple soft PVCs on the destination (passive) side of the same port (shown in Figure 18-7):
CESwitch(config)# interface cbr 3/0/2
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces aal1 service structured
CESwitch(config-if)# ces dsx1 clock source network-derived
CESwitch(config-if)# ces dsx1 framing esf
CESwitch(config-if)# ces dsx1 linecode b8zs
CESwitch(config-if)# ces circuit 2 timeslots 24 circuit-name CBR-PVC-CA
CESwitch(config-if)# no shutdown
Note
If you do not specify the circuit name and logical name parameters in the command line, the system automatically assigns a unique default name in the form CBRx/y/z:# for the circuit being configured. For example, the default name for this particular circuit is CBR3/0/2:1. For structured circuit emulation services, the circuit number sequence always begins at 1 for each port in a CES module.
Phase 2—Configuring the Source (Active) Side of Multiple Soft PVCs
To configure multiple soft PVCs on the source (active) side of the same port, follow these steps, beginning in global configuration mode:
Example
The following example shows how to configure multiple soft PVCs on the source (active) side of the same port (shown in Figure 18-7):
CESwitch(config)# interface cbr 3/0/0
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces circuit 2 timeslots 24
CESwitch(config-if)# ces circuit 2 circuit-name CBR-PVC-AC
CESwitch(config-if)# no shutdown
CESwitch(config-if)# end
CESwitch# show ces address
CES-IWF ATM Address(es):
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1030.10 CBR-PVC-A
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1030.20 CBR-PVC-AC
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1034.10 CBR-PVC-B
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1038.10 CBR-PVC-CA
CESwitch# configure terminal
CESwitch(config)# interface cbr 3/0/2
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces pvc 2 dest-address
47.0091.8100.0000.0060.5c71.1f01.4000.0c80.1038.10 vpi 0 vci 2064
CESwitch(config-if)# no shutdown
If you do not specify the circuit name and logical name parameters in the command line, the system automatically assigns a unique default name in the form CBRx/y/z:# for the circuit being configured. For example, the default name for this particular circuit is CBR3/0/2:1. For structured circuit emulation services, the circuit number sequence always begins at 1 for each port in a CES module.
Verifying the Creation of Multiple Structured Soft PVCs on the Same CES Port
To verify multiple structured soft PVCs with CAS enabled, use the following EXEC commands:
Examples
The following example displays the circuit details for the soft PVCs that you created in the previous procedure (shown in Figure 18-7) using the show ces circuit command in privileged EXEC mode:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/0/0 1 Active SoftVC ATM-P3/0/3 0 3088 UP
CBR3/0/0 2 Active SoftVC ATM-P3/0/3 0 2080 UP
CBR3/0/2 2 Passive SoftVC ATM-P3/0/3 0 32 UP
CBR3/0/3 1 Passive SoftVC ATM-P3/0/3 0 16 UP
The following example displays the CES-IWF addresses of the soft PVCs that you configured (shown in Figure 18-7), using the show ces address command in privileged EXEC mode:
CESwitch# show ces address
CES-IWF ATM Address(es):
47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.10 CBR3/0/0:1 vpi 0 vci 16
47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.20 CBR3/0/0:2 vpi 0 vci 32
47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8038.20 CBR3/0/2:2 vpi 0 vci 2080
47.0091.8100.0000.00e0.4fac.b401.4000.0c81.803c.10 CBR3/0/3:1 vpi 0 vci 3088
The following example displays the interface details for the new circuit 2 soft PVC that you set up on port CBR 3/0/0 (shown in Figure 18-7), using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/0 2
Circuit: Name CBR-PVC-AC, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/0, Circuit_id 2, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 24
Channels used by this circuit: 24
Cell-Rate: 172, Bit-Rate 64000
cas OFF, cell_header 0x200 (vci = 32)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavailable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcActive, maxQueueDepth 81, startDequeueDepth 64
Partial Fill: 47, Structured Data Transfer 1
Active SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.20 vpi 0, vci 32
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8038.20
The following example displays the interface details for the new circuit 1 soft PVC that you configured on port CBR3/0/2 (shown in Figure 18-7), using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/2 2
Circuit: Name CBR-PVC-CA, Circuit-state ADMIN_UP / oper-state UP
Interface CBR3/0/2, Circuit_id 2, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 24
Channels used by this circuit: 24
Cell-Rate: 172, Bit-Rate 64000
cas OFF, cell_header 0x8200 (vci = 2080)
Configured CDV 2000 usecs, Measured CDV unavailable
De-jitter: UnderFlow unavailable, OverFlow unavailable
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcActive, maxQueueDepth 81, startDequeueDepth 64
Partial Fill: 47, Structured Data Transfer 1
Passive SoftVC
Src: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8038.20 vpi 0, vci 2080
Dst: atm addr 47.0091.8100.0000.00e0.4fac.b401.4000.0c81.8030.00
Reconfiguring a Previously Established Circuit
Once you have configured a circuit, you cannot change the circuit's configuration while the circuit is up. You must first bring the interface down. Then you can change the circuit configuration. After entering these configuration changes, you must bring the interface back up. To change an enabled circuit's configuration, follow these steps, beginning in global configuration mode:
Note
The no ces circuit circuit-id shutdown command deletes the circuit. If you use this command, you must reenter all of the configuration information for the circuit. Do not use this command unless you intend to delete the circuit.
Examples
The following example disables interface cbr 3/0/0, specifies the clock source as network-derived, changes the AAL1 clocking method to synchronous, and reenables the interface.
CESwitch(config)# interface cbr 3/0/0
CESwitch(config-if)# shutdown
CESwitch(config-if)# ces dsx1 clock source network-derived
CESwitch(config-if)# ces aal1 clock synchronous
CESwitch(config-if)# no shutdown
The following example displays the changed configuration information for the circuit, using the show ces circuit interface cbr command:
CESwitch# show ces circuit interface cbr 3/0/0 0
Circuit: Name CBR-PVC-A, Circuit-state ADMIN_UP /
Interface CBR3/0/0, Circuit_id 0, Port-Type T1, Port-State UP
Port Clocking network-derived, aal1 Clocking Method CESIWF_AAL1_CLOCK_SYNC
Channel in use on this port: 1-24
Channels used by this circuit: 1-24
Cell-Rate: 4107, Bit-Rate 1544000
cas OFF, cell_header 0x100 (vci = 16)
cdv 2000 usecs, Measured cdv 350 usecs
ErrTolerance 8, idleCircuitdetect OFF, onHookIdleCode 0x0
state: VcAlarm, maxQueueDepth 879, startDequeueDepth 491
Partial Fill: 47, Structured Data Transfer 0
HardPVC
src: CBR3/0/0 vpi 0, vci 16
Dst: ATM0/1/3 vpi 0, vci 100
The output from this command verifies the following configuration information:
•
The circuit named CBR-PVC-A is UP.
•
The clock source is network-derived.
•
The AAL1 clocking method is synchronous.
Deleting a Previously Established Circuit
This section describes how to delete a previously established circuit.
To delete a previously established circuit, follow these steps, beginning in privileged EXEC mode:
Example
The following example shows how to delete a previously established circuit:
CESwitch# show ces circuit
Interface Circuit Circuit-Type X-interface X-vpi X-vci Status
CBR3/0/0 0 HardPVC ATM0/0 0 100 UP
CBR3/0/3 0 HardPVC ATM0/0 0 101 UP
CESwitch# configure terminal
CESwitch(config)# interface cbr 3/0/0
CESwitch(config-if)# no ces circuit 0
CESwitch(config-if)# exit
CESwitch(config)# interface cbr 3/0/3
CESwitch(config-if)# no ces circuit 0
Verifying Deletion of a Previously Established Circuit
To verify the deletion of a previously configured circuit, use the following privileged EXEC commands:
Command Purposeshow ces circuit
Shows the configuration information for the circuit.
show ces address
Shows the configuration information for any CES addresses.
Examples
The following example displays the configuration of any CES circuits:
CESwitch# show ces circuit
The absence of output verifies that all CES circuits are deleted.
The following example displays the configuration of any CES addresses:
CESwitch# show ces address
CES-IWF ATM Address(es):
The absence of output verifies that all CES circuits are deleted.
Configuring SGCP
The Simple Gateway Control Protocol (SGCP) controls voice-over-IP gateways by an external call control element (called a call-agent). This has been adapted to allow SGCP to control ATM switch router circuit emulation services (CES) circuits (called endpoints in SGCP). The resulting system (call-agents and gateways) allows for the call-agent to engage in common channel signalling (CCS) over a 64-Kbps CES circuit, governing the interconnection of bearer channels on the CES interface. In this system the ATM switch router acts as a voice-over-ATM gateway.
For overview information about configuring the SCGP feature, refer to the Guide to ATM Technology.
Operation
The network operator can globally enable or disable SGCP operation for the switch. By default, SGCP is disabled. When SGCP is enabled, the ATM switch router begins listening on the well-known User Datagram Protocol (UDP) port for SGCP packets. The endpoint ID in an SGCP packet identifies the CES circuit. The CES circuit endpoint can be used by SGCP if the following conditions exist:
•
The parent CES interface is enabled, and the LineState field indicates NoAlarm (determined via the show ces interface command).
•
The CES circuit is allocated a single time slot.
•
The CES circuit is enabled (not shut).
•
The CES circuit is not configured as an active soft PVC.
•
The CES circuit is not configured as part of a hard PVC.
The following sections describe SGCP configuration tasks:
•
Configuring SGCP on the Entire Switch
•
Configuring CES Circuits for SGCP
•
Configuring SGCP Request Handling
•
Configuring Call-Agent Address
Configuring SGCP on the Entire Switch
To enable SGCP operations for the entire switch, use the following global configuration command:
Example
The following example shows how to enable SGCP for the entire switch:
Switch(config)# sgcp
Displaying SGCP
To display SGCP configuration, operational state, and a summary of connection activity, use the following privileged EXEC command:
Example
The following example displays the SGCP configuration:
Switch# show sgcp
SGCP Admin State ACTIVE, Oper State ACTIVE
SGCP call-agent:none , SGCP graceful-shutdown enabled? FALSE
SGCP request timeout 2000, SGCP request retries 6
74 CES endpoint connections created
74 CES endpoints in active connections
Configuring CES Circuits for SGCP
Any single time slot (64 Kbps) allocated to a circuit on a CES T1/E1 interface can be configured for SGCP with these restrictions:
•
CES is not the active source end of a soft PVC.
•
CES is not part of a hard PVC.
Note
Configuration on the call-agent can restrict the range of circuits designated for signalling on a CES circuit interface.
When you configure a CES circuit for SGCP, signalling should be given the proper time slot. For T1 CES circuits, a time slot can be given a number from 1 to 24; for E1 CES, a number from 1 to 31.
Although no keyword identifies a CES circuit as allocatable by SGCP, there is normally a simple configuration rule to ensure that signalling allocates the proper time slot:
circuit x is allocated time slot x, 1<=x<=24 (or 31 for E1).
Note
The endpoint specifier used by SGCP refers to the CES circuit ID (not the time slot). If a time slot is not allocated to a circuit, that time slot cannot be used by SGCP (or CES, either).
To configure SGCP operation on a CES circuit interface, follow these steps, beginning in global configuration mode:
Example
The following example shows how to configure the CES port for structured CES with all time slots available for SGCP. CES circuit 16 is configured for common channel signalling and specified as a soft permanent virtual channel (soft PVC) to a circuit on the CES port adapter connected to the call-agent.
Switch(config)# interface cbr 1/1/2
Switch(config-if)# ces aal1 service structured
Switch(config-if)# ces circuit 1 timeslot 1
Switch(config-if)# ces circuit 2 timeslot 2
Switch(config-if)# ces circuit 3 timeslot 3
Switch(config-if)# ces circuit 4 timeslot 4
Switch(config-if)# ces circuit 5 timeslot 5
Switch(config-if)# ces circuit 6 timeslot 6
Switch(config-if)# ces circuit 7 timeslot 7
Switch(config-if)# ces circuit 8 timeslot 8
Switch(config-if)# ces circuit 9 timeslot 9
Switch(config-if)# ces circuit 10 timeslot 10
Switch(config-if)# ces circuit 11 timeslot 11
Switch(config-if)# ces circuit 12 timeslot 12
Switch(config-if)# ces circuit 13 timeslot 13
Switch(config-if)# ces circuit 14 timeslot 14
Switch(config-if)# ces circuit 15 timeslot 15
Switch(config-if)# ces circuit 16 timeslot 16
Switch(config-if)# ces pvc 16 dest-address
47.0091.8100.0000.0060.3e64.fd01.4000.0c80.1038.10 vpi 0 vci 2064
Switch(config-if)# ces circuit 17 timeslot 17
Switch(config-if)# ces circuit 18 timeslot 18
Switch(config-if)# ces circuit 19 timeslot 19
Switch(config-if)# ces circuit 20 timeslot 20
Switch(config-if)# ces circuit 21 timeslot 21
Switch(config-if)# ces circuit 22 timeslot 22
Switch(config-if)# ces circuit 23 timeslot 23
Switch(config-if)# ces circuit 24 timeslot 24
Switch(config-if)# end
Displaying SGCP Endpoints
SGCP endpoints are all the CES circuits that might be eligible for SGCP connections. To display SGCP endpoints, use the following EXEC command:
Command Purposeshow sgcp endpoint [interface cbr card/subcard/port [circuit-id]]
Displays the SGCP endpoints.
Note
SGCP cannot allocate a CES circuit to a connection if it is already part of a hard or soft PVC.
Example
The following example displays the possible SGCP endpoints on CES interface CBR 1/1/0:
Switch> show sgcp endpoint interface cbr 1/1/0
Endpt Timeslots Conn State Call ID
CBR1.1.0/1 1 no connection
CBR1.1.0/2 1 no connection
CBR1.1.0/3 1 no connection
CBR1.1.0/4 1 no connection
CBR1.1.0/5 1 no connection
CBR1.1.0/6 1 no connection
CBR1.1.0/7 1 no connection
CBR1.1.0/8 1 no connection
CBR1.1.0/9 1 no connection
CBR1.1.0/10 1 no connection
CBR1.1.0/11 1 active
CBR1.1.0/12 1 no connection
CBR1.1.0/14 1 active 1234abc
CBR1.1.0/15 1 active 2234abc
CBR1.1.0/16 1 active 3234abc
CBR1.1.0/17 1 active 4234abc
CBR1.1.0/18 1 active 5234abc
CBR1.1.0/19 1 active 6234abc
CBR1.1.0/20 1 active 7234abc
CBR1.1.0/21 1 active 8234abc
CBR1.1.0/22 1 active 9234abc
CBR1.1.0/23 1 active a234abc
CBR1.1.0/24 1 active b234abc
Displaying SGCP Connections
To display SGCP connections (either globally or per single interface), use the following EXEC command:
Command Purposeshow sgcp connection [interface cbr card/subcard/port]
Displays the SGCP connections.
Example
The following example displays all SGCP connections created on the ATM switch router:
Switch> show sgcp connection
Conn Endpt Soft VC State Call Id
CBR0.0.0/1 Dest- active VC d234ab
CBR0.0.0/2 Dest- active VC 12345bc
CBR0.0.0/3 Dest- active VC 1284ab
CBR0.0.0/4 Dest- active VC 9234abc
Configuring SGCP Request Handling
When the ATM switch router initiates an SGCP request (for example, to disconnect the circuit), default request timer and request retry values are in operation. To change the default value of SGCP requests, use the global configuration commands, as shown in the following table:
Command Purposesgcp request timeout msecs
Configures the SGCP request timeout value.
sgcp request retries number
Configures the SGCP request retry value.
Examples
The following example shows how to change the request timeout to 2000 milliseconds:
Switch(config)# sgcp request timeout 2000
The following example shows how to change the request retry value to 5:
Switch(config)# sgcp request retries 5
Configuring Call-Agent Address
By default the SGCP call agents perform the following tasks:
•
The ATM switch router sends a response to an SGCP request in a UDP packet with the destination address the same as the source address of the request UDP packet.
•
To send a DeleteConnection request for a connection that exists, the ATM switch router specifies the destination address of the UDP packet as the source UDP address in the CreateConnection request.
To alter this behavior, and send responses and requests to a specific IP address and UDP port, use the following global configuration command:
Command Purposesgcp call-agent ip-address udp-port
Configures the call-agent IP address and UDP port.
Note
If the IP address is specified without the UDP port number, the well-known SGCP port 2427 is used.
Example
The following example shows how to set the call-agent with IP address 133.20.5.122 and
UDP port 12000:Switch(config)# sgcp call-agent 133.20.5.122 12000
Shutting Down SGCP
When SGCP is disabled with the no sgcp command, active SGCP connections are terminated; however DeleteConnection requests are not sent to the call-agent for these active connections.
To notify call-agent and perform a graceful SGCP shutdown, use the following global configuration command:
Example
The following example shows how to perform a graceful shutdown:
Switch(config)# sgcp graceful-shutdown
Posted: Mon Oct 11 09:28:43 PDT 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.