Home
IPM User Manual
Contents
1. Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_STATIC_IP_MSG_ID Message 2 AG_RCP_RESPONSE Type Message 2 12 Length Status 2 AG RCP ACK Interface 4 AG IF C Interface for which AG IF A information is desired IP Address 4 IP addtess fot the selected interface IP Subnet 4 IP subnet mask for the Mask selected interface 4 60 RS 160 User s Manual Rev 3 Control Protocol GetConfigUART Response Size Item Bytes Range of Values Description Message ID 2 AG RCP GET CG UART MSG ID Message 2 AG RCP RESPONSE Type Message 2 Length Status 2 AG RCP ACK UART rate 4 AG RCP UART BAUD RATE 9600 AG RCP UART BAUD RATE 19200 AG RCP UART BAUD RATE 38400 AG RCP UART BAUD RATE 57600 AG RCP UART BAUD RATE 115200 AG RCP UART BAUD RATE 230400 AG RCP UART BAUD RATE 460800 AG RCP UART BAUD RATE 921600 UART Stop 4 AG RCP UART 1 STOP BITS Bit AG RCP UART 2 STOP BITS UART Appli 4 AG RCP UART USAGE PPP cation Mode AG RCP UART USAGE LDP AG RCP UART USAGE TERMINAL AG RCP UART USAGE MEASSAGE AG RCP UART USAGE TRACE AG RCP UART USAGE RS MASTER AG RCP UART USAGE RS SLAVE AG RCP UART USAGE TDM UART Mode 4 AG TRUE AG FALSE 4 61 Control Protocol GetVersion Response 4 62
2. Reload Restarts the RS 160 using the startup configuration Abbreviation rl rl Syntax Description Defaults Usage Guidelines If any configuration changes were made to the modified running config they will be lost unless a Replace rp command was executed firs Use the rr command to perform both operations in a single step Examples CM160 Config gt rl Restarting from startup config DB CM160 R01 01 02 D002 200 3 16 RS 160 User s Manual Rev 3 CLI Commands SetConfigEth Abbreviation Configures the parameters of an Ethernet interface LAN or UPLINK sce sce lt speed gt lt duplex mode gt Syntax Description Defaults Usage Guidelines Examples lt speed gt 10 100 Auto selects Ethernet speed in Mbps or selects Auto negotiation for configuration lt duplex mode gt Full Half optionally selects Full Duplex or Half Duplex Changing from Auto to an interface speed or from an interface speed setting to auto negotiation requires a replace and reload to activate the change changing interface speed does not requires a replace and reload CM160 Config LAN gt sce 100 full The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 17 User s Manual Rev 3 CLI Commands SetConfigEthFlowControl Sets LAN or UPLINK flow control mode Abbreviation scef scef lt flow
3. 3 52 SetAgingTime 3 53 ClearBridging 3 54 SetDefGateway 3 55 GetDefGateway 3 56 SetMacAddress 3 57 GetMacAddtess 3 58 AddRequ stManager opti e eet 3 59 RemoveRequestManaget sse 3 60 GetRequestManagets ENEE 3 61 KE 3 62 Table of Contents RemoveTrapManaget een 3 63 GetTrapManagets eee eene 3 64 SetRequestPOrt 12 treten gine 3 65 GetRequestTrapPotts En 3 66 Set IrapDOott cust het e iere eterno 3 67 DurapMemhRange 2 t eer ees 3 68 DutrpMembength eet 3 69 ShowElr eEleapSize ceci te ien en eed 3 70 Set DraceLevels cuan sive metodi 3 71 SetTraceMessageT ype EE 3 72 CIeatS9wEtts ee 3 73 SetTraceDestimation tenentes 3 74 EE nouos ET te ER RR ERAI 3 75 GetTraceStatus 2 76 SetDateTime 3 77 GetDateTime 3 78 GetVetsion 3 79 SetMemory 3 80 SetMemoryRange 9 81 DisplayDBInfo 9 82 GetBoardData 3 83 FunctionalTest 9 84 Ke 3 85 SetUAR RE 3 86 SetDynamicMACL pbk seen 3 87 SetBitstreamDynLEpbk eee PO 3 88 SetEIUDyn micLEpbk nete etn 3 89 SetUARTRQCD eiie tite coe i Ho IR EO EAR 3 90 GetBitstreamFrequency en 3 91 Chapter 4 Redux Control Protocol Connecting to the RH ees 4 1 Message Overview ED Message Format 44 Call Messages 4 2 Response Messages cett tt tt tnos de eter 4 3 Unsolicited Messages ai e ep RR DATES 4 3 Mess
4. Usage Guidelines This change will go into effect only after a device reset RS 160 4 27 User s Manual Rev 3 Control Protocol GetLlUStatus Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_LIU_STATUS_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_B Interface for which AG_IF_A information is desired Usage Guidelines 4 28 RS 160 User s Manual Rev 3 Control Protocol GetConfigLIU Size Item Bytes Range of Values Description Message ID 2 AG RCP GET CFG LIU MSG ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_B Interface for which AG_IF_A information is desired Usage Guidelines RS 160 4 29 User s Manual Rev 3 Control Protocol SetStaticlP Size Item Bytes Range of Values Description Message ID 2 AG RCP SET STATIC IP MSG ID Message 2 AG RCP CALL Type Message 2 8 Length Status 2 AG RCP ACK Interface 4 AG IF C Interface to configure AG IF A IP Address 4 Each byte value should be from range 0 255 Sets the interface s static IP address Usage Guidelines This change will go into effect only after a device reset 4 30 RS 160 User s Manual Rev 3 Control Protocol GetStaticIPCfg Size Item Byte
5. SetSubNetMask Configures the IP subnet mask for an interface Abbreviation ssnm ssnm lt ip sub net mask gt Syntax Description lt ip sub net mask gt Subnet mask of the selected interface in the format nn nn nn nn where nn is a number from 0 to 255 Defaults Usage Guidelines Examples CM160 Config UPLINK gt ssnm 255 255 255 0 The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr 3 32 RS 160 User s Manual Rev 3 CLI Commands GetConfig Abbreviation Returns configuration information about an interface or an application gc gc Syntax Description Defaults Usage Guidelines Examples The function returns a different report based on the sub directory where the function is called Configuration information for an interface configured as bitstream CM160 Config El gt ge Working mode iiy ew e Ne Frame size bytes nd rrumn value 995 Clocking mode TX Clock polarity Rx clock polaf ity 3 nterface Loopback LIU line format E CO OO OO OO Ed x e oO D s L Running_config monitor Gaini ee eer Nee E Rx equalizer gain limit jitter attenuation GE TOOPHACKS Ais a d dech Fr med MODS die SEA Bitstream 96 OxFE Loopback master Rising Falling Disabled El DS2155 HDB3 Ed 5 120oh
6. Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GEN_GET_VERSION_MSG_ID Message 2 AG_RCP_RESPONSE Type Message 2 AG_RCP_VERSION_STR_SIZE 4 Length Status 2 AG RCP ACK Version 4 0 to AG RCP VERSION STR SIZE Length of the version Length string Version AG RCP VERSION STR SIZE Product version Control Protocol GetConfig Response Size Item Bytes Range of Values Description Message ID 2 AG RCP GET CFG CES APP MSG ID Message 2 AG RCP RESPONSE Type Message 2 38 Length Status 2 AG_RCP_ACK Protocol 4 AG_RCP_TDM_O_IP_HEADER_RTP or Header protocol AG RCP TDM O IP HEADER MINIMAL IP Address 4 Target IP Address Subscriber 4 AG IF A Subscriber interface Interface AG IF B Service Inter 4 AG IF C Service Interface face AG IF A IP TOS 2 AG RCP CES TOS MIN IP TOS AG RCP CES TOS MAX Target Port 2 For RTP header Target port AG RCP CES RTP PORT MIN Oxffff For Minimal header 0 AG RCP CES MINIMAL HEADER PORT MAX Source Port 2 For RTP header Soutce port AG_RCP_CES_RTP_PORT_MIN Oxffff For Minimal header 0 AG_RCP_CES_MINIMAL_HEADER_PORT_MAX Ether Type 2 For RTP header Ether type 0x800 For Minimal header 0x0600 Oxffff Payload 2 AG RCP CES PAYLOAD LEN MIN Payload Length in bytes Length AG RCP CES PAYLOAD LEN MAX Max Jitter 2 A
7. E1 75 Ohm and 120 Ohm T1 100 Ohm Ji 110 Ohm supported in future release See the LIU data sheet for more information about this parameter Defaults Usage Guidelines Examples CM160 Config E1 gt slrt 120ohm The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 27 User s Manual Rev 3 CLI Commands SetConfigJitterAttenuation Enables disables the LIU internal Tx jitter attenuator Abbreviation sljt sljt Xjitter atten activation Syntax Description Xjitter atten activation Enable Disable Defaults Usage Guidelines Enabling this parameter adds a 128 bit FIFO to the Tx path Examples CM160 Config E1 gt sljt enable The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr 3 28 RS 160 User s Manual Rev 3 CLI Commands SetConfigMonitorGain Abbreviation Sets the Rx monitor gain for an LIU slrg slrg monitor gain Syntax Description Defaults Usage Guidelines Examples mohitor gain Norm 20db 26db 32db This parameter is usually left at Norm P y CM160 Config E1 gt slrg norm The request was updated successfully in modified running config The configuration change will be activated after the next Replace
8. The command completed successfully If the entered parameters parse correctly but not all required parameters are entered or the entered values are an incorrect combination for the selected command the following message is sent Modified running config was not updated or accessed with this request See the description of SetConfigCESProtocol on page 3 39 for an example of how the value of one parameter can constrain the value of other parameters CLI Command Hierarchy The CLI commands are organized in a hierarchal directory structure as shown in Figure 3 1 Each directory has subdirectories and or commands within it The following commands are used to navigate the command directories e dir lists the commands and sub directories in the current directory RS 160 3 3 User s Manual Rev 3 CLI Commands up arrow and down arrow display previously entered commands up to the last 12 Entering a sub directory name or its abbreviation transfers control to that direc tory One can move down the hierarchy by more than one level by entering the desired sub directory path with V separating the directory names for example CM160 gt m lan CM160 Monitor LAN gt Starting with allows entering the path to a directory starting from the root directory for example CM160 Monitor LAN gt c lan CM160 Config LAN gt If the full path to a directory is entered followed by a command the default direc to
9. Message 2 AG RCP RW MEM MAX SIZE IN BYTES 4 Length Status 2 AG RCP ACK Length 4 0 AG RCP RW MEM MAX SIZE IN BYTES Number of bytes dumped from memory Memory AG RCP RW MEM MAX SIZE IN BYTES Array containing Dump Length relevant dumped bytes Control Protocol GetStatusCesApp Response Size Item Bytes Range of Values Description Message ID 2 AG RCP GET STATUS CES APP MSG ID Message 2 AG RCP RESPONSE Type Message 2 Length Status 2 AG_RCP_ACK Jitter Level 4 Current jitter buffer level Jitter Over 4 Number of times the flow Jitter buffer exceeded MAX depth Jitter Under 4 number of times the Jit How ter buffer fell below MIN depth Utilization 4 current CES application bandwidth configuration band width utilization Jitter MIN 4 jitter minimum level level since last ResetCesSta tus Jitter MAX 4 jitter maximum level level since last ResetCesSta tus Connectivity 4 AG RCP CONNCTIY STATUS UP CES Connectivity sta Status AG RCP CONNCTIY STATUS DOWN tus AG RCP CONNCTIY STATUS MISCON AG RCP CONNCTIY STATUS FE UNREACH AG RCP CONNCTIY STATUS FE FAIL Tx Clock 4 AG RCP CLOCK INPUT MODE Transmit Clock Source Source AG RCP CLOCk OUTPUT MODE AG RCP CLOCK RECOVERY MODE AG RCP CLOCK LPBK MODE Is Reach 4 AG TRUE target host ping reach able Flag AG_FALSE able if AG_TRUE received response to ping
10. if two CM 160s are connected back to back A PC or dumb terminal connection to the serial port must use a null modem RS232 cross cable 2 Check that the Ethernet configuration parameters are correct The following CLI command displays the bitstream interface configuration Config Interfaces Interface_C gt gc Working mode MII RMII AutoNeg Speed Mb s Duplex Mode Flow control Clock source RMII ref clock out Interface BW MAC address MAC Loopback kb s PHY configured PHY number Advertisement 3 Be sure that the LIU configuration parameters are compatible with the E1 T1 signal source line code line build out etc Current config Disabled DTE Unlimited CD CD CD CD CD CD Enabled YES 10H 10F 100H 100F Next start up config ETH MII ON Disabled DTE Unlimited CD CD ED EI CD Disabled YES 0 10H 10F 100H 100F The following CLI command displays the bitstream interface configuration Config Interfaces Interface_B gt ge Working mode Frame Size bytes Underrun value Clock source Tx clock polarity Rx clock polarity Interface loopback LIU line format GPU CY DPC oon ee eee Current config BitStream 96 OxFE Loopback master Falling Rising Disabled El DL 2155 Next start up config BitStream 96 OxFE Loopback master Falling Rising Disabled El DL_2155 5 5 Testing and Troubleshoo
11. srp Y Trap port 162 SetTrapPort stp Y Request Manager Req Dflt name AddRequestManager arm Y Community Name Manager IP address 10 101 1 200 AddRequestManager arm Y Permission level Get Read AddRequestManager arm Y Trap Manager Trp Dflt name AddTrapManager atm Y Community Name Trap IP address 10 101 1 200 AddTrapManager atm Y System Description Empty string Y System Contact Technical Support support arranto net Y System Name ArrantoRS 160 E
12. 13 23 93 43 RS 160 3 63 User s Manual Rev 3 CLI Commands GetTrapManagers Displays a list of the SNMP Trap managers and their IDs Abbreviation gun gum Syntax Description Defaults Usage Guidelines The displayed manager ID is used when calling the rtm function to delete a request manager entry Examples CM160 Config SNMP gt gtm Mngr ID Mngr Community Name IP addr 1 Trp Dflt name 10 101 1 200 2 trap2 10 20 30 40 3 trap3 11 27 39 7 41 4 trap4 12 22 32 42 5 trap5 13 23 33 43 3 64 RS 160 User s Manual Rev 3 CLI Commands SetRequestPort Sets the SNMP request port to a specific value Abbreviation stp stp lt port gt Syntax Description lt port gt The port can be any value between 1 and 65 535 Defaults Usage Guidelines Examples The default request port is 161 CM160 Config SNMP gt srp 2000 The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 65 User s Manual Rev 3 CLI Commands GetRequestTrapPorts Displays the SNMP request port and trap port Abbreviation gp gp Syntax Description Defaults Usage Guidelines Examples CM160 Config SNMP gt gp Current config Next start up config Request port 161 2000 Trap portes sanai 162 162 3 66 RS 160 User s Manual Rev 3 SetTrapPort Abbreviation CLI Commands Sets th
13. A to LAN B Find the average latency and increase the jitter buffer to handle the latency For voice applications keep the jitter buffer under 250ms 1 4 second to avoid any noticeable delay in voice The command to modify the jitter buffer is RS160 gt c enter configuration menu RS160 Config gt top enter TDMoIP menu RS160 Config TDM_Over_Packet gt cclk 100 increase jitter to 100ms RS160 Config TDM_Over_Packet gt c rr save Payload Length In wireless applications a large payload is preferred In unframed E1 the default payload length is only 96bytes To increase it do the following RS160 gt c enter configuration menu RS160 Config gt top enter TDMoIP menu RS160 Config TDM_Over_Packet gt ccpl 265 set payload to 256 bytes RS160 Config TDM_Over_Packet gt c rr save Le RS 160 2 3 User s Manual REV 3 Quick Configure 2 4 RS 160 User s Manual REV 3 3 CLI Commands This chapter describes the command line interface CLI commands used to configure the RS 160 and to display the configuration and status of the device Configuring the RS 160 Startup config running config modified running config Startup config running config CLI Commands Ner Unde running config Reload Startup config Vi running config Replace modified running config The R
14. Bytes Range of Values Description Message ID 2 AG_RCP_GET_LIU_STATUS_MSG_ID Message 2 AG_RCP_RESPONSE Type Message 2 8 Length Status 2 AG RCP ACK LIU type A AG RCP ID NOAPP AG RCP DS 21348 AG RCP DS 2155 LIU loop 4 AG RCP LIU LOOPBACK DISABLED back state AG RCP LIU LOOPBACK DUAL AG RCP LIU LOOPBACK LOCAL AG RCP LIU LOOPBACK REMOTE AG RCP LIU LOOPBACK ANALOG RS 160 4 57 User s Manual Rev 3 Control Protocol GetConfigLIU Response 4 58 RS 160 Size Item Bytes Range of Values Description Message ID 2 AG RCP GET CFG LIU MSG ID Message 2 AG RCP RESPONSE Type Message 2 Length Status 2 AG RCP ACK Line Format 4 AG TRUE Indicates if Line Format Flag AG FALSE parameter is set Line Format 4 AG RCP BITSTREAM MODE E1 AG RCP BITSTREAM MODE T1 AG RCP BITSTREAM MODE J1 LIU type 4 AG RCP ID NOAPP AG RCP DS 21348 AG RCP DS 2155 Line Code 4 AG TRUE Indicates if Line Code Flag AG FALSE parameter is set Line Code 4 For E1 AG RCP LIU LINE CODE E1 HDB3 AG RCP LIU LINE CODE AMI For T1 J1 AG RCP LIU LINE CODE T1 B8ZS AG RCP LIU LINE CODE AMI Line Build 4 AG TRUE Indicates if Line Build Out Flag AG FALSE Out parameter is set Line Build 4 E1 line termination values Out AG_RCP_TXBO_NM_75_OHM 0 AG_RCP_TXBO_NM_120_OHM 1 AG_RCP_TXBO_75_HRL 4 AG_RCP_TXBO_120_HR
15. Certain key configuration parameters that define the physical components of the application such as the line interface unit LIU used presence of a PHY etc are set on y by the Management Console See Chapter 2 The Management Console for a description of the PC based configuration tool 2 Using the Command Line Interface CLI a user can change RS 160 configuration parameters directly from a serial dumb terminal a terminal emulator such as HyperTerminal or a Telnet connection while the RS 160 is RS 160 1 1 User s Manual Rev 3 Configuring the RS 160 operating See Chapter 3 CLI Commands for a description of the Command Line Interface 3 The Redux Control Protocol RCP was created to enable CPU to CPU control of the RS 160 These binary messages perform most of the same functions as the CLI including querying device status and performance statistics See Chapter 4 Redux Control Protocol for a description of the CPU to CPU message format The RS 160 Database At startup the RS 160 is configured from a database that contains all the device parameters Normally a database is written to Flash memory that defines the configuration of the application board containing the RS 160 If no database was defined the firmware assumes a default set of parameters See Appendix A Default Database for a list of the default parameters when a database was not written to Flash Redux provides four standard databases T1 Slave and
16. Master and E1 Slave and Master and the application designer can create a database accotding to the needs of a specific application using the supplied databases as a starting point Once the RS 160 is running many of the parameters in the database can be modified using either the CLI or the RCP although most of the changed values will not take effect until the next restart of the device Configuration Parameters Figure 1 3 shows the configurable elements of the RS 160 Parameters from each element are described briefly here and in more detail in subsequent chapters Figure 1 3 Configurable Elements of the RS 160 CES Subscriber Interface Service Interface Interface B RS 160 Interface C y LIU Control E1 T1 LIU CES L Packetized S To Ethernet Bitstream Application bitstream Uplink SNMP UART A UARTB Serial Interfaces Bitstream Tunneling A bitstream by definition is a sequence of bits that is continuous as long as there is a clock available to sample an Rx interface or to send on a Tx interface The RS 160 has to receive the bitstream continuously and to send bits out continuously even if there is no data to receive or send The E1 T1 source will send filler symbols if it has no data The RS 160 sends the user defined underflow pattern when it has no data to send 1 2 RS 160 User s Manual Rev 3 Configuring the RS 160 Tunneling hides the bitstream character
17. Message ID 2 AG RCP GET BS STATUS MSG ID Message 2 AG RCP RESPONSE Type Message 2 16 Length Status 2 AG RCP ACK Link State 4 AG RCP IF UNKNOWN STATE AG RCP IF LINK UP AG RCP IF LINK DOWN AIS Alarm 4 AG TRUE AG FALSE LOS Alarm 4 AG TRUE AG FALSE Bit Stream 4 AG RCP BS LOOPBACK DISABLED SE AG_RCP_BS_LOOPBACK_EXIST_WITH_TX T AG RCP BS LOOPBACK EXIST AG RCP BS LOOPBACK REMOTE WITH RX AG RCP BS LOOPBACK REMOTE AG RCP BS LOOPBACK DUAL RS 160 4 55 User s Manual Rev 3 Control Protocol GetConfigBitStream Response Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_CFG_BS_MSG_ID Message 2 AG_RCP_RESPONSE Type Message 2 24 Length Status 2 AG_RCP_ACK Frame Size 4 Under Run 4 Value Clock 4 AG_RCP_WAN_CLOCK_INPUT_MODE Source AG_RCP_WAN_CLOCK_OUTPUT_MODE AG_RCP_WAN_CLOCK_RECOVERY_MODE AG_RCP_WAN_CLOCK_LPBK_MODE Tx Clock 4 AG RCP TX CLOCK FALLING Polarity AG RCP TX CLOCK RISING Rx Clock 4 AG RCP RS CLOCK RISING Polarity AG RCP RX CLOCK FALLING Loopback 4 AG RCP BB LOOPBACK DISABLED AG RCP BB LOOPBACK EXIST WITH TX AG RCP BB LOOPBACK EXIST AG RCP BB LOOPBACK REMOTE WITH RX AG RCP BB LOOPBACK REMOTE AG RCP BS LOOPBACK DUAL 4 56 RS 160 User s Manual Rev 3 Control Protocol GetLIUStatus Response Size Item
18. See page 3 21 SetFrameMode S page 3 22 SetBitstreamDynamicLpbk See page 3 88 GetStatistics See page 3 37 GetConfig See page 3 33 GetStatus See page 3 33 SetConfigLIULineCode S page 3 23 SetConfigLIULineBuildout See page 3 26 SetConfigLIURxTerm S page 3 27 SetConfigJitterAttenuation See page 3 28 SetConfigMonitorGain See page 3 29 SetRxEqualizerGainLimit See page 3 30 Set LIUDynamicLpbk See page 3 89 GetFrameTimeSlots See page 3 23 SetFramedParams See page 3 24 CONSOLE Configuration Commands CM160 Config CONSOLE gt dir Scu gc SetConfigUART See page 3 38 GetConfig See page 3 33 SNMP Configuration Commands CM160 Config SNMP gt dir arm rrm grm atm rtm gtm srp AddRequestManager S page 3 59 RemoveRequestManager S page 3 60 GetRequestManagers S page 3 61 AddTrapManager S page 3 62 RemoveTrapManager S page 3 63 GetTrapManagers S page 3 64 SetRequestPort See page 3 65 RS 160 A User s Manual Rev 3 CLI Commands stp gp SetTrapPort See page 3 67 GetRequestTrapPorts See page 3 66 TDM over Packet Configuration Commands CM160 NConfigNTDM Over Packet dir ccap ccip ccpl cclk CCV scr cerr gfts sts ats rts sfp sctm gc gs Bridging Service Commands Se Se SetCo Se Se S tConfigCESProtocol See page 3 39 tConfigCESIP See page 3 41 figC
19. Tx clock must be Ic Depacketizer FEN configured for Recovery Slave for this mode to operate CLI Command SetLIUDynamicLb sldl 5 2 Testing and Troubleshooting TABLE 5 1 Description of Loopback Modes Loopback Mode Description LIU Loopback Remote The LIU loops back the data RS 160 stream received from the E1 T1 circuit No data is Rx Packeizer Tx transmitted to or received from JE 2uu Bitstream c EE the RS 160 T D packetizer Rx CLI Command SetLIUDynamicLb sld1 LIU Loopback Dual This mode is a combination of RS 160 the LIU local and remote S modes The LIU loops back the ET e acketizer Ayx data stream received from the 722 gie Z Bitstream f MAC bitstream E1 T1 circuit It also loops I Depacketizer y Rx back the bitstream received from the RS 160 The two data streams do not interact The Tx clock must be configured for Recovery Slave for this mode to opetate CLI Command SetLIUDynamicLb sldl The following example shows how the loopback settings can be used to verify operation of the RS 160 Figure 5 1 shows the test setup Figure 5 1 Loopback Test Setup RS 160 Rx Packetizer Tx GE ii LIU Bitstream C Lows Tx Depacketizer RX Packetized itstream Enter the following CLI commands gt m i c
20. bytes over the Ethernet protocol while the Minimal protocol only requires four bytes The Minimal protocol is not routable The RTP protocol allows defining a VLAN that can aid in improving network performance Payload size Longer packets are more efficient in the use of packet network bandwidth but may result in reduced performance if a packet is lost There will be a longer wait until the loss is detected and replaced by the underrun value When the RTP header is configured this value must be a multiple of the line format frame length i e multiple of 24 bytes T1 or 32 bytes E1 The payload size in this case ranges from 32 to 1440 bytes E1 or from 24 to 1440 bytes T1 When the minimal header is used the payload size can vary from 42 to 1492 bytes Note that longer packets can result in more delay due to the requirement of maintaining a minimum jitter buffer length of five packets Maximum Jitter This value can be up to 6200 milliseconds The default value is 5 milliseconds This means that if network delays stay within 5 milliseconds then there will be no detectable variation by the station receiving the E1 T1 bit stream If the jitter drifts higher then data packets may be lost If the user s net work has greater delays this parameter should be increased Performance Statistics The get status command for the CES application returns the latest values of key performance parameters See page 3 26 for a description of
21. control mode gt Syntax Description lt flow control mode gt ON OFF turns Ethernet flow control on or off Defaults Usage Guidelines Examples CM160 Config LAN gt scef on The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr 3 18 RS 160 User s Manual Rev 3 CLI Commands SetConfigEthLimit Abbreviation Defines a bandwidth limitation for either the LAN or UPLINK interface cel cel lt BW limit in kbits gt Syntax Description Defaults Usage Guidelines Examples lt BW limit in kbits gt 1 100000 0 indicates no limitation on this interface This value limits the bandwidth of traffic transmitted from the selected interface The value on the UPLINK interface includes packetized E1 T1 traffic The user must evaluate two values to determine this setting 1 The amount of bandwidth used by the packetized E1 T1 Enter c top gs to see the amount of bandwidth used 2 The maximum bandwidth of the slowest link between one RS 160 and its peer If the bandwidth required is larger than the slowest link reduce the packetized E1 T1 bandwidth by increasing the size of the packet payload This reduces the number of packet headers and therefore the amount of required bandwidth Set the UPLINK bandwidth to the bandwidth of the slowest link If the interface is configured for 10Mbps th
22. emulation of an E1 or T1 circuit by converting unframed bitstream data into packets and transmitting them over a packet netwotk A paired RS 160 receives the packets and converts the payload back into a bitstream The result is a low cost connection that is not dependent on a leased line The circuit emulation uses a dynamic jitter buffer and accurate clock recovery to deliver measurable performance even over the variability of the packet network Figure 1 1 and Figure 1 2 show the process of bitstream to packet and packet to bitstream conversion in the RS 160 Figure 1 1 Converting from Bitstream to Packets Remove RTP Header e RTP Header nae fae Figure 1 2 Converting from Packets to Bitstream RS 160 rie etwork Jitter Buffer o ee TDM te iier rx lei A s tm e un The RS 160 can control jitter and dynamically vary the delay as network conditions improve or worsen An RS 160 configured as a slave recovers the clock in received data and uses it as a transmit clock to the receiving E1 T1 destination While this chapter provides an overview of configuring the RS 160 there are three different ways to perform configurations which are described in detail in later chapters 1 The Management Console is a PC based tool that can be used to create new configuration databases and to upload a database from an RS 160 modify it and download it to the device via its serial interface or via a network connection
23. on the same a LIU Bitstream MAC 43 efizod H bitstream interface Data is also Tx pepacketizer Rx forwarded to the LIU CLI Command SetBitstreamDynLpbk sbdl Bitstream Loopback Remote Applies to Interface B RS 160 Bitstream data received from the LIU is looped back to the e Pr Packetizer nq Packetizeg LIU No data is received by the a si LU Bitstreag MAC bitstream RS 160 Tx pepacketizer K N CLI Command SetBitstreamDynLpbk sbdl Bitstream Loopback Remote Rx Applies to Interface B RS 160 Bitstream data received from E the LIU is looped back to the acketizer y Eim TE Sien LIU The data is also received lt gt LU Bitstrea mac Racketized S itstream by the interface for processing TX pepacketizer PX CLI Command SetBitstreamDynLpbk sbdl Bitstream Loopback Dual Applies to Interface B This RS 160 mode is a combination of the des local and remote modes Rx acketizer Tx e D 4 quu Qv pma Ne sc Backetized dad data bris s bk itstream S 1tY SE ace are oope ac Tx Depacketizer EX and received on the same interface Bitstream data received from the LIU is looped back to the LIU The two data streams do not interact CLI Command SetBitstreamDynLpbk sbdl LIU Loopback Local The LIU loops back the RS 160 bitstream received from the RS 160 No data is transmitted T bz Packetizer Nx Packetizeg toot received from the E1 T1 cR LIU ail Bitstream 4 V bitstream circuit The
24. only after a device reset 4 22 RS 160 User s Manual Rev 3 Control Protocol SetConfigLIULineCode Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_LIU_LINE_CODE_MSG_ID Message 2 AG_RCP_CALL Type Message 2 8 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A AG_IF_B Interface to configure Line Code For EI Line code AG_RCP_LIU_LINE_CODE_E1_HDB3 For T1 J1 AG_RCP_LIU_LINE_CODE_T1_B8ZS For E1 T1 1 AG RCP LIU LINE CODE AMI Usage Guidelines This change will go into effect only after a device reset RS 160 4 23 User s Manual Rev 3 Control Protocol SetConfigLIULineBuildout AG_RCP_TXBO_NM_75_OHM AG_RCP_TXBO_NM_120_OHM AG_RCP_TXBO_75_HRL AG_RCP_TXBO_120_HRL For T1 AG_RCP_TXBO_DSX1_133FT AG_RCP_TXBO_DSX1_266FT AG_RCP_TXBO_DSX1_399FT AG_RCP_TXBO_DSX1_533FT AG_RCP_TXBO_DSX1_655FT AG_RCP_TXBO_7_5DB_CSU AG_RCP_TXBO_15DB_CSU AG_RCP_TXBO_22_5DB_CSU Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_LIU_LINE_BLD_OUT_MSG_ID Message 2 AG_RCP_CALL Type Message 2 8 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A AG_IF_B Interface to configure Line Build For E1 Line Build Out Out Usage Guidelines This change will go into effect only after a device reset 4 24 RS 160 User s Manual Rev 3 Control Protocol SetConfigLIURxT
25. ote AE Chey Ae ore RIP RTP ocal port sw 2000 2000 Target pore eede e e tee Ser 2000 2000 Locarc IP addressoseco 9 4 1699254 1 45 1697254155 Target IP adeleg ge ger 169 254 1 5 169 254 1 6 TP DOS t dpex EE 0 0 Payload length bytes frames 96 96 EthertyDG so ee Arer verso IXODO 0x800 Maximum jitter ms 50 50 Clock lock range ppm 50 50 Ree user e e eg E Disabled Disabled VEAN SUPPOTE esc reg ten tect d Disabled Disabled VEAN EE Ee 0 0 VEAN DEPORTE Ys ee gege ZE 0 Framed EEN NEE che seus et Ubbfsmed Unframed Bridging application configuration information CM160 Config Bridging_Service gt ge Running_config Modified Running_config Bridge interface LAN LAN Bridge mode ON ON Aging time sec 30 30 Mac table size 1024 1024 3 34 RS 160 User s Manual Rev 3 GetStatus Abbreviation CLI Commands Returns the operational status of a selected interface or of the overall system gs gs r Syntax Description Defaults Usage Guidelines Examples r optional reset of TDM Over Packet statistics The status returned depends on the directory where the command is executed The command returns a different status for an interface operating as an Ethernet port or as a bitstream port The TDM Over Packet application has its own status report Enter gs r to reset the jitter overflow and underflow counts in the TDM Over Packet report Examples of all the
26. the other RS 160 is the Master LOOPBACK uses the local LIU clock which is based on its E1 or T1 connection as the Tx clock this RS 160 is the Master lt model template gt optional model template this will set the default parameters for this model This command sets an RS 160 to a default status It should be used only for initial configuration of the device Any individual parameter changes in the modified running config will be lost See Appendix A Default Database for the default database parameters and the default values for the line format Tx clock source combinations CM160 Admin gt sddb el loopback The command completed successfully The request was updated successfully in startup config Reload is required to make the configuration effective c rl RS 160 3 85 User s Manual Rev 3 CLI Commands SetUARTMDP Sets a selected serial interface to the Maintenance Download Protocol until the next reset Abbreviation smd smd lt UART gt Syntax Description lt UART gt CONS CON2 UA UB Selects which serial interface will be used Console or console 2 UART A or UART B The CONSOLE port is the only port available externally on the RS 160 Defaults Usage Guidelines This command is used when the RS 160 application image is not running on the Flash and the image must be updated Note that this command has an immediate effect Examples CM160 Diagnostics Debug gt smd cons A response mes
27. 0800 921600 lt stop_bit gt 1 or 2 stop bits Defaults The default number of stop bits is 1 The default baud rate is 115200 Usage Guidelines Examples CM160 NConfigNCONSOLE scu 9600 2 The request was upda running_config ted successfully in modified The configuration change will be activated after the next Replace amp Reload c rr 3 38 RS 160 User s Manual Rev 3 CLI Commands SetConfigCESProtocol Abbreviation Sets the TDM over Packet CES header format and other parameters ccap ccap lt Protocol gt lt Ethertype gt lt Local_Port gt Target Port gt Syntax Description lt Protocol gt RTP Minimal Header format for PSN packets lt Ethertype gt hexadecimal value 0x800 for RTP 0x0600 OXFFFF for Minimal OxF1FF is the default value for Minimal decimal value 2000 to 65535 for RTP 0 to 15 for Minimal decimal value 2000 to 65535 for RTP 0 to 15 for Minimal L Local Port Target Port gt Defaults Usage Guidelines A paired RS 160 must be configured with complementary port values and the same protocol and Ethertype as the paired RS 160 Examples The following examples configure first for RTP protocol then for the Minimal protocol The port numbers are changed automatically to values that are correct for the protocol CM160 Config TDM_Over_Packet gt ccap rtp 0x800 2000 2002 The request was updated successfully in modified running_config Th
28. 160 User s Manual Rev 3 CLI Commands SetDefGateway Abbreviation Sets the default Gateway IP address sdg sdg lt default GW IP address gt Syntax Description Defaults Usage Guidelines Examples lt default GW IP address gt IP address of the default gateway in the format on nn nn nn where nn is a number from 0 to 255 10 101 1 1 This parameter is required when sending messages to IP addresses that are not on the local subnet CM160 Config General gt sdg 50 45 123 01 The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 55 User s Manual Rev 3 CLI Commands GetDefGateway Returns the default Gateway IP address Abbreviation gdg gdg Syntax Description Defaults Usage Guidelines Examples CM160 Config General gt gdg Running_config Modified Running_config Default gateway IP addr 10 101 1 1 50 45 123 1 3 56 RS 160 User s Manual Rev 3 SetMacAddress Abbreviation CLI Commands Sets the UPLINK and LAN MAC addtesses and saves them in Flash memory sma sma lt MAC_addr_of_UPLINK gt Syntax Description Defaults Usage Guidelines Examples lt MAC_addr_of_ Hexadecimal MAC address in the following format UPLINK gt 00 nn nn nn nn nn The LAN MAC address will be one up from the UPLINK MAC address The RS 160 MAC ad
29. 3 ClearSwerrs Abbreviation Clears the table of SWERR messages cs cs CLI Commands Syntax Description Defaults Usage Guidelines Examples CM160 Diagnostics Debug gt es The command completed successfully RS 160 3 73 User s Manual Rev 3 CLI Commands SetTraceDestination Sets the destination for printing trace and SWERR messages Abbreviation std std lt destination gt Syntax Description lt destination gt C U CU C CLI interface may be UART or Telnet network connection U Generic UART CU CLI and generic UART Defaults Usage Guidelines Examples CM160 Diagnostics Debug gt std c The command completed successfully 3 74 RS 160 User s Manual Rev 3 CLI Commands PrintSwerrs Abbreviation Prints the SWERRs in the SWERR buffer ps ps lt number_of_last gt Syntax Description Defaults Usage Guidelines lt number_of_last gt Number of most recent SWERRs to print 1 to 64 If no value is entered the default is 64 This command is used for debugging purposes only Examples RS 160 3 75 User s Manual Rev 3 CLI Commands GetTraceStatus Returns trace settings Abbreviation gts gts Syntax Description Defaults Usage Guidelines Examples CM160 Diagnostics Debug gt gts Agos trace level 1 Swerrs Enabled Output level Full Destination 3 76 R
30. 4 For E1 Line code optional AG_RCP_LIU_LINE_CODE_E1_HDB3 For T1 J1 AG_RCP_LIU_LINE_CODE_T1_B8ZS For E1 T1 1 AG RCP LIU LINE CODE AMI Line Build 4 AG TRUE If AG TRUE the next Qut Flag AG_FALSE field will be interpreted Line Build 4 For E1 Line Build Out SE AG_RCP_TXBO_NM_75_OHM optional AG_RCP_TXBO_NM_120_OHM AG_RCP_TXBO_75_HRL AG_RCP_TXBO_120_HRL For T1 J1 AG_RCP_TXBO_DSX1_133FT AG_RCP_TXBO_DSX1_266FT AG_RCP_TXBO_DSX1_399FT AG_RCP_TXBO_DSX1_533FT AG_RCP_TXBO_DSX1_655FT AG_RCP_TXBO_75DB_CSU AG_RCP_TXBO_15DB_CSU AG_RCP_TXBO_225DB_CSU Rx Term Flag 4 AG_TRUE If AG TRUE the next AG FALSE field will be interpreted Rx Term 4 AG RCP INTTER DISABLE Line Rx termination optional AG RCP INTTER 120 OHM AG RCP INTTER 100 OHM AG RCP INTTER 75 OHM Rx Equalizer 4 AG TRUE If AG TRUE the next FU Limit AG FALSE field will be interpreted RS 160 4 21 User s Manual Rev 3 Control Protocol AG_RCP_MG_26dB AG_RCP_MG_32dB Size Item Bytes Range of Values Description Rx Equalizer 4 For E1 Rx equalizer gain limit Ser Limit AG_RCP_RX_E1_EQ_GAIN_MIN_12_DB value optional AG_RCP_RX_E1_EQ_GAIN_MIN_43_DB For T1 J1 AG_RCP_RX_T1_EQ_GAIN_MIN_36_DB AG_RCP_RX_T1_EQ_GAIN_MIN_30_DB Monitor Gain 4 AG_TRUE If AG_TRUE the next Flag AG_FALSE field will be interpreted Monitor Gain 4 AG_RCP_MG_20dB Monitor gain level Usage Guidelines This change will go into effect
31. 5 characters defining community name The string must be bounded by double quotes if there are any embedded spaces in the community name lt ip_addr gt IP address of new request community nn nn nn nn where nn is a value from 1 to 255 permission level G GS Defines the community as read only or read write The user can define up to a total of fifteen manager communities The manager ID dis played by the community name is used when the community is to be removed from the list CM160 Config SNMP gt arm remote comm 1 2 3 4 gs The request was updated successfully in active ConfigDB CM160 Config SNMP gt grm Mngr ID Mngr Community name IP addr Permission 1 remote_comm 1259434 get set RS 160 3 59 User s Manual Rev 3 CLI Commands RemoveRequestManager Removes a request community name from the SNMP list of communities Abbreviation rrm rrm manager id Syntax Description manager id Identification of the ID number of the request manager to be removed display the ID number of a request manager by executing the grm function Defaults Usage Guidelines Examples CM160 Config SNMP gt rrm 2 The request was updated successfully in active ConfigDB 3 60 RS 160 User s Manual Rev 3 CLI Commands GetRequestManagers Abbreviation Displays a list of the SNMP request managers communities and their ids grm STI Syntax Description Defaults Usage Guideli
32. 60 gt a enter the admin menu RS160 Admin gt sddb el loopback call up initial database RS160 Admin gt c rr Replace amp Reload Step 2 Uplink s TCP IP setting RS160 gt c enter configuration menu RS160 Config gt up enter Uplink menu RS160 Config UPLINK gt ssip 10 128 46 18 Set Static IP RS160 Config UPLINK gt ssnm 255 255 254 0 Set SubNet Mask RS160 Config UPLINK gt c rr Replace amp Reload Step 3 Uplink s default gateway RS160 gt c enter configuration menu RS160 Config gt g enter general menu RS160 Config General gt sdg 10 128 46 1 Set Default Gateway RS160 Config General gt c rr Replace amp Reload Step 4 Configure E1 RS160 gt c enter configuration menu RS160 Config gt el enter El menu RS160 NConfigNEl1 sccm loopback set config clocking mode master RS160 Config E1 gt sfm framed set frame mode framed RS160 Config E1 gt sllc hdb3 set LUI line code HDB3 RS160 Config E1 gt sltt el 120 set LUI buildout El RS160 Config E1 gt slrt 1200hm set LUI Rx termination 120 Ohms RS160 NConfigNEl sfp pcm31 set frame parameter PCM31 RS160 NConfigNE1 c rr Replace amp Reload RH RS 160 2 1 User s Manual REV 3 Quick Configure Step 5 Configure TDMoIP RS160 gt c enter configuration menu RS160 NConfig top enter TDMoIP menu RS160 Config TDM_Over_Packet gt ccip 10 128 46 19 set target IP RS160 Con
33. AG RCP SWITCH ON face loopback mode to be on or off this is MAC loopback Usage Guidelines This change will go into effect only after a device reset RS 160 4 13 User s Manual Rev 3 Control Protocol GetEthStatus Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_ETH_STATUS_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_C Ethernet interface AG_IF_A Usage Guidelines 4 14 RS 160 User s Manual Rev 3 Control Protocol GetConfigEth Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_CFG_ETH_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_C Ethernet interface AG_IF_A Usage Guidelines RS 160 4 15 User s Manual Rev 3 Control Protocol SetConfigBitStream Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_BS_MSG_ID Message 2 AG_RCP_CALL Type Message 2 36 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A AG_IF_B Interface to configure Underrun AG_TRUE If AG_TRUE the next Flag AG_FALSE field will be interpreted Underrun 4 1 AG_RCP_BS_UNDERRUN_VAL_MAX Bit Stream underrun Value byte value configuration optional i Tx Clock 4 AG TRUE If AG TRUE the next Source Flag AG_FALSE field
34. AG TRUE Indicates if duplex Flag AG FALSE mode parameter is set Duplex Mode 4 AG RCP HIH HALF DUPLEX AG RCP HIH FULL DUPLEX Flow Control 4 AG RCP SWITCH OFF AG RCP SWITCH ON Clock 4 AG TRUE Indicates if flow control Source Flag AG FALSE parameter is set Clock 4 AG RCP HIH CLOCK DCH Source AG RCP ETH CLOCK DTE RMII Refer 4 AG TRUE Indicates if RMII refer ence Clock AG FALSE Out Flag x enee clock out parame ter is set RMII Refer 4 AG_RCP_SWITCH_OFF ence Clock AG_RCP_SWITCH_ON Out Bandwidth 4 0 no limit limit MAC loop 4 AG_RCP_SWITCH_OFF back mode AG_RCP_SWITCH_ON PHY mode 4 AG_RCP_SWITCH_OFF AG_RCP_SWITCH_ON PHY number 4 Set only when the PHY mode is AG_RCP_SWITCH_O N Advertise 4 AG_TRUE Indicates if the adver ment Flag AG_FALSE tisement parameters are set RS 160 4 53 User s Manual Rev 3 Control Protocol Size Item Bytes Range of Values Description Advertise 4 AG_TRUE ment Speed AG FALSE 10Duplex WW Mode Half Advertise 4 AG_TRUE ment Speed AG FALSE 10Duplex z Mode Full Advertise 4 AG_TRUE ment Speed AC FALSE 100Duplex E Mode Half Advertise 4 AG_TRUE ment Speed AC FALSE 100Duplex Mode Full MAC 6 Array of bytes Address 4 54 RS 160 User s Manual Rev 3 Control Protocol GetBitStreamStatus Response Size Item Bytes Range of Values Description
35. C address 00 50 C2 15 CD CD IP address kis I0101 01 225 Subnet Mask eg NEE 2550 25542595 0 Modified Running_config ETH On Unlimited 00 50 C2 15 CD CE 192 160 16 1 255 255 255 0 Modified Running config Bitstream Loopback master Disabled T1 B8ZS EL Ta 100ohm Disabled Unframed Modified Running config ETH On Unlimited 00 50 C2 15 CD CD 10 101 1 225 255 255 255 0 RS 160 3 11 User s Manual Rev 3 CLI Commands GetStatuslfs Abbreviation Displays status for all three traffic interfaces gsi gsi Syntax Description Defaults Usage Guidelines Examples CM160 Config gt gsi LINES ie ey nen e gege e PHY SE A EE e HE ENEE dad a Nee e RR eS Peer advertisement value Speed Mb s t Duplex MOE secs bse ses woh aS BLOW Contro Lawe Ne re AC loopDaGgks m ge uy El interface configuration TT EE Alarm St E EE LIU loopbackocsvwl e exe Interface loopback UP interface configuration Be ev dot dye dede E TEE PHY Statuss enced wae Ero PUDONG EE Peer advertisement value Speed Mb S seis STEIN lli Duplex mode PlOW COntrolcclwqx eeeduewt IAC loopback t LAN interface configuration UP Working Done 43E1 100 FULL OFF Disabled Disable Disable UP Working Done 43E1 100 Off Disabled 3 12 RS 160 User s Manual Rev 3 CLI Commands GetConfig
36. CP_GET_BS_STATUS_MSG_ID See page 4 55 GetConfigBitStream Response AG_RCP_GET_CFG_BS_MSG_ID See page 4 56 GetLIUStatus Response AG_RCP_GET_LIU_STATUS_MSG_ID See page 4 57 GetConfigLIU Response AG_RCP_GET_CFG_LIU_MSG_ID See page 4 58 GetStaticIPCfg Response AG_RCP_GET_STATIC_IP_CFG_MSG_ID See page 4 60 GetConfig Response AG_RCP_GET_CFG_CES_APP_MSG_ID See page 4 63 GetStatusCesApp Response AG_RCP_GET_STATUS_CES_APP_MSG_ID See page 4 67 GetConfigUART Response AG_RCP_GET_CFG_UART_MSG_ID See page 4 61 GetVersion Response AG_RCP_GEN_GET_VERSION_MSG_ID See page 4 61 DumpMemRange Response AG RCP DUMP MEM RANGE MSG ID See page 4 65 DumpMemLength Response AG RCP DUMP MEM LEN MSG ID See page 4 66 ShowFreeHeapSize Response AG RCP FREE HEAP SIZE MSG ID See page 4 67 RS 160 4 5 User s Manual Rev 3 Control Protocol TABLE 4 4 Generic Response Message Size Item Bytes Range of Values Description Message 2 ID of associated call message ID Message 2 AG RCP RESPONSE Type Message 2 0 Length Status 2 AG_RCP_ACK AG_RCP_ACK call message AG_RCP_NACK processed successfully also value AG_RCP_BAD_PARAMS used in call messages AG_RCP_UNKNOWN_ID AG_RCP_NACK an error occurred in processing the call message AG_RCP_BAD_PARAMS bad patameters were passed in the call message AG_RCP_UNKNOWN_ID unknown message ID was passed in the call message Parameter Logicals Redux defined logical param
37. Defaults Usage Guidelines This command is used by the Management Console to temporarily switch into RCP mode to do a database upload or download Examples CM160 Diagnostics Debug gt sur cons 3 90 RS 160 User s Manual Rev 3 CLI Commands GetBitstreamFrequency Returns the frequency associated with the interface Abbreviation gbf gbf interface Syntax Description interface tE1 T1 J1j Defaults Usage Guidelines Examples Identifies the selected interface This command is used for debugging purposes only CM160 Diagnostics Debug gt gbf el Bitstream interface El frequency is 1075611272 RS 160 3 91 User s Manual Rev 3 CLI Commands 3 92 RS 160 User s Manual Rev 3 4 Control Protocol This Redux Control Protocol RCP is a CPU to CPU messaging interface to the RS 160 The user can control the RS 160 and request status from it with binary messages without having to create or interpret the text messages used in the CLI The RCP parallels the CLI and in fact performs many of the same functions The names of commands in the RCP are the same as the corresponding CLI functions The RS 160 CD contains a PC based sample program The source code of this program demonstrates use of the RCP to control and request status from the RS 160 Connecting to the RCP The RCP is accessed as an application on one of the RS 160 serial interfaces When a UART is configured with the Messaging a
38. ESPayLength See page 3 42 FigCESClock See page 3 43 FigCESVlan See page 3 44 cCo ECO n n n n Se Ge Se ti tCESreOrder S page 3 45 tConfigCESClockRange See page 3 46 tFrameTimeSlots See page 3 23 tTimeSlots See page 3 47 AddTimeSlots See page 3 48 RemoveTimeSlots See page 3 49 Se Se Ge Ge tFramedParams See page 3 24 tCESappTestMode S page 3 50 tConfig See page 3 33 tStatus See page 3 35 CM160 Config Bridging_Service gt dir sb sat cb gc gs SetBridging See page 3 52 SetAgingTime S page 3 53 ClearBridging See page 3 54 GetConfig See page 3 33 GetStatus See page 3 35 General Configuration Commands CM160 Config General gt dir SetDefGateway S page 3 55 GetDefGateway S page 3 56 GetMACAddress S page 3 58 sdg gdg gma 3 8 RS 160 User s Manual Rev 3 CLI Commands Diagnostics Commands CM160 Diagnostics gt dir fts FunctionalTest S page 3 84 gsb GetStatusBoard See page 3 10 dir D Debug Admin Commands CM160 Admin gt dir gbd GetBoardData See page 3 83 ddb DispDBInfo See page 3 82 gdt GetDateTime S page 3 78 sdt SetDateTime S page 3 77 sddb SetDefaultDB See page 3 85 CLI Command Desctiptions The following pages contain descriptions of each CLI command RS 160 3 9 User s Manual Rev 3 CLI Commands GetStatusBoard d
39. G RCP CES MAX JITTER MIN Maximum jitter delay Delay AG RCP CES MAX JITTER MAX milliseconds Reserved Jit 2 AG RCP CES JITTER MIN RESERVE MIN Minimum jitter delay ter Delay AG_RCP_CES_JITTER_MIN_RESERVE_MAX percentage Recovery 2 AG_RCP_CES_RECOVERY_CLOCK_ACCURACY_MIN Recovery Clock Accu Clock Accu AG_RCP_CES_RECOVERY_CLOCK_ACCURACY_MAX racy PPM racy VLAN Mode 2 AG_TRUE AG_FALSE Indicates whether VLAN mode is enabled disabled 4 63 Control Protocol 4 64 Size Item Bytes Range of Values Description VLAN ID 2 AG_RCP_CES_VLAN_ID_MIN VLAN ID AG_RCP_CES_VLAN_ID_MAX VLAN 2 AG_RCP_CES_VLAN_PRIORITY_MIN VLAN priority Priority AG_RCP_CES_VLAN_PRIORITY_MAX Control Protocol DumpMemRange Response Size Item Bytes Range of Values Description Message ID 2 AG_RCP_DUMP_MEM_RANGE_MSG_ID Message 2 AG_RCP_RESPONSE Type Message 2 AG RCP RW MEM MAX SIZE IN BYTES 4 Length Status 2 AG RCP ACK Length 4 0 AG RCP RW MEM MAX SIZE IN BYTES Number of bytes dumped from memory Memory AG RCP RW MEM MAX SIZE IN BYTES Array containing Dump Length rel gth relevant dumped bytes 4 65 Control Protocol DumpMemLength Response 4 66 Size Item Bytes Range of Values Description Message ID 2 AG_RCP_DUMP_MEM_LEN_MSG_ID Message 2 AG_RCP_RESPONSE Type
40. G IF B VLAN Mode 2 AG TRUE Sets VLAN mode to AG FALSE enabled disabled VLAN ID 2 AG RCP CES VLAN ID MIN VLAN ID AG RCP CES VLAN ID MAX Usage Guidelines This change will go into effect only after a device reset RS 160 4 45 User s Manual Rev 3 Control Protocol DumpMemRange Size Item Bytes Range of Values Description Message ID 2 AG_RCP_DUMP_MEM_RANGE_MSG_ID Message 2 AG_RCP_CALL Type Message 2 12 Length Status 2 AG RCP ACK Start 4 O Oxffff ffF Start address of the Address dump memory range End Address 4 AG TRUE If AG TRUE the next Flag AG FALSE field will be interpreted End 4 O Oxfffftftf End addtess of the Address memory frange Usage Guidelines This change will go into effect only after a device reset 4 46 RS 160 User s Manual Rev 3 Control Protocol DumpMemLength Size Item Bytes Range of Values Description Message ID 2 AG_RCP_DUMP_MEM_LEN_MSG_ID Message 9 AG RCP CALL Type Message 2 12 Length Status 2 AG RCP ACK Address 4 0 Ox ffffffF Start address of the dump memory range Length Flag 4 AG TRUE If AG TRUE the next AG FALSE field will be interpreted Length 4 1 AG RCP RW MEM MAX SIZE IN BYTES Number of bytes to optional dump Usage Guidelines This change will go into effect only after a device reset RS 160 4 47 User s Manual Rev 3 Contro
41. L 5 T1 J1 line termination values AG_RCP_TXBO_DSX1_133FT 0 AG_RCP_TXBO_DSX1_266FT 1 AG_RCP_TXBO_DSX1_399FT 2 AG_RCP_TXBO_DSX1_533FT 3 AG_RCP_TXBO_DSX1_655FT 4 AG_RCP_TXBO_7_5DB_CSU 5 AG_RCP_TXBO_15DB_CSU 6 AG_RCP_TXBO_22_5DB_CSU 7 Rx termina 4 AG_TRUE Indicates if Rx Termi tion Flag AG_FALSE nation parameter is set User s Manual Rev 3 Control Protocol Size Item Bytes Range of Values Description Rx Termina 4 AG_RCP_INTTER_DISABLE tion AG_RCP_INTTER_120_OHM AG_RCP_INTTER_100_OHM AG_RCP_INTTER_75_OHM Monitor Gain 4 AG_TRUE Indicates if Monitor Flag AG_FALSE Gain parameter is set Monitor Gain 4 AG_RCP_MG_NORMAL_OPERATION AG_RCP_MG_20dB AG_RCP_MG_26dB AG_RCP_MG_32dB Equalizer 4 AG_TRUE Indicates is Equalizer Get Limit AG_FALSE Gain Limit parameter is set Equalizer 4 E1 options Gain Limit AG RCP RX EL EQ GAIN MIN 12 DB AG RCP RX PI EQ GAIN MIN 43 DB T1 J1 options AG RCP RS T1 EQ GAIN MIN 36 DB AG RCP RS T1 EQ GAIN MIN 30 DB Jitter Attenu 4 AG TRUE Indicates if Jitter Atten aton plag AG_FALSE uation Enable parame ter is set Jitter Attenu 4 AG_TRUE ation Enable AG FALSE LIU loopback 4 AG_RCP_LIU_LOOPBACK_DISABLED AG_RCP_LIU_LOOPBACK_DUAL AG_RCP_LIU_LOOPBACK_LOCAL AG_RCP_LIU_LOOPBACK_REMOTE AG_RCP_LIU_LOOPBACK_ANALOG RS 160 4 59 User s Manual Rev 3 Control Protocol GetStaticIPCfg Response
42. Last ping trip 4 target host last ping ms time round trip time in msec MAC 6 MAC Address of target Address 4 67 Control Protocol ShowFreeHeapSize Response 4 68 Size Item Bytes Range of Values Description Message ID 2 AG_RCP_FREE_HEAP_SIZE_MSG_ID Message 2 AG_RCP_RESPONSE Type Message 2 4 Length Status 2 AG RCP ACK Free heap 4 Size of available heap in size bytes 5 Testing and Troubleshooting The Redux RS 160 CLI provides tools for evaluating the performance of the device in test conditions and in customer installations The tools include loopback options and statistics and status commands Loopback Options The CLI has four commands for setting up loopbacks on the device interfaces These commands can be used for verifying correct performance of the RS 160 and for isolating link and network problems The commands are SetDynamicMACLb sdml Sets MAC loopback on the service uplink inter face see page 3 74 SetBitstreamDynLpbk sbdl Sets one of the bitstream interface loopback options see page 3 75 SetLIUDynamicLb sldl Sets one of the LIU internal loopback options see page 3 76 SetAppLoopback slbk Configures the CES application so it will operate with out the presence of a paired RS 160 see page 3 77 Note that once a loopback setting is made the loopback remains in place and cannot be changed until the
43. Maint Interfaces Interface_C gt sdml on The request was updated successfully in active ConfigDB Maint Interfaces Interface_C gt a d NAdminNDebug slbk The command completed successfully 5 3 Testing and Troubleshooting sdml sets up the MAC loopback while slbk enables the RS 160 to transmit packets to the uplink service interface without a paired RS 160 present The user can now start an T1 or E1 data flow on the test unit and evaluate the looped back response Using the Get Status Command to Evaluate Performance The CES application GetStatus CLI command reports on the status of the performance of the RS 160 The following is a sample output of the command View App CES gt v a ces gs b Item Value Status Clock source Loopback master CONNEC EE Aerer ene ede UP Current Jitter Buffer Delay ms 4 970 Jrtbter Overt low ew e etse ots O Jitter Undertlow s s seitas ere sere OL Bandwidth Utilization kbps 2476 Jitter minimum level ms 4 970 Jitter maximum level ms 5 467 Peer reachable YES Peer MAC address 01 84 C8 91 42 60 Peer ping time ms 7 The key parameters are those related to the jitter performance which are described in Table 5 2 TABLE 5 2 Reported Jitter Parameters Parameter Description Current Jitter Buffer Delay The delay represented by the pac
44. NConfigNEl1 slrt 1200hm set LUI Rx termination 120 Ohms RS160 NConfigNEl sfp pcm31 set frame parameter PCM31 RS160 NConfigNE1 c rr Replace amp Reload 2 2 RS 160 User s Manual REV 3 Quick Configure Step 5 Configure TDMoIP RS160 gt c enter configuration menu RS160 Config gt top enter TDMoIP menu RS160 Config TDM_Over_Packet gt ccip 10 128 46 18 set target IP RS160 Config TDM_Over_Packet gt sts 14 24 28 29 set time slots RS160 Config TDM_Over_Packet gt gfts get frame time slots Timeslot 0 0 1 1 2 2 3 0 2 0 5 0 9 0 Running config FEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Modified Running config F X E XX RS160 Config TDM_Over_Packet gt c rr Replace amp Reload The previous TDM configuration is for E1 120 ohm connection to the RJ 45 connectors To connect via twisted pair on the RJ 45 TDM connector the connections are 1 RRING 2 RTIP 4 TRING 5 TTIP No configuration was done for the local LAN port Connect the IP network to the Uplink connector straight UTP will connect to switch Fine tuning There are two parameters that should be adjusted to provide error free operation in real networks they are the jitter buffer and the payload length Jitter Buffer The default jitter buffer for a full E1 unframed transmission is only 5ms If the latency of Ethernet on the master to slave units is more than Sms errors will occur To check LAN latency issue a ping from the LAN
45. RS 160 is reset Table 5 1 describes each loopback mode TABLE 5 1 Description of Loopback Modes Loopback Mode Description MAC Loopback Applies to Interface C Frames RS 160 transmitted via this interface ate Packetized Tx Depacketizer p Rx Rx ei Packetizer Tx Em EI Em un Jess br3 itstream looped back and received on the same interface No frames are actually transmitted to or received from the packet netwotk CLI Command SetDynamicMACLb sdml Bitstream Loopback Local RS 160 Rx e Packetizer E Packetized bitstream PO LIU Bitstregm MAC bah y Rx N Depacketizer Applies to Interface B Bitstream data transmitted via this interface are looped back and received on the same interface No data actually arrives at the LIU CLI Command SetBitstreamDynLpbk sbdl 5 1 Testing and Troubleshooting TABLE 5 1 Description of Loopback Modes Loopback Mode Description Bitstream Loopback Local Tx Applies to Interface B RS 160 Bitstream data transmitted via this interface are looped back Rx si Packetizer Tx j Eiri Ge A Packetizeg 20d received
46. S 160 User s Manual Rev 3 CLI Commands SetDateTime Abbreviation Sets the system date time sdt sdt lt dd MMM yyy gt lt HH MM SS gt Syntax Description Defaults Usage Guidelines Examples lt dd MMM yyy gt Date in days months and years separated by as shown in the example below the month is a three letter abbreviation lt HH MM SS gt Time in hours minutes and seconds separated by CM160 Admin gt sdt 25 Jun 2003 11 54 30 Date and time set successfully Current date 25 Jun 2003 Current time 11 54 30 RS 160 3 77 User s Manual Rev 3 CLI Commands GetDateTime Returns the current date and time Abbreviation gdt gdt Syntax Description Defaults Usage Guidelines Examples CM160 Admin gt gdt Current date 25 Jun 2003 Current time 11 55 58 3 78 RS 160 User s Manual Rev 3 CLI Commands GetVersion Returns the version of the RS 160 firmware Abbreviation gv gv Syntax Description Defaults Usage Guidelines Examples CM160 Config gt gv CM160 R01 01 02 D002 200 RS 160 3 79 User s Manual Rev 3 CLI Commands SetMemory Set a memory address to a value Abbreviation sm sm lt address gt lt value gt Syntax Description lt address gt memory address in hexadecimal format 0xnnnnnnn lt value gt value of the 32 bit location in hexadecimal format Oxnnnnnnnn Defaults Usage Guidelines The
47. S 160 has an internal non volatile database that is activated when the device is powered up or restarted The is database is called the Startup Config At power on the Startup config is copied to two locations the running config and the modified running config The database contains all the information necessary to configure the RS 160 for an application The initial values of the database are the default conditions of the device CLI commands are used to change the configuration parameters to adapt to a specific application of the RS 160 Most parameter changes are made to the modified running config Once the modified running configuration has been validated copy it to the Startup config using the replace rp command Use the reload tl command to restart the RS 160 with the Startup config The ReplaceReload rr command copies the modified running config to the Startup config and reloads with a single command RS 160 3 1 User s Manual Rev 3 CLI Commands The GetConfiguration gc command used to display configuration information in various contexts displays two sets of values the parameters in the running config and the corresponding values in the modified running config How to Access the CLI Connecting via the CONSOLE port The CONSOLE is configured for the following parameters Baud Rate 115200 Data Bit 8 Stop Bit 1 Parity None Flow Contro None Connect to th
48. T BAUD RATE 460800 AG RCP UART BAUD RATE 921600 Stop Bit Flag 4 AG TRUE If AG TRUE the next AG FALSE field will be interpreted Stop Bit 4 AG RCP UART 1 STOP BITS Sets UART Stop Bit AG RCP UART 2 STOP BITS Usage Guidelines This change will go into effect only after a device reset 4 36 RS 160 User s Manual Rev 3 Control Protocol SetConfigUARTApp Size Item Bytes Range of Values Description Message ID 2 AG RCP SET CFG UART APP MSG ID Message St AG_RCP_CALL Type Message 2 8 Length Status 2 AG RCP ACK UART 4 AG UART A AG UART B UART to configure Application AG RCP UART USAGE PPP Sets UART application Mode AG RCP UART USAGE LDP mode AG_RCP_UART_USAGE_TERMINAL AG_RCP_UART_USAGE_MESSAGE AG_RCP_UART_USAGE_TRACE AG_RCP_UART_USAGE_RS_MASTER AG_RCP_UART_USAGE_RS_SLAVE AG_RCP_UART_USAGE_TDM Usage Guidelines This change will go into effect only after a device reset RS 160 4 37 User s Manual Rev 3 Control Protocol SetConfigUARTMode Size Item Bytes Range of Values Description Message ID 2 AG RCP SET CFG UART MODE MSG ID Message 2 AG RCP CALL Type Message 2 8 Length Status 2 AG RCP ACK UART 4 AG UART A UART to configure AG UART B UART Mode 4 AG TRUE Sets UART mode AG FALSE Usage Guidelines This change w
49. USER MANUAL IPM 1SE TDM Over IP G703 E1 T1 DS1 CTC union CTC Union Technologies Co Ltd TRADEMARKS Microsoft is a registered trademark of Microsoft Corp HyperTerminal is a registered trademark of Hilgraeve Inc WARNING This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference in which case the user will be required to correct the interference at his own expense NOTICE 1 The changes or modifications not expressively approved by the party responsible for compliance could void the user s authority to operate the equipment 2 Shielded interface cables and AC power cord if any must be used in order to comply with the emission limits CISPR PUB 22 Class A COMPLIANCE This device complies with EMC directive of the European Community and meets or exceeds the following technical standard EN 55022 Limits and Methods of Measurement of Radio Interference Characteristics of Information Technology Equipment This device complies with CISPR Class A WARNING This is a Class A product In a domestic environment this product may ca
50. Uarts Abbreviation Returns the CONSOLE configuration gcu gcu Syntax Description Defaults Usage Guidelines Examples CM160 Config gt gcu CONS configuration Running_config Baud rate 115200 Stop EE gen at 1 Protocol eramana Term ModE se etane EST Enabled Modified Running_config 115200 T Term Enabled RS 160 3 13 User s Manual Rev 3 CLI Commands ReplaceReload Replaces the restart configuration with the modified running configuration and then restarts the RS 160 Abbreviation tr rr Syntax Description Defaults Usage Guidelines This command is used to capture the modified running configuration permanently The modified running config contains all parameter changes made since the last restart Examples CM160 Config gt rr Startup config DB replaced Restarting from startup config DB CM160 R01 01 02 D002 200 3 14 RS 160 User s Manual Rev 3 CLI Commands Replace Abbreviation Replaces the restart configuration with the modified running configuration rp rp Syntax Description Defaults Usage Guidelines Examples This command is used to capture the modified running configuration permanently The modified running config contains all parameter changes made since the last restart CM160 Config gt rp Startup config DB replaced RS 160 3 15 User s Manual Rev 3 CLI Commands
51. _CES_IP_MSG_ID 0xA01 See page 4 42 SetConfigCESProtocol AG_RCP_SET_CFG_CES_PROT_MSG_ID 0xA00 See page 4 41 SetConfigCESPayLength AG_RCP_SET_CFG_CES_PAYLD_LEN_MSG_ID See page 4 43 OxA03 SetConfigCESClock AG_RCP_SET_CFG_CES_CLK_MSG_ID 0xA04 See page 4 44 SetConfigCESVlan AG_RCP_SET_CFG_CES_VLAN_MSG_ID 0xA05 See page 4 45 GetStatusCesApp AG_RCP_GET_STATUS_CES_APP_MSG_ID 0xA08 See page 4 34 ResetCesStatus AG_RCP_RESET_CES_STATUS_MSG_ID 0xA09 See page 4 35 DumpMemRange AG_RCP_DUMP_MEM_RANGE_MSG_ID 0xC00 See page 4 46 DumpMemLength AG_RCP_DUMP_MEM_LEN_MSG_ID 0xC01 See page 4 47 ShowFreeHeapSize AG_RCP_FREE_HEAP_SIZE_MSG_ID 0xC02 See page 4 48 Reset AG_RCP_RESET_MSG_ID 0xC03 See page 4 49 4 4 RS 160 User s Manual Rev 3 Control Protocol Response Message Format Table 4 3 lists the defined response messages Table 4 4 shows the generic response message sent for any successfully processed call message The message varies only in that the message ID is that of the original call message TABLE 4 3 List of Response Messages Message Function Message ID Description SetConfigEth Response AG_RCP_SET_CFG_ETH_MSG_ID See page 4 51 GetEthStatus Response AG_RCP_GET_ETH_STATUS_MSG_ID See page 4 52 GetConfigEth Response AG_RCP_GET_CFG_ETH_MSG_ID See page 4 53 GetBitStreamStatus Response AG_R
52. ace to configure AG IF B Underrun 4 LAG RCP BS UNDERRUN VAL MAX Bitstream underrun Valus byte value 0x01 to0xFF Usage Guidelines This change will go into effect only after a device reset 4 18 RS 160 User s Manual Rev 3 Control Protocol GetBitStreamStatus Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_BS_STATUS_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_B Bitstream interface AG_IF_A Usage Guidelines RS 160 4 19 User s Manual Rev 3 Control Protocol GetConfigBitStream Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_CFG_BS_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG IF B Bitstream interface AG IF A Usage Guidelines 4 20 RS 160 User s Manual Rev 3 Control Protocol SetConfigLIU Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_LIU_MSG_ID Message 2 AG RCP CALL Type Message 2 48 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A AG_IF_B Interface to configure Mode 4 AG_RCP_BITSTREAM_MODE_E1 Bit Stream mode AG_RCP_BITSTREAM_MODE_T1 AG_RCP_BITSTREAM_MODE_J1 Line Code 4 AG_TRUE If AG_TRUE the next Flag AG_FALSE field will be interpreted Line Code
53. age IDS ies ohne ben HR Eeer died 4 3 Response Message Format 4 5 Parameter Logicals RCP Example Program 4 6 Creating the Sample Application 4 8 Running the Sample Applteagon sse 4 8 Call Message Descriptions SetConfigEth m SetConfigEthFlowControl eee 4 12 SetConfigBthLEoopback tette 4 13 VE EE 4 14 GetConfig Bthiazc isse oue te qi se xn d RES 4 15 RS 160 v User s Manual Rev 3 Table of Contents SetConfipBitStr am eae uerba 4 16 SetConfigBitStreamClIkSrc sse 4 17 SetConfigBitStreamUnderVal ee 4 18 GetBitStreamStatus sss 4 19 GetConfigBitStream peie ea A E ttntennns 4 20 SetC on Ho EE 4 21 SetConfigLIULineCode eene 4 23 SetConfigLIULineBuildout e 4 24 SetConfipLIURX Terni itta mies 4 25 SetConfigJitterAttenuation see 4 26 SetGonftigLIUMonGaiti eee nei tn 4 27 Get LEE 4 28 GetCon he DE E 4 29 SetStaticIP 4 30 GetStaticIPCfg 4 31 SetSubNetMask 4 32 GetConfig 4 33 GetStatusCesApp 4 34 ResetCesStatus 4 35 SetConfigUART 4 36 SetConfigUARTApp 4 37 SetConfigUARTMode 4 38 Ge tConftipUAR E asset nee tete Medea 4 39 GEE VETON arog n AET 4 40 Bett one D frotocol eessen 4 41 SetGonho RRE 4 42 SetConfigCESPayLength see 4 43 SetConfipCESCloCl cti ne RATER RR ERE 4 44 SetConfigCESV n uer
54. amp Reload c rr RS 160 3 29 User s Manual Rev 3 CLI Commands SetRxEqualizerGainLimit Configures LIU receive equalizer gain limit Abbreviation sreg sreg lt receive equalizer gain limit gt Syntax Description lt receive equalizer short long gain limit gt short and long are defined differently for E1 and T1 short long E1 15dB 43dB T1 15dB 36dB Defaults Usage Guidelines This parameter is set based on the characteristics of the line connecting to the E1 T1 1 soutce Examples CM160 NConfigNEl sreg short The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr 3 30 RS 160 User s Manual Rev 3 SetStaticIP Abbreviation CLI Commands Sets the static IP address of a selected interface either LAN or UPLINK ssip ssip lt IP address gt Syntax Description Defaults Usage Guidelines Examples lt IP address gt IP address of the selected interface in the format nn nn nn nn where nn is a number from 0 to 255 An IP of all zeroes is invalid Any other value is accepted CM160 Config UPLINK gt ssip 100 10 200 45 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 51 User s Manual Rev 3 CLI Commands
55. and T1 Slave The sddb CLI command is used to change between these databases See page 3 85 Table A 1 lists the defaults for the parameters that differ between the four databases Table A 1 Default Configurations Parameter E1 Master E1 Slave T1 Master T1 Slave Source IP 10 101 1 225 10 101 1 226 10 101 1 225 10 101 1 226 CES Target IP 10 101 1 226 10 101 1 225 10 101 1 226 10 101 1 225 Bitstream clock Loopback Recovery Loopback Recovery soutce Bitstream Line E1 E1 T1 T1 Format LIU Line Code HDB3 HDB3 B8ZS B8ZS LIU Line Build 75 Ohms 75 Ohms 0 to 133 feet 0 to 133 feet Out Normal Normal Rx Equalizer Gain short short short short Limit Internal Rx 120 Ohms 120 Ohms 100 Ohms 100 Ohms Termination Main Parameters Table A 2 Main Parameters Ethernet Parameters Parameter Default Value CLI Functions Mgt Console Default Gateway 10 101 1 1 SetDefGatewayIPaddr Y IP address sgip Product Version 1 10 Product Name RS 160 Model A0100ETEBOO000 Y Serial Number Undefined Y Table A 3 Ethernet Parameters UPLINK Mgt Parameter Default Value CLI Functions Console Flow Control Disable SetConfigEthFlow Y Control scef Auto Negotiation Enable SetConfigEth sce Y Rate SetConfigEth sce Y Duplex Mode SetConfigEth sce Y AutoNeg Advertise 10 100 Mbits v Half Full Duplex Ban
56. at the configuration or status commands are also present in the configuration directories for convenience Configuration Commands CM160 lt dir gt lt dir gt lt dir gt lt dir gt lt dir gt lt dir gt lt dir gt lt dir gt Config gt dir LAN LAN El El UP UPLINK CONS CONSOLE S SNMP ToP TDM Over Packet BRS Bridging Service G General gsb GetStatusBoard See page 3 10 gci GetConfigIfs See page 3 11 gsi GetStatusIfs See page 3 12 gcu GetConfigUarts See page 3 13 gdt GetDateTime S page 3 78 gv GetVersion See page 3 79 rr ReplaceReload See page 3 14 rp Replace S page 3 15 rl Reload See page 3 16 Ethernet Configuration Commands LAN and UPLINK CM160 Config LAN gt dir or CM160 Config UPLINK gt dir 3 6 RS 160 User s Manual Rev 3 sce scef cel ssip ssnm gst sdml gc gs Se Se se Se Se Ge Se Ge Ge tConfigEth See page 3 17 tConfigEthFlowControl See page 3 18 tConfigEthLimit See page 3 19 tStaticIP See page 3 31 tSubNetMask See page 3 32 tStatistics See page 3 37 tDynamicMACLpbk See page 3 87 tConfig See page 3 33 tStatus See page 3 35 CLI Commands E1 T1 Configuration Commands CM160 NConfigNEl dir or CM160 Config Tl gt dir sccm sbuv sfm sbdl gst gc gs Sie sltt slrt sljt slrg sreg SetConfigBitstreamClockingMode See page 3 20 SetConfigBitStreamUnderVal
57. ays in place until the next device reset Examples CM160 NConfigNEl sbdl local tx The command completed successfully 3 88 RS 160 User s Manual Rev 3 CLI Commands SetLIUDynamicLpbk Configures the internal line interface unit LIU for loopback until the next device reset Abbreviation sldl sldl lt LIU loopback mode gt Syntax Description lt LIU loopback mode gt Dual Local Remote Analog Local Transmitted traffic is looped back and received Remote Received traffic is looped back and retransmitted Dual Performs both local and remote loopback Analog Not applicable Defaults Usage Guidelines Analog mode does not apply to the RS 160 Local and Dual mode only operate when the Tx clock is in Recovery slave mode Once a loopback mode is selected it stays in place until the next device reset Examples CM160 Config E1 gt sldl remote The command completed successfully RS 160 3 89 User s Manual Rev 3 CLI Commands SetUARTRCP Sets a selected UART to accept RCP Redux Control Protocol messages the messaging application until the next device reset After reset the UART will return to the last setting of the UART Abbreviation sur sur lt UART gt Syntax Description lt UART gt CONS CON2 UA UB Selects which serial interface will be used Console or con sole 2 UART A or UART B The CONSOLE port is the only port available externally on the RS 160
58. byte value configuration sbuv sbuv underrun value Syntax Description Defaults Usage Guidelines Examples underrun value underrun byte value 0x1 to 0xFF When a bitstream packet arrives late or is lost or no data is received filler bytes are transmitted with this underrun value CM160 Config E1l gt sbuv 0x98 The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 21 User s Manual Rev 3 CLI Commands SetFrameMode Selects the frame mode of operation Abbreviation sfm sfm lt frame_mode gt Syntax Description lt frame_mode gt Full Framed Unframed Full Complete E1 T1 frames will be detected and forwarded Framed Selected timeslots from E1 T1 frames will be for warded Unframed Bytes from the incoming bitstream will be grouped into a packet and forwarded without synchronizing to the incoming frames Defaults Usage Guidelines Examples CM160 Config El gt sfim framed The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr 3 22 RS 160 User s Manual Rev 3 CLI Commands GetFrameTimeSlots Abbreviation Displays the selected time slots that will be forwarded gfts gfts Syntax Description Defaults Usage Guidelines Exa
59. ceeding without error A repeated pattern of two short ons followed by a long off indicates the test has detected a failure 4 Ifthe test was set to run continuously or for a long interval the user can cycle power to stop the test 5 When the test completes the device is reset and the version string is sent to the Console Examples The following output is displayed with a successful test CM160 Diagnostics gt fts 2 Board Test successful iteration 0 Board Test successful iteration 1 Board Test ENDED SUCCESSFULLY CM160 R01 01 02 D002 200 The following output is displayed when there is no loopback on the E1 T1 port CM160 Diagnostics gt fts 2 Board Test successful iteration 0 Failed interface 2 in frames 0 frames discards 0 bytes discards 0 SELF TEST FAILED continue scan 1 Board Test TEST FAILED CM160 R01 01 02 D002 200 3 84 RS 160 User s Manual Rev 3 CLI Commands SetDefaultDB Abbreviation Sets the RS 160 startup configuration database to a default state based on the line format and the Tx clock source sddb sddb lt line format gt lt Tx clock source gt lt model_template gt Syntax Description Defaults Usage Guidelines Examples lt line format gt E1 T1 J1 lt Tx clock source gt RECOVERY LOOPBACK RECOVERY uses the clock calculated from received bitstream packets as the Tx clock
60. ch function also gets a pointer to the RCP payload memory which is filled with the correct values each function returns the payload size rcp dsp is the MSVC6 0 project file for the RCP library Rs160 rcp example executable This is the main application It provides a com mand line interface for setting and getting configuration parameters rs160 rcp example c The main file rs160 rcp functions c function which gets input from the stdin device rs160 rcp example dsp the MSVC6 0 project file for the overall applica tion rs160 rcp example dsw this is MSVC6 0 workspace file which includes all the relevant modules RS 160 4 7 User s Manual Rev 3 Control Protocol TABLE 4 5 RCP Sample Program Directory Structure Directory Tree Contents 5160 RCP Example include General Redux type definitions C rcp Logicals for each group of commands CJ utils Logicals and prototypes for comm layer C3 rcp Source for RCP library rs160 rcp example Source for example program Utils Source for comm layer libraries C generic_uart Source for UART comm layer library C tcp dient Source for TCP comm layer library Creating the Sample Application To create the sample application 1 Start the Developer Studio application 2 Open the file rs160 rcp example Wrs160 rcp example dsw 3 Make all the projects by invoking the Build Batch build command The libraries and executable are sa
61. cip 200 120 34 08 5 2004 2006 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 41 User s Manual Rev 3 CLI Commands SetConfigCESPayLength Configures the TDM over Packet application payload size Abbreviation ccpl ccpl payload length lt max_jitter gt Syntax Description payload length Unframed Number of bytes in the payload of the CES packets after all headers With the Minimal header the range is 42 to 1492 bytes With the RTP header must be a multiple of the E1 J1 32 bytes or T1 24 bytes frame size The range for E1 J1 is 32 to 1440 The range for T1 is 24 to 1440 Full or Framed Number of frames in the payload of the CES packet The application will calculate the number of bytes based on the frame length and in the case of Framed the number of timeslots selected for transmission max jitter 0 to 6200 msec The maximum jitter can be changed optionally with this command It is an estimate of the maxi mum jitter or For example a setting of 50 milliseconds results in a range from 0 to 100 msec This parameter deter mines the length of the jitter buffer used to smooth the effects of distortion due to network congestion timing drift or route changes The jitter buffer delays the arriving pack etized bitstream so that the end user experiences a clear con nection with very li
62. d by a space and or one or mote ranges of timeslots separated by a E1 time slots are numbered 0 to 31 T1 time slots are numbered 1 to 24 The number of time slots selected impact the size of the transmitted packet since the packet payload is a defined number of frames X the number of selected time slots An error message will be displayed if there is a problem with the resulting payload size The following T1 example shows multiple ranges can be entered and that time slots do not have to be entered in ascending order The resulting assignments are displayed with the gfts command CM160 Config TDM_Over_Packet gt sts 12 24 10 1 3 6 The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr CM160 Config TDM_Over_Packet gt gfts TimeSlot 00 0 1 1 2 01 5 0 5 0 Running config Modified Running config f X XXXX X XXXXXXXXXXXXX x lt Selected Not selected Not applicable framing information in band framing information out of band signaling information in band signaling information out of band anh RS 160 3 47 User s Manual Rev 3 CLI Commands AddTimeSlots Adds time slots to the existing list of time slots Abbreviation ats ats lt list_of_timeslots gt Syntax Description lt list_of_timeslots gt individual time slots separated by a space and or one ot mote rang
63. der Local port optional AG RCP CES RTP PORT MIN Oxffff For Minimal header 0 AG RCP CES MINIMAL HEADER PORT MAX Target Port 2 AG TRUE If AG TRUE the next Flag AG FALSE field will be interpreted Target Port i For RTP header Target port optional AG RCP CES RTP PORT MIN Oxffff For Minimal header 0 AG RCP CES MINIMAL HEADER PORT MAX Usage Guidelines This change will go into effect only after a device reset RS 160 4 41 User s Manual Rev 3 Control Protocol SetConfigCESIP Size Item Bytes Range of Values Description Message ID 2 AG RCP SET CG CES IP MSG ID Message 2 AG RCP CALL Type Message 2 22 Length Status 2 AG RCP ACK Interface 4 AG IF A AG IF B Subsctiber interface Target IP Each byte value should be from range 0 255 Target IP address Address TOS 2 AG RCP CES TOS MIN IP TOS AG RCP CES TOS MAX Target Port 2 0 Oxffff Target port Local Port 2 0 Oxffff Local port Source RTP 2 AG TRUE If AG TRUE the next SE AG_FALSE field will be interpreted Source RTP 2 NA SSRC Value optional Target RTP 2 AG_TRUE If AG_TRUE the next SSRC Flag AG_FALSE field will be interpreted Target RTP 2 NA SSRC Value optional Usage Guidelines This change will go into effect only after a device reset 4 42 RS 160 User s Manual Rev 3 Control Protocol SetConfigCESPayLe
64. dress is built in to the unit but it can be changed with this command In normal cir cumstances this command should never be used The MAC address is not provided by the configuration database so it must be configured via this command CM160 Config General gt sma 00 50 C2 15 03 0a The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 57 User s Manual Rev 3 CLI Commands GetMacAddress Returns the UPLINK and LAN MAC addresses Abbreviation gma gma Syntax Description Defaults Usage Guidelines The LAN MAC address will be one up from the UPLINK MAC addtess Examples In the following example the MAC address is set then displayed CM160 Config General gt sma 00 ai fb c2 03 0a The configuration change will be activated after the next Replace amp Reload c rr CM160 Config General gt gma Current MAC Address for UP interface 00 50 C2 15 CD CD Current MAC Address for LAN interface 00 50 C2 15 CD CE MAC Address for UP interface in flash 00 50 C2 15 03 0A MAC Address for LAN interface in flash 00 50 C2 15 03 0B 3 58 RS 160 User s Manual Rev 3 CLI Commands AddRequestManager Abbreviation Adds a community name to the list of those supported by SNMP arm arm lt mngr_comm_name gt lt ip_addr gt lt permission_level gt Syntax Description Defaults Usage Guidelines Examples lt mngt_comm_name gt String of one to 1
65. dwidth Limit Unlimited SetConfigEthLimit Y cel Table A 4 Ethernet Parameters LAN Mgt Parameter Default Value CLI Functions Console Flow Control Disable SetConfigEthFlow v Control scef Auto Negotiation Enable SetConfigEth sce Y Rate SetConfigEth sce Y Duplex Mode SetConfigEth sce Y AutoNeg Advertise 10 100 Mbits Y Half Full Duplex Bandwidth Limit Unlimited SetConfigEthLimit Y cel E1 T1 Interface Parameters Table A 5 Bitstream Parameters E1 T1 Interface Console Parameters Static IP Parameters Bridging Service LAN Interface Mgt Parameter Default Value CLI Functions Console LIU Line format E1 SetDefaultDB sddb Y Underrun value OxFE SetConfigBitStreamUnderVal sbuv Y Clocking mode Loopback Master SetDefaultDB sddb Y or Recovery Slave Line Build Out 75 Ohm normal SetConfigLIUlineBuildout sltt Y Jitter Attenuator Disable SetConfigJitterAttenuation sljt Y Rx Equalizer Gain Short Haul SetRxEqualizerGainLimit sreg Y Limit Monitor Gain Normal operation SetConfigMonitorGain slrg Y Internal Rx Term 120 Ohm Enabled SetConfigLIURxTerm slrt Y Line code HDB3 SetConfigLIULineCode sllc Y Framing Mode Unframed SetFrameMode sfm Y Line Status Trap Disabled Y Circuit Identifier Null string Y Table A 6 ConsoleParameters Mgt Parameter Default Value CLI Funct
66. e CONSOLE using a serial connection and a dumb terminal or a character terminal emulator such as Hyper terminal or a PC command window Press return and the RS 160 will respond with the command prompt CM160 gt Connecting via Telnet and a network interface The LAN port is configured with an IP address of 192 160 16 1 and the UPLINK port is configured either with an IP address of 169 254 1 5 Master or 169 254 1 6 Slave Both ports are configured with a subnet mask of 255 255 0 0 The user can connect via Telnet to the defined IP address using HyperTerminal or a command window on a PC ot any other Telnet client Once the connection is made the RS 160 will respond with the command prompt CM160 gt If the IP address needs to be changed to another value before making a network connection first connect via the CONSOLE and change the LAN or UPLINK IP address and subnet mask using the following two commands SetStaticIP ssip see page 3 31 SetSubNetMask ssnm see page 3 32 CLI Command Desctiption Conventions The command descriptions in this document follow the following conventions Command names and their abbreviations are shown in bold font Command arguments are shown in angle brackets lt gt Required alternative keywords are grouped in braces and separated by vertical bars A B Cy Elements in square brackets are optional Screen fonts are used in examples of user entry and resulting o
67. e SNMP Trap port to a selected value stp stp lt trap port gt Syntax Description Defaults Usage Guidelines Examples lt trap port gt The port can be any value between 1 and 65 535 The default trap port is 162 When the port is changed the new value is written to the configuration database The change does not take effect until the next reset CM160 Config SNMP gt stp 3000 The request was updated successfully in active ConfigDB Reset required to make the configuration effective RS 160 3 67 User s Manual Rev 3 CLI Commands DumpMemRange Displays the contents of a range of memory locations Abbreviation dmr dmr lt from_addr gt lt to_addr gt Syntax Description lt from_addr gt Starting address in hexadecimal format 0xnnnnn lt to_addr gt Ending address in hexadecimal format must be greater than the start address Defaults Usage Guidelines This command is for debug purposes only Reading certain memory addresses can cause a system reset Use with caution Examples 3 68 RS 160 User s Manual Rev 3 CLI Commands DumpMemLength Abbreviation Displays the contents of a defined number of memory locations starting at a defined location dml dml lt from_addr gt lt length gt Syntax Description Defaults Usage Guidelines Examples lt from_addr gt Starting address in hexadecimal format 0xnnnnnnnn lt length gt optional decimal val
68. e configuration change will be activated after th xt Replace amp Reload c rr CM160 Config TDM_Over_Packet gt ge n Running config Modified Running config Subscriber interface El El Service interface UP UP Header CV De ae deine Sue NN So ed RTP RTP Local DOE eer sae esera EN 2000 2000 Target POU dee usw RUE 2000 2002 10 101 1 225 10 101 1 226 T0 101 1 225 10 101 1 226 Local IP address Target IP address LIB POS sack iste EEN whee EDU SIRUP IS eiae 0 0 Payload length bytes frames 96 96 EE e acd E e 0x800 0x800 aximum jitter ms 5 5 Clock lock range ppm 50 50 ReoErde i ek e Wwe ADU ew Disabled Disabled VIAN SUDpOft z ictewexeeee m H Disabled Disabled VEAN DDR dax and ao E hu Red 0 0 MEAN pf ioErtys levem H 0 Framed mode H Unframed Unframed RS 160 3 39 User s Manual Rev 3 CLI Commands CM160 Config TDM_Over_Packet gt CM160 Config TDM_Over_Packet gt ccap minimal T r he request was updated successfully in modified unning_config The configuration change will be activated after the next Replace amp Reload c rr CM160 Config TDM_Over_Packet gt ge Running_config Modified Running_config Subscriber interface El El Service interface UP UP Header types cees resisite et RTP inimal Local poftea Wu ue E 2000 1 Target portioleenexeseusekereeew 000 0 L
69. e is required for maintaining communications between the two devices Enter the local IP address when the Service Interface Interface C is defined Enter the target IP the address of the remote RS 160 when the Circuit Emulation Service CES is defined 1 6 RS 160 User s Manual Rev 3 Configuring the RS 160 Other Parameters That Must be Consistent Between a Pair of RS 160s The Circuit Emulation Service must be configured consistently on the two RS 160s This includes the following parameters Payload length same value for both RS 160s Header format both units set either to RTP or to Minimal Port numbers local port for one RS 160 is the target port for the other and vice versa Maximum jitter setting same value for both RS 160s Reordering option both units have reordering enabled or both have it disabled Ethertype if applicable same value for both RS 160s IP TOS if applicable same value for both RS 160s VLAN parameters if applicable same values for both RS 160s Summary of Configurable Parameters Bitstream LIU Subscriber interface Set up the Line Interface Unit LIU to match the connection to the PBX E1 T1 source The primary parameters are the line code encoding used by expected by the E1 T1 source destination and the Line Build Out impedance adjustment based on the PBX impedance or the distance to the PBX or next repeater Uplink Ethernet Service interface I
70. e page 4 18 0x402 GetBitStreamStatus AG RCP GET BS STATUS MSG ID 0x403 See page 4 19 GetConfigBitStream AG RCP GET CFG BS M t ID 0x404 See page 4 20 SetConfigLIU AG RCP SET CFG LIU MSG ID 0x500 See page 4 21 SetConfigLIULineCode AG RCP SET CFG LIU LINE CODE MSG ID See page 4 23 0x501 SetConfigLIUlineBuildout AG RCP SET CFG LIU LINE BLD OUT MSG ID See page 4 24 0x502 SetConfigLIURxTerm AG RCP SET CFG LIU RS TRM MSG ID 0x503 See page 4 25 SetConfigJitterAttenuation AG RCP SET CFG LIU JITTER M t ID 0x504 See page 4 26 SetConfigLIUMonGain AG RCP SET CFG LIU MON GAIN M t ID 0x506 See page 4 27 GetLIUStatus AG RCP GET LIU STATUS MSC ID 0x507 See page 4 28 GetConfigLIU AG RCP GET CFG LIU MSG ID 0x508 See page 4 29 SetStaticIP AG RCP SET STATIC IP MSG ID 0x600 See page 4 30 GetStaticIPCfg AG RCP GET STATIC IP CFG MSG ID 0x601 See page 4 31 SetSubNetMask AG RCP SET SUB NET MASK MSG ID 0x602 See page 4 32 GetConfig AG RCP GET CFG CES APP MSG ID 0xA07 See page 4 33 SetConfigUART AG RCP SET CFG UART MSC ID 0x700 See page 4 36 SetConfigUARTApp AG_RCP_SET_CFG_UART_APP_MSG_ID 0x701 See page 4 37 SetConfigUARTMode AG_RCP_SET_CFG_UART_MODE_MSG_ID 0x702 See page 4 38 GetConfigUART AG_RCP_GET_CFG_UART_MSG_ID 0x703 See page 4 39 GetVersion AG_RCP_GEN_GET_VERSION_MSG_ID 0x800 See page 4 40 SetConfigCESIP AG_RCP_SET_CFG
71. e size of the transmitted packet since the packet payload is a defined number of frames X the number of selected time slots An error message will be displayed if there is a problem with the resulting payload size CM160 The following example removes time slots 6 through 12 from the list defined on the previous page Note that the defined range includes some time slots that were not defined CM160 NConfigNTDM Over Packet rts 6 12 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr CM160 NConfigNTDM Over Packet gfts TimeSlot 00 0 1 a 2 01 5 0 5 0 Running config Modified Running config fX XXX XXXXXXXXXXXX x lt Selected Not selected Not applicable framing information in band framing information out of band signaling information in band signaling information out of band D Mh RS 160 3 49 User s Manual Rev 3 CLI Commands SetCESAppTestMode Sets the test mode for the TDM Over Packet CES application Abbreviation sctm sctm lt side gt lt mode gt Syntax Description lt side gt UP E1 lt mode gt Enable Disable Defaults Entering sctm with no parameters enables loopback testing without a second RS 160 Usage Guidelines This command must be executed to do loopbck testing using only one RS 160 Enter sctm up enable so that the TDM Over PAcket applicatio
72. econds results in a range of 0 to 100 msec This parameter determines the length of the jitter buffer used to smooth the effects of distortion due to network congestion timing drift or route changes The jitter buffer delays the arriving packetized bitstream so that the end user experiences a clear connection with very little distortion lt payload length gt 24 1492 bytes The payload length can be changed optionally with this command See SetConfigCESPayLength on page 3 42 The maximum jitter and the payload length combine to define the length of the jitter buffer The jitter buffer is also impacted by the clock rate of the data and whether packet reordering is enabled This function will return a message with the valid range of max jitter and payload length if an invalid value is entered CM160 NConfigNTDM Over Packet cclk 50 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr In the following example the header is set to minimal the line format is E1 2 048 Mbps unframed and packet reordering is disabled CM160 NConfigNTDM Over Packet cclk 5000 42 Invalid max jitter Possible correct values Payload length in bytes 42 max jitter between 1 TOI Max jitter 4675 payload length in bytes between 1496 1496 RS 160 3 43 User s Manual Rev 3 CLI Commands SetConfigCESVlan Sets the TDM o
73. en the maximum permitted value is 10000 The difference between the E1 T1 bandwidth and the set maximum bandwidth is available for packet traffice between the LAN and UPLINK interfaces In this example packetized E1 requires 3 284 Mbps The slowest link is 4Mbps CM160 NConfigNUPLINK cel 4000 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 19 User s Manual Rev 3 CLI Commands SetConfigBitStreamClockingMode Sets the bitstream clocking mode for the E1 T1 interface This setting determines whether the RS 160 is operating as a Master or as a Slave Abbreviation sccm sccm lt clocking mode gt Syntax Description lt clocking mode gt RECOVERY LOOPBACK Recovery uses the fine baud rate generator BRG clock calculated from received bitstream packets as the Tx clock the other RS 160 is the Master Loopback uses the local LIU clock which is based on its E1 or T1 connection as the Tx clock this RS 160 is the Master Defaults Usage Guidelines Examples CM160 NConfigNEl sccs loopback The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr 3 20 RS 160 User s Manual Rev 3 CLI Commands SetConfigBitStreamUnderVal Abbreviation Sets the Bit Stream underrun
74. erm Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_LIU_RX_TRM_MSG_ID Message 9 AG RCP CALL Type Message 2 8 Length Status 2 AG RCP ACK Interface 4 AG IF A AG IF B Interface to configure Rx Term AG RCP INTTER DISABLE Line Rx termination AG RCP INTTER 120 OHM AG RCP INTTER 100 OHM AG RCP INTTER 75 OHM Usage Guidelines This change will go into effect only after a device reset RS 160 4 25 User s Manual Rev 3 Control Protocol SetConfigJitterAttenuation Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_LIU_JITTER_MSG_ID Message 2 AG_RCP_CALL Type Message 2 8 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A Interface to configure AG_IF_B Jitter Attenu 4 AG_TRUE Enables disables a LIU ator AG_FALSE Tx jitter attenuator Usage Guidelines This change will go into effect only after a device reset 4 26 RS 160 User s Manual Rev 3 Control Protocol SetConfigLIUMonGain Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_LIU_MON_GAIN_MSG_ID Message 9 AG RCP CALL Type Message 2 8 Length Status 2 AG RCP ACK Interface 4 AG IF A Interface to configure AG_IF_B Rx Gain 4 AG_RCP_MG_NORMAL_OPERATION Sets LIU Monitor gain Limit AG_RCP_MG_20dB value AG_RCP_MG_26dB AG_RCP_MG_32dB
75. es are divided into two groups set messages and get messages Set messages are used for configuring one or more parameters After a set message is sent a response message is returned with its status field indicating whether the set operation succeeded or not 4 2 RS 160 User s Manual Rev 3 Control Protocol Get messages are used for querying configuration parameters After a get message is sent a response message is returned with a payload containing the requested information Response Messages Response messages are messages sent from the target as a response to a previous call message The message ID is that of the corresponding call message The message type is AG RCP RESPONSE and the status can be one of the following AG RCP ACK The call message was received and processed successfully AG RCP NACK An error occurred while receiving and processing the corre sponding call message AG RCP BAD PARAMS At least one of the parameters in the call message was erroneous AG RCP UNKNOWN D The message ID in the call message was unknown If the previous call message was a set message the response message usually will contain no payload See SetConfigEth Response on page 4 51 for an exception to this If the previous call message was a oct message the payload of the response message will contain the requested data Unsolicited Messages Unsolicited messages are messages sent f
76. es of timeslots separated by a E1 time slots are numbered 0 to 31 T1 time slots are numbered 1 to 24 Defaults Usage Guidelines The number of time slots selected impact the size of the transmitted packet since the packet payload is a defined number of frames X the number of selected time slots An error message will be displayed if there is a problem with the resulting payload size Examples The following example adds time slot 8 to the example on the preceding page and displays the new set of defined time slots CM160 NConfigNTDM Over Packet ats 8 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr CM160 NConfigNTDM Over Packet gfts TimeSlot 00 0 1 1 2 01 5 0 5 0 Running config Modified Running config f X XXXX X X XXXXXXXXXXXXX X Selected Not selected x Not applicable F framing information in band f framing information out of band 3 48 RS 160 User s Manual Rev 3 CLI Commands RemoveTimeSlots Abbreviation Removes time slots from the list of time slots rts tts lt list_of_timeslots gt Syntax Description Defaults Usage Guidelines Examples lt list_of_timeslots gt individual time slots separated by a space and or one or mote ranges of timeslots separated by a E1 time slots are numbered 0 to 31 T1 time slots are numbered 1 to 24 The number of time slots selected impact th
77. escription Defaults Usage Guidelines Examples CM160 Admin gt gbd Board information Detect card Enabled Card Cyperus eari ke Akte o SILDOTE GELD Vers LON ose 0 Board PLL type no PLL The Detect card parameter within the RS 160 device if enabled in the database makes the additional check of the card type CPLD version and presence of a PLL Standard RS 160 cards do not have a PLL If there is a PLL this function returns the PLL type as well T1 or E1 RS 160 3 83 User s Manual Rev 3 CLI Commands FunctionalTest Starts an internal self test that runs continuously or for a defined duration Abbreviation fts fts lt time gt Syntax Description lt time gt lt 1 65 535 seconds gt The number of iterations at one iteration per second zero continuous operation no value entered 10 iterations Defaults continuous operation Usage Guidelines This test exercises the RS 160 by routing traffic through all the device interfaces and check ing for correct performance The command performs a device reset before the test and after the test The following setup must be done for the function to operate successfully 1 Connect LAN to UPLINK with a cross cable 2 Connect a loopback connector to the E1 T1 connector 3 While the command is running RS 160 SYS OK LED displays the status of the test When the LED is lit continuously it indicates the test is pro
78. eters have been used for all message parameters except those that require a user selected numerical value such as an IP address The logicals are defined in the h files included in the RS 160 CD The Redux logicals are all named with the prefix AG The name allows the system designer to devise his own naming system with concern for conflicting with the Redux naming scheme RCP Example Program The RCP example program eases the task of creating host code to interact with the RS 160 It implements construction of all the call messages and processes all of the response messages The example program runs on a PC and has a simple user interface to allow the system developer to experiment with the RCP commands The program runs on a PC Running Window 2000 or Windows XP and compiles with MS Visual C 6 0 The files supplied include a MSVC6 0 workspace and project files The supplied directory structure is shown in Table 4 5 The project is organized into four libraries Uart library this library implements the UART communication layer 4 6 RS 160 User s Manual Rev 3 Control Protocol asynch_protocol c implements the byte stuffing protocol as supported by the RS 160 The function uart_handle_rx_message is called for each received message Users of this library must provide an implementation of this function The function uart send msg is used to send UART messages The rest of the c and h files that are part of th
79. ets the duplex mode to optional AG_RCP_ETH_FULL_DUPLEX be half ot full Usage Guidelines This message sets the Ethernet configuration When this command configures an interface to operate using auto negotiation the interface will also be configured to use a PHY All changes will go into effect only after a device reset except for a change in the speed parameter The response message indicates whether a reset is required or not See SetConfigEth Response on page 4 51 RS 160 4 11 User s Manual Rev 3 Control Protocol SetConfigEthFlowControl Mode AG_RCP_SWITCH_ON Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_ETH_FLOW_MSG_ID Message 2 AG_RCP_CALL Type Message 2 8 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_C Interface to configure AG_IF_A Flow Control 4 AG_RCP_SWITCH_OFF Sets the interface flow control mode to be on ot off Usage Guidelines This change will go into effect only after a device reset 4 12 RS 160 User s Manual Rev 3 Control Protocol SetConfigEthLoopback Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_ETH_LPBkK_MSG_ID Message 2 AG_RCP_CALL Type Message 2 8 Length Status 2 AG RCP ACK Interface 4 AG IF C Interface to configure AG IF A Loopback 4 AG RCP SWITCH OFF Sets the Ethernet inter Mode
80. f the uplink connection is to a self configuring Ethernet switch then the default auto negotiation setting will suffice Otherwise the user can change to the desired duplex and speed setting The user must assign an IP address to this interface It will be the target IP for the paired RS 160 Serial interfaces UART A is set by default to Terminal to support the CLI commands UART B is set by default to Message to support the RCP interface Circuit Emulation Service These are the core settings for the circuit emulation system The Target IP must be set to the IP of the paired RS 160 The header type RTP or Minimal and the maximum jitter must be selected The selected packet payload size must be compatible with the available bandwidth of the intervening network Adjust the the clock locking range to larger than the nominal value if greater than normal variability is expected These settings must also be set on the paired RS 160 The target IP on the paired RS 160 will be the local IP on the first RS 160 Configure SNMP RS 160 1 7 User s Manual Rev 3 Configuring the RS 160 1 8 The SNMP agent on each RS 160 must be configured with the list of network management stations NMS that can query the RS 160 MIB and will receive RS 160 SNMP traps Performance Choices Adjustments Header type The choice between the RTP and the Minimal header is primarily one of a savings of network bandwidth The RTP header requires 44
81. fig TDM_Over_Packet gt sts 14 24 28 29 set time slots RS160 Config TDM_Over_Packet gt gfts get frame time slots Timeslot 0 0 1 1 2 2 3 0 5 0 5 0 5 0 Running_config FXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Modified Running_config F E RS160 Config TDM_Over_Packet gt c rr Configuration Steps for Slave unit Step 1 dBase initialize RS160 gt a RS160 Admin gt sddb el RS160 Admin gt c rr recovery call u Step 2 Uplink s TCP IP setting RS160 gt c RS160 Config gt up RS160 Config UPLINK gt ssip 10 128 46 19 RS160 Config UPLINK gt ssnm 255 255 254 0 RS160 Config UPLINK gt c rr Step 3 Uplink s default gateway RS160 RS160 RS160 RS160 SC Config gt g Config General gt sdg 10 128 46 2 Config General gt c rr Step 4 Configure E1 X XX Replace amp Reload enter the admin menu p initial database Replace amp Reload enter configuration menu enter Uplink menu Set Static IP Set SubNet Mask Replace amp Reload enter configuration menu enter general menu Set Default Gateway Replace amp Reload RS160 gt c enter configuration menu RS160 Config gt el enter El menu RS160 Config E1l gt sccm recovery set config clocking mode slave RS160 Config E1 gt sfm framed set frame mode framed RS160 NConfigNEl1 sllc hdb3 set LUI line code HDB3 RS160 Config E1 gt sltt el 120 set LUI buildout El RS160
82. gs reports are shown below Operational status of an Ethernet interface UPLINK or LAN CM160 Config UPLINK gt gs Status of interface EE en PHY Statuses eg Nee Ee ege e E Working AUCONGGV EE we Dene Peer advertisement value 43E1 Speed Mb s 100 Duplex mode FULL Flow control OFF MAC loopback Disabled Operational status of the bitstream interface E1 or T1 CM160 Config E1 gt gs Status of interface Eeer UP Alarm SCACUS eh ok eens FS LIU loopback Disable Interface loopback Disable Additional formats are described on the following page RS 160 3 35 User s Manual Rev 3 CLI Commands GetStatus continued Display status of the TDM Over Packet application CM160 Config TDM_Over_Packet gt gs Item ElLOCKING MOMS 3 Korat held eX ve Gonne E EE Current jitter buffer delay ms JIEter Overflow a Neger Jitter underflow 1 Bandwidth utilization kb s Successful recoveries Recovery process Starte everest Successful Rx Paths I Jitter minimum level Jitter maximum level Peer reachable et Peer MAC address 1 Peer ping round trip time CES application test mode Value Status Loopback master UP 7 The Connectivity parameter is UP when packetized bitstream data is being forwarded to the paired RS 160 The parameter i
83. gt atm trap4 12 22 32 42 he request was updated successfully in active ConfigDB H 1 CM160 Config SNMP gt atm trap5 13 23 33 43 he request was updated successfully in active ConfigDB H 1 CM160 Config SNMP gt gtm Mngr ID Mngr Community Name IP addr 1 Trp Dflt name 10 101 1 200 2 trap2 10 20 30 40 3 trap3 I1521 31 41 4 trap4 12 22 32 42 5 trap5 134 23 393 43 3 62 RS 160 User s Manual Rev 3 CLI Commands RemoveTrapManager Abbreviation Removes a manager from the list of SNMP Trap managers rtm rtm lt manager_id gt Syntax Description Defaults Usage Guidelines Examples manager id Identification of the ID number of the trap manager to be removed display the ID number of a trap manager by exe cuting the gtm function In the following example after listing the Trap communities the second in the list is removed Displaying the list again shows that the remaining communities retain the same ID that they had before the community was deleted CM160 Config SNMP gt gtm Mngr ID Mngr Community Name IP addr 1 Trp Dflt name 10 101 1 200 2 trap2 10 20 30 40 3 trap3 11 21 31 41 4 trap4 12 22 32 42 5 trap5 13 23 33 43 NConfigNSNMP rtm 2 The request was updated successfully in active ConfigDB CM160 Config SNMP gt gtm Mngr ID Mngr Community Name IP addr 1 Trp Dflt name 10 101 1 200 3 trap3 11 21 31 41 4 trap4 12 22 32 42 5 trap5
84. h of filler charac ters If the packet arrives late past the time when it should have been transmitted it will be discarded CM160 NConfigNTDM Over Packet scr enable The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 45 User s Manual Rev 3 CLI Commands SetConfigCESClockRange Adjusts the TDM over Packet application clock lock range used during clock recovery Abbreviation cclr cclr lt clock lock range gt Syntax Description lt clock lock range gt 10 300 ppm Defaults 50 ppm Usage Guidelines This command sets the maximum variation from the nominal frequency associated with the line format This parameter is used when the RS 160 performs clock recovery Use a value other than the standard 50 ppm when system conditions require a wider or narrower variation Examples CM160 NConfigNTDM Over Packet cclr 100 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr 3 46 RS 160 User s Manual Rev 3 SetTimeSlots Abbreviation CLI Commands Replaces the current list of time slots with a new list of timeslots sts sts lt list_of_timeslots gt Syntax Description Defaults Usage Guidelines Examples lt list_of_timeslots gt individual time slots separate
85. he sequence numbers in the packet headers If a packet with the right sequence number is not available at the right time the filler pattern will be sent in its place If the packet eventually arrives late it will be discarded Late in this context means later than twice the maximum jitter setting This feature is called packet reordering and is enabled optionally Clock recovery The RS 160 can recover the transmit clock of data received over the network The clock rate is recreated by adaptive clock recovery and is used to clock out the User s Manual Rev 3 Configuring the RS 160 bitstream to the receiving end of the circuit One RS 160 is configured as a Master that is driven by the clock detected in the locally received bitstream The paired RS 160 is configured as a Slave which performs the described clock recovery If a common stable clock is available at both ends of the link then both RS 160s can be configured as Master The user can select a clock locking range that trades off the speed of convergence of the derived clock versus the variability of the clock from nominal values Jitter buffer length limitations The jitter buffer must be at least five packets long It can be no longer than 64 packets when reordering is enabled Otherwise it can be no longer than 800 packets The jitter buffer length is equal to the maximum jitter setting divided by the packet payload transmission time MaxJitter itterB
86. ill go into effect only after a device reset 4 38 RS 160 User s Manual Rev 3 Control Protocol GetConfigUART Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_CFG_UART_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK UART 4 AG_UART_A Interface for which AG_UART_B information is desired Usage Guidelines RS 160 4 39 User s Manual Rev 3 Control Protocol GetVersion Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GEN_GET_VERSION_MSG_ID Message 2 AG_RCP_CALL Type Message 2 0 Length Status 2 AG RCP ACK Usage Guidelines 4 40 RS 160 User s Manual Rev 3 Control Protocol SetConfigCESProtocol Size Item Bytes Range of Values Description Message ID 2 AG RCP SET CFG CES PROT MSG ID Message St AG_RCP_CALL Type Message 2 20 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A Subscriber interface AG_IF_B Protocol 4 AG_RCP_TDM_O_IP_HEADER_RTP Header protocol AG RCP TDM O IP HEADER MINIMAL Ether Type 2 AG TRUE If AG TRUE the next Flag AG FALSE field will be interpreted Ether Type 2 For RTP Header 0x800 Ether type optional For Minimal Header 0x0600 Oxffff Local Port 2 AG TRUE If AG TRUE the next Flag AG FALSE field will be interpreted Local Port 2 For RTP hea
87. ine_code gt AMI HDB3 B8ZS HDB3 is used for E1 B8ZS is used for T1 and J1 AMI is used for both E1 and T1 Defaults Usage Guidelines The value used depends on the settings of the E1 T1 1 source Examples CM160 Config E1 gt slle ami The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr RS 160 3 25 User s Manual Rev 3 CLI Commands SetConfigLIUlineBuildout Configures LIU line build out Abbreviation sltt sltt lt line_build_out gt Syntax Description lt line_build_out gt E1 options E1_75 E1_120 E1_75 HRL E1_120_HRL T1 J1 options T1 133 T1 266 T1 399 T1 533 T1 655 T1 7 5 T1 15 T1 22 5 Select this parameter as a function of the impedance or length of the connection to the E1 T1 source Defaults Usage Guidelines Examples CM160 NConfigNEl sltt el 75 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload cNrr 3 26 RS 160 User s Manual Rev 3 CLI Commands SetConfigLIURxTerm Sets the LIU line Rx termination Abbreviation slrt slrt lt line_Rx_termination gt Syntax Description lt line_Rx_termination gt TermDis 750hm 1000hm 1200hm 1100hm Term Dis indicates that the internal Rx termination is disabled Valid values for different line formats
88. ions Console Stop Bits 1 bit SetConfigUART scu Y Baud Rate 115200 SetConfigUART scu Y Table A 7 Static IP Parameters Mgt Parameter Default Value CLI Functions Console IP address UPLINK LAN SetStaticIP ssip Y 10 101 1 225 Master 10 101 1 226 Slave Subnet mask UPLINK LAN SetSubNetMask ssnm Y 255 255 255 0 Table A 8 Bridging Parameters Mgt Parameter Default Value CLI Functions Console Enabled Dis Disabled SetBridging sb Y abled Aging Time 30 seconds SetAgingTime sat Y TDM Over Packet Parameters Table A 9 TDM Over Packet Parameters Parameter Default Value CLI Functions Mgt Console Header Type RTP SetConfigCESProtocol ccap Y Target IP address 10 101 1 226 SetConfigCESIP ccip Y Master 10 101 1 225 Slave Local port 2000 SetConfigCESProtocol ccap Y Target port 2000 SetConfigCESProtocol ccap Y Payload length 96 SetConfigCESPayLength ccpl Y IP TOS 0 SetConfigCESIP ccip Y Max Jitter 5 SetConfigCESClock cclk Y Clock Lock Range 50 SetConfigCES ClockRange cclr Y Packet reordering Disabled SetCESreOrder scr Y Ether Type 0x800 SetConfigCESProtocol ccap Y VLAN Disabled SetConfigCESVlan ccvl Y VLAN ID 0 SetConfigCESVlan ccvl Y VLAN Priority 0 SetConfigCES Vlan ccvl Y SNMP Parameters Table A 10 SNMP Parameters Mgt Parameter Default Value CLI Functions Console Request port 161 SetRequestPort
89. is library are from Microsoft example code for using the UART generic uart dsp is the MSVC6 0 project file for the UART library TCP library this library implements the TCP IP communication layer The function ag client handle rx message is called for each received message Users of this library must provide an implementation of this func tion The function ag client send msg is used to send TCP messages tcp client dsp is the MSVC6 0 project file for the TCP library RCP library This library implements the formatting of the RCP messages and provides some abstraction to the underlying communication layer TCP or UART Note that RCP message parameters are always in network order gen net c gen net h This file implements functions for converting net work order to host order values and vice versa rcp gen c rcp gen h gives a general layer which encapsulates the com munication layer TCP or UART The function ag_rcp_set_time_out is called in order to wait to a response before sending a new message The functions ag_rcp_db_load and ag_rcp_db_download implement upload from the RS 160 target into a file and download of a configuration DB file to the RS 160 using lower level RCP messages rcp msg processing c rcp msg processing h and all the shwrp app rcp XXX h files These files define a function for each RCP message that requests and receives parameters in a user friendly manner using enumerations in host order Ea
90. isplays the operational status of the RS 160 Abbreviation gsb gsb Syntax Description Defaults Usage Guidelines Examples CM160 Config gt gsb Power up test succeeded Interface LAN link UP Interface El link UP Interface UP link UP 3 10 RS 160 User s Manual Rev 3 GetConfiglfs CLI Commands Displays the configuration of all three traffic interfaces Abbreviation gci gci Syntax Description Defaults Usage Guidelines Examples CM160 Config gt gei LAN interface configuration Running_config Working mode ETH AUL ONG Gis 54 5 trot eo See e ON Speed Mb S eege dE NN Oo Duplex Ode 220 Bak EN wees Interface BW kb s Unlimited MAC address 00 50 C2 15 CD CE IP address zuceees E EEN RER al S bnet MASK a NN e Neier ee tee SD e200 SE 0 El interface configuration Running_config Working mode Bitstream Clocking mode Loopback master Interface loopback Disabled LIU Line format Hardie st EL LIU line code HDB3 LIU line build out El 75 EIU Rx termo ever J2g0obm LIU IXoopback i Rs Disabled Framed mode Unframed UP interface configuration Running config Working mode zeeerseesvewe ei KRIER Ee ee ee Ee rue quu XH Speed Mb ei D plex MOOS a2 ed RW etek Cee cUm Interface BW kb s Unlimited MA
91. it rette 4 45 DunipMemhRangse erectae ite tetas 4 46 DumpMemLength sipiris 4 47 ShowPreeFHleapSize esee entere n noe P 4 48 RER 4 49 Response Message Descriptions sss 4 50 SetConfigEth Response GetEthStatus Response GetConfigEth Response 4 53 GetBitStreamStatus Response GetConfigBitStream Response 4 56 GetLIUStatus Response 4 57 GetConfigLIU Response eee 4 58 GetStaticIPCfg Response sse 4 60 GetConfigUART Response sse 4 61 GetVersion Response sse 4 62 GeiContie Response i e Sn ae 4 63 DumpMemRange Response see 4 65 DumpMemLength Response see 4 66 GetStatusCesApp Response sss 4 67 ShowFreeHeapSize Response e 4 68 vi RS 160 User s Manual Rev 3 Table of Contents Chapter 5 Testing and Troubleshooting Loopback Options i nettes Using the Get Status Command to Evaluate Performance Troubleshooting Guide Appendix A Default Database Default Configuration Databases en A 1 Main Parameters asonansia nriran ai RATER A 2 Ethernet Patatrietets ege SEN A 2 E1 T1 Interface Parameters A 3 Console Parameter A 3 Static IP Parameters get A 3 Bridging Service LAN Interface A 3 TDM Over Packet Parameters SNMP Parameters eee RI RAD RERO NOTER EUREN TIS A RS 160 vii User s Manual Rev 3 Configuring the RS 160 The Redux RS 160 performs point to point
92. ize Bytes Range of Values Description Message ID Unique message ID see Table 4 2 Message Type AG_RCP_CALL AG_RCP_RESPONSE AG_RCP_UNSOLICITED AG_RCP_CALL message sent to the RS 160 AG_RCP_RESPONSE message sent from the RS 160 as a response to a previous AG_RCP_CALL message AG_RCP_UNSOLICITED unsolicited message sent from the RS 160 Message Length 0 AG_RCP_MAX_SIZE AG_RCP_HDR_SIZE Number of bytes in the payload of the message Status AG RCP ACK AG RCP NACK AG RCP BAD PARAMS AG RCP UNKNOWN ID AG RCP ACK call message processed successfully also value used in call messages AG RCP NACK an etror occurred in processing the call message AG RCP BAD PARAMS bad parameters were passed in the call message AG RCP UNKNOWN ID unknown message ID was passed in the call message Payload Length in Message Length Fields defined in message type if any Each message has specific payload fields and is a fixed length consisting of the header 8 bytes plus the payload Some payload fields are marked as optional Those fields have a flag field preceding them that indicates whether the va ue of the optional field should be examined or not See page 4 11 for an example of an optional field Call Messages Call messages are messages sent to the RS 160 Their message type is AG RCP CALL and their status is always AG RCP ACK The call messag
93. kets currently in he jitter buffer in milliseconds This is calculated by multiplying the number of packets times the packet length divided by the data rate of the bit stream interface Jitter Overflow Number of times that the jitter buffer overflowed defined as enough packets to be a jitter delay of twice the maximum jitter setting Jitter Underflow Number of times the jitter buffer has reached the minimum value of one packet Jitter minimum level The minimum jitter buffer delay seen since the last reset of these statistics in milliseconds Jitter maximum level The maximum jitter buffer delay seen since the last reset of these statistics in milliseconds The ResetStatistics command clears the values in statistics counters The parameters cleared are a function of the directory where the command is executed For example Maint Interfaces Interface_C gt rst clears the statistics displayed by Testing and Troubleshooting View Interfaces Interface_C gt st The CES ClearStatistics command clears the jitter overflow and underflow and the maximum and minimum jitter parameters described above It is executed as follows Maint App CES gt rst b Troubleshooting Guide Here are a few suggestions to follow if there are performance problems with the RS 160 1 Check the physical hookup for correctness The CM 160 requires an E1 T1 cross cable in its connection to the T1 E1 source An ethernet cross cable is also required
94. l Protocol ShowFreeHeapSize Size Item Bytes Range of Values Description Message ID 2 AG_RCP_FREE_HEAP_SIZE_MSG_ID Message 2 AG_RCP_CALL Type Message 2 0 Length Status 2 AG RCP ACK Usage Guidelines This change will go into effect only after a device reset 4 48 RS 160 User s Manual Rev 3 Control Protocol Reset Size Item Bytes Range of Values Description Message ID p AG RCP RESET MSG ID Message 2 AG_RCP_CALL Type Message 2 0 Length Status 2 AG RCP ACK RS 160 4 49 User s Manual Rev 3 Control Protocol Response Message Descriptions The following pages contain descriptions of each response message 4 50 RS 160 User s Manual Rev 3 Control Protocol SetConfigEth Response Size Bytes Item Range of Values Description Message ID St AG_RCP_SET_CFG_ETH_MSG_ID Message 2 AG RCP RESPONSE Type Message 2 4 Length Status 2 AG RCP ACK Reset 4 AG TRUE If AG TRUE the Required AG FALSE changes in the call mes sage require a device reset before they take effect I AG FALSE no teset is required this will occur if the speed parameter was the only one changed RS 160 4 51 User s Manual Rev 3 Control Protocol GetEthStatus Response Size Item By
95. liseconds then the RS 160 will create an initial 27 packet backlog This jitter buffer is monitored continuously If the incoming data is stable the number of packets in the buffer does not increase or decrease over time then the delay is gradually reduced to a minimum level the latter capability will be supported in a future release If the buffer empties this is an underrun condition the transmitted synchronous bitstream needs to be maintained but there is no data to send In this case a filler pattern is sent until data arrives The jitter buffer is allowed to build back up to the initial level to reduce the possibility of future underruns If the buffer overflows which is defined as having twice the number of packets waiting for transmission as the initial backlog then an overrun condition has occurred Additional received packets are discarded until the jitter buffer drops back to the initial condition In normal conditions the jitter buffer will vary in length by only one or two packets Underrun and overrun occurrences indicate that the RS 160 parameters should be adjusted To support the clock recovery calculation described below the application buffers a minimum of five frames With the 96 byte packet example above this represents less than 2 milliseconds of delay Replacement frames Another cause for underrun is due to a packet getting delayed or lost in the packet network This condition is detected based on t
96. m Norm Short Disabled Disabled Unframed Configuration information for LAN or UPLINK CM160 NConfigNUPLINK gc Working mode BII ZBMLI A EA E ge CEET EENEG Speed Mb s Duplex mode Flow control Clock source RMII ref clock out Interface BW kb s MAC address MAC loopback PHY configured PHY number 5 ETH MII On Running config Disabled DTE Unlimited 00 50 C2 15 89 A0 Disabled Yes Modified Running config Bitstream 96 OxFE Loopback master Rising Falling Disabled El DS2155 HDB3 E1_75 120ohm Norm Short Disabled Disabled Unframed Modified Running config ETH MII On Disabled DTE Unlimited 00 50 C2 15 89 A0 Disabled Yes 0 RS 160 3 33 User s Manual Rev 3 CLI Commands GetConfig continued Advertisement 10H 10F 100H 100F 10H 10F 100H 100F IP te NEE en 189 254 1725 1697254 1 5 Subnet maski e d ce cedo Ag ADO 295 0 255 255 255 0 CONSOLE configuration information CM160 NConfigNCONSOLE gc Running config Modified Running config Baud rate 115200 115200 SOD Ee ee Ll ET Brotocoli si a5 Term Term Mode Enabled Enabled TDM Over Packet application configuration information CM160 Config TDM_Over_Packet gt ge Running_config Modified Running_config Subscriber interface El El Service interface UP UP Header Cypers
97. mal Header Format Destination MAC Address DA Source MAC Address SA Sequence Number Ethermet Ty pe proposed FFIF Redux TDM Control Word Packet to bitstream Received packets have their headers removed and are transmitted in the order they were sent which is not necessarily the order they were received Both header types include a sequence number so that data order can be maintained RS 160 1 3 User s Manual Rev 3 Configuring the RS 160 1 4 RS 160 Jitter buffer underrun overrun The transmitted bitstream must be maintained at a constant rate Jitter can come from two sources the variability of a packet network where a packet may not be available for transmission and from small variations in timing between the source and destination E1 T1 circuit The RS 160 maintains a jitter buffer which contains a backlog of packets The configurable maximum jitter assumes a level of end to end network delay Based on this value a number of packets received over the network are buffered before the bitstream transmission begins The number of packets in the jitter buffer is calculated based on the maximum jitter in milliseconds the packet payload length and the nominal operating frequency of the line format 1 544 MHz for T1 and 2 048 MHz for E1 For example with a packet payload of 96 bytes on an E1 circuit one packet is transmitted in 375 microseconds If the maximum jitter is 10 mil
98. mples The display varies depending on whether the RS 160 is operating in T1 or E1 The legend below explains the symbols used in the display The example below shows the selected time slot display for T1 The running config is set for unframed and the modified running config is set to full CM160 Config TDM_Over_Packet gt gfts CM160 NConfigNEl gfts TimeSlot 00 0 1 1 2 01 5 0 5 0 Running config Modified Running config f XXXXXXXXXXXXXXXXXXXXXXXX x lt Selected Not selected Not applicable framing information in band framing information out of band signaling information in band signaling information out of band Q Mh RS 160 3 23 User s Manual Rev 3 CLI Commands SetFramedParams Defines framing parameters used to configure the internal framer Abbreviation sfp sfp lt frame_format gt Syntax Description lt frame_format gt E1 PCM30 PCM31 T1 ESF D4 Defaults Usage Guidelines The framing option selected is used by the internal framer to synchronize with the E1 T1 source Examples CM160 Config El gt sfp PCM31 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr 3 24 RS 160 User s Manual Rev 3 CLI Commands SetConfigLIULineCode Sets the LIU line coding Abbreviation slic sllc lt line_code gt Syntax Description lt l
99. n will send and receive data with out a paired unit Examples CM160 Config TDM_Over_Packet gt sctm up enable CES test is being activated on service sid The command completed successfully 3 50 RS 160 User s Manual Rev 3 CLI Commands GetCesRecoveryHistory Displays a report of up to twenty recovery actions Abbreviation gch gch lt num_of_records gt Syntax Description num of records 1 to 20 Defaults If no parameter is entered all recovery records will be displayed Usage Guidelines Recovery records are not saved across a restart of the product This functions if for test and debugging purposes Examples CM160 NConfigNTDM Over Packet gch No data to display in recovery history RS 160 3 51 User s Manual Rev 3 CLI Commands SetBridging Enables disables the bridging service on the LAN interface Abbreviation sb sb lt mode gt Syntax Description lt mode gt Enable Disable Defaults Usage Guidelines This function starts and stops the bridging service The service learns source MAC addresses on received packets and filters packets that are addressed to those MACs This eliminates unnecessary traffic from being transmitted on the UPLINK interface Bridging activates immediately Perform a ResetReload c rr so that bridging is activated on every restart Examples CM160 Config Bridging_Service gt sb enable The command completed successfully The request wa
100. nes The displayed manager ID is used when calling the rrm function to delete a request manager entry Examples CM160 Config SNMP gt grm Mngr ID Mngr Community name IP addr Permission qi 1 4x 321 get 2 mngt console 50 100 100 10 get set 3 Q 4 3 2 1 get 4 2 4 3 2 1 get 5 amp 252 253 254 255 get 6 3 2 32 get 7 4 4 3 2 1 get 8 5 43 0231 get set 9 6 4 3 2 1 get set 10 7 4 342 get Il 8 4 29 2s get set 12 9 453 251 get set 13 10 436250 get 14 remote_comm 4 35251 get set RS 160 3 61 User s Manual Rev 3 CLI Commands AddTrapManager Adds a Trap manager to the SNMP trap list Abbreviation atm atm manager community name lt ip_addr gt Syntax Description manager community String of one to 15 characters defining trap manager name gt community name The string must be bounded by double quotes if there are any embedded spaces in the com munity name ip addr IP address of new trap community nn nn nn nn where nn is a value from 1 to 255 Defaults Usage Guidelines The user can define up to a total of fifteen trap communities The manager ID displayed by the community name is used when the community is to be removed from the list Examples CM160 Config SNMP gt atm trap2 10 20 30 40 The request was updated successfully in active ConfigDB CM160 Config SNMP gt atm trap3 11 21 31 41 he request was updated successfully in active ConfigDB H 1 CM160 Config SNMP
101. nfigures the clocking with the bitstream subscriber clocking parameter This parameter is configurable with the Management Console See Transmit clock source select Recovery Slave Loopback Master on page 2 7 It is also configurable with the CLI See SetConfigBitStream on page 3 12 The RPC also supports this function See SetConfigBitStream on page 4 16 Figure 1 6 An RS 160 Pair Packet CS Network E1 T1 e Aadress d Address 1 lt gt LIU lt Master RS 160 Rarnvaa bi RX Derived C TXC DON Master Clock clock Clock derived by LIU from received E1 T1 Used by RS 160 as both RX and Tx clock Loopback Tx SE ete clock IP Address IP addresses 2 Source IP is Subscriber IP IP address 1 Derived Destination IP is CES Destination IP IP address 2 RXC clock E1 T1 Slave RS 160 lt LIU BRG TXC 1 o PLL Recovered clock Slave Clock Clock recovered from data received from Master RS 160 and used to drive internal accurate baud rate generator BRG BRG output is input to LIU and toTx clock Recovered Tx clock Rx clock is locally derived clock IP addresses Source IP is Subscriber IP IP address 2 Destination IP is CES Destination IP IP address 1 IP Addresses Each RS 160 must be aware of the IP address of the Service Uplink port of the other RS 160 This valu
102. ngth Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_CES_PAYLD_LEN_MSG_ID Message 9 AG RCP CALL Type Message 2 6 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A Subscriber interface AG_IF_B Payload 2 AG _RCP_CES_PAYLOAD_LEN_MIN Payload Length in bytes Length AG_RCP_CES_PAYLOAD_LEN_MAX Usage Guidelines This change will go into effect only after a device reset RS 160 4 43 User s Manual Rev 3 Control Protocol SetConfigCESClock Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_CES_CLK_MSG_ID Message 2 AG_RCP_CALL Type Message 2 10 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A Subscriber interface AG_IF_B Max Jitter 2 AG RCP CES MAX JITTER MIN Maximum jitter delay Delay AG RCP CES MAX JITTER MAX milliseconds Reserved Jit 2 AG RCP CES JITTER MIN RESERVE MIN Minimum jitter delay ter Delay AG_RCP_CES_JITTER_MIN_RESERVE_MAX percentage Reserved 2 Usage Guidelines This change will go into effect only after a device reset 4 44 RS 160 User s Manual Rev 3 Control Protocol SetConfigCESVlan Size Item Bytes Range of Values Description Message ID p AG RCP SET CG CES VLAN MSG ID Message p AG RCP CALL Type Message 2 10 Length Status 2 AG RCP ACK Interface 4 AG IA Subscriber interface A
103. ocal IP address 10 101 1 225 10 101 1 225 Target IP address 10 101 1 226 10 101 1 226 LE TOS e EEN de e RI cS 0 0 Payload length bytes frames 96 96 Ethertype ed wre les 0xX800 OxFFlF Maximum jitter ms amp 5 5 Clock lock range ppm 50 50 ReoOrdef ise ce edges sees Disabled Disabled VLAN support Disabled Disabled NEAN SD sate wx ate e RUE Sle CR Glace 2 8 0 0 VEAN PEIOR o saiae araso enaa ci 0 Framed mode Unframed Unframed 3 40 RS 160 User s Manual Rev 3 CLI Commands SetConfigCESIP Abbreviation Syntax Description Defaults Usage Guidelines Examples Sets the TDM over Packet application IP configuration ccip ccip lt target_ip_address gt lt local_port gt lt target_port gt lt ip_tos_value lt target_ip_address gt IP address of the target RS 160 in the format nn nn nn nn where nn is a number from 0 to 255 local port decimal value 2000 to 65535 for RTP 0 to 15 for Mini mal target port decimal value 2000 to 65535 for RTP 0 to 15 for Mini mal ip tos value Value of the IP Type of Service field 0 to 7 The target IP is required so that the RS 160 can identify the paired RS 160 This is required for both the RTP header and the minimal header The local and target port numbers must be complementary to the port settings on the paired RS 160 CM160 NConfigNTDM Over Packet c
104. of an E1 T1 signal by breaking the bitstream into packets The packets are numbered so the receiving RS 160 can reassemble the bitstream in order Bitstream to packet A fixed number of bits an integral number of bytes definable by the user are taken from the Rx bitstream and packed into the payload of an Ethernet packet Packet headers The packet is transmitted to the Uplink Ethernet service connection with one of two header formats The destination is a paired RS 160 that is defined via a database parameter the Target IP address The two header formats are Real Time Protocol RTP header The protocol complies with the draft standard for unstructured TDM over packet switched networks prepared for the PWE3 IETF Working Group See Figure 1 4 The protocol is routable and can be configured to use a VLAN to improve priority of the tunnelled traffic The figure shows only the RTP portion of the header The header requires 58 bytes per packet including Ethernet IP and UDP headers Figure 1 4 RTP Header Format RFC 1889 0 0 1 2 3 4 5 6 7 Version Pad Ext CSRC Count Mrkr Payload Ty pe Sequence Number 2 bytes Time Stamp 4 bytes Synchronization Source Identifier SSRC 4 bytes Contributing Source Identifiers CSRC 0 or 4 bytes Redux proprietary protocol Minimal header The minimal header only adds four bytes over Ethernet header therefore making good use of bandwidth Figure 1 5 Mini
105. pplication messages received on the UART are assumed to be in RCP format and are interpreted accordingly The RS 160 also supports RCP messages received over TCP It processes RCP messages sent to a network interface Interface C only in Release 1 0 addressed to the interface IP address and encapsulated in TCP with a target port of 2100 Message Overview There are three types of messages Call messages Messages sent from a host CPU to the RS 160 Response messages The RS 160 sends a response message to the host CPU after processing any call message Unsolicited messages messages sent from the RS 160 to the host without a pre ceding call message There are no unsolicited messages in Release 1 0 of the RS 160 Message Format The general message format is shown in Table 4 1 Each message has a unique ID listed in Table 4 2 on page 4 3 sent in the first two bytes The message type contained in the next two bytes is one of the three types listed above The next field contains the message payload length in bytes This is followed by a status field then by the payload itself All messages including call messages have a status field The status in a call message is always an acknowledge ACK Response messages return a status value that reports on the success or otherwise of the corresponding call message RS 160 4 1 User s Manual Rev 3 Control Protocol TABLE 4 1 General Message Format Item S
106. ption Message ID 2 AG_RCP_GET_STATUS_CES_APP_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A Subscriber interface AG_IF_B Usage Guidelines This function requests the status of the CES application See page 3 24 for an example of the CES application GetConfig report See page 4 63 for the GetConfig response message 4 34 RS 160 User s Manual Rev 3 Control Protocol ResetCesStatus Size Item Bytes Range of Values Description Message ID 2 AG_RCP_RESET_CES_STATUS_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A Subscriber interface AG_IF_B Usage Guidelines This function resets CES status information the varying numeric parameters that are reported in the GetStatusCesApp response message are set to zero RS 160 4 35 User s Manual Rev 3 Control Protocol SetConfigUART Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_UART_MSG_ID Message 2 AG_RCP_CALL Type Message 2 16 Length Status 2 AG RCP ACK UART 4 AG UART A AG UART B UART to configure Speed AG RCP UART BAUD RATE 9600 Sets UART baud rate AG RCP UART BAUD RATE 19200 AG RCP UART BAUD RATE 38400 AG RCP UART BAUD RATE 57600 AG RCP UART BAUD RATE 115200 AG RCP UART BAUD RATE 230400 AG RCP UAR
107. rom the RS 160 without previous call message There are no unsolicited messages defined in RS 160 Release 1 0 Message IDs Each RCP message has a unique message ID Table 4 2 lists all the IDs and their associated function and a brief description of the function See the corresponding function in See Chapter 3 CLI Commands for a discussion of the parameters associated with a command TABLE 4 2 Functions and RCP Message IDs Message Function Message ID Desctiption SetConfigEth AG RCP SET CFG HTH MSG ID 0x200 See page 4 11 SetConfigEthFlowControl AG RCP SET CFG ETH FLOW MSG ID 0x203 See page 4 12 SetConfigEthLoopback AG RCP SET CFG ETH LPBK MSG ID 0x205 See page 4 13 GetEthStatus AG RCP GET HTH STATUS MSG ID 0x207 See page 4 14 GetConfigEth AG RCP GET CFG ETH MSG ID 0x208 See page 4 15 SetConfigBitStream AG RCP SET CFG BS MSG ID 0x400 See page 4 16 SetConfigBitStreamCIkSrc AG RCP SET CFG BS CLK SRC MSG ID 0x401 See page 4 17 RS 160 4 3 User s Manual Rev 3 Control Protocol Message Function Message ID Description SetConfigBitStreamUnderVal AG RCP SET CFG B5 UNDRUN VAL Mac ID Se
108. ry when the command was entered will remain the same for example CM160 Monitor LAN gt c lan CM160 Config LAN gt H Entering moves up the directory hierarchy one level This can be repeated or combined with directory names to move up and down the hierarchy for example Monitor UPLINK gt a top Monitor TDM_Over_Packet gt 3 4 RS 160 User s Manual Rev 3 CLI Commands Figure 3 1 Command Directory Hierarchy LAN E1 T1 or J1 UPLINK UP Config C CONSOLE CONS TDM_Over_Packet TOP SNMP S Bridging_Services BRS General G Admin A LAN Root directory gt E1 T1 or J1 UPLINK UP Monitor M CONSOLE CONS TDM Over Packet TOP SNMP S Bridging Services BRS General G Diagnostics D Debug D Certain commands with the same name appea command functions differently depending on t r in more than one sub directory The he context for example the GetConfig gc command displays different results depending on the interface or application directory where it is executed RS 160 3 5 User s Manual Rev 3 CLI Commands Summary of CLI Commands The commands in each CLI sub directory are listed below Note th
109. s sse 3 8 Diagnostics Commands i Admin Commands E 3 9 CLI Command Descriptions seen 3 9 GetStatusBoard Ae 3 10 RS 160 iii User s Manual Rev 3 Table of Contents iv RS 160 User s Manual Rev 3 GetConfiglfs o eterne m OR EORR NR 3 11 Get Sta tush is coacti ee TIERE RHET RN 3 12 GetConfig RE 3 13 ReplaceRel ad tete ero eds 3 14 Replace eee etie Reels 3 15 Reload oce ue 3 16 Sergio 3 17 SetConfigEthFlowControl eee 3 18 E E 3 19 SetConfigBitStreamClockingMode sss 3 20 SetConfigBitStreamUnderVal ee 3 21 Seene Made eet 3 22 GetPrame KE 3 23 SetFramedParams 3 24 SetConfigLIULineCode 3 25 SetConfigLIUlineBuildout 3 26 SetConfigLIURxTerm 3 27 SetConfigJitterAttenuation 3 28 SetConfigMonitorGain 3 29 SetRxEqualizerGainLimit 3 30 SetStaticIP Jobs 3 31 SetSubNetMask 3 32 EE 3 33 Gets tats I 3 35 CGretStatiSU sai ee d AE 3 37 SetGontipD AR Eus PARS 3 38 SetConfigCESProtocol sse 3 39 SetConho CRS Dis acte ce OD AREE HERR 3 41 SetConfigCESPayLength sse 3 42 SE 3 43 SE 3 44 SetC tis coro ooi e OH PRORA EUER 3 45 SetConfigCESClockRange eee 3 46 SetTimesSlots coe eni QU e de Haee ec 3 47 Add Eteslots enee AAA 3 48 Remove TimeSlots sse 3 49 SetCESA pp eet 3 50 GetCesRecoveryHistory een 3 51 SetBridging
110. s DOWN when no packets are being sent due to no bitstream data being received on E1 T1 The Peer reachable parameter is YES when the RS 160 has successfully received a response to a ping of the paired RS 160 Display of the status of the Bridging application CM160 Config Bridging_Service gt gs No of entries currently in MAC addr Max no in table since last reset 3 36 RS 160 User s Manual Rev 3 CLI Commands GetStatistics Abbreviation Returns performance statistics of a selected interface gst gst r Syntax Description r Entering an optional r resets the statistics for this interface Defaults Usage Guidelines Examples Ethernet statistics UPLINKand LAN interfaces CM160 Config UPLINK gt gst Ethernet Statistics on UPLINK interface Ti EE 1149528505 Out OCTETS ie pasha id 1149528953 Frames transmitted 7464486 Frames received 7464479 Statistics of E1 T1 CM160 NConfigNEl gst Bitstream Statistics on El interface In octetsillee ite et 749148492 OUT QeOLet sued eet ente 749148347 Frames received 7803630 Frames transmitted 7660648 RS 160 3 37 User s Manual Rev 3 CLI Commands SetConfigUART Sets the CONSOLE port configuration Abbreviation scu scu lt baud rate gt lt stop_bit gt Syntax Description lt baud rate gt 9600 19200 38400 57600 115200 230400 46
111. s Range of Values Description Message ID 2 AG_RCP_GET_STATIC_IP_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_C Interface for which AG_IF_A information is desired Usage Guidelines RS 160 4 31 User s Manual Rev 3 Control Protocol SetSubNetMask Size Item Bytes Range of Values Description Message ID 2 AG RCP SET SUB NET MASK MSG ID Message 2 AG RCP CALL Type Message 2 8 Length Status 2 AG RCP ACK Interface 4 AG IF C Interface to configure AG IF A Subnet Mask 4 Each byte value should be from range 0 255 Sets the interface s sub net mask Usage Guidelines This change will go into effect only after a device reset 4 32 RS 160 User s Manual Rev 3 Control Protocol GetConfig Size Item Bytes Range of Values Description Message ID 2 AG_RCP_GET_CFG_CES_APP_MSG_ID Message 2 AG_RCP_CALL Type Message 2 4 Length Status 2 AG_RCP_ACK Interface 4 AG_IF_A Subscriber interface AG_IF_B Usage Guidelines This function requests the current configuration of the CES application See page 3 24 for an example of the CES application GetConfig report See page 4 63 for the GetConfig response message RS 160 4 33 User s Manual Rev 3 Control Protocol GetStatusCesApp Size Item Bytes Range of Values Descri
112. s updated successfully in modified running_config 3 52 RS 160 User s Manual Rev 3 CLI Commands SetAgingTime Abbreviation Sets bridging aging time sat sat lt aging time seconds gt Syntax Description Defaults Usage Guidelines Examples lt aging time seconds gt 10 3600 30 seconds The bridging service maintains a table of up to 1024 source MAC addresses If no packets are received from one of the addresses after a period of time it may be that the station at that address is no longer active for example in a wireless LAN environment a user has moved from one location to another The aging time determines how long a MAC must be inactive before it is removed from the source MAC table An aging time change is activated immediately Perform a ResetReload c rr so that the selected aging time is activated on every restart CM160 Config Bridging_Service gt sat 300 The command completed successfully The request was updated successfully in modified running_config RS 160 3 53 User s Manual Rev 3 CLI Commands ClearBridging Clears all entries in the bridging service source MAC address table Abbreviation cb cb Syntax Description Defaults Usage Guidelines When the table has been cleared the service will re learn any active MAC addresses on the LAN interface Examples CM160 Config Bridging_Service gt cb Clearing bridging table data succeeded 3 54 RS
113. sage will be displayed only if the CLI connection is not via the serial inter face that is re configured by this command 3 86 RS 160 User s Manual Rev 3 CLI Commands SetDynamicMACLpbk Enables disables loopback in the MAC The directory from where the command is run determines which MAC is set to loopback UPLINK or LAN Abbreviation sdml sdml lt MAC loopback mode gt Syntax Description lt MAC loopback mode gt ON OFF Defaults OFF Usage Guidelines This command is for test and debug purposes only Note that this command has an immedi ate effect Examples CM160 Config UPLINK gt sdml on The command completed successfully RS 160 3 87 User s Manual Rev 3 CLI Commands SetBitstreamDynLpbk Configures the bitstream interface for loopback operations until the next device reset Abbreviation sbdl sbdl lt loop mode gt Syntax Description lt loop mode gt Local Tx Local Remote Rx Remote Dual Local Transmitted traffic is looped back and received Remote Received traffic is looped back and retransmitted Local Tx Transmitted traffic is looped back and received It is also transmitted externally Remote Rx Received traffic is looped back and retransmit ted It is also received by the RS 160 processor Defaults Usage Guidelines This command is for test and debug purposes only Note that this command has an imme diate effect Once a loopback mode is set it st
114. source port 1 for yes 0 for NO 1 Enter local port hex 0x800 Do you want to determine a target port 1 for yes 0 for NO 1 Enter target port hex 0x800 essage ID 0xa00 succeeded Enter message ID 0x100 to exit 0xa07 Enter interface 0 for C 1 for A 2 for B 2 essage ID 0xa07 succeeded Ces application configuration is reset may be needed Header type RTP Target IP address 10 101 1 226 Subscriber interface B Service interface C EP TOSGuse4 ex EU dt 0 Target port 800 Local porticu 990 Ether type 0x0800 Payload size 96 ax jitter delay 5 VLAN mode Disabled VEAN EE Ged Oa o ded 65535 VLAN priority 51 Enter message ID 0x100 to exit Ox Call Message Descriptions The following pages contain descriptions of each call message 4 10 RS 160 User s Manual Rev 3 Control Protocol SetConfigEth Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_ETH_MSG_ID Message 2 AG RCP CALL Type Message 2 16 Length Status 2 AG RCP ACK Interface 4 AG IF C Interface to configure AG_IF_A Speed 4 AG_RCP_ETH_RATE_10 Interface speed in AG_RCP_ETH_RATE_100 Mbps or determined AG_RCP_ETH_RATE_AUTO using auto negotiation Duplex Flag 4 AG_TRUE If AG_TRUE the next AG_FALSE field will be interpreted Duplex Mode 4 AG_RCP_ETH_HALF_DUPLEX S
115. st this long Wide variation between maximum and minimum jitter levels but no occurrence of jitter overflow or underflow The jitter buffer is operating correctly There is variability in the packet network possibly due to congestion If the minimum is close to zero or the maximum close to twice the maximum jitter setting increase the maximum jitter setting to avoid future overflow or underflow If you have any questions problems or suggestions with your Redux product contact us at support reduxcom com 5 6 A Default Database The RS 160 maintains its configurable parameters in an internal non volatile database The default values of the parameters are those assigned by the RS 160 firmware in the absence of a predefined configuration Some of the parameters are dynamically configurable Many of the parameters can be changed but do not take effect until a replace or replace restart command is executed The tables in this appendix list the default values of all the parameters and the CLI command used to modify the parameter where a command is available The tables also indicate where the Management Console can be used to configure the parameter Default Configuration Databases Four databases are used for the basic configuration of RS 160 Release 1 10 These databases vary by a small number of parameters to account for the required differences These four databases support E1 Master E1 Slave T1 Master
116. starting address will be aligned to a 32 bit address This command is for debug purposes only Writing to certain memory addresses can cause a system reset Use with caution Examples 3 80 RS 160 User s Manual Rev 3 CLI Commands SetMemoryRange Abbreviation Sets a range of memory addresses to a selected value smr smr lt from_address gt lt to_address gt lt value gt Syntax Description Defaults Usage Guidelines Examples lt from_address gt start memory address in hexadecimal format Oxnnnnnnn lt to_address gt end memory address in hexadecimal format 0xnnnnnnn lt value gt value to be written in hexadecimal format 0xnnnnnnnn This command is for debug purposes only Writing to certain memory addresses can cause a system reset Use with caution RS 160 3 81 User s Manual Rev 3 CLI Commands DisplayDBInfo Displays information about the parameter database Abbreviation ddb ddb Syntax Description Defaults Usage Guidelines Examples NAdmin ddb Active running config Internal database name 160 Customer database name A100C Serial number Database version 01 00 002 Database size 2934 0xb76 Model name R160CL0OOA1Y 3 82 RS 160 User s Manual Rev 3 CLI Commands GetBoardData Abbreviation Returns information about the RS 160 internal circuit board configuration gbd gbd Syntax D
117. tes Range of Values Description Message ID 2 AG_RCP_GET_ETH_STATUS_MSG_ID Message 2 AG_RCP_CALL Type Message 2 60 Length Status 2 AG_RCP_ RESPONSE Link State 4 AG_TRUE Flag AG_FALSE Link State 4 AG_RCP_IF_UNKNOWN_STATE AG_RCP_IF_LINK_UP AG_RCP_IF_LINK_DOWN PHY State 4 AG_TRUE Flag AG_FALSE PHY State 4 AG_TRUE Reset AG_FALSE Auto Negoti 4 AG_TRUE ation Flag AG_FALSE Auto Negoti 4 AG_TRUE ation AG_FALSE Peer Adver 4 AG_TRUE tisement AG FALSE Value Flag Peer Adver 4 tisement Value Current 4 AG_TRUE Speed Flag AG_FALSE Current 4 AG_RCP_IF_SPEED_UNKNOWN Speed AG_RCP_IF_SPEED_10 AG_RCP_IF_SPEED_100 Current 4 AG_TRUE Duplex Mode AG FALSE Flag Current 4 AG RCP IF DUP UNKNOWN Duplex Mode AG RCP IF DUP HALF AG RCP IF DUP FULL Current Flow 4 AG TRUE Control Flag AG FALSE Current Flow 4 AG RCP IF FC UNKNOWN Control AG RCP IF FC ON AG RCP IF FC OFF MAC Loop A AG TRUE back AG FALSE 4 52 RS 160 User s Manual Rev 3 Control Protocol GetConfigEth Response Size Item Bytes Range of Values Description Message ID 2 AG RCP GET CFG HIH MSG ID Message 2 AG RCP RESPONSE Type Message 2 Length Status 2 AG RCP ACK Hardware 4 AG RCP HIH HW INTERFACE MII Interface AG RCP ETH HW INTERFACE RMII mode Ethernet rate 4 AG RCP ETH RATE 10 AG RCP HIH RATE 100 AG RCP HIH RATE AUTO Duplex Mode 4
118. the CLI command and page 4 34 for a desctiption of the corresponding RCP message T T he get statistics command also returns performance statistics on a selected interface he bitstream subscriber is connected to interface B the Uplink Ethernet service is connected to Interface C T T he CES and interface statistics can be cleared with the reset statistics command See page 3 29 he RS 160 SNMP agent returns the performance parameters included in MIB2 that describe data activity into and out of the RS 160 RS 160 User s Manual Rev 3 2 Quick Configure This chapter gives a quick configuration method for the IPM 1SE The following is broken into 5 steps that need to be configured for each unit For clocking concerns the IPM 1SE pair can be considered transparent However for proper operation the configuration must be set to place the Master unit towards the E1 clock source towards the up stream and place the Slave unit towards the CPE side Connect the IPM 1SE via serial console cable to a PC or notebook with HyperTerminal program or other VT 100 compatible terminal program and set the communication parameters for 115 2k 8 bits no parity 1 stop bit and no flow control Once the terminal is connected to the IPM power on the IPM and the terminal show display the IPM s prompt Comments are placed in brackets RS160 gt Configuration Steps for Master unit Step 1 dBase initialize RS1
119. ting LIU line Codeas cane cece aacet HDB3 HDB3 LIU line build out eet El 75 EI 75 LIU Xx LEY x ORO esc E 100ohm 100ohm LIU monitor gain Norm Norm LIU Rx Equlizer Gain Limit 12db 12db LIU Jitter Attenuation Disabled Disabled LIU loopback 696222 t Disabled Disabled The Interface C gs command shows whether the link to the Ethernet is operational and whether the PHY has connected properly Check your settings if this status report shows that there are problems 4 Confirm that the configuration of the RS 160 pair is compatible and consistent See Configuring a Pair of RS 160s on page 1 5 The CES GetStatus gs command see page 5 4 shows whether there is connec tivity with the peer RS 160 and the peer 1s reachable 5 Ifthe Tx clocks on both RS 160s are configured as Loopback Master make sure that the clock source driving both units is stable Otherwise change one of the units to Recovered Slave Operating both units as Slave is not recommended and may pro duce unpredictable results Table 5 3 lists observations and suggested causes and corrections TABLE 5 3 Observations and Corrections Observations Possible Cause Corrections Jitter overflow and underflow is occurring on both RS 160s The maximum jitter setting is too low Look at the ping round trip time on the CES GetStatus display This is an indication of the network delay The maximum jitter should be at lea
120. ttle distortion Defaults Default payload length is 96 bytes unframed or three frames framed or full Usage Guidelines The payload length and the maximum jitter combine to define the length of the jitter buffer The jitter buffer is also impacted by the clock rate of the data and whether packet reordering is enabled This function will return a message with the valid range of max jitter and payload length if an invalid value is entered Examples The example is in Unframed mode so the packet length is in bytes CM160 NConfigNIDM Over Packet ccpl 512 The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr In the following example the header format is minimal the framing mode is Full E1 the maximum jitter is set to 5 msec CM160 NConfigNTDM Over Packet ccpl 20 Invalid max jitter Possible correct values Payload length in frames 20 max jitter between 13 2000 Max jitter 5 payload length in frames between 1 8 3 42 RS 160 User s Manual Rev 3 CLI Commands SetConfigCESClock Abbreviation Syntax Description Defaults Usage Guidelines Examples Configures the TDM over Packet application maximum jitter cclk cclk lt max_jitter gt lt payload length gt lt max_jitter gt 0 to 6200 msec Estimate of the maximum jitter or For example a setting of 50 millis
121. ue of the number of locations to dump rounded up to the next multiple of 16 If no length is supplied the function will return 48 locations This command is for debug purposes only Reading certain memory addresses can cause a system reset Use with caution RS 160 3 69 User s Manual Rev 3 CLI Commands ShowFreeHeapSize Displays the size of the available Heap Abbreviation sfh sfh Syntax Description Defaults Usage Guidelines Examples CM160 Diagnostics Debug gt sfh Available memory size is 2439176 3 70 RS 160 User s Manual Rev 3 SetTraceLevel Abbreviation CLI Commands Sets the trace level for built in error and debugging messages stl stl lt new_level gt Syntax Description Defaults Usage Guidelines Examples lt new_level gt 1 to 6 0 No SWERRs and no traces 1 SWERRs and no traces 1 to 6 SWERRs plus traces of the same level and below CM160 Diagnostics Debug gt stl 3 The command completed successfully RS 160 3 71 User s Manual Rev 3 CLI Commands SetTraceMessageType Sets the output format of trace messages Abbreviation stmt stmt lt format gt Syntax Description lt format gt F MP MO F Full report MP Message and parameters MO Message only Defaults Usage Guidelines Examples CM160 Diagnostics Debug gt stmt mp The command completed successfully 3 72 RS 160 User s Manual Rev
122. ufL he gt M JittenBufLength TransmitTime TransmitTime PayloadLength DataRate For example an E1 payload of 256 bytes will have a transmit time of 1 msec Similarly a T1 payload of 192 bytes will have a transmit time of 1 msec If reordering is enabled then the maximum jitter in both cases is constrained to a range of 5 to 64 msec Configuring a Pair of RS 160s RS 160s travel in pairs They perform point to point communications At startup each RS 160 pings the other and waits for a response Pings are retransmitted until each receives a response from the other An RS 160 will start forwarding encapsulated bitstream data when it has received a response from its pair Master versus Slave Clocking is a critical element in a bitstream over packet application The way that the RS 160 maintains consistent timing is to define one RS 160 as a Master and one as a Slave Operationally the Slave uses the clock of the Master as its clock source As shown in Figure 1 6 the Master uses the clock derived by the Line Interface Unit LIU from the Rx stream as its Tx clock The Slave recovers the Master clock from the data received over the packet network and uses this value to drive a Baud Rate Generator BRG The BRG output is used as the Tx clock of the Slave RS 160 1 5 User s Manual Rev 3 Configuring the RS 160 Both RS 160s can be configured as Master if a common stable clock is available to both devices The user co
123. use radio interference in which case the user may be required to take adequate measures CE NOTICE Marking by the symbol CE indicates compliance of this equipment to the EMC directive of the European Community Such marking is indicative that this equipment meets or exceeds the following technical standards EN 55022 1994 A1 1995 A2 1997 Class A and EN61000 3 2 1995 EN61000 3 3 1995 and EN50082 1 1997 CTC Union Technologies Co Ltd Far Eastern Vienna Technology Center Neihu Technology Park SE No 60 Zhouzi St Neihu Taipei 114 Taiwan Phone 886 2 2659 1021 FAX 886 2 2799 1355 IPM 1SE TDM over IP EI DSI TI1 User Manual Version 1 0 Oct 2004 Released for first printing This manual supports the following models IPM 1SE Throughout this manual the IPM 1SE will be referred to as the Redux RS 160 This is the chip solution used in the IPM This document 1s the first official release manual Please check CTC Union s website for any updated manual or contact us by E mail at info ctcu com Please address any comments for improving this manual or to point out omissions or errors to marketing ctcu com Thank you The information and specifications in this document are subject to change without notice Table of Contents Chapter 1 Configuring the RS 160 The RS 160 Database aet es a AD 1 2 Configuration Parameters 1 2 Bitstream Tunneling 1 2 Configuring a Pair of RS 160s 1 5 Master
124. utput User entry examples arein bold screen font 3 2 RS 160 User s Manual Rev 3 CLI Commands If the user enters a command preceded by a question mark and a blank help is displayed providing immediate help formatting commands as shown in the following example CM160 Config TDM_Over_Packet gt ccap Configures CES header protocol Parameters lt protocol RTP Minimal gt Optional Parameters lt ethertype Hex gt lt local port gt target port Typing a after entering a command and one or more parameters results in a validation of the parameters and a display of the command help text The command as entered is re displayed This capability is useful when the user has forgotten the sequence of parameters while in the middle of entering a command The CLI command parser evaluates each parameter and generates an error on the first error found for example entering ccap q the first parameter must be RTP or minimal results in a parser error Error Parameter 1 wrong value keyword The following message is returned if the entered parameters are parsed correctly The request was updated successfully in modified running config The configuration change will be activated after the next Replace amp Reload c rr If the command entered changes a dynamic parameter one that is not recorded in the database for example a loopback command the following message is returned
125. ved at pc binNrelease and pc_bin debug generic uart lib rcp lib tcp client lib rs160 rcp example exe Running the Sample Application Run the application either by connecting via a UART configured to use the messaging application or via a network connection The user is prompted for a message ID The user needs to know the hexadecimal value of the message ID in order to use the application This value has been included in Table 4 2 with the list of logical message IDs The application prompts for each message payload parameter The user can then use one of the configuration or status commands to see the result of a send message that changed the value of a database parameter The following message is displayed when there has been an error trying to activate the sample program It provides a guide to calling the program 4 8 RS 160 User s Manual Rev 3 Control Protocol USAGE rs160 rcp example exe lt com tcp gt baud ip dbg com The RS232 port to use For example coml com2 etc baud The RS232 baud rate Should be the same as the Rs160 target baud rate Valid values are 9600 19200 38400 57600 115200 For example baud 115200 topi Specifies to use the TCP IP for communication ip Specifies the IP address of the Rs160 target dbg tells the program to print communication debug information for example rs160 rcp example exe coml baud 115200 dbg connects using coml
126. ver Packet application VLAN configuration Abbreviation ccvl ccvl lt vlan_mode gt lt vlan_id gt lt vlan_priority gt Syntax Description lt vlan_mode gt Enable Disable lt vlan_id gt 0 to 4095 lt vlan_priority gt 0to7 Defaults VLAN is disabled by default Usage Guidelines When a virtual LAN is defined for the TDM over packet data the priority can be raised 0 is the highest priority to ensure that the TDM data has first use of the available bandwidth Examples CM160 Config TDM_Over_Packet gt cevl enable 2000 0 The request was updated successfully in modified running_config The configuration change will be activated after the next Replace amp Reload c rr 3 44 RS 160 User s Manual Rev 3 SetCESreOrder Abbreviation Syntax Description Defaults Usage Guidelines Examples CLI Commands Enables and disables the TDM over Packet application packet reorder feature sct scr lt reordet featute gt lt reorder feature gt Enable Disable This feature monitors packets containing encapsulated TDM data and transmits them according to an embedded sequence number not necessarily in the order that they were received When a packet with the right sequence number was not received underrun bytes will be sent in place of the bytes in the missing packet The length of the jitter buffer deter mines how late a packet has to be before it is replaced with a packet s wort
127. versus Slave 1 5 TIP Addresses i ec 1 6 Other Parameters That Must be Consistent Between a Pair of Summary of Configurable Parameters Performance Choices Adjustments Performance Statistics Chapter 2 The Management Console Creating a Database with the Management Console 2 1 Configuring the Service Interface 2 3 Parameters for CES Subscriber Interface sss 2 6 LIU parameters Circuit Emulation Servicesin 2 9 Jitter Buffer Length Calculation sssseeeee 2 9 RTP Header Properties citet tene Minimal Header Properties ENEE Parameters for Serial Interfaces 2 SNMP Management parameters EE 2 14 Loading a Database from the Target 2 15 Downloading a Database to the Target sss 2 17 Chapter 3 CLI Commands Configuring the RS 160 cibi 3 1 How to Access the CLI Connecting via the CONSOLE port 3 2 Connecting via Telnet and a network interface 3 2 CLI Command Description Conventions sse 3 2 CLI Command Hierarchy eee Summary of CLI Commands Gonfig ration Commands ii endende ite 3 6 Ethernet Configuration Commands LAN and UPLINK 3 6 E1 T1 Configuration Commands see 3 7 CONSOLE Configuration Commands 3 7 SNMP Configuration Commands see 3 7 TDM over Packet Configuration Commands sess 3 8 Bridging Service Gommands eere eran iei 3 8 General Configuration Commandi
128. will be interpreted Tx Clock 4 AG_RCP_WAN_CLOCK_RECOVERY_MODE Tx clock source Source AG_RCP_WAN_CLOCK_LPBK_MODE optional Tx Clock 4 AG_TRUE If AG_TRUE the next Polarity Flag AG_FALSE field will be interpreted Tx Clock 4 AG_RCP_TX_CLOCK_FALLING Tx clock polarity Polarity AG_RCP_TX_CLOCK_RISING optional Rx Clock 4 AG_TRUE If AG_TRUE the next Polanty Flag AG_FALSE field will be interpreted Rx Clock 4 AG_RCP_TX_CLOCK_FALLING Rx clock polarity Polarity AG_RCP_TX_CLOCK_RISING optional Usage Guidelines The changes in this command will go into effect only after a device reset 4 16 RS 160 User s Manual Rev 3 Control Protocol SetConfigBitStreamClkSrc Size Item Bytes Range of Values Description Message ID 2 AG_RCP_SET_CFG_BS_CLK_SRC_MSG_ID Message 2 AG_RCP_CALL Type Message 2 8 Length Status 2 AG RCP ACK Interface 4 AG IF A AG IF B Interface to configure Tx Clock AG RCP WAN CLOCK RECOVERY MODE Tx clock source Source AG RCP WAN CLOCK LPBK MODE Usage Guidelines This change will go into effect only after a device reset RS 160 4 17 User s Manual Rev 3 Control Protocol SetConfigBitStreamUnderVal Size Item Bytes Range of Values Description Message ID 2 AG RCP SET CFG BS UNDRUN VAL MSG ID Message 2 AG RCP CALL Type Message 2 8 Length Status 2 AG RCP ACK Interface 4 AG IF A Interf
129. with baud rate of 115200 and print debug info rs160 rcp example exe tcp ip 10 100 2 3 connects using TCP IP to address 10 100 2 3 port 1025 In the following example the sample program connects to the RS 160 via TCP IP The CES get configuration command is executed the port numbers are changed and the get configuration command re executed showing that the ports did change rs160 rcp example exe tcp ip 10 101 1 225 connecting using TCP to ip port 10 101 1 225 1025 Done with initializing TCP server ip is 10 101 1 225 port is 2100 Enter message ID 0x100 to exit 0xa07 Enter interface 0 for C 1 for A 2 for B 2 essage ID 0xa07 succeeded Ces application configuration is reset may be needed Header type RTP Target IP address 10 101 1 226 Subscriber interface B Service interface C E TOS ee Se ee roan oO Target poles gouer eer D2 Local porte cssxse 9 ereif DO Ether type 0x0800 Payload size 96 ax jitter delay 5 VLAN mode Disabled VEAN TIDilidensieRe 431 09935 VLAN prrOB5DIDby e ceMe 51 Enter message ID 0x100 to exit 0xa00 Enter interface 0 for C 1 for A 2 for B 2 Enter protocol header format type configuration 0 for RTP 1 for Minimal RS 160 4 9 User s Manual Rev 3 Control Protocol 0 Do you want to determine an Ether Type 1 for yes 0 for NO 0 Do you want to determine a
Download Pdf Manuals
Related Search
Related Contents
Lieber Kunde und neuer Markisen-Besitzer, Bose III User's Manual SUSE Linux Enterprise Desktop Targus APD80CA mobile device charger Siemens ET375GU11E barbecue Massive Other 85090/22/29 LG Electronics 32LS3410 Flat Panel Television User Manual PLUMAS COLUMNA Mitsubishi HS-U748 In Stock HK-8102D User`s manual - HighTek Interface Converter Copyright © All rights reserved.
Failed to retrieve file