- About This Guide
- Cisco Voice Switch Service Module Introduction
- Cisco Voice Switch Service Module Description
- Configuring VoIP Switching Applications
- Configuring Switches for AAL2 Trunking Applications
- Configuring VXSM Features
- VXSM as a Signaling Gateway
- VXSM as a Transcoding Gateway
- Implementing Lawful Intercept on VXSM
- Configuring Lawful Intercept Support
- Loading and Upgrading VXSM Code Images
- VXSM Troubleshooting
- Media Gateway Clocking
Media Gateway Clocking
Clocking Basics
Network clocking is a means by which a clock signal is generated or derived and distributed through a node for the purpose of insuring synchronized network operation. Clocking and its configuration is at the gateway (or node) level. As such the clocking functions in an MGX 8850 media gateway reside in the PXM 45 card.
The MGX 8850 supports the following types of internal and external clock sources.
•
A BITS (Building Internal Timing Source) clock. This type is an external clock source connected to one of two RJ-48 type female connectors on the PXM-UI-S3 back card (see Figure 12-1).
•
A SETS (Synchronous Equipment Timing Source) clock. This type is an external clock source connected to one of two RJ-48 type female connectors on the PXM-UI-S3 back card (see Figure 12-1).
•
An external clock source derived from a service module line (for example, a VXSM line).
•
An internal clock source consisting of a Stratum 3 clock circuit in the internal clock oscillator on the PXM back card - PXM-UI-S3.This clock source is distributed to all cards in the gateway.
If possible, the recommended clock source for a VXSM based MGX 8850 media gateway is BITS.
Note
The two RJ-48 connectors for clock input are indicated as "4" in Figure 12-1. One is labeled EXT CLK 1 and the other as EXT CLK 2. Each connector has an associated LED which is lit green when the clock source is active. If the LED is not lit, the clock source is either inactive or not in use.
From the above list of possible clock source types, the gateway can accept two clock sources. One source is designated as primary and is mandatory, the second source is designated a secondary and is optional. If a primary source fails, the secondary takes over.
If neither a primary or secondary source is specified, the default primary source becomes the Stratum 3 internal clock source (Free-running). Likewise, if no secondary is specified, the default secondary becomes the Stratum 3 internal clock source.
Figure 12-1 PXM 45 UI S3 Back Card Connectors
Clock Configuration
Use the following steps to configure clocking on an MGX 8850 media gateway.
Step 1
Telnet onto the gateway. Check that you are logged in to the active PXM 45 card.
Step 2
Use the cnfclksrc command to configure the primary clock source.
The syntax of this command is:
cnfclksrc <priority> <portid>[ -bits { e1|t1 } ][ -revertive { enable|disable } ]
where:
priority This is either primary or secondary (default=primary)
portid The specification of the port ID depends upon the selected clock source.
If he BITS clock source is selected portid is specified as:
[shelf.]slot.port
shelf —always 1 and is optional.
slot—the logical slot number 7 for a BITS circuit on the PXM UI S3 (regardless of where the active PXM resides).
port—a logical number that indicates the upper or lower external clock connector on
the UI S3 back card. The logical port number for the upper connector is 35. The lower connector is 36.
If a VXSM is selected as the source, portid is specified as:
[shelf.]slot:subslot.port:subport
shelf—Always 1 and optional
slot—Slot number of the service module
subslot—Identifies the upper or lower bay of the back card, either a 1 for the upper bay or 2 for the lower bay (default is 1)
port—Line number on the service module back card plus 10. The specified line must already be active (see upln).
subport—Logical port number, plus 10. This value is the logical port (or ifNum) that you must assign using the addport command. Also, the logical port must be known to PNNI (see dsppnports).
Note
When you specify a clock source on a VXSM card, the value 10 must be added to both the line and logical port numbers. For example, a primary clock source on a VXSM in slot 3, upper shelf, line 1, logical port 1 is specified as:
cnfclksrc primary 3:1.11:11
bits—This keyword parameter is required if slot number 7 and port number of 35 or 36 are specified in portid (indicating BITS as the clock source) Type the string -bits, followed by a space, then either e1 or t1.
revertive—An option that applies to only the BITS clock. Type the string -revertive, followed by the complete word enable or disable. The default is disable.
Step 3
Use the cnfclksrc command to configure the secondary clock source.
Step 4
Use the cnfclkparms command to configure the signal type and cable type for BITS sources (if applicable). The configuration applies to both (upper and lower) lines.
The syntax of this command is:
cnfclkparms <signal type> <cable type>
where:
signal type - [1-2]; 1 - data; 2 - syn (this parameter is not supported in this release)
cable type - [1-2]; 1 - twisted; 2 - coaxial
Note
E1 lines can be either twisted pair or coaxial cable. T1 lines must always be specified as twisted pair.
Below is an example of a sequence of clock configuration commands.
8850japan.7.PXM.a > cnfclksrc primary 7.35 -bits t1 -revertive enable
8850japan.7.PXM.a > cnfclksrc secondary 7.36 -bits t1 -revertive enable
8850japan.7.PXM.a > cnfclkparms 1 1
Displaying Clock Configuration
On the PXM card, use the dspclksrcs command to display the clocking configuration.
8850japan.7.PXM.a > dspclksrcs
Primary clock type: bits t1
Primary clock source: 7.35
Primary clock status: bad
Primary clock reason: no clock
Secondary clock type: bits t1
Secondary clock source: 7.36
Secondary clock status: bad
Secondary clock reason: no clock
Active clock: internal
source switchover mode: revertive
On the VXSM card, use the dspln command to display clocking on a VXSM line. The values are loopclock (when clock is derived from a VXSM line) or local (when derived from BITS).
M8850_NY.3.VXSM.a > dspln 1.4
======================================================
Sonet Line Information
======================================================
Sonet Line : 1.4
Medium Type : sonet
Interface Name : sonet.3.1.4
Admin Status : down
Operational Status : down
Time Elapsed(seconds) : 0
Valid Intervals : 0
Invalid Intervals : 0
Line Type : sonetSts3
Loopback Config : lineLocal
Transmit Clock Source : localTiming
Frame Scramble : disabled
RDIV Type : onebit
RDIP Type : onebit
Section Transmit Trace : 000000000000000000000000000000000000000a
Section Expect Trace : 000000000000000000000000000000000000000a
Section Trace Failure : false
Section Received Trace : 000000000000000000000000000000000000000a
archer.5.VXSM.a > dspln 1.1
======================================================
DS1/E1 Line Information
======================================================
DS1/E1 Line : 1.1
Interface Name : ds1.5.1.1
Admin Status : up
Operational Status : up
Time Elapsed(seconds) : 256
Type : dsx1ESF
Send Code : none
Loopback Config : dsx1NoLoop
Signal Mode : none
Transmit Clock Source : localTiming
Line Coding : dsx1B8ZS
Line length (m) : 0
Line Mode : csu
Line Build Out : zerodB
Loopback State : NoLpbk
Trunk Condition Enable : false
Loopback Code Detection: false
Status : NoAlarm
Clocking Guidelines
•
The network should have the least possible number of independent clock sources. The best arrangement is to have one network clock source that is distributed to all nodes in the network.
•
There can only be one clock source per VXSM card.
•
Different VXSM cards, in the same chassis or different chassis, that are part of the same network should get their clocks from sources traceable to the same reference source.
•
Do not use separate clock sources unless you can confirm that they will remain closely phase locked. This prevents large changes in clock phase when a clock interface switchover occurs. It is best to take two separate feeds from the same clock source or same clock distribution system.
•
Preferred clock sources for a VXSM equipped media gateway are:
–
An external clock from the same source that the switch is connected to (BITS)
–
An external clock from the switch (dedicated source or T1/E1 line)
•
Prevent reflections that can produce noise. These are usually caused by:
–
Unterminated connections
–
Cables with long legs on the Y connections
Note
MGX systems are designed to work with Y cables. The backup UI interface is always unterminated until it becomes the primary. This mode of operation insures that only one of the legs of a Y cable is terminated preventing both terminations from being on at the same time. If both terminations are on at the same time, the termination resistance (impedance) becomes half its expected value.
–
Too many connectors in the line path
•
Use good quality wiring techniques for clock source cables. Use shielded UTP if possible, UTP at a minimum, for balanced (100 or 120 ohm) cables. Make sure you have good grounds on the unbalanced coax clock cables. Keep clock cables as short as possible.
•
Clocking problems typically cause Packet Errors, HEC (Header Error Check) errors, PLCP (Physical Layer Convergence Protocol) errors, or frame-sync errors. The error depends upon the type of trunk interface used.
•
Clock slips on voice circuits can result in dropped calls, hissing, scratchiness, and echo problems.
Qualifying a Clock Source
When a primary clock source is configured it is qualified by sampling the clock for its frequency at 1 sample per second and analyzing 24 batches each consisting of 16 samples. For a clock to be qualified as a "narrow-band compliant" source, all 16 samples in a batch must have a frequency of within ±4.66 parts per million. after a clock source is qualified, it is deemed Lockable.
A primary Lockable clock source is monitored at one second intervals to ensure that it continues to be qualified. A clock source configured as secondary, is also qualified as Lockable but it is not monitored (unless it becomes the primary source).
A clock source is considered bad if there is a loss-of-activity/loss-of-signal or it becomes Unlockable. When the active clock source is detected to be bad, the active clock source is switched to an alternative good clock source.
Switching to an Alternative Clock Source
Table 12-1 summarizes the choice of the alternative clock source:
The decisions to switch from a bad clock source to an alternative clock source depend on the current active clock source, the nature of failure and the configuration.
Basically there are three major situations.
•
Only a primary clock source is configured.
•
A primary and secondary clock source are configured with auto-revertive mode enabled.
•
A primary and secondary clock source are configured with auto-revertive mode disabled.
Note
Auto-revertive mode monitors the failed primary clock source and automatically reverts to that source if it recovers and becomes qualified. The auto-revertive mode is available only if the primary clock source is configured to be an external BITS clock source.
Table 12-2 summarizes failure scenarios and recovery actions taken when only a primary clock source is configured:
Table 12-3 summarizes failure scenarios and recovery actions taken when both a primary clock sources are configured with Autorevertive enabled.
Table 12-4 summarizes failure scenarios and recovery actions taken when both a primary clock sources are configured with Auto-revertive disabled
Feedback