background image

PassFinder AP2520 VoIP Router/Gateway Operation Manual   

Version 1.10 / Mar. 2002 

AddPac Technology Co., Ltd. 

 

   

          - 

3

 - 

4.2.3.

 

Commands of the Configuration Mode..................................................................48

 

4.2.3.1.

 

Global Configuration(config) Commands......................................................48

 

4.2.3.2.

 

Commands of the Interface Configuration Mode 1 .....................................50

 

4.2.3.3.

 

Commands of the Interface Configuration Mode 2 (IP Configuration 

Mode) 51

 

4.3.

 

Starting Gateway Configuration....................................................................................52

 

4.4.

 

Ethernet Configuration ...................................................................................................53

 

4.4.1.

 

Ethernet basic configuration .....................................................................................53

 

4.4.2.

 

PPPoE Configuration ...................................................................................................57

 

4.5.

 

WAN (Serial) Interface Configuration ...........................................................................66

 

4.5.1.

 

HDLC Configuration ....................................................................................................67

 

4.5.2.

 

PPP Configuration .......................................................................................................70

 

4.5.3.

 

Frame-Relay Configuration........................................................................................79

 

4.6.

 

Routing Configuration ....................................................................................................88

 

4.6.1.

 

Static Routing Configuration .....................................................................................89

 

4.6.2.

 

RIP Configuration.........................................................................................................92

 

4.6.3.

 

OSPF Configuration.....................................................................................................98

 

4.7.

 

Filter (Access-List) Configuration.................................................................................106

 

4.8.

 

NAT(Network Address Translation) Configuration......................................................113

 

4.9.

 

DHCP(Dynamic Host Configuration Protocol) Configuration....................................123

 

4.10.

 

Transparent Bridging Configuration ............................................................................131

 

4.11.

 

SNMP Configuration......................................................................................................136

 

4.12.

 

Gateway Management Command............................................................................141

 

4.12.1.

 

Command in the EXEC Mode .................................................................................141

 

4.12.2.

 

Command in the Global Configuration Mode ....................................................145

 

4.13.

 

Fault Management and Debugging ...........................................................................148

 

4.13.1.

 

Logging Command ..................................................................................................148

 

4.13.2.

 

Show commands.......................................................................................................149

 

4.13.3.

 

Debug Commands ...................................................................................................153

 

4.14.

 

User, Password, Software Image and Configuration File Management ..................155

 

4.14.1.

 

User Registration and Change ................................................................................155

 

4.14.2.

 

Password Recovery...................................................................................................157

 

4.14.3.

 

Software Image Upgrade and Backup .................................................................160

 

4.14.4.

 

Configuration File

 Backup 

 Restore ..............................................................163

 

Chapter 5

 

Voice Configuration and Command ............................................165

 

5.1.

 

Voice Technologies and Concepts ............................................................................165

 

5.1.1.

 

Voice Over IP .............................................................................................................165

 

5.1.2.

 

Codecs and MOS(Mean Opinion Score)..............................................................166

 

Summary of Contents for PassFinder AP2520

Page 1: ...Mar 2002 AddPac Technology Co Ltd 1 PassFinder AP2520 VoIP Router Gateway User s Guide AddPac Technology Co Ltd 3rd fl Jeong Am Building 769 12 Yoksam dong Kangnam ku Seoul Korea 135 080 Phone 82 2 56...

Page 2: ...3 2 Ethernet Port 27 2 2 3 3 RS 232C Serial Console Port 27 Chapter 3 Installation and Operating Environment 28 3 1 Installation 29 3 1 1 Installation Procedure 29 3 1 2 Console Connection 30 3 1 3 P...

Page 3: ...n 92 4 6 3 OSPF Configuration 98 4 7 Filter Access List Configuration 106 4 8 NAT Network Address Translation Configuration 113 4 9 DHCP Dynamic Host Configuration Protocol Configuration 123 4 10 Tran...

Page 4: ...phone Numbers 191 5 3 6 Configuration Number Expansion 192 5 3 6 1 Number Expansion Table 192 5 3 6 2 Configuration Number Expansion 193 5 3 7 Configuration Number Translation 194 5 3 7 1 Creating Tra...

Page 5: ...5 7 2 13 VoIP interface 239 5 7 3 Voice Port Configuration Command 242 5 7 3 1 comfort noise 242 5 7 3 2 connection 243 5 7 3 3 description voice port 244 5 7 3 4 echo cancel 245 5 7 3 5 input gain 24...

Page 6: ...4 14 sid 281 5 7 4 15 translate outgoing 282 5 7 4 16 vad 283 5 7 4 17 voice class codec 284 5 7 5 Gateway Voice Service Voice Class and Rule Configuration Command 286 5 7 5 1 announcement 286 5 7 5 2...

Page 7: ...show VoIP interface 325 5 7 6 16 debug VoIP call 326 5 7 6 17 debug VoIP 327 5 8 Digital E1 T1 ISDN PRI R2 Installation 329 5 8 1 General setting and installation 329 5 8 2 PBX side configuration set...

Page 8: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 8...

Page 9: ...technical support request method z Chapter 2 Before Installation provides the installation environment and cable requirements along with recommendations for safe operation of the equipment z Chapter...

Page 10: ...way VoIP configuration z Appendix D Cable Specification describes the console cable Ethernet cable specifications and Pin numbers for the PassFinder AP2520 Gateway z Appendix E Miscellaneous Informati...

Page 11: ...r 2002 AddPac Technology Co Ltd 11 PassFinder AP2520 Gateway User s Manual s Revision history are as follows Revision No Date Contents Written By Version 1 00 Oct 8 2001 Initial Released AddPac R D Pa...

Page 12: ...symbols are used for the user s reference in reading the user s manual Danger Danger This symbol signals possible danger Misuse could result in physical injuries In procedures with this symbol the us...

Page 13: ...provides cost efficient data voice service solution The AP2520 VoIP provides LAN LAN or WAN LAN internetworking connection while supporting Frame Relay PPP HDLC and other protocols Providing manual o...

Page 14: ...ble HDLC PPP Fax Fax PBX PSTN Fax PSTN E1 T1 PBX E1 T1 HDLC PPP Infranet Diagram 1 2 Network Using PassFinder AP2520 VoIP Router The DHCP Dynamic Host Configuration Protocol function automatically ass...

Page 15: ...nd cost saving solution z The PassFinder AP2520 VoIP is a module slot designed multi service router z Through various VoIP interface modules the PassFinder AP2520 provides a high performance 32 bit RI...

Page 16: ...E M Voice Interface 4 x RJ48 z Up to 2 Ports Digital E1 Voice Interface 4 x RJ48 z Fixed 1 Port Async Serial Interface for Console Port RJ45 z Power Supply Adaptor z Various system LED function Voice...

Page 17: ...ame Relay and PPP at AP2520 VoIP Router z PPPoE PPP over Ethernet at AP2520 VoIP Router Gateway z ADSL Dynamic Dedicated Service at AP2520 VoIP Router Gateway z Cable Dynamic Dedicated Service at AP25...

Page 18: ...are as the following z System performance analyzing function for processor CPU and interface z Configuration backup Restore function for APOS management z Various debugging function and system auditi...

Page 19: ...Description 1 RST RESET switch Resets the system by hardware 2 PWR Power LED Indicates power supply 3 RUN RUN LED Indicates proper functioning of the equipment 4 SER LAN1 WAN SERIAL LED Indicates WAN...

Page 20: ...t Port for connecting UTP Type 10 100BaseTx Ethernet 2 Console Port With the provided console cable connect with the PC for equipment configuration Mandatory for initial setting 3 WAN SERIAL Port for...

Page 21: ...ing has been found please contact AddPac Technology Co Ltd sales department sales addpac com tel 82 2 568 3848 for an immediate exchange of product If no external damage has found confirm if the follo...

Page 22: ...r Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 22 6 AP2520 Operation Manual 1 Diagram 2 1 PassFinder AP2520 Package If any item is missing immediately contact AddPac Technol...

Page 23: ...r the operator 2 2 1 Electrical Requirements There are two main sources of electrical problems with the AP2520 the power supply and static electricity This section describes safety recommendations for...

Page 24: ...available earthing by holding a metal part of the Chassis will help prevent static electricity 2 2 2 General Requirements The PassFinder AP2520 is ready for use where electronic products are used How...

Page 25: ...be connected to the WAN Serial interface is a DTE or DCE z Whether the connector type is a Male or a Female z The required standard of the equipment 2 2 3 1 1 DTE and DCE The equipment communicating i...

Page 26: ...ionship between the EIA TIA 232 RS 232c used for the AP2520 router s console cable signal distance and its transfer speed This signal standard supports a maximum transfer speed of 64Kbps Table 2 3 sho...

Page 27: ...ional usage it is capable of transferring data at less than 4Mbps and is used for virtually all T1 E1 1 544Mbps 2 048Mbps router cables The V 35 cable uses the 34 Pin Winchester Type connector as show...

Page 28: ...ls before installation z Standard screw driver set z Cable for LAN and WAN Serial port connection 9 RJ 45 to RJ 45 cable for LAN port 9 V 35 cable for WAN Serial port for router model 1 is provided in...

Page 29: ...Serial port for connection with DSU CSU and the RJ 45 cable with the LAN port for connection with the HUB Switch for router model z Log in the Gateway after the booting message on the console with th...

Page 30: ...configuration procedure For optional functions refer to the related chapter 3 1 2 Console Connection z Connect the console port in the rear side of the Gateway with the serial port of the prepared co...

Page 31: ...gram 3 2 Hyper Terminal Configuration z When configuring the Hyper Terminal select the Hyper Terminal menus in the following order File Configuration Connection Target Format and set each item z The c...

Page 32: ...ettings Modem to Connect Direct connection Null Modem to Com port Bit per Second 9 600 Data Bit 8 Parity None Stop Bit 1 Flow Control None Diagram 3 2 Hyper Terminal Configuration O O AC110 220V ETHER...

Page 33: ...ages are displayed Refer to Diagram 3 3 9 The booting title message is displayed This message contains information about the routing software version Gateway status check results memory size and statu...

Page 34: ...5T 50MHz With 33554432 Bytes System Memory 524288 Bytes System Flash Memory 4194304 Bytes 2nd System Flash Memory DS1742 Timekeeping RAM 1 RS232 Serial Console Interface 1 Ethernet IEEE 802 3 Interfac...

Page 35: ...model e g HDLC PPP Frame Relay etc z Determine the protocol to use with each LAN 1 WAN port for gateway model e g PPPoE Ethernet etc z When the conditions above are determined thoroughly understand th...

Page 36: ...sole session and 512 connections through application sessions such as telnet FTP SNMP etc The sessions may effect the Gateway performance therefore the user is advised not to connect more than 10 sess...

Page 37: ...ed at the other equipment including configuration variables Discussion with the administrator of the other equipment is recommended The Interface configuration mode allows traffic management of partic...

Page 38: ...d for locating system errors The Show commands not only provides information about the status of interface but also status for NAT configuration Access list DHCP registered user buffers and all others...

Page 39: ...ted and the boot loader seeks for proper Gateway software image files In the default configuration the boot loader loads Gateway software in the flash memory z If the boot loader does not find any pro...

Page 40: ...tes System Memory 524288 Bytes System Flash Memory 4194304 Bytes 2nd System Flash Memory DS1742 Timekeeping RAM 1 RS232 Serial Console Interface 1 Ethernet IEEE 802 3 Interface 1 Serial Networks Inter...

Page 41: ...2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 41 Interface ethernet0 0 changed state to UP login root password RGW Login root at Console on Thu Jan 1 03 14 5...

Page 42: ...he configuration mode enable the operator to change configuration environment and set new environment The PassFinder AP2520 Gateway has following features regarding operator s entering commands z Alth...

Page 43: ...s indicated with among the optional commands are not currently supported They are to be supported in the higher version Gateways router clear z counters Clear counters on one or all interfaces z inter...

Page 44: ...message logging facilities nat list List NAT Network Address Translation lists queue list Build a custom queue list route Establish static routes router Enable a routing process service Modify use of...

Page 45: ...sed command lines ping Sends an echo message to another network device and tests if the echo message reaches the destination rlogin Establishes rlogin connection that is similar to the Telnet by an or...

Page 46: ...commands that are used in the user mode The prompt is indicated as 1router in the manager mode Commands Description Displays commands currently available and description of these commands clear Clear...

Page 47: ...w Shows configuration status and operating status of the Gateway However in the user mode show command shows only limited information telnet Logs in a neighboring network device through a virtual term...

Page 48: ...ion mode In the global configuration mode the user can make any configuration relating to the Gateway except the interface configuration And in the interface configuration mode the user can make any c...

Page 49: ...the message logging function nat list Creates Network Address Translation NAT no Cancels commands entered in the command line or returns commands into default values Num exp Sets a phone number extens...

Page 50: ...net IEEE802 1q VLAN IEEE802 3 and PPPoE Encapsulation for Ethernet HDLC PPP Frame Relay for Serial exit Returns to the previous configuration menu end Returns to the initial Exec mode Interface Select...

Page 51: ...the interface accounting Apply IP Account List to the selected interface address Sets or changes the IP address of the Interface dhcp group applies the DHCP list that has been set in the global confi...

Page 52: ...Related Commands 1 Boot the Gateway and log in with the manager s account 2 Move to the configuration mode 1 router configure 2 router config Example Starting Gateway Configuration Mode The System is...

Page 53: ...r IEEE 802 3 encapsulation method The logical port can separate the Ethernet of the PassFinderAP2520 Gateway If the user wishes to use only one Ethernet port the user must designate the logical port D...

Page 54: ...ry IP 192 20 1 1 24bits Secondary IP 210 10 2 1 24Bits 1Router config interface ethernet 0 0 2Router config ether0 0 ip address 192 20 1 1 255 255 255 0 3Router config ether0 0 interface ethernet 0 1...

Page 55: ...P table can be changed between 10 and 256 Adjust the size of the ARP table according to the number of PCs or terminals connected to the network z shutdown no shutdown 1 An optional command to make the...

Page 56: ...255 255 0 0 Router config ethernet0 0 no shutdown Router config ethernet0 0 mtu 2000 Router config ethernet0 0 end Router show interface ethernet 0 0 Interface Configuration Information for ethernet 1...

Page 57: ...as follows z Link Control Protocol LCP LCP decides the encapsulation format limits the packet size performs authentication in the link decides normal operation time and breakdown time detects loop bac...

Page 58: ...rface up 10 With show interface command check if the interface is normally operating 11 For abnormal operation find faults and recover faults as using debug command Related Commands and Syntax z inter...

Page 59: ...hich request both of CHAP and PAP authentication z ppp chap hostname name 1 This command is for PPP client devices This command registers a user name to request connection to the PPP server device whe...

Page 60: ...ts local interface z ppp timeout second 1 Sets PPP negotiation timeout for PPP negotiation between two Gateways An optional command 2 The default is five seconds z shutdown no shutdown An optional com...

Page 61: ...Makes the interface up Router config ether0 0 end Exists from the configuration menu Router show interface ethernet 0 Checks the status of the serial interface 0 router sh int e 0 0 Interface ether0...

Page 62: ...fig ether0 0 ip address 132 12 1 1 255 255 255 0 Sets the IP address as 130 1 1 1 and the subnet mask as 24Bit Router config ether0 0 ppp peer default ip address 132 12 1 2 When the other Router recei...

Page 63: ...ethernet0 0 ppp pap sent username addpac password Router1 Sends the user name and the password that were saved in the server during PPP connection Router config ethernet0 0 ppp timeout 100 Sets PPP co...

Page 64: ...mode as CHAP for the ethernet0 0 interface router config ether0 0 ip address 132 12 1 1 255 255 255 0 Sets the IP address as 130 1 1 1 and the subnet mask as 24Bit router config s ether0 0 ppp peer d...

Page 65: ...P hostname addpac If the user name that was saved in the server during PPP CHAP connection is different from the user name of the client Gateway this command sends the user name of the server side rou...

Page 66: ...mode of the WAN serial port How to set up each mode of the WAN serial port will be described later The WAN serial port of the PassFinder AP2520 router can be set as the DCE mode or the DTE mode Basic...

Page 67: ...for the HDLC The PassFinder AP2520 router supports same specification as the HDLC of Cisco Systems that is most widely used in the industry and guarantees full compatibility Procedure Step Operation 1...

Page 68: ...mode the router shall receive clocks by itself This command is used in this case Speed_value represents the transmission rate of the interface line The unit of the speed_value shall be Internal in the...

Page 69: ...0 interface Interface serial0 IP Address 131 12 1 1 Physical Inteface Serial0 Network 131 12 1 0 Subnet Mask 255 255 255 0 Administrator Status UP Operation Status UP Network Type HDLC MTU 1500 Serial...

Page 70: ...n format limits the packet size performs authentication in the link decides normal operation time and breakdown time detects loopback link faults and other faults and automatically terminates the link...

Page 71: ...4 Give an IP address to the interface 5 Enable CHAP or PAP authentication Optional 6 Set CHAP or PAP parameters Optional 7 Set PPP default peer IP Optional 8 If necessary use debug command to check i...

Page 72: ...2 This command functions same as the command that the router manager uses to register a login user This is because the router shares the PPP registered user database and the router user database The o...

Page 73: ...e client device sets a PPP call the client device sends the user name and the password to the server for authentication At this time the user name and the password shall be the same with those set in...

Page 74: ...PP low level packets Example Normal PPP Configuration and Usage router configuration Enters into the configuration mode router config interface serial 1 Enters into the interface configuration mode ro...

Page 75: ...ce router config serial1 ip address 132 12 1 1 255 255 255 0 Sets the IP address as 130 1 1 1 and the subnet mask as 24Bit router config serial1 ppp peer default ip address 132 12 1 2 When the other r...

Page 76: ...router config serial1 ppp pap sent username addpac password router1 Sends the user name and the password that were saved in the server during PPP connection router config serial1 ppp timeout 100 Sets...

Page 77: ...e PPP authentication mode as CHAP for the serial 1 interface router config serial1 ip address 132 12 1 1 255 255 255 0 Sets the IP address as 130 1 1 1 and the subnet mask as 24Bit router config seria...

Page 78: ...ppp chap hostname addpac If the user name that was saved in the server during PPP CHAP connection is different from the user name of the client router this command sends the user name of the server si...

Page 79: ...AN serial port of the PassFinder AP2520 router that is set as the frame relay mode is applied to the physical layer and the data link layers among OSI 7 layers Data link layers include the Link Access...

Page 80: ...he timer for the LMI Optional 7 Set other necessary parameters 8 Make the main interface up Configuration of the sub interface 1 Create a sub interface and enter into the corresponding configuration m...

Page 81: ...to use a sub interface 4 The sub interface is supported only when the frame relay encapsulation is used in the serial line z encapsulation hdlc ppp frame relay Sets the serial mode for the interface T...

Page 82: ...bps 1 Sets the sum of CIR values in the frame relay interface To use a frame relay PVC in the interface lower than E1 use this command 2 Input and Output options decide the maximum access rate for th...

Page 83: ...the committed information rate to input or output the corresponding port in the frame relay parameter configuration mode z mincir in out mincir value Sets the minimum acceptable CIR to input or output...

Page 84: ...Y 1 Shows the status of the interface 2 X represents the main interface number and Y represents the sub interface number of the interface z show frame relay lmi Shows frame relay LMI statistics for th...

Page 85: ...dress is 131 12 1 2 to the virtual circuit of the local DLCT No 100 router config serial0 frame relay interface dlci 100 Makes a frame relay map with the interval ARP that is incoming through the DLCI...

Page 86: ...255 0 Sets the IP address as 131 12 1 1 16 bit mask router config serial0 1 ip exit Returns to the previous configuration mode router config serial0 1 no shutdown Makes the interface up router config...

Page 87: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 87 interface serial1no encapsulation...

Page 88: ...elect routing protocol for each Gateway Please note the following when selecting routing protocol z Network Size and Complexity Normally static routing is enough for edge network However to perform dy...

Page 89: ...acket and so on that may give load to the network z If the user wants to send all packets of which destinations do not appear in the routing table to a certain next hop address as using the default ro...

Page 90: ...nd the setting method of the default route is same as that of the static route However the destination address shall be zero subnet 0 0 0 0 address and 0 0 0 0 mask in the zero network and the next ho...

Page 91: ...g router static Enable static Routing Process router config route 130 2 0 0 255 255 0 0 131 20 1 1 Set packet whose destination address is 130 2 0 0 24bit go to address 131 20 1 1 router config route...

Page 92: ...ot receive any updated information for more than 240 seconds the router permanently deletes the other router from the routing table For the metric RIP uses the hop count The metric is a value that sho...

Page 93: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 93 update...

Page 94: ...With Ping command check if the route can reach the network 11 For a fault use debug command to find fault causes and take proper measures 1 The PassFinder AP2520 router support authentication among R...

Page 95: ...set default static router information in every network device Instead the user only needs to enable RIP routing Then every network device will have the same route table z rip auth type simple md5 An o...

Page 96: ...onfig router rip Enable the RIP process Router config interface Ethernet 0 0 Enters into a configuration mode for the sub interface 0 of the Ethernet interface 0 Router config ether0 0 ip rip send 12...

Page 97: ...ows Enabled Routing Process Current Routing Information OSPF Open Shortest Path First DISABLE RIP Routing Information Protocol ENABLE Static Routing ENABLE Router show rip Shows contents of configured...

Page 98: ...he PassFinder AP2520 router by the OSPF z Stub Area Defines the stub area z Route Redistribution Acquires routing information by IP routing protocol and redistributes routing information to another ro...

Page 99: ...ter ABR In most cases routers within the area have internal area paths other area paths and external routing paths To remove a path the operator needs to define the area as a stub area Then only an in...

Page 100: ...9 Use show command and check if the route is correctly set in the routing table 10 With Ping command check if the route can reach the network 11 For a fault use debug command to find fault causes and...

Page 101: ...value of the router in the same area z ospf auth id key id Sets key identifier for authenticating routing information exchange between the interface and the neighboring router This key identifier must...

Page 102: ...z ospf default router 1 Notifies that the router is the default router to the OSPF network 2 Same command as default information originate of other routers 3 This command can be executed only when th...

Page 103: ...e frame relay 7 neighbor Shows the neighbor router that is currently configured and according relationship 8 nexthop Shows information of the next hop that has been made by the OSPF process z debug os...

Page 104: ...st 5 Sets that the Cost metric value should be advertised as 5 router config ether0 0 int serial 0 Enters into the serial 1 interface configuration mode router config serial0 ip address 135 1 1 1 255...

Page 105: ...SPF for the line interface to normally operate the OSPF If configuration for the interface changes after the OSPF process operates use no router ospf command to disable the OSPF process and enable it...

Page 106: ...ard access list uses IP addresses of the source and the destination in controlling traffic And the extended access list uses application port numbers and protocol IDs as well as IP addresses of the so...

Page 107: ...ess List The standard IP address lists uses only the source IP address in checking the access conditions z access list access list number deny permit source address source wildcard 1 Creates an access...

Page 108: ...destination wildcard operator port number established 1 Creates Access list 2 Option explanation 1 access list number Extended Access List Number in range of 30 59 2 protocol protocol ID Number proto...

Page 109: ...port Protocol 25 9 sunrpc Sun Remote Procedure Call 111 9 talk Talk 517 9 time Time 37 9 telnet Telnet 23 9 uucp Unix to Unix Copy Program 540 9 whois Nicname 43 9 www World Wide Web HTTP 80 9 establs...

Page 110: ...5 Denies all packets incoming from the host whose source address is 132 1 3 15 router config access list 1 permit any Permits all packets that do not satisfy conditions of the Access List 1 above If t...

Page 111: ...outer config access list 31 permit tcp 140 1 1 0 0 0 0 255 145 1 1 0 0 0 0 255 eq ftp establish Permits only packets whose sessions are set already among the TCP packets accessing to the host whose de...

Page 112: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 112 3 deny tcp 140 1 1 0 0 0 0 255 145 1 1 0 0 0 0 255 eq ftp established 4 permit ip any any...

Page 113: ...ss with the global Internet NAT shall be set in the Gateway that is located in the boarder between the public network usually called an outside network such as the Internet and the stub domain usually...

Page 114: ...c address translation z Static Address Translation When there is any access request from the outside network NAT regularly maps an unregistered IP address of the internal host to a certified IP addres...

Page 115: ...is time decide where to use the global address inside or outside 9 Define and set the entry to statistically match address translation between the inside address and the outside address 9 The user nee...

Page 116: ...t that uses a registered IP in the local network the user can register this subnet in the outside interface to route and advertise the subnet to the outside network z nat nat list number natstatic ent...

Page 117: ...ort shall be statically set IP Address for PAT is one of local inner network addresses As using this command the user can set several IPs at the same time z nat nat list number pat fin timeout icmp ti...

Page 118: ...10 Mar 2002 AddPac Technology Co Ltd 118 z show nat list Ethernet serial main interface number sub interface number Shows NAT list that has been set for a certain interface z show running config Shows...

Page 119: ...outside from the host whose source is 1 1 1 254 router config nat list 0 nat timeout 250 When session is in Idle status sets the time value to turn into address free state as 250 seconds router confi...

Page 120: ...N 60 TCPFIN 10 NAT static entry Local IP address 1 1 1 254 Outside Global address 2 2 2 253 Local IP address 1 1 1 253 Outside Global address 2 2 2 254 Local IP Global IP Timer 1 1 1 2 2 2 2 3 120 1 1...

Page 121: ...0 0 Enters into the configuration mode of the interface Ethernet 0 0 router config ether0 0 ip address 1 1 1 3 255 255 255 0 Allocates addresses to Ethernet 0 0 interface The address shall be one of I...

Page 122: ...2 2 2 2 1723 Dynamic TCP 150 1 1 1 1 1024 2 2 2 2 1024 Dynamic TCP 120 1 1 1 2 1723 2 2 2 2 1723 Dynamic TCP 150 1 1 1 1 1024 2 2 2 2 1024 router sh running config Shows present Configuration File int...

Page 123: ...st of DHCP through the database that is set in the Gateway the Gateway will send the request to another DHCP server that the network manager has set The following figure shows the basic procedure that...

Page 124: ...ve time and cost in configuring clients z The network manager can easily manage addresses and other related items of the lower network by managing only the central server To implement the DHCP server...

Page 125: ...HCP end address 4 Set other DHCPs and other necessary options 5 Go to the interface configuration mode 6 Enter into the IP configuration mode 7 Apply the DHCP list that has been set to the correspondi...

Page 126: ...ge of the DHCP pool z dhcp group dhcp list number As an interface command binds DHCP list with the interface to use z ip address dhcp Set ip address with DHCP Clients to the interface to use z show dh...

Page 127: ...e name server address 9 ntp server ntp server address Sets the NTP server address 10 max lease time time second Sets time value to check how long each IP address allocated by the DHCP server is valid...

Page 128: ...1 126 of default Gateway address to the client when the Gateway functions as a DHCP server Router config interface Ethernet 0 0 Makes the DHCP clients to enter into the configuration mode of the Ether...

Page 129: ...ds it to a host whose IP address is 151 1 12 1 Router config interface Ethernet 0 0 Enters into the configuration mode of the Ethernet 0 0 to which DHCP clients are going to be connected Router config...

Page 130: ...the Ethernet 0 0 that using as a DHCP clients Router config ether0 0 ip address dhcp Set IP Address with DHCP Client Router config ether0 0 end Exists from the configuration mode Router show run Show...

Page 131: ...through the Ethernet but also through the serial network and the frame relay network z Supporting the spanning tree algorithm that adopts IEEE based Bridged Protocol Data Unit BPUD PassFinder AP2520...

Page 132: ...ority number 1 An option of the interface command This command defines the priority of the interface to be blocked or forwarded while participating in the spanning tree procedure 2 The range is betwee...

Page 133: ...his command decides standby time to wait until receiving BPDU from the root bridge 2 The range is between 100 to 200 seconds The default value is 15 seconds z no ip routing 1 An option of the global c...

Page 134: ...relay Encapsulates with the frame relay router config serial0 frame relay map bridge 100 Enables the bridge in the frame relay interface This command also encapsulates the bridge packet router config...

Page 135: ...ee Topology Bridge is executing the IEEE compatible Spanning Tree protocol Bridge has priority 32768 address 0000 0000 0000 0000 Configured hello time 2 max age 15 forward delay 30 Current root has pr...

Page 136: ...es a part of a commercialized Network Management System NMS such as the HP Openview The SNMO Agent and the MIB are located in the Gateway To configure SNMP in the Gateway the user shall know the relat...

Page 137: ...nfiguration change or important event occurrence Figure 3 Communication between SNMP Manager and SNMP Agent shows the relations between the SNMP Agent and the SNMP Manager The SNMP Manager sends reque...

Page 138: ...y string ro rw 1 Register the Gateway in a certain SNMP community 2 snmp manager ip 0 0 0 0 IP address of the SNMP Manager 0 0 0 0 is an option that enables all NMSs that have same community string va...

Page 139: ...ty equipment when the Gateway sends trap z snmp system shutdown 1 Decides to shutdown reboot the Gateway or not by SNMP from a remote place 2 This command can greatly affect equipment operation in the...

Page 140: ...lofBuilding4 Sends a message indicating that the installation location of the faulty equipment is 9FlofBuilding4 when trap occurs router config snmp name Tac_Gateway1 Sends a message indicating that t...

Page 141: ...Resets certain functions or certain parts of the Gateway 2 Command options are as follows 1 counters Clears counters of all interfaces 2 interface Resets the hardware logic of a certain interface and...

Page 142: ...packets passing the Gateway and indicates if the Gateway normally operates 2 For more information and options see 4 13 Fault Handling and Debugging 3 When disabling Debug use no debug or Un debug comm...

Page 143: ...z show option 1 Shows information that has been set in the Gateway or collected by the Gateway With this function the user can check operation status of the Gateway 2 For more information and options...

Page 144: ...20 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 144 z undebug Option 1 Negates debugging configuration 2 For more information and options see 4 13 Fault Handling...

Page 145: ...e host of a certain IP and registers it in the ARP table 2 static ip address number mac address number Statically registers Mac address in the ARP table for the IP host 3 table size table size number...

Page 146: ...command again enter History z hostname host name Sets a name in the network of the Gateway z interface ethnet null loopback main interface sub interface Enters into a configuration mode of a certain...

Page 147: ...tftpd 1 Enables Application demon for a certain service 2 To disable the service use no service command z snmp option 1 Sets SNMP protocol for management 2 For more information see SNMP Configuration...

Page 148: ...tion to a certain host outside Logging configuration can be made in the global configuration mode Logging configuration related commands are as follows z logging on Enables logging for all available d...

Page 149: ...Show command can be used in the Exec mode and the syntaxes are as follows z Show option Displays option contents show command related optional commands are as follows z access list access list number...

Page 150: ...nts of the logging buffer 2 History option shows the contents of the system log history table z nat list nat list number 1 Shows the NAT that has been set 2 For more information see NAT Configuration...

Page 151: ...command displays spanning tree topology z static Displays static routes that are set in the Gateway z system task Shows information and the state of the task that is currently running in the Gateway...

Page 152: ...way Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 152 Shows utilization state and values currently set z version Shows hardware information of the Gateway and software version that i...

Page 153: ...ce Debug commands greatly lower general performances of the system turn off Debug commands debug command can be used in the Exec mode and its syntax is as follows z debug option Enables debugging z no...

Page 154: ...gy Co Ltd 154 z tcpip arp icmp tcp udp 1 Decodes and shows TCP IP packets passing through the Gateway 2 Details of each option is as follows 1 arp Decodes and shows ARP packets 2 icmp Decodes and show...

Page 155: ...er describes how to register Gateway users change passwords and change user s authorities Commands relating to managing Gateway users are as follows z user option Registers of changes users User s com...

Page 156: ...rsion 1 10 Mar 2002 AddPac Technology Co Ltd 156 z timeout login name timeout period 1 For the security reason this command defines timeout value according to the Gateway user when the console of the...

Page 157: ...o recover the password Procedure Step Operation 1 Connect the console and prepare to recover the password Password recovery shall be made in the console only 2 Initialize the system Turn on off the sy...

Page 158: ...nsole port 2 Serial networks interface The BOOT LOADER is ready 1 BOOT configure Enter configuration mode copy Copy configuration data exit Exit from the EXEC history Show command line history ping Se...

Page 159: ...mode and change the password as using passwd command The following is when changing root command into Gateway1 Example Password Change Configuration and Usage 1 BOOT conf 1 BOOT config address Set th...

Page 160: ...des new Gateway software from the user consol of the PC or a workstation through FTP the user shall use put command Or to download Gateway software that is currently in use to a PC or a workstation th...

Page 161: ...are backup method through TFTP is same as FTP However login procedure is not necessary The following is when using put command for software When software upgrade is completed Gateway Software is updat...

Page 162: ...dPac Technology Co Ltd 162 To upgrade or backup software image use a same procedure in the Gateway program that is currently in use or in the booter mode If any fault occurs in the currently running G...

Page 163: ...backed up or restored through FTP TFTP When restoring is completed Config Database is updated message is displayed in the screen When backing up the configuration file use get command and when restori...

Page 164: ...ds tftp quit 157 sun10 158 sun10 tftp 211 170 87 221 tftp bi tftp put Gateway cfg Sent 201622 bytes in 0 5 seconds tftp quit The following message is displayed on the console Config Database is update...

Page 165: ...ps of two and stored in voice packets These voice packets are transported using IP in compliance with ITU T specification H 323 Because it is a delay sensitive Application you need to have a well engi...

Page 166: ...ndations The most popular coding standards for telephony and voice packet are z G 711 Describes the 64 kbps PCM voice coding technique In G 711 encoded voice is already in the correct format for digit...

Page 167: ...ndpoint to convert all calls to low bit rate CODECs to save on infrastructure costs you should exercise additional care when designing voice networks with low bit rate compression There are drawbacks...

Page 168: ...gnificant impact on voice quality in a packetized network CODEC induced delays are considered a handling delay Table 5 2 shows the delay introduced by different CODECs Table 5 2 CODEC Induced Delays C...

Page 169: ...ective of the source Gateway as shown in Figure 5 1 and two from the perspective of the destination Gateway as shown in Figure 5 2 You use dial peers to Apply specific attributes to call legs and to i...

Page 170: ...P Gateway to the local POTS network When configuring Voice over IP on the AP2520 VoIP Gateway direct inward dial can be configured on a POTS dial peer In this case the key commands that must be config...

Page 171: ...ff premise extension Applications z FXS The Foreign Exchange Station interface The FXS interface is an RJ 11 connector that allows connection for basic telephone equipment keysets and PBXes FXS connec...

Page 172: ...th gatekeeper is executed Therefore it is advised that VoIP Interface should not be changed after the initiate Setup of System is completed If the defined VoIP interface doesn t have IP address you ca...

Page 173: ...rk is corresponding to switcher on telephone network have a number plan in accordance the size of VolP network It is important if router is confabulated with gatekeeper in number planning In case of b...

Page 174: ...e used for both inbound and outbound call legs It is important to remember that these terms are defined from the router s perspective An inbound call leg originates outside the router An outbound call...

Page 175: ...onfigure call connectivity between the source and destination as illustrated in Figure 5 3 enter the following commands on router 10 1 2 2 dial peer voice 1 pots destination pattern 1408555 port 0 dia...

Page 176: ...Dialing on POTS Peers section Figure 5 2 Outgoing Call in POTS Dial Peer 2 s view To complete the end to end call between dial peer 1 and dial peer 4 as illustrated in Figure 5 4 enter the following c...

Page 177: ...e same IP address with receiving Router among VoIP peers z When the above selection fails Select VoIP peer having answer address which is matched with calling party number of Inbound call z When the a...

Page 178: ...l peer destination pattern string T Enters the telephone number of the corresponding dial peer The string means the telephone number and string values include 0 9 and the wildcard The period means the...

Page 179: ...eer destination pattern string T Enters the telephone number of the corresponding dial peer The string means the telephone number and string values include 0 9 and wildcard The period means the wildca...

Page 180: ...wing commands in the global setup mode start Step Command Description 1 dial peer voice tag VoIP Enters into the dial peer setup mode to set the VoIP peer 2 codec g711alaw g711ulaw g729 g7231r63 g7231...

Page 181: ...nters into the configuration mode 4 Router config class codec preference value codec type Enters into the configuration mode 5 Router config class exit Terminates the CODEC class configuration mode Af...

Page 182: ...tup mode to set the VoIP peer 2 vad Disables transmission of silent packets In other words enables the VAD In the default status the VAD is enabled Normally the default is the most suitable However to...

Page 183: ...iber connected to the voice port of the Router A attempts to make a call to the subscriber who is using PABX line 100 that is connected to the other VoIP router B Figure 5 3 Two Stage Dialing Consider...

Page 184: ...and Router B sends called party number and other digits than fixed digit information except the wildcard of the destination pattern to the voice port when the outbound POTS peer is selected as 1000 In...

Page 185: ...ng busy Factors deciding priorities to attempt calls in the hunt group include the longest match the explicit preference the sequential and the random The longest match decides priorities by the maxim...

Page 186: ...plicit preference random 1 longest match explicit preference sequencial 2 explicit preference longest match random 3 explicit preference longest match sequencial 4 sequencial longest match explicit pr...

Page 187: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 187 4 Router config dial peer huntstop Sets the huntstop in the corresponding dial peer...

Page 188: ...ake PSTN rerouting as shown in the above figure set the dial peer as follows dial peer voice 101 VoIP destination pattern 472 session target 192 168 100 1 preference 0 dial peer voice 102 pots destina...

Page 189: ...n selected for all outbound calls However if the called party number starts with 526 or the called party number is 5441234 the call will not processed any more dial peer voice 100 VoIP destination pat...

Page 190: ...tion Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 190 To bar the inbound VoIP call and allow the outbound call of the number starting with 538 use answer address command as follows dial peer...

Page 191: ...x 99 is set in this outbound POTS peer 99 is outputted first and 123456 is outputted in two seconds The above explains number forwarding operation for the default setup For more precise operation of n...

Page 192: ...led numbers This task can be done easily by creating a number expansion table 5 3 6 1 Number Expansion Table In Figure 5 7 a small company wants to use Voice over IP to integrate its telephony network...

Page 193: ...m exp 2 729555 This information is used in configuration Gateway 1 Gateway 2 5 3 6 2 Configuration Number Expansion To define how to expand an extension number into a particular destination pattern us...

Page 194: ...onversions than number expansion To translate numbers a translation rule set shall be created first Use translation rule command on the global configuration mode to create a translation rule set Users...

Page 195: ...ed pattern is composed only of IA5 characters 0 9 and the substituted pattern will convert the fixed digits of the input matched pattern into the string of the substituted pattern and add other digits...

Page 196: ...to all calls received in the voice port make following setting Step Command Description 1 Router configure Enters into the global configuration mode 2 Router config voice port location Enters into th...

Page 197: ...party number The tag refers to the rule set and tag values range from 0 to 65535 5 3 7 4 Applying Translation Rules to the Outbound Calls To apply the translation rule set to the outbound calls going...

Page 198: ...s of the devices in your telephony network 5 4 2 Voice Ports Configuration Task List and Steps 5 4 2 1 Configuring FXS or FXO Voice Ports Under most circumstances the default voice port values are ade...

Page 199: ...it side of the interface 5 4 2 2 Configuring E M Voice Ports Unlike FXO and FXS voice ports the default E M voice port parameters most likely will not be sufficient to enable voice data transmission o...

Page 200: ...has been used for this matter When the product is delivered to the customer from the factory the E M type has been set as Type 1 For more information refer to jumper setting of the E M module The fol...

Page 201: ...Ltd 201 8 connection plar string Optional Specifies the private line auto ringdown PLAR connection if this voice port is used for a PLAR connection The string value specifies the destination telephon...

Page 202: ...ort 3 Selection A1 A1 B1 A1 B1 A1 B1 A1 B1 B1 E M Type 2 Setting Example E M Type 3 Setting Example E M Type 5 Setting Example E M Type 4 Setting Example E M Type 1 Setting Example A1 B1 A1 B1 2WIRE S...

Page 203: ...ut gain z Timing other then timeout To fine tune E M voice ports use the following commands beginning in Administrator command mode Change voice port setup using voice port command before activating d...

Page 204: ...m wink signal duration Valid entries for wink duration are from 100 to 400 milliseconds 8 timing wink wait milliseconds Specify the maximum wink wait duration for a wink start signal Valid entries for...

Page 205: ...use the following commands in voice port configuration mode Step Command Description 1 no shutdown Activate the voice port To cycle a voice port use the following command in voice port configuration...

Page 206: ...apabilities are required Figure 5 9 shows an IP H 323 network with AP2520 routers and third party gateways and gatekeepers using T 38 fax relay functionality By using T 38 fax relay all gateways and g...

Page 207: ...ering fax machine The VoIP H 323 call stack then starts a T 38 mode request using H 245 procedures If the opposite end of the call acknowledges the T 38 mode request the initial audio channel is close...

Page 208: ...5 Default Value 0 3 Router config vservice VoIP fax rate 2400 4800 7200 9600 12000 14400 disable Selects the maximum fax transmission speed 4 Router config vservice VoIP exit Exits voice service confi...

Page 209: ...s mode voice channel shall be opened with g711alaw or g711ulaw So codec and codec class setting of dial peer needs to support g711alaw or g711ulaw interface and counterpart needs to set in G 711 mode...

Page 210: ...rs can set H323 ID in the gateway setup mode using h323 id command The AP2520 Gateway uses gkip command to designate gatekeepers With gkip command users can designate more than one gatekeeper and regi...

Page 211: ...ateway Enters into the gateway configuration mode and registers the gateway in the gatekeeper 3 Router config gateway gkip gatekeeper ip address port priority Designates the gatekeeper ip address 4 Ro...

Page 212: ...using h323 call start command in the AP2520 Gateway The fast start mode is the default and H245 tunneling and the fast start is disabled when the slow start is set To find out the capability T 38 fax...

Page 213: ...eway on the origination side In this way users can control internal calls local calls long distance calls and international calls by controlling max digit Users can set more than one user classes and...

Page 214: ...user class identifier 3 Router config class password digits Sets the password At this time digits include IA5 characters 0 9 and and the digit length is 4 4 Router config class max digits value Sets...

Page 215: ...r n voice tag 0 65535 pots destination patter n string forward digits from 0 99 last 0 99 huntstop no destination patt ern forward digits huntstop port preference prefix register e164 shutdown transla...

Page 216: ...shutdown sid translate outgoi ng called numbe r calling numb er vad voice class codec preference 0 9 session target ip addr ras shutdown sid translate outgoin g called number tag 0 65535 calling numbe...

Page 217: ...65535 string string no rule tag 0 65535 voice class clear down ton e tag 0 1 low num 300 1980 high num 0 300 1980 on num 0 10000 off num 0 10000 codec tag 0 65535 codec preference num 1 5 no codec pre...

Page 218: ...lling number security permit FXO timeout t301 5 600 default 180 t303 5 60 default 8 tras 2 30 default 6 tttl 10 600 default 60 tidt 1 600 default 10 treg 10 600 default 30 translate VoIP in coming cal...

Page 219: ...y num 50 5000 delay duration num 100 5000 delay start num 20 2000 wait wink num 100 5000 wink duration num 30 5000 wink wait num 100 5000 translate incom ing called number tag 0 65535 calling number t...

Page 220: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 220 cr cr user class voice port slot port summary cr VoIP interf ace...

Page 221: ...r Priority algorithm 0 7 are applied as follows 0 default longest match explicit preference random 1 longest match explicit preference sequential 2 explicit preference longest match random 3 explicit...

Page 222: ...mber is 5683848 the destination number of dial peer 1 is 568T the destination number of dial peer 2 is 568 the destination number of dial peer 3 is 56838 and the destination number of dial peer 4 is 5...

Page 223: ...ng call by ip address use the dial peer ipaddr prefix global configuration command Use the no form of this command to default setting dial peer ipaddr prefix character no dial peer ipaddr prefix chara...

Page 224: ...ures as the special ip address prefix character configure dial peer ipaddr prex The following example shows digit sequence for making a call by IP address If IP address is 127 0 1 1 and called party n...

Page 225: ...ain areas in the world for example in certain European countries where valid telephone numbers can vary in length When a dialed number string has been identified as a variable length dialed number the...

Page 226: ...P pots 5 7 2 4 1 Syntax Keyword Argument Description number Digit s defining a particular dial peer Valid entries are from 1 to 2147483647 VoIP Indicates that this is a VoIP peer using voice encapsula...

Page 227: ...configuration mode Use the no form of this command to unregister this gateway with the gatekeeper gateway no gateway 5 7 2 5 1 Syntax This command has no keywords or arguments 5 7 2 5 2 Default Value...

Page 228: ...of the gateway 5 7 2 5 5 Examples The following example enables the gateway gateway 5 7 2 6 num exp To define how to expand an extension number into a particular destination pattern use the num exp g...

Page 229: ...ied to the called party number of the inbound call The called party number of the inbound call from the voice port or the network is translated by number expansion and the dial peer is selected accord...

Page 230: ...pansion number uses form each digit of the extension number will be replaced by xx to make a number At this time values range from 01 to 99 from the 1st digit to the 99th digit of the called party num...

Page 231: ...the inbound called party number is 5551234 it will be translated into 3334 num exp 555 111 num exp 55512 222 num exp 555 0 9 0 9 0 9 333 In the following example if the inbound called party number is...

Page 232: ...s command is to enter into a mode to set the translation rule of the called calling party number of the inbound outbound call 5 7 2 7 5 Examples The following example is to set the translation rule se...

Page 233: ...guration mode form the global configuration mode Use the exit command to exit the voice port configuration mode and return to the global configuration mode For more information about the physical char...

Page 234: ...0Hz to 1980 Hz In case of single tone value is 0 onTime Specifies the on time duration of clear down tone offTime Specifies the off time duration of clear down tone In case of long duration tone value...

Page 235: ...420 250 250 5 7 2 10 voice class codec To enter voice class configuration mode and assign an identification tag number for a codec voice class use the voice class codec command in global configuratio...

Page 236: ...rting from global configuration mode voice class codec 10 After you enter voice class configuration mode for codecs use the codec preference command to specify the parameters of the voice class The fo...

Page 237: ...and put desired extension number Or anybody who tries to call trough network to FXO port can hear a dial tone from PSTN exchanger which is connected with that port and put desired PSTN number If at le...

Page 238: ...ss of the VoIP peer on the other side shall be registered and the gatekeeper cannot be used at the same time Also it is impossible to bar calls of the registered peers by class With the voice class us...

Page 239: ...exit command to exit the voice service configuration mode and return to the global configuration mode 5 7 2 12 5 Examples The following example shows how to access voice service configuration mode and...

Page 240: ...3 4 Usage Guideline With this command users can designate the VoIP service in a certain interface VoIP service is provided using the IP address stored in the VoIP interface If no IP address is designa...

Page 241: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 241...

Page 242: ...comfort noise 5 7 3 1 1 Syntax This command has no arguments or keywords 5 7 3 1 2 Default Value Enabled 5 7 3 1 3 Command Mode Voice port configuration Mode 5 7 3 1 4 Usage Guideline Use the comfort...

Page 243: ...yntax Keyword Argument Description plar Specifies a private line automatic ringdown PLAR connection PLAR is an autodialing mechanism that permanently associates a voice interface with a far end voice...

Page 244: ...er 5 7 3 2 5 Examples The following example selects PLAR as the connection mode on the AP2520 with a destination telephone number of 555 9262 In this example if the receiver connected to the voice por...

Page 245: ...d and does not affect the operation of the interface in any way 5 7 3 3 5 Examples The following example identifies voice port 1 0 0 on the Cisco 3600 series as being connected to the Purchasing depar...

Page 246: ...connection to hear an echo Because echo cancellation is an invasive process that can minimally degrade voice quality this command should be disabled if it is not needed The echo cancel command does no...

Page 247: ...luding PBXs in the system must be taken into account when creating a loss plan This default value for this command assumes that a standard transmission loss plan is in effect meaning that normally the...

Page 248: ...ce port configuration mode To restore the default use the no form of this command operation 2 wire 4 wire no operation 5 7 3 6 1 Syntax Description Keyword Argument Description 2 wire Specifies a 2 wi...

Page 249: ...refer to Jumper Setting of E M Module of 5 4 2 2 Setting E M Port 5 7 3 6 5 Examples The following example specifies that an E M port uses a 2 wire cabling scheme voice port 1 1 operation 2 wire 5 7...

Page 250: ...are implemented to provide 6 dB of attenuation when the input gain and output gain commands are configured with the default value of 0 You can t increase the gain of a signal going out into the PSTN b...

Page 251: ...t configuration Mode 5 7 3 8 4 Usage Guideline General case there os no needs to enable this functions 5 7 3 8 5 Examples To enable the polarlity inverse function to voice port 1 0 voice port 1 0 pola...

Page 252: ...eset the default value which is one ring Normally this command should be set to the default so that incoming calls are answered quickly If you have other equipment available on the line to answer inco...

Page 253: ...Syntax This command has no arguments or keywords 5 7 3 10 2 Default Value No shutdown 5 7 3 10 3 Command Mode Voice port configuration Mode 5 7 3 10 4 Usage Guideline When you enter the shutdown comm...

Page 254: ...as DTMF digits Used for E M tie trunk interfaces This is the default setting for E M voice ports Immediate Indicates that the calling side seizes the line by going off hook on its E lead and sends ad...

Page 255: ...owing example as soon as the line is seized by the off hook state of the E lead for the corresponding E M voice port DTMF numeric data is sent voice port 1 1 signal immediate 5 7 3 12 timing delay dur...

Page 256: ...n 3000 5 7 3 13 timing delay start E M Voice Port Command To specify the minimum delay time from outgoing seizure to out dial address for a specified voice port use the timing delay start command in v...

Page 257: ...elay start 250 5 7 3 14 timing dialout delay E M Voice Port Command To specify the dial out delay for the sending digit on a specified voice port use the timing dialout delay command in voice port con...

Page 258: ...Command To specify the max time to wait for wink signal after sending outgoing seizure in milliseconds use the timing wait wink command in voice port configuration mode To reset the default value use...

Page 259: ...the timing wink duration command in voice port configuration mode To restore the default value use the no form of this command timing wink duration milliseconds no timing wink duration 5 7 3 16 1 Synt...

Page 260: ...figuration mode To reset the default value use the no form of this command timing wink wait milliseconds no timing wink wait 5 7 3 17 1 Syntax Description Keyword Argument Description milliseconds Max...

Page 261: ...eyword Argument Description called number Applies the translation rule to the inbound called party number calling number Applies the translation rule to the inbound calling party number tag Refers to...

Page 262: ...slate incoming calling number 10 5 7 3 20 type E M Voice Port Command To specify the E M interface type use the type command in voice port configuration mode To reset the default value use the no form...

Page 263: ...rs visually check hardware jumper setting they cannot check the operation type To solve this problem administrators users can use type command and add description of the operation method to the router...

Page 264: ...number plan Numeric data 0 to 9 and can be used z These characters can be found on the standard button type telephone They cannot be located at the first place of the string For example 650 is invalid...

Page 265: ...all will be searched Lastly if no peer is found the VoIP dial peer matching with the destination pattern of the inbound call will be searched 5 7 4 1 5 Examples In the following example if the calling...

Page 266: ...y voice transmission but use a significant amount of bandwidth For almost toll quality and a significant savings in bandwidth use the G 729 value If codec values for the VoIP peers of a connection do...

Page 267: ...tion command to include descriptive text about this dial peer connection This information is displayed when you issue a show command and does not affect the operation of the interface in any way 5 7 4...

Page 268: ...ring for example 650 z Period which matches any entered digit this character is used as a wildcard The period cannot be used as a leading character in a string for example 650 z Brackets which indicat...

Page 269: ...es a dial tone There are certain areas in the world for example in certain European countries where valid telephone numbers can vary in length Use the optional control character T to indicate that a p...

Page 270: ...y using the H 245 alphanumeric User Input Indication method Supports tones 0 9 and A D 5 7 4 5 2 Default Value No default behavior or values 5 7 4 5 3 Command Mode Dial Peer Configuration Mode 5 7 4 5...

Page 271: ...gateway to send DTMF in band the default when sending DTMF tones to dial peer 103 dial peer voice 103 VoIP no dtmf relay 5 7 4 6 forward digits To set the number of the forwarding digit of the outbou...

Page 272: ...f the called party number of an inbound call as the called party number of the outbound call The default is no forward digit and in the default status number forwarding is made 5 7 4 6 5 Examples If P...

Page 273: ...igits 100123456789 are forwarded forward digit last 99 5 7 4 7 huntstop To stop dial peer hunting in the hunting group use huntstop command in the dial peer setup mode To use default setting use no co...

Page 274: ...orm huntstop in VoIP peer 110 dial peer voice 110 VoIP huntstop 5 7 4 8 port To associate a dial peer with a specific voice port use the port dial peer configuration command Use the no form of this co...

Page 275: ...work to match a port with the selected outgoing dial peer 5 7 4 8 5 Examples The following example associates a dial peer with voice port dial peer voice 10 pots port 1 1 5 7 4 9 preference To clearly...

Page 276: ...as follows dial peer voice 10 pots destination pattern 5551234 preference 3 dial peer voice 11 pots destination pattern 555 preference 0 If the called party number of the inbound call is 5551234 all d...

Page 277: ...nfiguration Mode 5 7 4 10 4 Usage Guideline Use the prefix command to specify a prefix for a specific dial peer When an outgoing call is initiated to this dial peer the prefix string value is sent to...

Page 278: ...attached to a Foreign Exchange Station FXS port on a router The gateway automatically registers fully qualified E164 addresses Use the no register e164 command to deregister an address Use the registe...

Page 279: ...atekeeper dial peer voice 110 pots port 1 destination pattern 5551212 register e164 The following commands deregister an address with the gatekeeper dial peer voice 110 pots no register e164 5 7 4 12...

Page 280: ...you select 5 7 4 12 5 Examples The following example configures a session target IP address 211 238 1 1 dial peer voice 10 VoIP session target 211 238 1 1 5 7 4 13 shutdown Dial Peer To change the adm...

Page 281: ...o down configure dial peer voice 10 pots shutdown 5 7 4 14 sid When SID Packet transmission function is enable during silence processing under VAD function activation for call processing of specific d...

Page 282: ...command for this function non activation mode 5 7 4 14 5 Examples The following command example is disable mode of SID packet transmission function dial peer voice 10 VoIP no sid 5 7 4 15 translate o...

Page 283: ...he number translation rule that has been set before 5 7 4 15 5 Examples In the following example translation rule set 10 is created and it is applied to the calling party number of dial peer 200 There...

Page 284: ...e sound quality is slightly degraded but the connection monopolizes much less bandwidth If you use the no form of this command VAD is disabled and voice data is continuously transmitted to the IP back...

Page 285: ...odec global configuration command 5 7 4 17 2 Default Value Dial peers have no codec voice class assigned 5 7 4 17 3 Command Mode Dial Peer Configuration Mode 5 7 4 17 4 Usage Guideline You can assign...

Page 286: ...rd Argument Description There is no any keyword and argument in this command 5 7 5 1 2 Default Value Default value is disable status mode 5 7 5 1 3 Command Mode Voice Service VoIP Configuration Mode 5...

Page 287: ...make disable this functionality use the no form of this command codec preference value codec_type no codec preference value codec_type 5 7 5 2 1 Syntax Keyword Argument Description value Specifies th...

Page 288: ...99 and applies it to dial peer 1919 voice class codec 99 voice class codec 99 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 3 g7231r63 codec preference 4 g729 end dial peer...

Page 289: ...to retransmit message if no reply is received during timeout tras after sending RAS message GRQ RRQ ARQ and DRQ to the gatekeeper 5 7 5 3 5 Examples In the following message the RAS message is tried t...

Page 290: ...y send RRG 5 7 5 4 5 Examples The following command example is to perform disable discovery command gateway no discovery 5 7 5 5 fax protocol To specify the global default fax protocol for all the Voi...

Page 291: ...uideline Use the fax protocol t38 command to configure T 38 Fax Relay for VoIP The t38 keyword enables the T 38 Fax Relay protocol Optional parameters redundancy is used to send redundant T 38 fax pac...

Page 292: ...the fax transmission rate to all dial peers The values for this command apply only to the fax transmission speed and do not affect the quality of the fax itself The higher transmission speed values 1...

Page 293: ...ation mode To restore the default condition use the no form of this command h323 call start fast slow preferred slow no h323 call start 5 7 5 7 1 Syntax Keyword Argument Description fast Gateway uses...

Page 294: ...pecify the gatekeeper associated with a proxy and control how the gatekeeper is discovered use the gkip command in gateway configuration mode gkip ip addr port priority no gkip ip addr 5 7 5 8 1 Synta...

Page 295: ...only one gatekeeper that can be registered at the same time When a gateway receives the re registration failure message or does not receive any message the next gateway tries to register itself in th...

Page 296: ...ID is the name of the gateway with the gatekeeper domain name appended to the end name domain name max length 95 5 7 5 9 2 Default Value VoIP ip_address 5 7 5 9 3 Command Mode Gateway Configuration M...

Page 297: ...Configuration Mode 5 7 5 10 4 Usage Guideline AP2520 VoIP gateway is able to send IRR message for response IRQ message from gatekeeper Originally this IRR message gives service for status confirmatio...

Page 298: ...tion early If you want to open voice channel before voice CONNECT in case of normal slow voice processing use this command late If you want to open voice channel after voice CONNECT in case of normal...

Page 299: ...oice service VoIP h323 call channel early 5 7 5 12 h323 call response If you want to define message besides ALERT message after call proceeding message about response Q 931 setup message use h323 call...

Page 300: ...message after sending call proceeding message when gateway operate as receiving gateway side with getting setup message This command configuration setting recommend default mode besides special case 5...

Page 301: ...configuring the maximum digits for user class 1 as 10 voice class user 1 max digits 10 5 7 5 14 password This command is used to configure a 4 digit security password for the security of out going sig...

Page 302: ...ce class user 1 password 1234 5 7 5 15 public ip To define public IP address with mapping private IP address of VoIP gateway under static NAT PAT network environment use this command To make disable m...

Page 303: ...P gateway should be defined static NAT or static PAT and public IP address 5 7 5 15 5 Examples The following command example shows public IP configuration mode gateway public ip xxx xxx xxx xxx 5 7 5...

Page 304: ...e or register new dial peer using script file with operating gatekeeper use no register or no gateway command in initial stage of script file or loading configuration after doing un registration from...

Page 305: ...e Translation rule Configuration Mode 5 7 5 17 4 Usage Guideline This command is used to apply the translation rule to the calling party called party number of the inbound outbound call If one or more...

Page 306: ...called calling party number is made of other digits than the fixed pattern of the input matched pattern 5 7 5 17 5 Examples In the following example 5554123 is extended into 140855554123 rule 0 55541...

Page 307: ...element to the message to gatekeeper This CryptoToken is MD5 hashed token which also should be enabled in gatekeeper when registration and permit call If no form of this command is used security betwe...

Page 308: ...XO This command is only useful without gatekeeper If no form of this command is used security is enabled and do not permit a call from unregistered VoIP peer security permit FXO no security permit FXO...

Page 309: ...ti classed call barring is possible 5 7 5 19 5 Examples The following example permit all call to FXO voice service VoIP security permit FXO 5 7 5 20 timeout To set VoIP related timer parameters use ti...

Page 310: ...alue Timeout value for re registration attempt upon registration failure in the gatekeeper Values range from 10 to 600 and the default value is 30 Treg value is expressed in seconds 5 7 5 20 2 Default...

Page 311: ...arty number tag Refers the rule set Ranges from 0 to 65535 5 7 5 21 2 Default Value No translation rule is applied 5 7 5 21 3 Command Mode Voice Service Configuration Mode 5 7 5 21 4 Usage Guideline T...

Page 312: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 312 translate VoIP incoming calling number 10...

Page 313: ...tekeeper to be disconnected local_call_ID Specifies the local call identification number CallID that identifies the call to be disconnected 5 7 6 1 2 Default Value No Default Value 5 7 6 1 3 Command M...

Page 314: ...ystem clear voice port port 5 7 6 2 1 Syntax Keyword Argument Description port Specifies a port to clear calls on the port 5 7 6 2 2 Default Value None 5 7 6 2 3 Command Mode Administrator command 5 7...

Page 315: ...ommand 5 7 6 3 4 Usage Guideline Use the show call active command to display the contents of the active call table This command displays information about call times dial peers connections quality of...

Page 316: ...and Mode Administrator command 5 7 6 4 4 Usage Guideline The show call history command displays a call history table containing a list of voice or fax calls connected through the Gateway in descending...

Page 317: ...and will display not only user added clear down tone by voice class clear down tone command but also system providing clear down tones 5 7 6 5 5 Examples The following is to display all Clear down ton...

Page 318: ...information of all Dial Peer show dial peer voice pots VoIP number summary 5 7 6 7 1 Syntax Keyword Argument Description voice Display VoIP and POTS Dial peer information pots Display POTS Dial peer i...

Page 319: ...ent number to identify the dial peer 5 7 6 7 5 Examples The following is sample output from the show dial peer voice command for a POTS dial peer show dial peer voice 5 7 6 8 show dialplan number To s...

Page 320: ...1234 5 7 6 9 show dialplan port To show which POTS dial peer is matched for a specific calling number or voice port use the show dialplan port command in Administrator command mode show dialplan port...

Page 321: ...ntax This command has no arguments or keywords 5 7 6 10 2 Default Value No default behavior or values 5 7 6 10 3 Command Mode Administrator command 5 7 6 10 4 Usage Guideline This command will display...

Page 322: ...lt Value No default behavior or values 5 7 6 11 3 Command Mode Administrator command 5 7 6 11 4 Usage Guideline Even though you create number expansion with wildcard show num exp will not display wild...

Page 323: ...efault Value No default behavior or values 5 7 6 12 3 Command Mode Administrator command 5 7 6 12 4 Usage Guideline This command is to check if the translation rule has been properly set and to test o...

Page 324: ...This command shows user class tag password and max digits can input 5 7 6 13 5 Examples To display User Class information show user class 5 7 6 14 show voice port To show voice port information use th...

Page 325: ...command but also Voice port configuration mode 5 7 6 14 5 Examples To show brief voice port information of this system show voice port summary 5 7 6 15 show VoIP interface To view the VoIP interface...

Page 326: ...VoIP call To trace VoIP related events use the debug VoIP call command in Administrator command mode debug VoIP call no debug VoIP call 5 7 6 16 1 Syntax This command has no arguments or keywords 5 7...

Page 327: ...1 no debug VoIP h225 asn1 h245 asn1 ras asn1 5 7 6 17 1 Syntax Keyword Argument Description h225 asn1 Trace H 225 ASN 1 event h245 asn1 Trace H 245 ASN 1 event ras asn1 Trace RAS ASN 1 event 5 7 6 17...

Page 328: ...terminal is terminated message tracing will automatically operate in the console No debug port displays call tracing on the default display console Message tracing with using the debug command gives a...

Page 329: ...or R2 of PBX side In general ISDN PRI and R2 H W board type is different physically z The 30 voice channels in E1 interface or 24 channels T1 interface are assigned to trunk group And a user can bind...

Page 330: ...2520 VoIP equipment voice port is 0 0 If APVI 1E1 is installed on slot1 of AP2520 VoIP equipment voice port is 1 0 z The VoIP configuration setting of E1 voice port is same with analog FXS FXO configu...

Page 331: ...signaling for channel allocation like as R2 signaling type and use the DTMF tone for digit transmission The default signaling type is ISDN PRI signaling type To change the signaling type a user shoul...

Page 332: ...gateway provides the clock source command router config controller e1 0 0 clock source slave z R2 related setting optional In case of R2 signaling to get the calling party number information the foll...

Page 333: ...d party number If PBX digit input method is enbloc mode END OF DIGIT key must be pressed after dialing In case of overlap mode END OF DIGIT key input is optional z AddPac VoIP gateway performs the H 3...

Page 334: ...n slot0 of AP2520G R VoIP equipment for digital E1 PSTN interface clock is received from peer side AP2520 is user side and peer side of AP2520 is network side configuration For digital E1 PBX interfac...

Page 335: ...PassFinder AP2520 VoIP Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 335 e1t1 E1 T1 Link r2 E1 T1 CAS R2 Signaling q921 ISDN Q921 Packet q931 ISDN Q931 Packet...

Page 336: ...Path First OSPF v2 Protocol IEEE 802 1Q VLAN Routing IP Routing Protocols IEEE Transparent Bridging LAN Service 10 100Mbps Ethernet Interface Ethernet Interface 10Mbps Ethernet for WAN Connection Gat...

Page 337: ...quency DTMF Comfort Noise Generation CNG Voice Processing Echo Cancellation Network Managements SNMP Standard SNMP Agent MIB v2 RMON Remote Monitoring RFC1271 Support Web Web Based Management using HT...

Page 338: ...ting Auto rebooting with Watch dog Timer Others IP Traffic Statistics with Accounting Other Scalability Features DHCP Dynamic Host Configuration Protocol DHCP Server and Relay Functions Network Addres...

Page 339: ...or RS 232C Console Port RJ45 Supported Voice Slot 2 Slots for Voice Interface 4 Port FXS Voice Interface 4 x RJ11 Up to 8Ports 4 Port FXO Voice Interface 4 x RJ11 Up to 8Ports 4 Port E M Voice Interfa...

Page 340: ...rial0 enc hdlc Gateway config serial0 interface e0 0 Gateway config ether0 0 ip address 10 10 10 1 255 255 255 0 Gateway config ether0 0 exit Step 2 set default routing Gateway config route 0 0 se 0 L...

Page 341: ...er voice 300 VoIP Gateway config dialpeer VoIP 300 destination pattern 3 Gateway config dialpeer VoIP 300 session target 30 30 30 1 Gateway config dialpeer VoIP 300 exit Step 5 configuration Confirmat...

Page 342: ...s up AP2520 C configuration step 1 set interface Gateway config in s0 Gateway config serial0 ip address 100 100 102 1 255 255 255 252 Gateway config serial0 enc hdlc Gateway config serial0 interface e...

Page 343: ...twork Mask Gateway Interface Protocol 0 0 0 0 0 0 0 0 serial0 STATIC 30 30 30 0 255 255 255 0 30 30 30 1 ether0 0 DIRECT 100 100 102 0 255 255 255 252 100 100 102 1 serial0 DIRECT 127 0 0 0 255 0 0 0...

Page 344: ...calling number 1 description administrative status up Call Scenario 1 Phone A and Phone B connection User A hangs up phone A user A press No 200 dial up Confirm RING sound User B hangs up phone B Spe...

Page 345: ...estination pattern 3 Gateway config dialpeer VoIP 300 session target ras Gateway config dialpeer VoIP 300 exit Gateway config gateway Gateway config gateway gkip 90 90 90 1 Gateway config gateway exit...

Page 346: ...show gateway Gatekeeper Registration Information this gateway s H 323 id VoIP 10 10 10 1 gatekeeper registration option yes gatekeeper registration status not registered gatekeeper address 90 90 90 1...

Page 347: ...ern 2 Gateway config dialpeer VoIP 100 session target ras Gateway config dialpeer VoIP 200 dial peer voice 300 VoIP Gateway config dialpeer VoIP 300 destination pattern 3 Gateway config dialpeer VoIP...

Page 348: ...lar 200 Step 5 configuration Gateway sh voice port 0 1 Voice port slot 0 port 1 line type FXS status LineFree input gain 0 db output gain 0 db ring frequency 25 Hz PLAR 200 description associated call...

Page 349: ...Router Gateway Operation Manual Version 1 10 Mar 2002 AddPac Technology Co Ltd 349 AP2520 B configuration same to configuration 1 AP2520 C configuration same to configuration 1 Call Scenario 1 Phone A...

Page 350: ...In Gateway A AP2520 A configuration step 1 set interface step 2 set default routing step 3 set POTS Peer Step 4 set VoIP Peer Step 5 configuration confirmation Gateway config show dial peer voice POT...

Page 351: ...tatus up AP2520 B configuration Same to configuration 1 Call Scenario 1 Call Connection from Phone A to Phone B under PSTN Press dial No 568 3848 in connecting PSTN phone Listen dial tone press dial N...

Page 352: ...sing AP2520 VoIP gateways Phone A and B Two PBX machines under telephony networking environments AP2520 A B Configuration Same to Configuration 4 LAN HUB E0 0 10 10 10 1 S0 S0 FXO AP2520 A AP2520 B E0...

Page 353: ...l tone sound of PBX B machine and then press dial No 700 internal Number Hang up Phone B Speak over the telephone Finish speaking out 2 Phone B To Phone A connection Hang up Phone B Listen dial tone s...

Page 354: ...dialpeer VoIP 200 exit AP2520 B 4 Gateway config dial peer voice 200 VoIP 4 Gateway config dialpeer VoIP 100 destination pattern 1 Description Total 6 digit number for transmission 5 Gateway config d...

Page 355: ...FXO port Listen dial tone sound of VoIP gateway A and then press dial No 200700 in connecting part of VoIP gateway FXS voice port phone No 200 and other connecting part of PBX internal phone number 70...

Page 356: ...ould be setup static VoIP peer to peer configuration for each other gateway and gatekeeper AP2520 A Configuration Gateway config dial p voice 200 VoIP Gateway config dialpeer VoIP 200 destination patt...

Page 357: ...teway config dialpeer VoIP 800 session target 40 40 40 1 Gateway config dialpeer VoIP 800 translate outgoing called number 1 Call Scenario 1 Call from Phone A to Phone B Hang up Phone A Press dial No...

Page 358: ...g gateway A Configuration Gateway config show dial peer voice POTS Peers Pots peer 100 dest pattern 100 port 1 0 0 prefix register E 164 yes administrative status up Dial Peer 200 POTS Voice PORT 0 0...

Page 359: ...Phone B to Phone D Hang up Phone A Press dial No 100 of Phone B FXO voice port phone number Press dial No 800 of PBX machine internal phone number Speak over the telephone Finish speaking out 2 call P...

Page 360: ...ser 2 exit Gateway config voice class user 3 Gateway config vclass user 2 password 7890 Gateway config vclass user 2 max digits 0 Gateway config vclass user 2 exit call scenario 1 Phone B to PSTN user...

Page 361: ...345678 for PSTN call Speak over the telephone Finish speaking out 4 Phone B to PSTN user B using user class 3 Hang up Phone B Press dial No 100 of Phone B FXO voice port Listen shot dial tone and then...

Page 362: ...25 destinationRejection RemoteIncompatibleDestination remote side RELCOM receiving cause invalidRevision H225 IncompatibleDestination Q931 88 RELCOM transmission cause H225 destinationRejection Remote...

Page 363: ...nedReason GkCallerNotRegistered gatekeeper Gatekeeper ARJ cause callerNotRegistered RELCOM transmission cause H225 callerNotRegistered GkRouteCallToGatekeeper gatekeeper Gatekeeper ARJ cause routeCall...

Page 364: ...rFromDestination local side Local gateway receiving message failure from other side gateway T303 Expired N A LocalNoConnectFromDestination local side Local gateway CONNECT message receiving message fa...

Page 365: ...ination NoRouteToDestination 3 destinationRejection NormalCallClearing 16 invalidRevision IncompatibleDestination 88 noPermission InterworkingUnspecified 127 unreachableGatekeeper NetworkOutOfOrder 38...

Page 366: ...nout z Synchronous Serial Cable Assemble V 35 to V 35 Pinout Console Port Signal and Pinout In order to connect the Gateway console port with the Terminal Emulating PC the RJ 45 to DB9 Female DTE Conn...

Page 367: ...sequence is provided in Diagram C 1 and the transferred signal and Pinout specifications are enlisted in Table C 2 Serial Ethernet Cable Signal and Pinout Diagram D 1 10Base T RJ 45 Connector RJ 45 Si...

Page 368: ...ons and the connectors follow 34Pin J2 standards The signals and the Pinout specifications are provided in the following Table C 3 V 35 to V 35 Signal and Pinout 34Pin V 35 Router 5 8 10 1 1 1 Signal...

Reviews: