Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

Quick Links

SmartNode Series
SmartWare Release 5.1
Software Configuration Guide
Sales Office:
+1 (301) 975-1000
Technical Support:
+1 (301) 975-1007
E-mail: support@patton.com
URL: www.patton.com
Document Number: 13211U8-006 Rev. A
Part Number: 07MSWR51_SCG
Revised: February 6, 2008

Advertisement

Table of Contents
loading

Summary of Contents for Patton electronics SmartNode Series

  • Page 1 SmartNode Series SmartWare Release 5.1 Software Configuration Guide Sales Office: +1 (301) 975-1000 Technical Support: +1 (301) 975-1007 E-mail: support@patton.com URL: www.patton.com Document Number: 13211U8-006 Rev. A Part Number: 07MSWR51_SCG Revised: February 6, 2008...
  • Page 2 Patton Electronics Company, Inc. 7622 Rickenbacker Drive, Gaithersburg, MD 20879 USA Tel: +1 (301) 975-1000 • Fax: +1 (301) 869-9293 • Support: +1 (301) 975-1007 Web: www.patton.com • E-mail: support@patton.com Copyright Statement Copyright © 2008, Patton Electronics Company. All rights reserved. Trademark Statement The terms SmartWare, SmartView, SmartLink, and SmartNode are trademarks of Patton Electronics Com- pany.
  • Page 3: Summary Table Of Contents

    Summary Table of Contents System overview ............................38 Configuration concepts ..........................44 Command line interface (CLI) ........................49 Accessing the CLI ............................53 System image handling..........................64 Configuration file handling........................... 75 Basic system management ..........................89 RADIUS Client Configuration........................101 IP context overview .............................
  • Page 4 SmartWare Software Configuration Guide VPN configuration ............................360 CS interface configuration........................... 379 ISDN interface configuration........................388 FXS interface configuration......................... 402 FXO interface configuration ........................409 RBS interface configuration ........................421 H.323 interface configuration ........................426 SIP interface configuration ......................... 436 Call router configuration..........................
  • Page 5: Table Of Contents

    Table of Contents Summary Table of Contents ........................... 3 Table of Contents ............................5 List of Figures ............................... 27 List of Tables ..............................29 About this guide ............................30 Audience................................30 How to read this guide ............................30 Structure................................31 Precautions ................................
  • Page 6 SmartWare Software Configuration Guide Table of Contents Command line interface (CLI) ........................49 Introduction ................................50 Command modes ..............................50 CLI prompt ..............................50 Navigating the CLI ............................51 Initial mode ..............................51 System changes ............................51 Configuration ............................51 Changing Modes ............................51 Command editing ..............................51 Command help ...............................51 The No form ..............................51...
  • Page 7 SmartWare Software Configuration Guide Table of Contents Auto provisioning of firmware and configuration ....................71 Boot procedure..............................73 Factory configuration ............................74 Default Startup Configuration ........................74 IP Addresses in the Factory Configuration ......................74 Configuration file handling........................... 75 Introduction ................................76 Understanding configuration files ........................76 Factory configuration ............................78 Configuration file handling task...
  • Page 8 SmartWare Software Configuration Guide Table of Contents RADIUS configuration............................105 Configuring RADIUS clients ........................106 Configuring RADIUS accounting .........................107 Configuring the RADIUS server ........................109 Attributes in the RADIUS request message .....................109 Attributes in the RADIUS accept message ....................110 Configuring the local database accounts ......................110 IP context overview .............................
  • Page 9 SmartWare Software Configuration Guide Table of Contents Configuring the IGMP Proxy..........................129 NAT/NAPT configuration........................... 130 Introduction ................................131 Dynamic NAPT ............................131 Static NAPT ..............................132 Dynamic NAT ..............................132 Static NAT ..............................133 NAPT traversal .............................133 NAT/NAPT configuration task list ........................134 Creating a NAPT profile ..........................134 Configuring a NAPT DMZ host ......................135...
  • Page 10 SmartWare Software Configuration Guide Table of Contents Command cross reference ..........................154 Link scheduler configuration task list........................154 Defining the access control list profile ......................155 Packet classification ..........................155 Creating an access control list ........................156 Creating a service policy profile ........................157 Specifying the handling of traffic-classes ......................159 Defining fair queuing weight ........................159...
  • Page 11 SmartWare Software Configuration Guide Table of Contents Debugging Frame Relay ..........................183 Displaying Frame Relay information ......................184 Integrated service access ..........................185 Example 1: Frame Relay on e1t1 without a channel-group ................187 PRI port configuration..........................189 Introduction ................................190 PRI port configuration task list..........................190 Enable/Disable PRI port ..........................191...
  • Page 12 SmartWare Software Configuration Guide Table of Contents Entering HDLC configuration mode ......................206 Configuring HDLC encapsulation ........................206 BRI Debugging .............................207 BRI Configuration Examples ........................208 Example 1: ISDN with auto clock/uni-side settings ................208 Example 2: ISDN with manual clock/uni-side settings ................208 Example 3: Multi-Link PPP over two B-Channels ..................209 ISDN Overview ............................
  • Page 13 SmartWare Software Configuration Guide Table of Contents Troubleshooting DSL Connections ........................232 Basic IP routing configuration ........................233 Introduction ................................234 Routing tables ...............................234 Static routing ..............................234 Policy routing ...............................234 Basic IP routing configuration task list ........................234 Configuring static IP routes ..........................235 Deleting static IP routes ..........................236 Displaying IP route information...
  • Page 14 SmartWare Software Configuration Guide Table of Contents Adding a filter rule to the current access control list profile ................255 Adding an ICMP filter rule to the current access control list profile ..............257 Adding a TCP, UDP or SCTP filter rule to the current access control list profile .........259 Binding and unbinding an access control list profile to an IP interface ............261...
  • Page 15 SmartWare Software Configuration Guide Table of Contents Additional information on NTP and a list of other NTP servers ..............289 DHCP configuration........................... 290 Introduction ................................291 DHCP-client configuration tasks.........................292 Enable DHCP-client on an IP interface ......................292 Release or renew a DHCP lease manually (advanced) ...................294 Get debug output from DHCP-client ......................294...
  • Page 16 SmartWare Software Configuration Guide Table of Contents Creating a PPP profile ...........................319 Configuring the local and remote PPP MRRU .....................321 Displaying PPP configuration information ....................322 Debugging PPP ............................323 Sample configurations ............................327 PPP over Ethernet (PPPoE) ..........................327 Without authentication, encapsulation multi, with NAPT ..............327 With authentication, encapsulation PPPoE .....................327...
  • Page 17 SmartWare Software Configuration Guide Table of Contents Activating CS context configuration ........................347 Planning the CS context ..........................350 Configuring general CS settings ........................351 Configuring call routing ..........................351 Configuring VoIP settings ..........................353 Configuring BRI ports ..........................353 Configuring an H.323 VoIP connection .......................354 Activating the CS context configuration ......................354 Showing the running configuration...
  • Page 18 SmartWare Software Configuration Guide Table of Contents IPsec tunnel, 3DES encryption at 192 bit key length, ESP authentication with HMAC-MD5-96 ....377 SmartNode configuration ........................377 Cisco router configuration ........................377 CS interface configuration........................... 379 Introduction ................................380 CS interface configuration task list ........................380 Creating and configuring CS interfaces........................381 Configuring call routing...
  • Page 19 SmartWare Software Configuration Guide Table of Contents Call toggle ..............................407 Call transfer ..............................407 Conferencing ..............................408 Call park ...............................408 FXO interface configuration ........................409 Introduction ................................410 FXO services description .............................411 Creating an FXO interface...........................411 Deleting an FXO interface...........................412 FXO interface configuration task list ........................413 FXO off-hook on caller ID ...........................413...
  • Page 20 SmartWare Software Configuration Guide Table of Contents AOC-D Support for H.323 ..........................434 SIP interface configuration ......................... 436 Introduction ................................437 SIP interface configuration task list........................437 Binding the interface to a SIP gateway ......................438 Configure a remote host ..........................438 Configuring a local host (Optional) ......................439 Using an alternate VoIP profile (Optional) ....................439...
  • Page 21 SmartWare Software Configuration Guide Table of Contents Numbering plan routing table ........................468 Name routing table ............................469 IP address routing table ..........................469 URI routing table ............................470 Presentation Indicator Routing Table ......................470 Screening Indicator Routing Table .......................471 Information transfer capability routing table ....................472 Call-router support for redirecting number and redirect reason ..............473...
  • Page 22 SmartWare Software Configuration Guide Table of Contents Enable push-back – hunt group service .....................518 Enable push-back – limiter service ....................518 Enable push-back – priority service ....................518 SIP call-router services ..........................519 Introduction ................................520 SIP conference-service ............................520 SIP conference-service configuration task list ....................520 Entering conference-service configuration mode ..................520...
  • Page 23 SmartWare Software Configuration Guide Table of Contents Configure registration authentication service (RAS) (Optional) ..............544 Configure H.235 Security (optional) ......................545 H.235 configuration .............................546 Advanced configuration options (optional) ....................549 Enabling H.245 Tunneling ........................549 Enabling the fastconnect procedure ......................550 Enabling the early H.245 procedure ......................550 Changing the TCP port for inbound call-signaling connections ..............551...
  • Page 24 SmartWare Software Configuration Guide Table of Contents Configuring DTMF relay ..........................574 Configuring RTP payload types ........................574 Configuring RTP payload type for transparent-clearmode ................575 Configuring RTP payload types for the g726-32k and g726-32k-cisco coders ..........575 Configuring RTP payload type for Cisco NSE ....................575 Configuring Cisco NSE for Fax ........................575...
  • Page 25 SmartWare Software Configuration Guide Table of Contents Location Service ............................602 Introduction ................................603 Location Service configuration task list ........................603 Creating a Location Service ...........................603 Adding a domain ............................603 Creating an identity ............................604 Authentication outbound face .........................605 Authentication inbound face ........................606 Registration outbound face ........................608 Registration inbound face...
  • Page 26 SmartWare Software Configuration Guide Table of Contents Command summary ........................... 645 Introduction ................................646 New Configuration Commands ..........................647 Other...................................647 Show help ..............................647 Show command history ..........................647 Restart system ...............................647 Internetworking terms & acronyms ......................648 Abbreviations...............................649 Used IP ports & available voice codecs ......................
  • Page 27: List Of Figures

    List of Figures Basic system (abstract) model ............. . 40 Typical carrier network application with a SmartNode.
  • Page 28 SmartWare Software Configuration Guide Remote office in an Enterprise network ........... . . 340 Direct call routing from one SmartNode to another .
  • Page 29: List Of Tables

    List of Tables General conventions ..............34 Mouse conventions .
  • Page 30: About This Guide

    About this guide The objective of this SmartWare Software Configuration Guide is to provide information concerning the syntax and usage of the command set. For hardware specfic information, refer to the getting started guide that came with your unit. This section describes the following: •...
  • Page 31: Structure

    SmartWare Software Configuration Guide About this guide Structure This guide contains the following chapters and appendices: • Chapter 1, "System overview" on page 38 provides an overview of the main elements of a SmartWare system. • Chapter 2, "Configuration concepts" on page 44 introduces basic SmartWare configuration concepts.
  • Page 32 SmartWare Software Configuration Guide About this guide • Chapter 19, "ISDN configuration" on page 215 describes the configuration of the Q.921 and Q.931 proto- col and how to bind the ISDN protocol to an application. • Chapter 20, "RBS configuration" on page 223 describes the configuration of the Robbed Bit Signaling (RBS) protocol and how to bind it to the Call Control application.
  • Page 33 SmartWare Software Configuration Guide About this guide • Chapter 36, "FXO interface configuration" on page 409 provides an overview of FXO interfaces and the tasks involved in configuring them. • Chapter 38, "H.323 interface configuration" on page 426 provides an overview of H.323 interfaces used by H.323 gateways and describes the specific tasks involved in their configuration.
  • Page 34: Precautions

    SmartWare Software Configuration Guide About this guide • Appendix E, "Used IP ports & available voice codecs" on page 653 describes the used IP ports and available voice codecs in SmartWare. • Appendix F, "Notes for upgrading from R3.10 to R3.20" on page 618 describes how to upgrade a SmartNode device from Release 3.10 to 3.20.
  • Page 35 SmartWare Software Configuration Guide About this guide Table 1. General conventions Convention Meaning An hash sign at the beginning of a line indicates a comment line.
  • Page 36: Mouse Conventions

    SmartWare Software Configuration Guide About this guide Mouse conventions The following conventions are used when describing mouse actions: Table 2. Mouse conventions Convention Meaning Left mouse button This button refers to the primary or leftmost mouse button (unless you have changed the default configuration).
  • Page 37: Warranty Service And Returned Merchandise Authorizations (Rmas)

    SmartWare Software Configuration Guide About this guide Warranty Service and Returned Merchandise Authorizations (RMAs) Patton Electronics is an ISO-9001 certified manufacturer and our products are carefully tested before ship- ment. All of our products are backed by a comprehensive warranty program. Note If you purchased your equipment from a Patton Electronics reseller, ask your reseller how you should proceed with warranty service.
  • Page 38: System Overview

    Chapter 1 System overview Chapter contents Introduction ................................39 SmartWare embedded software ..........................40 Applications................................41 Carrier networks .............................41 Enterprise networks ............................42 LAN telephony ...............................43...
  • Page 39: Introduction

    SmartWare Software Configuration Guide 1 • System overview Introduction This chapter provides an overview of the main elements of a SmartNode system. A complete SmartNode system or network, as installed in any of the application scenarios introduced in section “Applications” on page 41, is typically composed of the following main elements plus a third-party network infra- structure: •...
  • Page 40: Smartware Embedded Software

    SmartWare Software Configuration Guide 1 • System overview Figure 1 depicts the basic system model of a Patton SmartNode. All SmartNode devices have the following main components: • 64k circuit switching between on-board ISDN ports and between ISDN and PSTN interface cards. The circuit switching engine uses dedicated hardware resources and therefore can bypass the VoIP gateway and packet routing engine.
  • Page 41: Applications

    SmartWare Software Configuration Guide 1 • System overview Applications The Patton SmartNode product family consists of highly flexible multi-service IP network devices, which fit a range of networking applications. This section provides an overview of the following SmartNode applications and the main elements in a SmartNode network. •...
  • Page 42: Enterprise Networks

    SmartWare Software Configuration Guide 1 • System overview Typical services in these networks are softswitch-based telephony, PSTN access through V5.2 gateways, PBX networking services, and LAN interconnection. Typical access technologies for these networks include xDSL, WLL, PowerLine, cable and conventional leased lines.
  • Page 43: Lan Telephony

    SmartWare Software Configuration Guide 1 • System overview PSTN IPPBX Node IP Phones Figure 4. Typical LAN telephony system with a SmartNode gateway LAN telephony With its voice-over-IP gateway features, the SmartNode can be used as a standalone gateway for VoIP tele- phony (see figure A standalone gateway has performance reliability and scalability advantages compared with PC-based gateway...
  • Page 44 Chapter 2 Configuration concepts Chapter contents Introduction ................................45 Contexts and Gateways............................46 Context ................................46 Gateway ................................46 Interfaces, Ports, and Bindings..........................47 Interfaces ................................47 Ports and circuits ............................47 Bindings ................................47 Profiles and Use commands...........................48 Profiles ................................48 Use Commands ..............................48...
  • Page 45: Configuration Concepts

    SmartWare Software Configuration Guide 2 • Configuration concepts Introduction This chapter introduces basic SmartWare configuration concepts. A good understanding of these concepts is vital for the configuration tasks explained in the remaining chapters of this guide. Patton strongly recommends that you read through this chapter because it introduces the fundamental ideas behind the structure of the command line interface.
  • Page 46: Contexts And Gateways

    SmartWare Software Configuration Guide 2 • Configuration concepts lines) commands. For example, you need bind commands to bind a physical port to a logical interface, and use commands to assign profiles to contexts. The sections that follow refer to figure 5 on page 45 and describe the concepts and elements in more detail.
  • Page 47: Interfaces, Ports, And Bindings

    SmartWare Software Configuration Guide 2 • Configuration concepts Interfaces, Ports, and Bindings Interfaces The concept of an interface in SmartWare differs from that in traditional networking devices. Traditionally, the term interface is often synonymous with port or circuit, which are physical entities. In SmartWare however, an interface is a logical construct that provides higher-layer protocol and service information, such as layer 3 addressing.
  • Page 48: Profiles And Use Commands

    SmartWare Software Configuration Guide 2 • Configuration concepts Profiles and Use commands Profiles Profiles provide configuration shortcuts. They contain specific settings that can be used in multiple contexts, interfaces, or gateways. This concept allows to avoid repetitions of groups of configuration commands that are the same for multiple elements in a configuration.
  • Page 49: Command Line Interface (Cli)

    Chapter 3 Command line interface (CLI) Chapter contents Introduction ................................50 Command modes ..............................50 CLI prompt ..............................50 Navigating the CLI ............................51 Initial mode ..............................51 System changes ............................51 Configuration ............................51 Changing Modes ............................51 Command editing ..............................51 Command help ...............................51 The No form ..............................51 Command completion ............................51...
  • Page 50: Introduction

    SmartWare Software Configuration Guide 3 • Command line interface (CLI) Introduction The primary user interface to SmartWare is the command line interface (CLI). You can access the CLI via the SmartNode console port or through a Telnet session. The CLI lets you configure the complete SmartWare functionality.
  • Page 51: Navigating The Cli

    SmartWare Software Configuration Guide 3 • Command line interface (CLI) Navigating the CLI Initial mode When you initiate a session, you can log in with operator or administrator privileges. Whichever login you use, the CLI is always set to operator exec (non-privileged exec) mode by default upon startup. This mode allows you to examine the state of the system using a subset of the available CLI commands.
  • Page 52: Command History

    SmartWare Software Configuration Guide 3 • Command line interface (CLI) CLI to complete the command at the prompt. If the number of characters is not sufficient to uniquely identify the command, the CLI will provide a list with all commands starting with the typed characters. For example, if you enter the string co in the configure mode and press <tab>, the selections , and configure...
  • Page 53: Accessing The Cli

    Chapter 4 Accessing the CLI Chapter contents Introduction ................................54 Accessing the SmartWare CLI task list........................54 Accessing via the console port .........................55 Console port procedure ..........................55 Telnet Procedure ............................56 Using an alternate TCP listening port for the Telnet server ................56 Disabling the Telnet server ..........................56 Logging on ..............................56...
  • Page 54: Introduction

    SmartWare Software Configuration Guide 4 • Accessing the CLI Introduction SmartNode products are designed for remote management and volume deployment. The management and configuration of SmartNodes is therefore based on IP network connectivity. Once a SmartNode is connected to, and addressable in, an IP network, you can remotely perform all configuration, management, and mainte- nance tasks.
  • Page 55: Accessing Via The Console Port

    SmartWare Software Configuration Guide 4 • Accessing the CLI • Ending a Telnet or console port session (see page Accessing via the console port If a console port is available, the host computer can be connected directly to it with a serial cable (see figure The host must use a terminal emulation application that supports serial interface communication.
  • Page 56: Telnet Procedure

    SmartWare Software Configuration Guide 4 • Accessing the CLI Accessing via a Telnet session This is the most commonly used and recommended method for connecting to a SmartNode. It is way faster than console access.The Telnet host accesses the SmartNode via its network interface. Note If the IP configuration of the Ethernet port (LAN port) is not known or is incorrectly configured, you will have to use the console interface.
  • Page 57: Selecting A Secure Password

    SmartWare Software Configuration Guide 4 • Accessing the CLI Figure 7. Login display Upon logging in you are in operator execution mode, indicated by the “>” as command line prompt. Now you can enter system commands. Note Details on screen in figure 7, such as the IP address in the system prompt and window header bar, may be different on your unit.
  • Page 58: Password Encryption

    SmartWare Software Configuration Guide 4 • Accessing the CLI Password encryption Unencrypted passwords can be stolen by hackers using protocol analyzers to scan packets or by examining the configuration file—to protect against that type of theft, SmartWare encrypts passwords by default. Encryption prevents the password from being readable in the configuration file.
  • Page 59: Creating An Administrator Account

    SmartWare Software Configuration Guide 4 • Accessing the CLI node(cfg)#copy running-config startup-config Creating an administrator account Administrators can run the command and access additional information within the SmartWare config- enable uration modes. Therefore administrators can modify the system configuration, as well as view all relevant sys- tem information.
  • Page 60: Switching To Another Account

    SmartWare Software Configuration Guide 4 • Accessing the CLI Mode: Administrator execution Step Command Purpose node#show accounts Displays the currently-configured administrator and operator accounts Example: Display account information The following example shows how to display information about existing administrator and operator accounts. node#show accounts administrator accounts: super...
  • Page 61: Command Index Numbers

    SmartWare Software Configuration Guide 4 • Accessing the CLI Mode: Administrator or operator execution Step Command Purpose node#who Shows more detailed information about the users ID, name, state, idle time and location node>who Shows the user login identity Example: Checking identity and connected users The following example shows how to report who is logged in or more detailed information about users and process states, depending on the execution mode in which you are working.
  • Page 62 SmartWare Software Configuration Guide 4 • Accessing the CLI of the list. Also, you can change a commands position in a listing (moving it up or down in the list) by chang- ing its index number. Example 1: Moving the G.723 codec from position 3 in the list to position 1 at the top of the list. Listing before changing the G.723 codec index number: profile voip default codec 1 g711ulaw64k rx-length 20 tx-length 20...
  • Page 63: Ending A Telnet Or Console Port Session

    SmartWare Software Configuration Guide 4 • Accessing the CLI Ending a Telnet or console port session Use the command in the operator or administration execution mode to end a Telnet or console port ses- logout sion. To confirm the command, you must enter yes on the dialog line as shown in the example below. logout Mode: Operator execution Step...
  • Page 64: System Image Handling

    Chapter 5 System image handling Chapter contents Introduction ................................65 Memory regions in SmartWare..........................66 System image handling task list ..........................67 Displaying system image information ......................68 Copying system images from a network server to Flash memory ..............68 Upgrading the software directly ........................70 Auto provisioning of firmware and configuration ....................71 Boot...
  • Page 65: Introduction

    SmartWare Software Configuration Guide 5 • System image handling Introduction This chapter describes how to load, maintain, and update the various software images in the SmartNode. The SmartWare system software consists of the application image and the driver images. The images are stored in persistent (non-volatile) memory.
  • Page 66: Memory Regions In Smartware

    SmartWare Software Configuration Guide 5 • System image handling Memory regions in SmartWare The SmartNode’s memory contains several logical regions and several physical regions as shown in figure 8 page 67, each separate from the other. Note You will use a remote TFTP server for uploading and downloading the application image, the driver images, and the various configuration files to the SmartNode.
  • Page 67: System Image Handling Task List

    SmartWare Software Configuration Guide 5 • System image handling Operating configurations cannot be executed from the persistent memory, so the configuration used for oper- ating the SmartNode is copied into the volatile memory of the SmartNode prior to normal operation. This procedure takes place after the system bootstrap, where the application image (i.e.
  • Page 68: Displaying System Image Information

    SmartWare Software Configuration Guide 5 • System image handling Displaying system image information This procedure displays information about system images and driver software Mode: Administrator execution Step Command Purpose show version Lists the system software release version, information about optional interface cards mounted in slots and other information that is the currently running system software.
  • Page 69 SmartWare Software Configuration Guide 5 • System image handling Comment lines must have a hash character # in column one and can appear anywhere in the script file. Com- ment lines contain information for administrators or operators who maintain or use the script file. The following example shows a script file used to download a system image and command line syntax defini- tion file from a TFTP server.
  • Page 70: Upgrading The Software Directly

    SmartWare Software Configuration Guide 5 • System image handling After the successful download, either issue the command (in order to start the IPNode with the new reload software) or restart the H.323 gateway, thus enabling calls again (with the current software): node(gw-h323)[h323]#no shutdown Upgrading the software directly It is possible to upgrade the software directly by passing the name of the delivered zip-file to the CLI command...
  • Page 71: Auto Provisioning Of Firmware And Configuration

    SmartWare Software Configuration Guide 5 • System image handling Auto provisioning of firmware and configuration The new auto provisioning capability enables you to automatically distribute up-to-date configurations and firmware to a large number of units using TFTP. It works as follows: The unit downloads a specific file from a TFTP server.
  • Page 72 SmartWare Software Configuration Guide 5 • System image handling Step Command Purpose [name] (pf-prov)[CONFIG]#location 1 Specifies the location of the file to check tftp://tftp1.provider.net /configs/ for changes. $(system.mac) is a place- $(system.mac).cfg holder for the unit’s MAC address of ETH 0/0. Using host names instead of IP addresses works only if DNS resolver is enabled and configured.
  • Page 73: Boot Procedure

    SmartWare Software Configuration Guide 5 • System image handling Boot procedure During a normal boot procedure of a SmartNode, the bootstrap application checks for an application image in the persistent memory of the logical region nvram:. The application image is then executed, i.e. the SmartWare is started module by module.
  • Page 74: Factory Configuration

    SmartWare Software Configuration Guide 5 • System image handling The bootloader ensures that basic operations, network access, and downloads are possible in case of interrupted or corrupted application image downloads. After downloading an application image (that is, new system software/software upgrade), the bootloader ensures that basic operations, network access, and downloads are possible in case of interrupted or corrupted application image downloads.
  • Page 75: Configuration File Handling

    Chapter 6 Configuration file handling Chapter contents Introduction ................................76 Understanding configuration files ........................76 Factory configuration ............................78 Configuration file handling task list........................78 Copying configurations within the local memory ....................79 Replacing the startup configuration with a configuration from Flash memory ..........80 Copying configurations to and from a remote storage location ................81 Replacing the startup configuration with a configuration downloaded from TFTP server .......82...
  • Page 76: Introduction

    SmartWare Software Configuration Guide 6 • Configuration file handling Introduction This chapter describes how to upload and download configuration files from and to SmartWare. A configura- tion file is a batch file of SmartWare commands used in the software modules that perform specific functions of the SmartNode.
  • Page 77 SmartWare Software Configuration Guide 6 • Configuration file handling Figure 10, shows the characteristics of a configuration file. It is stored on a TFTP server in the file myconfig.cfg for later download. The command syntax used to enter commands with the CLI and add commands in config- uration files is identical.
  • Page 78: Factory Configuration

    SmartWare Software Configuration Guide 6 • Configuration file handling bind gateway h323 # H.323 gateway primarily used gateway h323 faststart no ras gatekeeper-discovery auto bind interface lan router no shutdown port ethernet 0 0 medium auto encapsulation ip bind interface lan router no shutdown port ethernet 0 1 medium 10 half...
  • Page 79: Copying Configurations Within The Local Memory

    SmartWare Software Configuration Guide 6 • Configuration file handling • Copying configurations within the local memory (see page • Replacing the startup configuration with a configuration from the Flash memory (see page • Copying configurations to and from a remote storing location (see page •...
  • Page 80: Replacing The Startup Configuration With A Configuration From Flash Memory

    SmartWare Software Configuration Guide 6 • Configuration file handling You can copy the current running configuration into the persistent memory region nvram: under a user-speci- fied name, if you want to preserve that configuration. In addition, an already existing configuration is usually copied into the persistent memory region nvram: by using a user-specified name, for conservation or later activation.
  • Page 81: Copying Configurations To And From A Remote Storage Location

    SmartWare Software Configuration Guide 6 • Configuration file handling Copying configurations to and from a remote storage location Configuration files can be copied from local memory (persistent or volatile region) to a remote data store. From within SmartWare, the remote TFTP server is represented by the memory region tftp: in combination with the IP address of the TFTP server and the name and path of the configuration file.
  • Page 82: Replacing The Startup Configuration With A Configuration Downloaded From Tftp Server

    SmartWare Software Configuration Guide 6 • Configuration file handling Replacing the startup configuration with a configuration downloaded from TFTP server From within the administration execution mode, you can replace the startup-configuration by downloading a configuration from the TFTP server into the flash memory area where to store the startup configuration. Mode: Administrator execution Step Command...
  • Page 83: Modifying The Running Configuration At The Cli

    SmartWare Software Configuration Guide 6 • Configuration file handling It is recommended that you never save a configuration in startup- config or a user-specific configuration with the cli config defaults command because the additional list of default commands con- IMPORTANT sumes significant portions of the nvram: memory.
  • Page 84: Modifying The Running Configuration Offline

    SmartWare Software Configuration Guide 6 • Configuration file handling Example: Modifying the running configuration at the CLI The following example shows how to modify the currently running configuration via the CLI and save it as the startup configuration. node#configure node(cfg)#… node(cfg)#copy running-config startup-config node(cfg)#reload Press 'yes' to restart, 'no' to cancel : yes...
  • Page 85: Deleting A Specified Configuration

    SmartWare Software Configuration Guide 6 • Configuration file handling Example: Modifying the running configuration offline The following example shows how to upload the running configuration from the SmartNode to the file cur- rent-config on a TFTP server at IP address 172.16.36.80. The uploaded configuration file is written into the root directory specified by the TFTP server settings, and overwrites any existing file with the same name.
  • Page 86: Encrypted File Download

    SmartWare Software Configuration Guide 6 • Configuration file handling startup-config factory-config Encrypted file download This section explains how configuration files can be transported encrypted over IP. TFTP as a configuration download mechanism has the advantage of being extremely simple (trivial) and appli- cable in any network without any requirements for specialized management servers or applications.
  • Page 87: Use Cases

    SmartWare Software Configuration Guide 6 • Configuration file handling enctool decrypt <enc-config-file> <plain-config-file> [<key>] A log file lists the last up/downloads: show log file-transfer Use Cases Install a custom encryption key (optional) You can install a custom encryption key with the SmartNode. The encryption key is used to automatically decrypt an encrypted configuration file that is downloaded later.
  • Page 88 SmartWare Software Configuration Guide 6 • Configuration file handling 123100000020002abc000cf187d909XYZ Then you have to download the created key file to the SmartNode. Open a telnet session and type in the fol- lowing commands: >enable #copy tftp://<ip>/<path> key: where <ip> is the IP address of your TFTP server and <path> is the path to the key file relative to the TFTP root.
  • Page 89: Basic System Management

    Chapter 7 Basic system management Chapter contents Introduction ................................90 Basic system management configuration task list ....................90 Managing feature license keys .........................91 Setting system information ..........................92 Setting the system banner ..........................93 Setting time and date ............................94 Display clock information ..........................94 Display time since last restart ..........................95 Configuring the Web server ..........................95...
  • Page 90: Introduction

    SmartWare Software Configuration Guide 7 • Basic system management Introduction This chapter describes parameters that report basic system information to the operator or administrator, and their configuration. The following are basic parameters that can be established when setting up a new system: •...
  • Page 91: Managing Feature License Keys

    SmartWare Software Configuration Guide 7 • Basic system management Managing feature license keys Several features of the firmware require a system specific license key to be installed to enable the feature. This section describes how to install the feature license keys on your equipment. Because license keys comprise very long strings of characters, the standard way of installing them is to download the file containing the license keys from a TFTP server to the equipment.
  • Page 92: Setting System Information

    SmartWare Software Configuration Guide 7 • Basic system management node(cfg)#show licenses VPN [vpn] License serial number: 14343534 Status: Active node(cfg)# Setting system information The system information includes the following parameters: • Contact • Hostname • Location • Provider • Subscriber •...
  • Page 93: Setting The System Banner

    SmartWare Software Configuration Guide 7 • Basic system management Mode: Configure Step Command Purpose node(cfg)#system contact information Sets the contact information to information node(cfg)#system hostname information Sets the hostname to information node(cfg)#system location information Sets the location information to information node(cfg)#system provider information Sets the provider information to information node(cfg)#system subscriber information...
  • Page 94: Setting Time And Date

    SmartWare Software Configuration Guide 7 • Basic system management Example: Setting the system banner The following example shows how to set a message for the system banner for your device, if you start from the configuration mode. node(cfg)#banner \n#\n# The password of all operators has changed\n# please contact the administrator\n#"...
  • Page 95: Display Time Since Last Restart

    SmartWare Software Configuration Guide 7 • Basic system management Display time since last restart This procedure describes how to display the time since last restart Mode: Operator execution Step Command Purpose node>show uptime Display the time since last restart. Example: The following example shows how to display the uptime of your device, if you start from the configuration mode.
  • Page 96: Restarting The System

    SmartWare Software Configuration Guide 7 • Basic system management Example: Defining the desired CLI version The following example shows how to determine the running CLI version and define CLI version 2.10 for your device, if you start from the configuration mode. node(cfg)#show version cli CLI version : 3.00 node(cfg)#cli version 2.10...
  • Page 97: Displaying Reports

    SmartWare Software Configuration Guide 7 • Basic system management System resets may have a number of reasons, the most prominent being a manual reset issued on the Telnet/ console (‘reload’). Other reset reasons include power off failures and system failures. In order to pinpoint the problem, the reset log contains the reset cause.
  • Page 98 SmartWare Software Configuration Guide 7 • Basic system management Mode: Administrator execution Step Command Purpose Execute the first command node#<Ctrl-Z> Suspend the active command and get system prompt back Execute the second command node#jobs Shows the currently running commands node#fg jobid Brings job with jobid back to foreground node#<Ctrl-C>...
  • Page 99: Timed Execution Of Cli Command

    SmartWare Software Configuration Guide 7 • Basic system management Timed execution of CLI command The command allows the timed execution of CLI commands. The command is incremental; this timer timer means for each time it is entered, a new timer is created. All timers appear in the running-configuration, except if they have been created with the volatile option.
  • Page 100 SmartWare Software Configuration Guide 7 • Basic system management Step Command Purpose [name] (sys)#[no] terminal idle-time- After 30 minutes without user input, a terminal session logout is automatically closed. If longer session periods are required (logging/debugging) this command allows to increase the session timeout, or to disable it com- pletely.
  • Page 101: Radius Client Configuration

    Chapter 8 RADIUS Client Configuration Chapter contents Introduction ................................102 The AAA component ............................102 General AAA Configuration ..........................103 RADIUS configuration............................105 Configuring RADIUS clients ........................106 Configuring RADIUS accounting .........................107 Configuring the RADIUS server ........................109 Attributes in the RADIUS request message .....................109 Attributes in the RADIUS accept message ....................110 Configuring the local database accounts ......................110...
  • Page 102: Introduction

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration Introduction This chapter provides an overview of the authentication, authorization, and accounting (AAA) component and describes how to configure the RADIUS client, a subpart of the AAA component. It is important to under- stand how AAA works before configuring the RADIUS client.
  • Page 103: General Aaa Configuration

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration Figure 14 illustrates the authentication procedure for a user logging into a SmartNode that is configured to use RADIUS as authentication method. AAA Server (RADIUS) 3. Authentication accepted 4. Access granted 2.
  • Page 104 SmartWare Software Configuration Guide 8 • RADIUS Client Configuration 3. Query the local database (see “Configuring the local database accounts” on page 110 for information on how to configure the local database) If, e.g. radius_deepblue is not available, radius_extern will be queried after a timeout. But if radius_deepblue gives an answer that rejects the login request, the remaining methods are not used and the login is denied.
  • Page 105: Radius Configuration

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration node(pf-auth)[remote-~]#exit node(cfg)# node(cfg)#profile authentication local-only node(pf-auth)[local-o~]#method local node(pf-auth)[local-o~]#method none node(pf-auth)[local-o~]#exit node(cfg)#terminal Telnet use authentication remote-radius node(cfg)#terminal console use authentication local-only node(cfg)#show profile authentication Authentication Profile: default Server-Timeout: 10 Methods: local (Type=local) none (Type=none) Authentication Profile: remote-radius Server-Timeout: 15...
  • Page 106: Configuring Radius Clients

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration Transactions between the RADIUS client and server are authenticated through the use of a shared secret, which is never sent over the network—the same secret must thus be known to the server and the client by configuration. Using this secret as an encryption key, user passwords are sent encrypted between the client and RADIUS server.
  • Page 107: Configuring Radius Accounting

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration node(cfg)# Configuring RADIUS accounting The RADIUS accounting functionality can be added to a call-router configuration by inserting an AAA call- control service between two call-router elements. Any call that is then routed through the AAA service will cause call detail records (CDRs) to be sent to the radius server.
  • Page 108 SmartWare Software Configuration Guide 8 • RADIUS Client Configuration The following procedure guides you through the steps necessary to enable RADIUS accounting in an existing configuration: Mode: Configure Step Command Purpose node(cfg)# radius-client Create a new RADIUS client <client-name> node(radius)[client-name]# Define the RADIUS server to be used.
  • Page 109: Configuring The Radius Server

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration Step Command Purpose node(svc-aaa)[svc-name]# Define, if accounting shall be started at call-setup or call-con- (Optional) accounting-start-trigger nect time. The default is at call-connect time. [setup | connect] Note If setup is specified, an interim update will be sent at call-connect time.
  • Page 110: Attributes In The Radius Accept Message

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration Attributes in the RADIUS accept message After the user and his credentials are approved by the authentication procedure on the RADIUS server, the SmartNode expects a RADIUS accept message with the following attributes: Attribute Attribute Type Description...
  • Page 111 SmartWare Software Configuration Guide 8 • RADIUS Client Configuration servers are down or the network is not reachable, you can create an emergency user in the local database so that you can still access the SmartNode. Perform the following steps to configure the local accounts. Mode: Configure Step Command...
  • Page 112: Ip Context Overview

    Chapter 9 IP context overview Chapter contents Introduction ................................113 IP context overview configuration task list......................114 Planning your IP configuration ...........................115 IP interface related information ........................115 QoS related information ..........................115 Configuring physical ports...........................115 Creating and configuring IP interfaces.........................115 Configuring NAPT .............................116 Configuring static IP routing..........................116 Configuring...
  • Page 113: Introduction

    SmartWare Software Configuration Guide 9 • IP context overview Introduction This chapter outlines the SmartWare Internet protocol (IP) context and its related components. You will get the fundamental understanding on how to set up your SmartNode to make use of IP related services. The following sections describe the configuration steps necessary to put together certain IP services and the ref- erences to the related chapters that explain the issue in more details.
  • Page 114: Ip Context Overview Configuration Task List

    SmartWare Software Configuration Guide 9 • IP context overview The IP context undertakes the task of doing all IP-related transport of data and voice packets via the logical inter- faces and available gateways. In addition, using profiles—which together with the IP context pinpoint how to handle packets for specific services—enhances the possible field of application.
  • Page 115: Planning Your Ip Configuration

    SmartWare Software Configuration Guide 9 • IP context overview Planning your IP configuration The following subsections provide network connection considerations for several types of physical ports types. Patton recommends that you draw a network overview diagram displaying all neighboring IP nodes and serial connected elements.
  • Page 116: Configuring Napt

    SmartWare Software Configuration Guide 9 • IP context overview Configuring NAPT Network address port translation (NAPT), which is an extension to NAT, uses TCP/UDP ports in addition to network addresses (IP addresses) to map multiple private network addresses to a single outside address. NAPT enables small offices to save money by requiring only one official outside IP address to connect several hosts via a SmartNode to the access network.
  • Page 117: Configuring Access Control Lists

    SmartWare Software Configuration Guide 9 • IP context overview Configuring access control lists Packet filtering helps to control packet movement through the network. Such control can help to limit net- work traffic and to restrict network use by certain users or devices. An access control list is a sequential collection of permit and deny conditions that apply to packets on a certain interface.
  • Page 118: Ip Interface Configuration

    Chapter 10 IP interface configuration Chapter contents Introduction ................................119 IP interface configuration task list........................119 Creating an IP interface ..........................119 Deleting an IP interface ..........................120 Setting the IP address and netmask .......................121 Configuring a NAPT DMZ interface ......................121 ICMP message processing ..........................122 ICMP redirect messages ..........................122...
  • Page 119: Introduction

    SmartWare Software Configuration Guide 10 • IP interface configuration Introduction This chapter provides a general overview of IP interfaces and describes the tasks involved in their configura- tion. An interface is a logical entity that provides higher-layer protocol and service information, such as Layer 3 addressing.
  • Page 120: Deleting An Ip Interface

    SmartWare Software Configuration Guide 10 • IP interface configuration Example: Create IP interfaces The procedure illustrated below assumes that you would like to create an IP interface named lan Use the fol- lowing commands in administrator configuration mode. node>enable node#configure node(cfg)#context ip router node(ctx-ip)[router]#interface lan node(if-ip)[lan]#...
  • Page 121: Setting The Ip Address And Netmask

    SmartWare Software Configuration Guide 10 • IP interface configuration Setting the IP address and netmask Each IP interface needs its explicit IP address and an appropriate net mask to be set. You can use the interface configuration command to perform the following tasks: ipaddress •...
  • Page 122: Icmp Message Processing

    SmartWare Software Configuration Guide 10 • IP interface configuration ICMP message processing The IP suite offers a number of services that control and manage IP connections. The Internet Control Mes- sage Protocol (ICMP) provides many of these services. Routers send ICMP messages to hosts or other routers when a problem is discovered with the Internet header.
  • Page 123: Defining The Mtu And Mss Of The Interface

    SmartWare Software Configuration Guide 10 • IP interface configuration Mode: Interface Step Command Purpose node(ctx-ip)[router]#interface name Selects the interface name for ICMP message pro- cessing configuration node(if-ip)[name]# icmp router-discovery Enables to send router advertisement broadcast messages Example: Router advertisement broadcast message The following example shows how to enable sending router advertisement broadcast messages on IP interface lan.
  • Page 124: Configuring An Interface As A Point-To-Point Link

    SmartWare Software Configuration Guide 10 • IP interface configuration The following example shows how to define the MTU of the IP interface lan to 1000 and to adjust the MSS in both directions to MTU-40. Use the following commands in IP context configuration mode. node(ctx-ip)[router]#interface lan node(if-ip)[lan]#mtu 1000 node(if-ip)[lan]#tcp adjust-mss rx mtu...
  • Page 125: Displaying Dynamic Arp Entries

    SmartWare Software Configuration Guide 10 • IP interface configuration ------------------------------------------------------------ Context: router Name: IP Address: 172.17.100.210 255.255.255.0 MTU: 1500 ICMP router-discovery: enabled ICMP redirect: send only State: CLOSED Binding: ethernet 0 0 1/ethernet/ip … Displaying dynamic ARP entries The following command can be used to display the dynamically learned ARP entries on an IP interface or on the entire system.
  • Page 126: Ip Link Supervision

    SmartWare Software Configuration Guide 10 • IP interface configuration Mode: Either operator or administrator execution Step Command Purpose node#ping <address> [<num- Sends ICMP ECHO_REQUEST packets to network hosts at IP ber> ] [timeout <seconds> ] address <address> [packet-size <packet-size> ] [ttl <ttl>...
  • Page 127: Check Connectivity Of An Ip Link

    SmartWare Software Configuration Guide 10 • IP interface configuration mal traffic and the IP router removes all routes pointing to that interface. Now, traffic previously flowing over that interface is routed through the interface with IP routes of a higher metric. However the interface contin- ues to send ICMP echo requests.
  • Page 128: Traceroute

    SmartWare Software Configuration Guide 10 • IP interface configuration Mode: Either operator or administrator execution Step Command Purpose node(cfg)# [no] debug arp Enables or disables the ARP debug monitor. node(cfg)# show arp Summarizes the ARP information for each of the Ethernet ports. Traceroute This procedure describes how to print the route (list of hops) packets take to the network host.
  • Page 129: Configuring The Igmp Proxy

    SmartWare Software Configuration Guide 10 • IP interface configuration Example: Display the ARP information. node(cfg)#show arp IP Interface eth0: ----------------------------------------------------------------------------- Remote IP Remote MAC State TxReq RxRep Usage ----------------------------------------------------------------------------- 69.138.216.1 00:01:5C:22:46:C2 reachable 342s ----------------------------------------------------------------------------- IP Interface eth1: ----------------------------------------------------------------------------- Remote IP Remote MAC State TxReq...
  • Page 130: Nat/Napt Configuration

    Chapter 11 NAT/NAPT configuration Chapter contents Introduction ................................131 Dynamic NAPT ............................131 Static NAPT ..............................132 Dynamic NAT ..............................132 Static NAT ..............................133 NAPT traversal .............................133 NAT/NAPT configuration task list ........................134 Creating a NAPT profile ..........................134 Configuring a NAPT DMZ host ......................135 Defining NAPT port ranges ........................135 Preserving TCP/UDP port numbers in NAPT ..................136...
  • Page 131: Introduction

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Introduction This chapter provides a general overview of Network Address (Port) Translation and describes the tasks involved in its configuration. For further information about the functionality of Network Address Translation (NAT) and Network Address Port Translation (NAPT), consult the RFCs 1631 and 3022.
  • Page 132: Static Napt

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Global Network Local Network (Local Interface Address) 192.168.1.1 131.1.1.1 (Global Interface Address) 131.1.1.10 - 131.1.1.15 (Global NAT Address Pool) Source Address modified 131.1.1.10 - 131.1.1.15 192.168.1.30 - 192.168.1.39 Destination Address modified Figure 17. Dynamic NAPT Static NAPT Dynamic NAPT does not permit hosts on the global network to access hosts on the local network.
  • Page 133: Static Nat

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Dynamic NAT is particularly useful for protocols that do not build on UDP or TCP but directly on IP (e.g. GRE, ESP). See also section “NAPT traversal” on page 133. (Local Interface Address) 192.168.1.1 131.1.1.1 (Global Interface Address) 131.1.1.20 (Global NAT Address) Source Address modified...
  • Page 134: Nat/Napt Configuration Task List

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration it should create and which IP addresses/ports it must modify (e.g. for voice connections in addition to signal- ing connections). It performs this task for the protocol FTP. Other protocols such as H.323 and SIP cannot traverse the SmartWare NAPT.
  • Page 135: Configuring A Napt Dmz Host

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Step Command Purpose node(pf-napt)[name]#static local- Creates a Static NAT entry: local-ip is mapped to (optional) ip global-ip global-ip. (max. 20 entries) node(pf-napt)[name]#static Creates a static NAT entry: traffic of the IP protocol (optional) { ah|esp|gre|ipv6 } local_ip AH, ESP, GRE, or IPv6 respectively directed to the...
  • Page 136: Preserving Tcp/Udp Port Numbers In Napt

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Mode: profile napt <pf-name> Step Command Purpose [name] (pf-napt)[pf-name]# tcp-port- Define the TCP port range range <range-start-tcp-port> <range-end-tcp-port> [name] (pf-napt)[pf-name]# udp- Define the UDP port range port-range <range-start-udp- port> <range-end-udp-port> Preserving TCP/UDP port numbers in NAPT The NAPT can be configured to preserve the TCP/UDP port number of outbound packets sent from local hosts towards the global NAPT interface.
  • Page 137: Activate Nat/Napt

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Activate NAT/NAPT To activate a NAT/NAPT component, bind its NAPT profile to an IP interface. This binding identifies the global interface of the respective NAT/NAPT component. All other IP interfaces are local relative to this NAT/ NAPT.
  • Page 138: Configuring Nat Static Protocol Entries

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Example: Display NAT/NAPT configuration information node(pf-napt)[access]#show profile napt access NAPT profile access: -------------------------- STATIC NAPT MAPPINGS Protocol Local IP Local Port Global IP Global Port -------- --------------- ----------- --------------- ----------- 192.168.1.20 0.0.0.0 192.168.1.20 131.1.1.3 STATIC NAT PROTOCOL MAPPINGS...
  • Page 139: Ethernet Port Configuration

    Chapter 12 Ethernet port configuration Chapter contents Introduction ................................140 Ethernet port configuration task list ........................140 Entering the Ethernet port configuration mode ....................140 Configuring medium for an Ethernet port ....................140 Configuring Ethernet encapsulation type for an Ethernet port ..............141 Binding an Ethernet port to an IP interface ....................141 Multiple IP addresses on Ethernet ports ......................142...
  • Page 140: Introduction

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Introduction This chapter provides an overview of Ethernet ports and describes the tasks involved in configuring Ethernet ports through the SmartWare. Ethernet port configuration task list To configure Ethernet ports, perform the tasks described in the following sections. Most of the task are required to have an operable Ethernet port, some of the tasks are optional, but might be required for your application.
  • Page 141: Configuring Ethernet Encapsulation Type For An Ethernet Port

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Example: Configuring medium for an Ethernet port The following example shows how to configure medium auto-sense for the Ethernet port on slot 0 and port 0 of a SmartNode 4524 device. node(cfg)#port ethernet 0 0 node(prt-eth)[0/0]#medium auto Configuring Ethernet encapsulation type for an Ethernet port...
  • Page 142: Multiple Ip Addresses On Ethernet Ports

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Figure 21 shows the logical binding of the Ethernet port at slot 0 on port 0 to the IP interface lan which is defined in the IP context router. Context “router” interface lan interface wan bind command...
  • Page 143: Configuring A Vlan

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Mode: Configure Step Command Purpose [name] (cfg)# context ip Enter the IP context configuration mode. [name] (ctx-ip)[router]# interface <ip-if-1-name> Create the first IP interface. [name] (if-ip)[ <ip-if-1-name>]# ipaddress <ip- Set the IP address for the first IP inter- address-1>...
  • Page 144: Configuring Layer 2 Cos To Service-Class Mapping For An Ethernet Port

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Mode: Configure Step Command Purpose node(config)#port ethernet slot port Enter Ethernet port configura- tion. node(prt-eth)[slot/port]#vlan id Create new VLAN port. node(vlan)[id]#encapsulation {ip|pppoe|multi} Defines the payload type(s) to be used on this VLAN: •...
  • Page 145: Adding A Receive Mapping Table Entry

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Mode: Configure Step Command Purpose node(cfg)#port ethernet slot port Enters Ethernet port configura- tion mode for the interface on slot and port node(prt-eth)[slot/port]#map cos layer 2 class of service value Selects the layer 2 CoS to traffic- to traffic class name class mapping.
  • Page 146: Adding A Transmit Mapping Table Entry

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Adding a transmit mapping table entry The transmit mapping table defines the conversion of transmitting firmware-specific service class value into a Layer 2 CoS to service class value. Each conversion is stored as a mapping table entry, so the transmitting map- ping table consists of several mapping table entries.
  • Page 147: Using The Built-In Ethernet Sniffer

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Example: Disabling an Ethernet port The following example shows how to disable the Ethernet port on slot 0 and port 0. node(cfg)#port ethernet 0 0 node(prt-eth)[0/0]#shutdown Checking the state of the Ethernet port on slot 0 and port 0 shows that the interface was closed. node(prt-eth)[0/1]#show port ethernet 0 1 Ethernet Configuration -------------------------------------...
  • Page 148 SmartWare Software Configuration Guide 12 • Ethernet port configuration The following is an example of how the sniffer is normally used: Step Command Purpose [name] (cfg)# sniff ethernet Enable the sniffer on ethernet port 0 1. (Normally the sniffer stops 0 1 [wrap] capturing, if the capture buffer is full.
  • Page 149: Link Scheduler Configuration

    Chapter 13 Link scheduler configuration Chapter contents Introduction ................................150 Applying scheduling at the bottleneck ......................150 Using traffic classes ............................150 Introduction to Scheduling ...........................151 Priority ..............................151 Weighted fair queuing (WFQ) ........................151 Shaping ..............................151 Burst tolerant shaping or wfq ........................152 Hierarchy ..............................152 Quick references ..............................153 Setting the modem rate...
  • Page 150: Introduction

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Introduction This chapter describes how to use and configure the Quality of Service (QoS) features. Refer to chapter 24, “Access control list configuration” on page 251 more information on the use of access control lists. This chapter includes the following sections: •...
  • Page 151: Introduction To Scheduling

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Local applications (CLI, Web Server) Routing IPSec encryption/ decryption Access control list (ACL) Network address translation (NAT) Voice mux/ Voice demux processing Sequence of processing stages Link Scheduler passed by a routed packet To/from network port (Ethernet, PPPoE, Frame relay, etc.) Figure 22.
  • Page 152: Burst Tolerant Shaping Or Wfq

    SmartWare Software Configuration Guide 13 • Link scheduler configuration service that is only available for a limited bandwidth e.g. low delay. When connecting the SmartNode to a Diff- Serv network shaping might be a required operation. Burst tolerant shaping or wfq For weighted fair queuing and shaping there is a variation of the scheduler that allows to specify if a traffic class may temporarily receive a higher rate as long as the average stays below the limit.
  • Page 153: Quick References

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Mode priority local voice min. 30% min. 40% Level_1 min. 30% Mail Low_Priority Default Mode Shaper Define 2nd level Define 1st level Use arbiter on arbiter arbiter an interface Figure 23. Example of Hierarchical Scheduling Quick references The following sections provide a minimal “standard”...
  • Page 154: Command Cross Reference

    SmartWare Software Configuration Guide 13 • Link scheduler configuration • “rate-limit 512” allows no more than 512 kbit/sec to pass which avoids queueing in the modem. • “header-length 20” specifies how many framing bytes are added by the modem to “pack” the IP packet on the link.
  • Page 155: Defining The Access Control List Profile

    SmartWare Software Configuration Guide 13 • Link scheduler configuration • Enable statistics gathering (see page 166) Profile Packet Classification Predefined Classes Different Types (Classes) of Traffic The service-policy profile defines the arbitration mode and order in which packets of different classes are served.
  • Page 156: Creating An Access Control List

    SmartWare Software Configuration Guide 13 • Link scheduler configuration • local-default—All other packets that originate from the SmartNode itself. • default—All traffic that has not otherwise been labeled. Creating an access control list The procedure to create an access control list is described in detail in chapter 24, “Access control list configura- tion”...
  • Page 157: Creating A Service Policy Profile

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Mode: Configure Step Command Purpose node(cfg)#profile acl name Creates a new access control list profile named name node(pf-acl)[name]#permit ip host ip-address any traffic-class Creates an IP access con- class-name trol list entry that permits access for host at IP address ip-address, and specifies that packets...
  • Page 158 SmartWare Software Configuration Guide 13 • Link scheduler configuration profile service-policy <profile-name> link rate, arbitration common settings common parameters source traffic-class <x> bandwidth, packet mark settings for class x queue-size, etc. source traffic-class <y> settings for class y source traffic-class default settings for all other traffic-classes not listed Figure 26.
  • Page 159: Specifying The Handling Of Traffic-Classes

    SmartWare Software Configuration Guide 13 • Link scheduler configuration The following lines configure the source traffic-classes. When using weighted fair queuing (wfq) each user- specified source traffic-class needs a value specifying its share of the overall bandwidth. For this purpose the share command is used, which defines the relative weights of the source traffic-classes and policies.
  • Page 160: Defining The Bit-Rate

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Mode: Source Command Purpose node(src)[name]#share percentage Defines fair queuing weight (relative to other sources) to percent- age for the selected class or policy name Defining the bit-rate The command is used with shaper link arbitration to assign the (average) bit-rate to the selected source. rate When enough bandwidth is available each source will exactly receive this bandwidth (but no more), when overloaded the shaper will behave like a wfq arbiter.
  • Page 161: Specifying The Precedence Field

    SmartWare Software Configuration Guide 13 • Link scheduler configuration The type-of-service (TOS) byte in an IP header specifies precedence (priority) and type of service (RFC791, RFC1349). The precedence field is defined by the first three bits and supports eight levels of priority. The next four bits—which are set by the command—determine the type-of-service (TOS).
  • Page 162: Specifying Layer 2 Marking

    SmartWare Software Configuration Guide 13 • Link scheduler configuration “traffic-class” number called. With SmartWare you can inspect the DSCP value in the ACL rules and modify the DSCP value with the link scheduler command. set ip dscp Note When configuring service differentiation on the SmartNode, ensure that codepoint settings are arranged with the service provider.
  • Page 163: Defining Random Early Detection

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Defining random early detection The command is used to request random early detection (RED). When a queue carries lots of random-detect TCP transfers that last longer than simple web requests, there is a risk that TCP flow-control might be ineffi- cient.
  • Page 164 SmartWare Software Configuration Guide 13 • Link scheduler configuration Mode: profile service-policy/profile Command Purpose [name] (pf-srvp)[<name>]# [no] map packet-size Assigns IP packets of a predefined or speci- {routed-voice | routed-voice-encrypted | [<lower-size> fied range to a traffic-class. To name a spe- <upper-size>] } traffic-class <traffic-class-name>...
  • Page 165: Devoting The Service Policy Profile To An Interface

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Devoting the service policy profile to an interface Any service policy profile needs to be bound to a certain IP interface to get activated. According the terminol- ogy of SmartWare a service policy profile is used on a certain IP interface, as shown in figure Service Policy...
  • Page 166: Displaying Link Arbitration Status

    SmartWare Software Configuration Guide 13 • Link scheduler configuration node(ctx-ip)[router]#interface wan node(if-ip)[wan]#use profile service-policy Voice_Prio out Displaying link arbitration status command displays link arbitration status. This command supports the optional show service-policy argument that select a certain IP interface. This command is available in the operator mode. interface Mode: Operator execution Step...
  • Page 167 SmartWare Software Configuration Guide 13 • Link scheduler configuration The command has optional values (in the range of 1 to 4) that define the level of detail (see table Table 7. Values defining detail of the queuing statistics Optional Value Implication on Command Output Statistic gathering is switched off Display amount of packets passed (did not have to wait), queued (arrived ear-...
  • Page 168: Serial Port Configuration

    Chapter 14 Serial port configuration Chapter contents Introduction ................................169 Serial port configuration task list .........................169 Disabling an interface ...........................169 Enabling an interface ............................170 Configuring the serial encapsulation type ......................171 Configuring the hardware port protocol ......................171 Configuring the active clock edge ........................172 Configuring the baudrate ..........................173...
  • Page 169: Introduction

    SmartWare Software Configuration Guide 14 • Serial port configuration Introduction This chapter provides an overview of the serial port and describes the tasks involved in its configuration includes the following sections: • Serial port configuration task list • Configuration tasks •...
  • Page 170: Enabling An Interface

    SmartWare Software Configuration Guide 14 • Serial port configuration Example: Disabling an interface The example shows how to disable the built-in serial interface on slot 0 and port 0 of a SmartNode. Check that State is set to CLOSED in the command output of show port serial node(cfg)#port serial 0 0 node(prt-ser)[0/0]#shutdown...
  • Page 171: Configuring The Serial Encapsulation Type

    SmartWare Software Configuration Guide 14 • Serial port configuration Hardware Port : V.35 Transmit Edge : normal Port Type : DTE CRC Type : CRC-16 Max Frame Length: 2048 Recv Threshold Encapsulation Configuring the serial encapsulation type The synchronous serial interface supports the Frame Relay and PPP serial encapsulation method. For more information how to configure Frame Relay and PPP, please see Chapter15, “Frame Relay configuration”...
  • Page 172: Configuring The Active Clock Edge

    SmartWare Software Configuration Guide 14 • Serial port configuration Before using the serial interface the hardware port protocol has to be specified. There are two command options available to select the suitable hardware port protocol: • v35 for V.35 protocol to be used •...
  • Page 173: Configuring The Baudrate

    SmartWare Software Configuration Guide 14 • Serial port configuration Example: Configuring the active clock edge The following example enables to send data on the negative edge on slot 0 and port 0. Check that Transmit Clock is set to inverted in the command output of show port serial node(cfg)#port serial 0 0 node(prt-ser)[0/0]#transmit-data-on-edge negative...
  • Page 174 SmartWare Software Configuration Guide 14 • Serial port configuration State: OPENED Configuration Hardware Port: X.21 Port Type: CRC: CRC-16 Transmit Edge: Normal Max Frame Length: 1920 Baudrate: 64000 bps Recv Threshold: Statistics Received frames: 116101 Rx good frames: 116099 Rx CD lost: Rx Overrun: Rx CRC errors: Rx abort sequence:...
  • Page 175: Frame Relay Configuration

    Chapter 15 Frame Relay configuration Chapter contents Introduction ................................176 Frame Relay configuration task list ........................176 Configuring Frame Relay encapsulation ......................176 Configuring the LMI type ..........................177 Configuring the keep-alive interval .......................177 Enabling fragmentation ..........................178 Entering Frame Relay PVC configuration mode ...................179 Configuring the PVC encapsulation type ......................180 Binding the Frame Relay PVC to IP interface...
  • Page 176: Introduction

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Introduction This chapter provides an overview of the Frame Relay protocol and describes the tasks involved in its configu- ration includes the following sections: • Frame Relay configuration task list • Configuration tasks •...
  • Page 177: Configuring The Lmi Type

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Configuring the LMI type For a Frame Relay network, the line protocol is the periodic exchange of local management interface (LMI) packets between the SmartNode and the Frame Relay provider equipment. If the SmartNode is attached to a public data network (PDN), the LMI type must match the type used on the public network.
  • Page 178: Enabling Fragmentation

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Enabling fragmentation FRF.12 interface and end-to-end fragmentation of large IP packets is supported to reduce the delay imposed on voice packets on slow links (less than 512 kbps). As opposed to IP fragmentation, Frame Relay fragmenta- tion is transparent to the IP layer.
  • Page 179: Entering Frame Relay Pvc Configuration Mode

    SmartWare Software Configuration Guide 15 • Frame Relay configuration End-to-end FRF.12 fragmentation is recommended for use on permanent virtual circuits (PVCs) that share links with other PVCs transporting voice and on PVCs transporting Voice over IP (VoIP). The fragmentation size depends on the available bandwidth, the chosen codec, and its packet length: •...
  • Page 180: Configuring The Pvc Encapsulation Type

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Example: Entering Frame Relay PVC configuration mode The following example enters the configuration mode for PVC with the assigned DLCI of 1 for Frame Relay over the serial interface on slot 0 and port 0. node(cfg)#port serial 0 0 node(prt-ser)[0/0]#framerelay node(frm-rel)[0/0]#pvc 1...
  • Page 181: Ip Interface Wan Is Bound To Pvc 1 On Port Serial 0 0

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Frame Relay PVC. If serial Frame Relay PVC shall be used as WAN access, a suitable name for the logical IP interface could be wan as in figure 28 below. Context “router”...
  • Page 182: Enabling A Frame Relay Pvc

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Enabling a Frame Relay PVC After binding Framerelay PVC to an ip interface it must be enabled for packet processing. This procedure acti- vates the PVC by opening the bound ip interface. This procedure describes how to enable Framerelay PVC for packet processing Mode: PVC Step...
  • Page 183: Debugging Frame Relay

    SmartWare Software Configuration Guide 15 • Frame Relay configuration node(pvc)[1]#shutdown Check the PVC 1 status by using and verify that the entry shutdown occurs in the con- show running-config figuration part responsible for this PVC. node(pvc)[1]#show running-config Running configuration: #----------------------------------------------------------------# # 2500 …...
  • Page 184: Displaying Frame Relay Information

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Displaying Frame Relay information Since Frame Relay configuration for the serial interface is complex and requires many commands, it is helpful to list the frame relay configuration on screen. This procedure describes how to display the Frame Relay configuration settings for the serial interface. Mode: Port serial Step Command...
  • Page 185: Integrated Service Access

    SmartWare Software Configuration Guide 15 • Frame Relay configuration PSTN Internet Multi Multi Service Service Provider PVC 1 Provider Node Leased Line Node Modem Modem 2300 Network X.21 PVC 2 Provider Provider Figure 29. Typical Integrated Service Access Scenario with dedicated PVCs Integrated service access The example in figure 29...
  • Page 186: Ip Context With Logical Ip Interfaces Bound To Ethernet Port, Serial Port Pvc 1 And Pvc 2

    SmartWare Software Configuration Guide 15 • Frame Relay configuration Figure 30. IP Context with logical IP interfaces bound to Ethernet port, serial port PVC 1 and PVC 2 The related IP, serial interface and Frame Relay configuration procedure is listed below. Where necessary, com- ments are added to the configuration for better understanding.
  • Page 187: Example 1: Frame Relay On E1T1 Without A Channel-Group

    SmartWare Software Configuration Guide 15 • Frame Relay configuration 4. Configure the serial interface settings. node(cfg)#port serial 0 0 node(prt-ser)[0/0]#shutdown node(prt-ser)[0/0]#encapsulation framerelay node(prt-ser)[0/0]#hardware-port x21 node(prt-ser)[0/0]#port-type dte … 5. Configure the Frame Relay. You must thus change to the Frame Relay configuration mode. Use the ser- vice-policy profile defined above to give voice priority over data.
  • Page 188 SmartWare Software Configuration Guide 15 • Frame Relay configuration hdlc encapsulation framerelay framerelay pvc 100 encapsulation rfc1490 bind interface pvc100 router no shutdown port e1t1 0 0 no shutdown Example 2: Frame Relay on e1t1 with a channel-group port e1t1 0 0 port-type e1 clock master framing crc4...
  • Page 189: Pri Port Configuration

    Chapter 16 PRI port configuration Chapter contents Introduction ................................190 PRI port configuration task list..........................190 Enable/Disable PRI port ..........................191 Configuring PRI port-type ..........................191 Configuring PRI clock-mode ........................191 Configuring PRI line-code ..........................191 Configuring PRI framing ..........................192 Configuring PRI line-build-out (E1T1 in T1 mode only) ................193 Configuring PRI used-connector (E1T1 in E1 mode only) ................193...
  • Page 190: Introduction

    SmartWare Software Configuration Guide 16 • PRI port configuration Introduction This chapter provides an overview of the PRI (Primary Rate Interface) ports, their characteristics and the tasks involved in the configuration. The SmartNode devices know three different kinds of PRI ports, E1, T1 and E1T1 whereas an E1T1 port can either work as E1 or T1.
  • Page 191: Enable/Disable Pri Port

    SmartWare Software Configuration Guide 16 • PRI port configuration • PRI Debugging Enable/Disable PRI port By default, the PRI port is disabled. The following command is used for enabling or disabling it. Mode: port <hw-type> <slot> <port> Step Command Purpose [name] (hw-type)[slot/port]# [no] Enable/Disable the PRI port.
  • Page 192: Configuring Pri Framing

    SmartWare Software Configuration Guide 16 • PRI port configuration Mode: port <hw-type> <slot> <port> Step Command Purpose [name] (prt-e1t1)[slot/port]# linecode Configures the line-code of the port. {ami | b8zs | hdb3} Default for e1: hdb3 Default for t1: b8zs Configuring PRI framing Four framing formats are available for selection on the E1T1 port.
  • Page 193: Configuring Pri Line-Build-Out (E1T1 In T1 Mode Only)

    SmartWare Software Configuration Guide 16 • PRI port configuration Configuring PRI line-build-out (E1T1 in T1 mode only) The line build out configuration is used in long haul applications to prevent cross talk in the far end device. Mode: port e1t1 <slot> <port> Step Command Purpose...
  • Page 194: Configuring Pri Los Threshold (E1T1 Only)

    SmartWare Software Configuration Guide 16 • PRI port configuration Configuring PRI LOS threshold (E1T1 only) This command takes effect only if the PRI port is configured for long-haul applications. It specifies the sensi- tivity for Loss Of Signal threshold. A signal suffers more attenuation over long distances than over short dis- tances.
  • Page 195: Configuring Pri Encapsulation

    SmartWare Software Configuration Guide 16 • PRI port configuration The command has three other options that allow you to manually switch on/off different loops. All these addi- tional options are applicable in T1 and E1 mode. The ‘line-interface’ loop sends back the whole link bandwidth (2048kBit/s or 1544kBit/s). In ‘payload’...
  • Page 196: Create A Channel-Group

    SmartWare Software Configuration Guide 16 • PRI port configuration Create a Channel-Group If the desired encapsulated channel uses only selected time slots (not the entire PRI), then it is necessary to set up a channel-group. To create a channel-group, set the PRI port’s encapsulation to channelized. (See section “Configuring PRI encapsulation”.) On creating a new channel-group the channel-group configuration mode is immediately entered.
  • Page 197: Entering Hdlc Configuration Mode

    SmartWare Software Configuration Guide 16 • PRI port configuration RBS protocol. Enter the RBS configuration mode for RBS specific configurations (see Chapter 20, “RBS configuration” on page 223). Mode: channel-group group-name Step Command Purpose [name] (ch-grp)[group-name]#[no] encap- Specifies the encapsulation type of the channel- sulation {hdlc | q921 | rbs} group.
  • Page 198: Configuring Hdlc Encapsulation

    SmartWare Software Configuration Guide 16 • PRI port configuration Configuring HDLC Encapsulation The hdlc encapsulation command specifies what kinds of upper layer data are contained in the hdlc frames. Two encapsulation types are available, framerelay and ppp. For more details see Chapter 15, “Frame Relay con- figuration”...
  • Page 199: Pri Configuration Examples

    SmartWare Software Configuration Guide 16 • PRI port configuration Mode: Operator execution Step Command Purpose [name]#[no] debug hw-type Enables/Disables the PRI event/error monitor for the [ ( [<slot> | [<port>] ] ) | [ [event] | device a slot or a port. [error] ] ] Examples: 1)[no] debug e1t1...
  • Page 200: Example 1: Isdn

    SmartWare Software Configuration Guide 16 • PRI port configuration • Example 4: Frame Relay without a channel-group • Example 5: Frame Relay with a channel-group • Example 6: PPP without a channel-group • Example 7: PPP with a channel-group Example 1: ISDN port e1t1 0 0 port-type t1 clock auto...
  • Page 201: Example 4: Frame Relay Without A Channel-Group

    SmartWare Software Configuration Guide 16 • PRI port configuration protocol eam-wink-start encapsulation cc-rbs bind interface pri00_1_8 switch channel-group group_9_16 timeslots 9-16 encapsulation rbs protocol ground-start exchange encapsulation cc-rbs bind interface pri00_9_16 switch channel-group group_17_24 timeslots 17-24 encapsulation rbs protocol eam-double-wink-start encapsulation cc-rbs bind interface pri00_17_24 switch port e1t1 0 0...
  • Page 202: Example 5: Framerelay With A Channel-Group

    SmartWare Software Configuration Guide 16 • PRI port configuration Example 5: Framerelay with a channel-group port e1t1 0 0 port-type e1 framing crc4 encapsulation channelized channel-group myGroup timeslots 13-17 encapsulation hdlc hdlc encapsulation framerelay framerelay lmi-type itu pvc 100 encapsulation rfc1490 bind interface pvc100 router no shutdown port e1t1 0 0...
  • Page 203: Bri Port Configuration

    Chapter 17 BRI port configuration Chapter contents Introduction ................................204 BRI port configuration task list..........................204 Enable/Disable BRI port ..........................204 Configuring BRI clock-mode ........................204 Configuring BRI Power-Feed ........................205 Configuring BRI encapsulation ........................205 Creating a channel group ..........................205 Configuring channel-group timeslots ......................206 Configuring channel-group encapsulation .....................206 Entering HDLC configuration mode ......................206...
  • Page 204: Introduction

    SmartWare Software Configuration Guide 17 • BRI port configuration Introduction This chapter provides an overview of the BRI (Basic Rate Interface) ports, their characteristics and the tasks involved in the configuration. A BRI port supports two 64kbit/s B-channels for switched voice or data connec- tions, one 16kbit/s D-channel for signaling and always-on data transfer.
  • Page 205: Configuring Bri Power-Feed

    SmartWare Software Configuration Guide 17 • BRI port configuration Configuring BRI Power-Feed Enables the application of power on the BRI port to provide power to ISDN terminals. This command applies only if the port is clock master (network side). It is only available on products with an internal, configurable ISDN power supply.
  • Page 206: Configuring Channel-Group Timeslots

    SmartWare Software Configuration Guide 17 • BRI port configuration Configuring channel-group timeslots The ‘timeslots’ command configures the timeslot for use in data transmission. On a BRI port, only the B- Channels can be selected (0 or 1). Mode: channel-group <group-name> Step Command Purpose...
  • Page 207: Bri Debugging

    SmartWare Software Configuration Guide 17 • BRI port configuration BRI Debugging For the investigation of possible problems in link establishment, data transmission or synchronization, there exists a debug command with the options ‘event’ and ‘error’. The command has a hierarchical characteristic and can be applied to all ports on the whole device, or to all ports of slot or just to one specific port.
  • Page 208: Bri Configuration Examples

    SmartWare Software Configuration Guide 17 • BRI port configuration BRI Configuration Examples • Example 1: ISDN with auto clock/uni-side settings • Example 2: ISDN with manual clock/uni-side settings • Example 3: Multi-Link PPP over two B-Channels Example 1: ISDN with auto clock/uni-side settings port bri 0 4 power-feed encapsulation q921...
  • Page 209: Example 3: Multi-Link Ppp Over Two B-Channels

    SmartWare Software Configuration Guide 17 • BRI port configuration Example 3: Multi-Link PPP over two B-Channels context ip router interface wan-bri ipaddress 10.10.10.2 255.255.255.0 subscriber ppp bri_0_0 dial in multilink max-links 2 fragmentation equal-distribution 320 bind interface wan-bri router port bri 0 0 clock slave encapsulation channelized channel-group Group0...
  • Page 210: Isdn Overview

    Chapter 18 ISDN Overview Chapter contents Introduction ................................211 ISDN reference points ..........................211 Possible SmartNode port configurations .......................212 ISDN UNI Signaling ............................212 ISDN Configuration Concept ..........................214 ISDN Layering .............................214...
  • Page 211: Introduction

    SmartWare Software Configuration Guide 18 • ISDN Overview Introduction This chapter provides an overview of ISDN ports and describes the tasks involved in configuring ISDN ports in SmartWare. ISDN ports are the physical ISDN connections on the SmartNode devices. There are two types of ISDN ports: •...
  • Page 212: Possible Smartnode Port Configurations

    SmartWare Software Configuration Guide 18 • ISDN Overview The S reference point is on the subscriber interface. This is the typical 4-wire connection between an ISDN phone and an ISDN PBX. Be aware that many ISDN PBX vendors use non-standard proprietary 2-wire inter- faces to connect the Terminals to the PBX.
  • Page 213: Integration Of Isdn Access Lines

    SmartWare Software Configuration Guide 18 • ISDN Overview Basic Rate Access Line point-to-point Node Phone IP Network Basic Rate Access point-to-multipoint (S-bus) Local Exchange Node Phones IP Network Primary Rate Access Line IP Network Node Node Phone Legend: Terminal Equipment (Phone) Local Exchange Network Termination 1 (Modem) Line Termination...
  • Page 214: Isdn Configuration Concept

    SmartWare Software Configuration Guide 18 • ISDN Overview Connector pin-out and short circuits—Some of the Smart- Node ISDN BRI ports are configurable to operate as network or terminal ports. The pin-out of the sockets is switched according to IMPORTANT this configuration. Wrong port configurations, wrong cabling or wrong connections to neighboring equipment can lead to short circuits in the BRI line powering.
  • Page 215: Isdn Configuration

    Chapter 19 ISDN configuration Chapter contents Introduction ................................216 ISDN configuration task list..........................216 Enter Q.921 configuration mode ........................216 Configuring Q.921 parameters ........................216 Configuring Q.921 encapsulation .........................217 Enter Q.931 configuration mode ........................217 Configuring Q.931 parameters ........................218 Configuring Q.931 encapsulation .........................220 Debugging ISDN ............................220 ISDN Configuration Examples ........................221...
  • Page 216: Introduction

    SmartWare Software Configuration Guide 19 • ISDN configuration Introduction This chapter describes the configuration of the Q.921 and Q.931 protocol and how to bind the ISDN proto- col to an application like the Call Control. To get an overview of the ISDN protocol and the layered configura- tion model of SmartWare, please see Chapter 18, “ISDN Overview”...
  • Page 217: Configuring Q.921 Encapsulation

    SmartWare Software Configuration Guide 19 • ISDN configuration Mode: q921 Step Command Purpose node(q921)[slot/port]#protocol pp Specify Q.921 operating mode (Default: BRI: pmp, PRI: pp). The Q.921 protocol running on BRI ports can node(q921)[slot/port]#protocol pmp operate in point-to-point (pp) or point-to-multi- point (pmp) mode.
  • Page 218: Configuring Q.931 Parameters

    SmartWare Software Configuration Guide 19 • ISDN configuration command description below refers to the configuration mode in which Q.931 can be enabled by setting the encapsulation to ‘q931’. This configuration mode is called here ‘base-mode’ but it is only an alias for the real mode.
  • Page 219 SmartWare Software Configuration Guide 19 • ISDN configuration Step Command Purpose Specify channel numbering (Default: etsi) node(q931)[slot/port]#signalling-rule etsi Some older Q-SIG variants make use of a channel numbering scheme that differs from node(q931)[slot/port]#signalling-rule the standard ETSI method. In most cases the pss1old ETSI numbering applies.
  • Page 220: Configuring Q.931 Encapsulation

    SmartWare Software Configuration Guide 19 • ISDN configuration Step Command Purpose Specify B-channel allocation strategy (Default: node(q931)[slot/port]# bchan-number- ascending) order ascending The numbering mode defines how the avail- able time slots are filled. The cyclic modes use node(q931)[slot/port]#bchan-number- a “round-robin” implementation. The “up” order ascending-cyclic and “down”...
  • Page 221: Isdn Configuration Examples

    SmartWare Software Configuration Guide 19 • ISDN configuration Mode: Operator execution Step Command Purpose Show the status of one or more ISDN ports. node#show port isdn [slot port] [detail <- level>] If the optional arguments slot/port are omitted the status of all ISDN ports is displayed. Level could be 1 to 5.
  • Page 222: Pbx Connected To Isdn Port 1/0

    SmartWare Software Configuration Guide 19 • ISDN configuration Example: QSIG Assume the scenario as illustrated in figure Node Node ISDN Port 1/0 Figure 35. PBX connected to ISDN port 1/0 Configure the ISDN port 1/0 to work as a Q-SIG master port but clock-slave and allow a maximum of eight parallel B-channel connections.
  • Page 223: Rbs Configuration

    Chapter 20 RBS configuration Chapter contents Introduction ................................224 RBS configuration task list ..........................224 Enter RBS configuration mode ........................224 Configuring RBS protocol ..........................224 Configuring RBS encapsulation ........................225 Debugging RBS ............................225 RBS Configuration Examples ........................226...
  • Page 224: Introduction

    SmartWare Software Configuration Guide 20 • RBS configuration Introduction This chapter describes the configuration of the Robbed Bit Signaling (RBS) protocol and how to bind it to the Call Control application. RBS is used on T1 links to provide per-channel circuit signaling information. In this application no common signaling channel is used like in ISDN, each channel (Time Slot) is carrying its signal- ing information by itself.
  • Page 225: Configuring Rbs Encapsulation

    SmartWare Software Configuration Guide 20 • RBS configuration • Ground Start: This protocol is commonly used for local loop PBX services. The protocol is asymmetric what means, the exchange and the subscriber side are different. Always an Exchange/Subscriber pair must be connected together.
  • Page 226: Rbs Configuration Examples

    SmartWare Software Configuration Guide 20 • RBS configuration Mode: Operator execution Step Command Purpose node#[no] debug cas {event | error} Enables/Disables CAS event/error monitor Mode: Operator execution Step Command Purpose node#[no] debug rbs {event | error} Enables/Disables RBS event/error monitor RBS Configuration Examples Example: Configuring RBS Ground Start on a E1T1 port port e1t1 0 0...
  • Page 227 SmartWare Software Configuration Guide 20 • RBS configuration channel-group RBS_GROUP_17_24 timeslots 17-24 encapsulation rbs protocol eam-double-wink-start encapsulation cc-rbs bind interface RBS00_17_24 switch port e1t1 0 0 no shutdown RBS configuration task list...
  • Page 228: Dsl Port Configuration

    Chapter 21 DSL Port Configuration Chapter contents Introduction ................................229 Line Setup ................................229 Configuring PPPoE .............................229 Configuration Summary............................230 Setting up permanent virtual circuits (PVC)......................231 Using PVC channels in bridged Ethernet mode ....................231 Using PVC channels with PPPoE .........................231 Diagnostics ..............................232 Troubleshooting DSL Connections ........................232...
  • Page 229: Introduction

    SmartWare Software Configuration Guide 21 • DSL Port Configuration Introduction This chapter provides an overview of the DSL ports (ADSL and G.SHDSL), their characteristics and the tasks involved in the configuration. port dsl 0 0 vpi 8 vci 35 pppoe Profile session MyISP Subscriber PPP...
  • Page 230: Configuration Summary

    SmartWare Software Configuration Guide 21 • DSL Port Configuration Next, you will need to create a WAN profile, create a WAN interface, and create a subscriber. Then, you can configure the DSL port (port dsl 0 0) for PPPoE. Follow this example: profile napt WAN context ip router interface WAN...
  • Page 231: Setting Up Permanent Virtual Circuits (Pvc)

    SmartWare Software Configuration Guide 21 • DSL Port Configuration Setting up permanent virtual circuits (PVC) The modems currently available are using ATM to multiplex traffic over the DSL framing connection. ATM allows you to have separate logical connections running in parallel. Those connections are called permanent virtual circuits (PVC).
  • Page 232: Diagnostics

    SmartWare Software Configuration Guide 21 • DSL Port Configuration Diagnostics Table 11. Diagnostics commans Command Purpose Step 1 node> show dsl type Displays the type of modem installed. Step 2 node> show dsl line-state Displays information about the state of the DSL link.
  • Page 233: Basic Ip Routing Configuration

    Chapter 22 Basic IP routing configuration Chapter contents Introduction ................................234 Routing tables ...............................234 Static routing ..............................234 Policy routing ...............................234 Basic IP routing configuration task list ........................234 Configuring static IP routes ..........................235 Deleting static IP routes ..........................236 Displaying IP route information ........................236 Configuring policy routing ...........................237...
  • Page 234: Introduction

    SmartWare Software Configuration Guide 22 • Basic IP routing configuration Introduction This chapter provides an overview of IP routing and describes the tasks involved in configuring static IP rout- ing. IP routing moves information across an internetwork from a source to a destination, typically passing through one or more intermediate nodes along the way.
  • Page 235: Configuring Static Ip Routes

    SmartWare Software Configuration Guide 22 • Basic IP routing configuration • Displaying IP route information (see page 236) Configuring static IP routes Rather than dynamically selecting the best route to a destination, you can configure one or more static routes to that destination.
  • Page 236: Deleting Static Ip Routes

    SmartWare Software Configuration Guide 22 • Basic IP routing configuration Deleting static IP routes form of the command deletes a static IP route from the routing table. route This procedure describes how to delete one or more static IP routes from the routing table Mode: Administrator execution Step Command...
  • Page 237: Configuring Policy Routing

    SmartWare Software Configuration Guide 22 • Basic IP routing configuration Configuring policy routing Step Command Purpose node(cfg)#context ip router Enters the IP router context node(ctx-ip)[router]#[no] route destination netmask inter- Define a static routing face|gateway [metric ] [traffic-class <traffic-class> ] table entry Where the syntax is: •...
  • Page 238: Examples

    SmartWare Software Configuration Guide 22 • Basic IP routing configuration In this routing table two default routes (0.0.0.0/0) are defined. The first default route is valid for packets of the class local-voice only. The second default route is valid for all packets. Thus voice packets generated locally (traffic-class local-voice) will travel via the gateway (Nexthop) 172.16.32.1.
  • Page 239: Changing The Default Udp Port Range For Rtp And Rtcp

    SmartWare Software Configuration Guide 22 • Basic IP routing configuration The necessary routing-table entries for the scenario described are listed below. node>enable node#configure node(cfg)#context ip router node(ctx-ip)[router]# route 10.1.5.10 255.255.255.255 172.16.40.2 node(ctx-ip)[router]# route 10.2.0.0 255.255.0.0 172.17.100.2 node>show ip route Routes of IP context 'router': Status codes: * valid, U up, H host, G Gateway, L local, D default Destination Nexthop...
  • Page 240: Rip Configuration

    Chapter 23 RIP configuration Chapter contents Introduction ................................241 Routing protocol ..............................241 RIP configuration task list ...........................242 Enabling send RIP ............................242 Enabling an interface to receive RIP ......................243 Specifying the send RIP version ........................243 Specifying the receive RIP version .........................244 Enabling RIP learning ...........................244 Enabling an interface to receive RIP ......................245...
  • Page 241: Introduction

    SmartWare Software Configuration Guide 23 • RIP configuration Introduction This chapter provides an overview of the Routing Information Protocol (RIP) and describes the tasks involved in configuring RIP features includes the following sections: • Routing protocol • RIP configuration task list (see page 242) RIP is a relatively old but still commonly used interior gateway protocol created for use in small, homogeneous...
  • Page 242: Rip Configuration Task List

    SmartWare Software Configuration Guide 23 • RIP configuration RIP 2 is more useful in a variety of environments and allows the use of variable subnet masks on your network. It is also necessary for implementation of classless addressing as accomplished with CIDR (classless inter- domain routing).
  • Page 243: Enabling An Interface To Receive Rip

    SmartWare Software Configuration Guide 23 • RIP configuration Example: Enabling send RIP The following example shows how to enable send RIP on IP interface wan. node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip supply Enabling an interface to receive RIP By default an interface does not listen to routing information. This procedure describes how to enable interface to receive RIP information Mode: Interface Step...
  • Page 244: Specifying The Receive Rip Version

    SmartWare Software Configuration Guide 23 • RIP configuration Specifying the receive RIP version By default, RIP version 1 and version 2 packets are received. Alternatively, you can explicitly configure the RIP version to be received with the last command argument as following: •...
  • Page 245: Enabling An Interface To Receive Rip

    SmartWare Software Configuration Guide 23 • RIP configuration The following example shows how to enable RIP learn host and default on IP interface wan. node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip learn host node(if-ip)[wan]#rip learn default Enabling an interface to receive RIP This procedure describes how to enable receive RIP on an IP interface Mode: Interface Step...
  • Page 246: Enabling Rip Auto Summarization

    SmartWare Software Configuration Guide 23 • RIP configuration node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip announce default node(if-ip)[wan]#rip announce host Enabling RIP auto summarization Summarizing routes in RIP Version 2 improves scalability and efficiency in large networks. Auto-summarization attempts to automatically summarize groups of adjacent routes into single entries, the goal being to reduce the total number of entries in the RIP routing table, reducing the size of the table and allowing the router to handle more routes.
  • Page 247: Enabling Rip Split-Horizon Processing

    SmartWare Software Configuration Guide 23 • RIP configuration Mode: Interface Step Command Purpose node(if-ip)[name]#rip default-route-value value Sets the routing metric to value indicating the distance to the destination on interface name Example: Specifying the default route metric The following example shows how to set the routing metric to 4 on IP interface wan. node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip default-route-value 4...
  • Page 248: Enabling Holding Down Aged Routes

    SmartWare Software Configuration Guide 23 • RIP configuration Mode: Interface Step Command Purpose node(if-ip)[name]#rip poison-reverse Enables the poison reverse algorithm on interface name Example: Enabling the poison reverse algorithm The following example shows how to enable the poison reverse algorithm on IP interface wan. node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip poison-reverse...
  • Page 249: Displaying Rip Configuration Of An Ip Interface

    SmartWare Software Configuration Guide 23 • RIP configuration Displaying RIP configuration of an IP interface Displaying the RIP configuration of an IP interface is useful to list the settings. This procedure describes how to display the RIP configuration of an interface Mode: Interface Step Command...
  • Page 250 SmartWare Software Configuration Guide 23 • RIP configuration rip enabled RIP configuration task list...
  • Page 251: Access Control List Configuration

    Chapter 24 Access control list configuration Chapter contents Introduction ................................252 About access control lists .............................252 What access lists do ............................252 Why you should configure access lists ......................252 When to configure access lists ........................253 Features of access control lists ........................253 Access control list configuration task list......................254 Mapping out the goals of the access control list .....................254...
  • Page 252: Introduction

    SmartWare Software Configuration Guide 24 • Access control list configuration Introduction This chapter provides an overview of IP Access Control Lists and describes the tasks involved in configuring them. This chapter includes the following sections: • About access control lists •...
  • Page 253: When To Configure Access Lists

    SmartWare Software Configuration Guide 24 • Access control list configuration For example, access lists can allow one host to access a part of your network, and prevent another host from accessing the same area. In figure 38 host A is allowed to access the Human Resources network and host B is prevented from accessing the Human Resources network.
  • Page 254: Access Control List Configuration Task List

    SmartWare Software Configuration Guide 24 • Access control list configuration • All access control lists have an implicit deny ip any any at the end. A packet that does not match the criteria of the first statement is subjected to the criteria of the second statement and so on until the end of the access control list is reached, at which point the packet is dropped.
  • Page 255: Creating An Access Control List Profile And Enter Configuration Mode

    SmartWare Software Configuration Guide 24 • Access control list configuration Before you begin to enter the commands that create and configure the IP access control list, be sure that you are clear about what you want to achieve with the list. Consider whether it is better to deny specific accesses and permit all others or to permit specific accesses and deny all others.
  • Page 256 SmartWare Software Configuration Guide 24 • Access control list configuration Mode: Profile access control list Step Command Purpose node(pf-acl)[name]#deny ip {src src-wildcard | any | host Creates an IP access of control list src} {dest dest-wildcard | any | host dest} [cos group] entry that denies access defined according to the command options...
  • Page 257: Adding An Icmp Filter Rule To The Current Access Control List Profile

    SmartWare Software Configuration Guide 24 • Access control list configuration Adding an ICMP filter rule to the current access control list profile The command permit or deny are used to define an ICMP filter rule. Each ICMP filter rule represents an ICMP access of control list entry.
  • Page 258 SmartWare Software Configuration Guide 24 • Access control list configuration Where the syntax is as following: Keyword Meaning The source address to be included in the rule. An IP address in dotted-decimal-format, e.g. 64.231.1.10. src-wildcard A wildcard for the source address. Expressed in dotted-decimal format this value specifies which bits are significant for matching.
  • Page 259: Adding A Tcp, Udp Or Sctp Filter Rule To The Current Access Control List Profile

    SmartWare Software Configuration Guide 24 • Access control list configuration The same effect can also be obtained by using the simpler message name option. See the following example. node(cfg)#profile acl WanRx node(pf-acl)[WanRX]#deny icmp any any msg echo node(pf-acl)[WanRX]#exit node(cfg)# Adding a TCP, UDP or SCTP filter rule to the current access control list profile The commands permit or deny are used to define a TCP, UDP or SCTP filter rule.
  • Page 260 SmartWare Software Configuration Guide 24 • Access control list configuration Where the syntax is: Keyword Meaning The source address to be included in the rule. An IP address in dotted-decimal-format, e.g. 64.231.1.10. src-wildcard A wildcard for the source address. Expressed in dotted-decimal format this value specifies which bits are significant for matching.
  • Page 261: Binding And Unbinding An Access Control List Profile To An Ip Interface

    SmartWare Software Configuration Guide 24 • Access control list configuration Binding and unbinding an access control list profile to an IP interface The command use is used to bind an access control list profile to an IP interface. This procedure describes how to bind an access control list profile to incoming packets on an IP interface Mode: Profile access control list Step...
  • Page 262: Displaying An Access Control List Profile

    SmartWare Software Configuration Guide 24 • Access control list configuration Unbind an access control list profile from an interface. node(cfg)#context ip router node(cfg-ip)[router]#interface wan node(cfg-if)[wan]#no use profile acl in Note When unbinding an access control list profile the name argument is not required, since only one incoming and outgoing access control list can be active at the same time on a certain IP interface.
  • Page 263 SmartWare Software Configuration Guide 24 • Access control list configuration Mode: Interface Step Command Purpose node(cfg)#context ip router Selects the IP router context node(ctx-ip)[router]#interface if-name Selects IP interface if-name for which access control list profile shall be debugged node(if-ip)[if-name]#debug acl {in | out} [level] Enables access control list debug monitor with a certain debug level for the selected interface if-name...
  • Page 264: Examples

    SmartWare Software Configuration Guide 24 • Access control list configuration Examples Denying a specific subnet Figure 39 shows an example in which a server attached to network 172.16.1.0 shall not be accessible from outside networks connected to IP interface lan. To prevent access, an incoming filter rule named Jamming is defined, which blocks any IP traffic from network 172.16.2.0 and has to be bound to IP interface lan.
  • Page 265: Snmp Configuration

    Chapter 25 SNMP configuration Chapter contents Introduction ................................266 Simple Network Management Protocol (SNMP) ....................266 SNMP basic components ..........................266 SNMP basic commands ..........................266 SNMP management information base (MIB) ....................267 Network management framework .........................267 Identification of a SmartNode via SNMP......................267 SNMP tools.................................268 SNMP configuration task list ..........................268 Setting basic system...
  • Page 266: Introduction

    SmartWare Software Configuration Guide 25 • SNMP configuration Introduction This chapter provides overview information about Simple Network Management Protocol (SNMP) and describes the tasks used to configure those of its features supported. This chapter includes the following sections: • Simple Network Management Protocol (SNMP) •...
  • Page 267: Snmp Management Information Base (Mib)

    SmartWare Software Configuration Guide 25 • SNMP configuration • Traversal operations are used by the NMS to determine which variables a managed device supports and to sequentially gather information in variable tables, such as a routing table. SNMP management information base (MIB) A Management Information Base (MIB) is a collection of information that is organized hierarchically.
  • Page 268: Snmp Tools

    SmartWare Software Configuration Guide 25 • SNMP configuration The SNMP agent running in SmartWare is SNMP version 1 (SNMPv1) compliant. SNMP version 2 (SNMPv2) and SNMP version 3 (SNMPv3) are not currently supported. IMPORTANT SNMP tools Patton recommends the AdventNet MibBrowser, TrapViewer and other SNMP tools. Check the AdventNet Web server at http://www.adventnet.com for latest releases.
  • Page 269 SmartWare Software Configuration Guide 25 • SNMP configuration Mode: Administrator execution Step Command Purpose node(cfg)#system contact name Sets the contact persons name node(cfg)#system location location Sets the system location node(cfg)#system hostname hostname Sets the system hostname and command line prompt If any of the command options name, location, or hostname has to be formed out of more than one word, the information is put in “double quotes”.
  • Page 270: Setting Access Community Information

    SmartWare Software Configuration Guide 25 • SNMP configuration Figure 40. AdventNet MibBrowser displaying some of the System Group objects Example: Setting the system group objects In the following example the system information is set for later access via SNMP. See figure 40 for a typical MIB browser application accessing these MIB-II system group objects representing the system information.
  • Page 271 SmartWare Software Configuration Guide 25 • SNMP configuration Community strings also provide a weak form of access control in earlier versions of SNMP version 1 and 2. SNMP version 3 provides much improved access control using strong authentication and should be preferred over SNMP version 1 and 2 wherever it is supported.
  • Page 272: Setting Allowed Host Information

    SmartWare Software Configuration Guide 25 • SNMP configuration Setting allowed host information If a host has to access SNMP MIB objects on a certain node, it explicitly needs the right to access the SNMP agent. Therefore a host needs an entry, which allows accessing the device. The host is identified by its IP address and has to use a certain community string for security precautions.
  • Page 273: Displaying Snmp Related Information

    SmartWare Software Configuration Guide 25 • SNMP configuration In the following example the NMS running on host with IP address 172.16.224.44 shall be defined as SNMP trap target. Since the NMS requires that SNMP message headers have a community of Not4evEryOne the secu- rity-name argument is set accordingly.
  • Page 274: Using The Mibbrowser

    SmartWare Software Configuration Guide 25 • SNMP configuration The TrapViewer is a graphical tool to view the Traps received from one or more SNMP agents. The Trap viewer can listen to one or more port at a time and the traps can be sent from any host. Moreover the TrapViewer con- tains a Trap parser editor, which is a tool to create a trap parser file.
  • Page 275: Using The Trapviewer

    SmartWare Software Configuration Guide 25 • SNMP configuration Using the TrapViewer TrapViewer is a graphical tool to view the traps received from one or more SNMP agents. The TrapViewer can listen to one or more port at a time and the traps can be sent from any host. Invoke the TrapViewer through the usage of the MibBrowser.
  • Page 276: Adventnet Trap Details Window Of Trapviewer

    SmartWare Software Configuration Guide 25 • SNMP configuration Message that by default has the object identifier format (sequence of numeric or textual labels on the SNs along a path from the root to the object) of the trap if any, or it is blank. •...
  • Page 277: Standard Snmp Version 1 Traps

    SmartWare Software Configuration Guide 25 • SNMP configuration Table 12. Details available in the Trap Details window (Continued) Trap Details Description Entity The source IP address from which the Trap was sent is displayed here. RemotePort This field reveals the port on which the Trap was sent by the originator. Community The Community string is displayed here.
  • Page 278: Snmp Interface Traps

    SmartWare Software Configuration Guide 25 • SNMP configuration linkUp TRAP-TYPE ENTERPRISE snmp VARIABLES { ifIndex } DESCRIPTION "A linkUp trap signifies that the sending protocol entity recognizes that one of the communication links represented in the agent's configuration has come up." ::= 3 Note The linkUp trap is not sent if any of the ISDN ports has come up.
  • Page 279 SmartWare Software Configuration Guide 25 • SNMP configuration 2002-09-06T14:54:39 : LOGINFO : Link up on interface eth00. 2002-09-06T14:54:39 : LOGINFO : Link up on interface eth01. 2002-09-06T14:56:02 : LOGINFO : Link up on interface SLOT2:00 ISDN D 2002-09-10T14:21:20 : LOGINFO : Link down on interface SLOT2:00 ISDN SNMP interface traps...
  • Page 280: Sntp Client Configuration

    Chapter 26 SNTP client configuration Chapter contents Introduction ................................281 SNTP client configuration task list ........................281 Selecting SNTP time servers .........................282 Defining SNTP client operating mode ......................282 Defining SNTP local UDP port ........................283 Enabling and disabling the SNTP client .......................284 Defining SNTP client poll interval .......................284 Defining SNTP client constant offset to GMT .....................285...
  • Page 281: Introduction

    SmartWare Software Configuration Guide 26 • SNTP client configuration Introduction This chapter describes how to configure Simple Network Time Protocol (SNTP) client, it includes the follow- ing sections: • SNTP client configuration task list • Recommended Public SNTP Time Servers (see page 288) The Simple Network Time Protocol (SNTP) is an adaptation of the Network Time Protocol (NTP) that is...
  • Page 282: Selecting Sntp Time Servers

    SmartWare Software Configuration Guide 26 • SNTP client configuration Selecting SNTP time servers This procedure describes how to select a primary and secondary SNTP time server Mode: Configure Step Command Purpose node(cfg)#sntp-client server primary host Enter the SNTP primary server IP address or hostname node(cfg)#sntp-client server secondary host Enter the SNTP secondary server IP...
  • Page 283: Defining Sntp Local Udp Port

    SmartWare Software Configuration Guide 26 • SNTP client configuration Example: Configuring SNTP client operating mode Configures the SNTP client operating mode to unicast operation node(cfg)#sntp-client operating-mode unicast Configures the SNTP client operating mode to anycast operation node(cfg)#sntp-client operating-mode anycast Configures the SNTP client operating mode to multicast operation node(cfg)#sntp-client operating-mode multicast Defining SNTP local UDP port The communication between an SNTP client and its the primary or secondary SNTP time server uses UDP.
  • Page 284: Enabling And Disabling The Sntp Client

    SmartWare Software Configuration Guide 26 • SNTP client configuration Enabling and disabling the SNTP client The SNTP client is disabled by default and has to be enabled if clock synchronization shall be used. This pro- cedure describes how to enable or disable the SNTP client Mode: Configure Step Command...
  • Page 285: Defining Sntp Client Constant Offset To Gmt

    SmartWare Software Configuration Guide 26 • SNTP client configuration Defining SNTP client constant offset to GMT Setting the offset of the device local time zone from Greenwich Mean Time is required if the local time shall be used for time dependent routing decisions or other reasons. Greenwich Mean Time (GMT) is also known as Zulu Time and Universal Time Coordinated (UTC), refer to http://greenwichmeantime.com/ for more details and information about your time zone and offset to GMT.
  • Page 286: Enabling And Disabling Local Clock Offset Compensation

    SmartWare Software Configuration Guide 26 • SNTP client configuration Mode: Configure Step Command Purpose node(cfg)#sntp-client anycast-address ip- Set the anycast-address to ip-address a designated address {port | port-number} local broadcast or multicast group address to which a request is sent. In addition an explicit SNTP server port-number in the range from 1 to 65535 can be defined or the argument port is selected, which sets the value for port to 123.
  • Page 287: Showing Sntp Client Related Information

    SmartWare Software Configuration Guide 26 • SNTP client configuration Example: Disabling the SNTP client root delay compensation node(cfg)#no sntp-client root-delay-compensation Showing SNTP client related information During set-up and operation of the SNTP client, displaying the information and status of the SNTP client is very useful.
  • Page 288: Recommended Public Sntp Time Servers

    SmartWare Software Configuration Guide 26 • SNTP client configuration Example: Enable the SNTP debug monitor The following example shows how to enable the SNTP debug monitor and some typical debug information. node(cfg)#debug sntp client node(cfg)#14:44:21 SNTP > SNTP message sent with Timestamp: 2001-10-26T14:44:21 14:44:21 SNTP >...
  • Page 289: Additional Information On Ntp And A List Of Other Ntp Servers

    SmartWare Software Configuration Guide 26 • SNTP client configuration For more information about NIST Internet Time Service (ITS) check their web server at http://www.boulder.nist.gov/timefreq/service/its.htm Additional information on NTP and a list of other NTP servers The site http://ntp.isc.org contains a maintained list of available NTP/SNTP servers. Please only use the ones with an open access policy! Recommended public SNTP time servers...
  • Page 290: Dhcp Configuration

    Chapter 27 DHCP configuration Chapter contents Introduction ................................291 DHCP-client configuration tasks.........................292 Enable DHCP-client on an IP interface ......................292 Release or renew a DHCP lease manually (advanced) ...................294 Get debug output from DHCP-client ......................294 DHCP-server configuration tasks ........................295 Configure DHCP-server profiles ........................295 Use DHCP-server profiles and enable the DHCP-server ................297...
  • Page 291: Introduction

    SmartWare Software Configuration Guide 27 • DHCP configuration Introduction This chapter provides an overview of the Dynamic Host Configuration Control Protocol (DHCP) and describes the tasks involved in their configuration. This chapter includes the following sections: • DHCP-client configuration tasks (see page 292) •...
  • Page 292: Dhcp-Client Configuration Tasks

    SmartWare Software Configuration Guide 27 • DHCP configuration DHCP-server and DHCP-client are illustrated in figure Node Node DHCP Server Node Node DHCP Clients DHCP Clients Node Node DHCP Server Figure 44. DHCP-client and DHCP-server DHCP-client configuration tasks To configure the SmartNode as DHCP-client perform the steps mentioned below. •...
  • Page 293 SmartWare Software Configuration Guide 27 • DHCP configuration interface, e.g. the default gateway, DNS server IP addresses, etc. To enable the DHCP-client on an IP interface perform the steps described below. Mode: context IP Step Command Purpose node(ctx-ip)[router]#interface name Creates an IP interface with name name and enters ‘configure’...
  • Page 294: Release Or Renew A Dhcp Lease Manually (Advanced)

    SmartWare Software Configuration Guide 27 • DHCP configuration Release or renew a DHCP lease manually (advanced) After enabling the DHCP-client, the interface receives a DHCP lease from the DHCP-server. To manually release and/or renew this DHCP lease use the command described below. This procedure describes how to release and renew the DHCP lease Mode: interface Step...
  • Page 295: Dhcp-Server Configuration Tasks

    SmartWare Software Configuration Guide 27 • DHCP configuration 2001-01-01T01:17:47 : LOGINFO : router/eth0 (Rqst): Got DHCP lease for 172.16.224.102 01:17:47 DHCPC > router/eth0 (Rqst): DHCP ACK received. 01:17:47 DHCPC > router/eth0 (Rqst): Lease is valid for 28800 seconds 01:17:47 DHCPC > router/eth0 (Rqst): (t1: 14400, t2: 25200) 01:17:47 DHCPC >...
  • Page 296 SmartWare Software Configuration Guide 27 • DHCP configuration Mode: Configure Step Command Purpose node(cfg)#profile dhcp-server name Enter DHCP-server profile mode node(pf-dhcps)[name]#network ip- Defines the IP address range for which this pro- address ip-mask file is responsible IP address: basic DHCP information (‘your (cli- ent) IP address’) IP mask: DHCP Option 1 node(pf-dhcps)[name]#[no] include ip-...
  • Page 297: Use Dhcp-Server Profiles And Enable The Dhcp-Server

    SmartWare Software Configuration Guide 27 • DHCP configuration Step Command Purpose node(pf-dhcps)[name]#[no] bootfile boot- Defines the bootfile the client shall use when (optional) file-name starting. Usually this is used in conjunction with the next-server command. Basic DHCP information (‘Boot file name’) node(pf-dhcps)[name]#[no] next-server Defines the address of the next server in the (optional)
  • Page 298: Define The Bootfile (Option 67) For The Dhcp-Server

    SmartWare Software Configuration Guide 27 • DHCP configuration Define the bootfile (Option 67) for the DHCP-server The DHCP server can define bootfile (DHCP option 67). In contrast to the existing options bootfile and next-server, these options do not use BOOTP fields but DHCP options. Mode: profile dhcp-server Step Command...
  • Page 299: Get Debug Output From The Dhcp-Server

    SmartWare Software Configuration Guide 27 • DHCP configuration Get debug output from the DHCP-server This procedure describes how to enable/disable the DHCP-server debug monitor Mode: Any Step Command Purpose node(cfg) #[no] debug dhcp-server Enables/disables the debug monitor of the DHCP-server Example: Enable DHCP debug monitor This example shows how to enable the DHCP-server debug monitor.
  • Page 300: Configure Dhcp-Relay

    SmartWare Software Configuration Guide 27 • DHCP configuration Configure DHCP-relay SmartNodes support the DHCP-Relay functionality. To avoid having a DHCP-Server in every subnet, Smart- Nodes now can forward DHCP-Requests either directly to a DHCP-Server or to another DHCP-Relay. To configure the relay there now is a new profile type dhcp-relay. The minimum configuration of such a profile only needs one IP where DHCP-Requests are sent to.
  • Page 301: Enable/Disable Dhcp-Relay Agent

    SmartWare Software Configuration Guide 27 • DHCP configuration Enable/Disable DHCP-Relay Agent Mode: Context IP Step Command Purpose [name] (ctx-ip)[name]# dhcp-relay Enable or disable DHCP-Relay. DHCP-Relay cannot be use <profile> enabled if a DHCP-Server is running. [name] (ctx-ip)[name]# no dhcp- relay DHCP-server configuration tasks...
  • Page 302: Dns Configuration

    Chapter 28 configuration Chapter contents Introduction ................................303 DNS configuration task list ..........................303 Enabling the DNS resolver ..........................303 Enabling the DNS relay ..........................304...
  • Page 303: Introduction

    SmartWare Software Configuration Guide 28 • DNS configuration Introduction The domain name system (DNS) enables users to contact a remote host by using easily remembered text labels (www.patton.com, for example) instead of having to use the host’s numeric address (209.45.110.15, for exam- ple).
  • Page 304: Enabling The Dns Relay

    SmartWare Software Configuration Guide 28 • DNS configuration You can test the DNS server configuration using the command as follows: dns-lookup Example: Testing DNS server configuration node(cfg)#dns-lookup www.patton.com Name: www.patton.com Address: 209.49.110.5 Note The DNS resolver automatically learns domain name servers if it receives them through PPP or DHCP protocols.
  • Page 305 SmartWare Software Configuration Guide 28 • DNS configuration address. DNS Relay agents maintain a cache of host names and IP addresses, much smaller than a DNS Server. It acts as a liaison between the DNS Server and the DNS client Advantages in configuring a DNS Relay in the SmartNode are: •...
  • Page 306: Dyndns Configuration

    Chapter 29 DynDNS configuration Chapter contents Introduction ................................307 DynDNS configuration task list ..........................307 Creating a DynDNS account ........................307 Configuring the DNS resolver ........................307 Configuring basic DynDNS settings ......................308 Configuring the DynDNS server ........................308 Configuring advanced DynDNS settings (optional) ..................309 Defining a mail exchanger for your hostname ..................309 Troubleshooting ............................309...
  • Page 307: Introduction

    SmartWare Software Configuration Guide 29 • DynDNS configuration Introduction SmartNodes are often used in applications where the addresses of their IP interfaces are not assigned statically (i.e. permanently) but instead are configured dynamically. In these applications, the IP address is assigned dynamically using protocols like DHCP or PPP.
  • Page 308: Configuring Basic Dyndns Settings

    SmartWare Software Configuration Guide 29 • DynDNS configuration Configuring basic DynDNS settings The following procedure describes the steps necessary to enable the DynDNS feature. Mode: DynDNS Step Command Purpose node(dyndns)#authentication user pass- Defines the authentication credentials of your word DynDNS account node(dyndns)#service Defines the DynDNS service to use {dynamic|static|custom}...
  • Page 309: Configuring Advanced Dyndns Settings (Optional)

    SmartWare Software Configuration Guide 29 • DynDNS configuration Configuring advanced DynDNS settings (optional) Defining a mail exchanger for your hostname If required, you can define a mail exchanger or a backup mail exchanger for your hostname on the DynDNS server. Mode: DynDNS Step Command...
  • Page 310 SmartWare Software Configuration Guide 29 • DynDNS configuration Example: Displaying DynDNS status information The following example shows how to enable the debug monitor and the output of the monitor when the IP address on the DynDNS server can be updated successfully. node(dyndns)#debug dyndns 16:20:43 DYNDNS>...
  • Page 311: Ppp Configuration

    Chapter 30 PPP configuration Chapter contents Introduction ................................312 PPP configuration task list...........................313 Creating an IP interface for PPP ........................313 Disable interface IP address auto-configuration from PPP ................315 Creating a PPP subscriber ..........................315 Trigger forced reconnect of PPP sessions using a timer .................317 Disable interface IP address auto-configuration from PPP ................317...
  • Page 312: Introduction

    SmartWare Software Configuration Guide 30 • PPP configuration Introduction This chapter describes how to configure the point-to-point protocol over different link layers. The point-to-point protocol (PPP) provides a standard method for transporting multi-protocol datagrams over point-to-point links as defined by the RFC1661 etc. SmartWare offers PPP over the following link layers: •...
  • Page 313: Ppp Configuration Task List

    SmartWare Software Configuration Guide 30 • PPP configuration its own IP interface. In addition to these PPPoE sessions, pure IP traffic can run concurrently over the same Ethernet port. This is achieved by binding the Ethernet port directly to an IP interface. PPP configuration task list To configure PPP, perform the following tasks: •...
  • Page 314 SmartWare Software Configuration Guide 30 • PPP configuration Step Command Purpose node(if-ip)[name]#ipaddress The PPP remote peer offers an IP address for the unnumbered IP interface. The IP interface adopts this IP address node(if-ip)[name]#ipaddress dhcp Once PPP has established an IP connection, the IP interface can use DHCP to acquire an IP address.
  • Page 315: Disable Interface Ip Address Auto-Configuration From Ppp

    SmartWare Software Configuration Guide 30 • PPP configuration Step Command Purpose node(if-ip)[name]#use profile napt name Assigns the NAPT profile name to applied to (optional) this IP interface. See 11, “NAT/NAPT configu- ration” on page 130 to learn how to create a NAPT profile.
  • Page 316 SmartWare Software Configuration Guide 30 • PPP configuration Step Command Purpose node(subscr)[name]# dial {in|out} Defines the direction of the connection establish- ment with PPP over ISDN. This information allows to use different subscribers for incoming and out- going calls. With the other two link layers, set the direction as follows: •...
  • Page 317: Trigger Forced Reconnect Of Ppp Sessions Using A Timer

    SmartWare Software Configuration Guide 30 • PPP configuration Trigger forced reconnect of PPP sessions using a timer In some situations, it is useful to disconnect and reconnect a PPP session at a clearly defined time. The follow- ing procedure shows how PPP can be configured to reconnect the connection every time a timer expires. A common application for this feature: some ISPs disconnect the PPP session after a fixed period of time, for example, 16 hours.
  • Page 318 SmartWare Software Configuration Guide 30 • PPP configuration Mode: Configure Step Command Purpose node(cfg) #port ethernet slot port Enters Ethernet port configuration mode for the interface on slot and port node (prt-eth)[slot/port]# encapsulation Defines the payload type(s) to be used on the {ip|pppoe|multi} Ethernet: •...
  • Page 319: Configuring Ppp Over A Hdlc Link

    SmartWare Software Configuration Guide 30 • PPP configuration Example: Configure a PPPoE session The procedure below configures a PPPoE session for the connection to a DSL provider using the credentials specified in the subscriber profile above. node(cfg)#port ethernet 0 0 node(prt-eth)[0/0]#encapsulation pppoe node(prt-eth)[0/0]#no shutdown node(prt-eth)[0/0]#pppoe...
  • Page 320 SmartWare Software Configuration Guide 30 • PPP configuration Mode: Configure Step Command Purpose node(cfg) #[no] profile ppp { name | Creates the new PPP profile name and enters default } the PPP profile configuration. The profile ‘default’ already exists. node(pf-ppp)[name]#mtu min min max Defines the minimum and maximum size of IP (optional) packets (in Bytes) allowed on the outbound PPP...
  • Page 321: Configuring The Local And Remote Ppp Mrru

    SmartWare Software Configuration Guide 30 • PPP configuration Configuring the local and remote PPP MRRU The PPP Maximum Receive Reconstructed Unit (MRRU) denotes the maximum reassembled MRU we are able to receive above the multi-link PPP protocol, i.e. this is the MRU after reassembling frames from individ- ual links inside a multi-link bundle.
  • Page 322: Displaying Ppp Configuration Information

    SmartWare Software Configuration Guide 30 • PPP configuration Displaying PPP configuration information This section shows how to display and verify the PPP configuration information. Mode: Configure Step Command Purpose node(cfg) #show running-config Gives the best overview of all PPP related configura- tion information.
  • Page 323: Debugging Ppp

    SmartWare Software Configuration Guide 30 • PPP configuration Example: Display a PPP profile node(pf-ppp)[PPPoE]#show profile ppp PPPoE Profiles: --------- Name: default LCP Configure-Request: interval 3000 ms, max 10 LCP Configure-Nak: max 5 LCP Terminate-Request: interval 3000 ms, max 2 LCP Echo-Request: interval 10000 ms, max 3 MTU: 68 - 1920...
  • Page 324 SmartWare Software Configuration Guide 30 • PPP configuration Mode: Configure Step Command Purpose node(cfg) #show ppp links [ level ] Displays status and configuration information of the Link Control Protocol (LCP) and the authentica- tion protocol(s) (PAP and/or CHAP). Check whether the states of the two protocols are ‘Opened’.
  • Page 325 SmartWare Software Configuration Guide 30 • PPP configuration Example: Display PPP link information node(cfg)#show ppp links 4 PPP Link Information: ===================== Link: Name: ethernet 0 0 0/pppoe/ppp_green Protocols: LCP, PAP LCP: Name: ethernet 0 0 0/pppoe/ppp_green State: Opened Conf-Req send rate: 3000ms Max.
  • Page 326 SmartWare Software Configuration Guide 30 • PPP configuration Example: Display PPP network protocol information node(session)[green]#show ppp networks 4 PPP Network Information: ======================== Network: Name: ethernet 0 0 0/pppoe/ppp_green/net State: IPCP: Name: ethernet 0 0 0/pppoe/ppp_green/net State: Opened Conf-Req send rate: 3000ms Max.
  • Page 327: Sample Configurations

    SmartWare Software Configuration Guide 30 • PPP configuration Service: Access-Concentrator: State: Opened Sent Initiations: Sent Requests: Peer Session-ID: 3786 Peer MAC-Address: 00:01:02:B8:4E:E4 Sample configurations PPP over Ethernet (PPPoE) Without authentication, encapsulation multi, with NAPT profile napt WAN context ip router interface normal_ip_interface ipaddress 172.16.1.1 255.255.0.0 interface ppp_interface...
  • Page 328: Ppp Over A Hdlc Link (Serial Port)

    SmartWare Software Configuration Guide 30 • PPP configuration identification outbound <user> password <password> bind interface ppp_interface router port ethernet 0 0 encapsulation pppoe no shutdown pppoe session green bind subscriber joe_example no shutdown PPP over a HDLC Link (Serial Port) Without authentication, numbered interface context ip router interface ppp_interface...
  • Page 329: Ppp Dial-Up Over Isdn

    SmartWare Software Configuration Guide 30 • PPP configuration port e1t1 0 0 port-type e1 framing crc4 encapsulation hdlc hdlc encapsulation ppp bind interface myPPP router port e1t1 0 0 no shutdown PPP Dial-up over ISDN The following modules in this section must be configured in order to use the PPP dial-up over ISDN feature: •...
  • Page 330: Create A Dialer

    SmartWare Software Configuration Guide 30 • PPP configuration • Retry List: A list of up to 8 retry timeouts that define if and when a retry is started for the same destination after a failed dial attempt. • Binding: By binding a dialer destination to a PPP subscriber configuration entity, you define the PPP pro- tocol parameters (e.g.
  • Page 331: Configure Recovery Strategy

    SmartWare Software Configuration Guide 30 • PPP configuration Step Command Purpose [name] (outbound)[provider]#[no] retry Specifies how many times and after which <timeout1> [<timeout2> [timeout3>...]] timeouts the dialer shall redial the same pro- vider if the previous dial-attempt failed. Up to 8 retry timeouts can be specified.
  • Page 332: Create Inbound Destinations

    SmartWare Software Configuration Guide 30 • PPP configuration • If an additional link (when using multi-link PPP) was up and is accidentally disconnected, we retry to establish it after 5 seconds. • If an additional link (when using multi-link PPP) could not be established because of call-signaling prob- lems (e.g.
  • Page 333 SmartWare Software Configuration Guide 30 • PPP configuration The local and remote E.164 number configuration on inbound destinations have different meanings than for outbound destinations. On inbound destinations these numbers are used to dispatch incoming calls to one of the configured inbound destinations. Follow the steps below to create an inbound destination instance.
  • Page 334: Debug Dialer Functionality

    SmartWare Software Configuration Guide 30 • PPP configuration Debug dialer functionality The following commands show how to display information and events of a PPP dialer. Mode: enable Step Command Purpose [name] #show call-control provider Shows configuration and state information <dialer> detail <detail> about a certain dialer instance.
  • Page 335: Dial-Up

    SmartWare Software Configuration Guide 30 • PPP configuration interface dialer IF_DIALUP outbound 1 PROVIDER1 local-e164 100 remote-e164 0312345678 route call dest-interface BRI0 retry 5 10 10 encapsulation ppp bind subscriber SUB_PROVIDER1 use profile ppp default outbound 2 PROVIDER2 local-e164 100 remote-e164 0998887766 route call dest-interface BRI0 retry 5...
  • Page 336: Dial-Up On Monitor

    SmartWare Software Configuration Guide 30 • PPP configuration Dial-up on monitor Dial when a monitored interface is reported down and drop when that interface is reported up again. A delay time prevents to dial or drop if the monitored interface changes the state only for a short time. Mode: context ip/interface Step Command...
  • Page 337: Cs Context Overview

    Chapter 31 CS context overview Chapter contents Introduction ................................338 CS context configuration task list ........................339 Planning the CS configuration ..........................339 Configuring general CS settings...........................341 Configuring the clock source ........................341 Debugging the clock source ........................342 Selecting PCM law compression ......................343 Configuring call routing ............................343 Creating and configuring CS interfaces........................344...
  • Page 338: Introduction

    SmartWare Software Configuration Guide 31 • CS context overview Introduction This chapter gives an overview of the circuit-switching (CS) context and associated components, and describes the tasks involved in its configuration. It describes the steps needed configure voice connectivity, and refers to other chapters where a configuration topic is explained in more detail.
  • Page 339: Cs Context Configuration Task List

    SmartWare Software Configuration Guide 31 • CS context overview The CS context and its associated components route and establish voice calls. For example, the signaling for dial-up circuits is routed and the corresponding voice call circuits are switched between PSTN interfaces and via VoIP interfaces to the VoIP gateways and the IP context (see section “Configuring call routing”...
  • Page 340 SmartWare Software Configuration Guide 31 • CS context overview Figure 48 shows a typical application with a remote office in an enterprise network. The example focuses on the SmartNode in the remote office. There is an ISDN phone, a personal computer, a connection to the public ISDN network, and a connection to the IP backbone.
  • Page 341: Configuring General Cs Settings

    SmartWare Software Configuration Guide 31 • CS context overview Note Be careful when choosing where you get your clock source, if the clock used for packaging the ISDN voice frames is not synchronized with the remote ISDN clock, bit errors may result (such synchronization problems would probably cause a fax transmission to fail).
  • Page 342: Debugging The Clock Source

    SmartWare Software Configuration Guide 31 • CS context overview Mode: System Step Command Purpose node(sys)#clock-source hw-type slot port Add an entry to the end of the list node(sys)#clock-source index hw-type slot port Overwrite and entry at position ‘index’ node(sys)#clock-source before index hw-type slot port Insert an entry before position ‘index’ node(sys)#clock-source after index hw-type slot port Insert an entry after position ‘index’...
  • Page 343: Selecting Pcm Law Compression

    SmartWare Software Configuration Guide 31 • CS context overview Selecting PCM law compression The PCM law-select specifies the voice characteristic compression curve. Two values are possible: a-Law (used in Europe) and µ-Law (used in the USA). Procedure: To set the general CS parameters Mode: System Step Command...
  • Page 344: Creating And Configuring Cs Interfaces

    SmartWare Software Configuration Guide 31 • CS context overview SIP GW SIP GW H.323 GW H.323 GW A party B party Context IP Context IP router H.323 Interface H.323 Interface router Context CS Context CS switch switch ISDN Interface ISDN Interface IP Interface IP Interface Ethernet Port...
  • Page 345: Configuring Dial Tones

    SmartWare Software Configuration Guide 31 • CS context overview Basic interface routing allows you to forward all incoming calls on a CS interface directly to a destination CS interface. The call router allows you to route calls to all available CS interfaces, based on a call property such as calling number, destination number and ISDN bearer capability and many more.
  • Page 346: Configuring Isdn Ports

    SmartWare Software Configuration Guide 31 • CS context overview Configuring ISDN ports BRI and E1/T1 ports represent physical ports on the SmartNode. The configuration of the ISDN ports depends on the port type (BRI, E1 or T1), and on the connected voice device. To configure the ISDN ports, refer to chapter 34, “ISDN interface configuration”...
  • Page 347: Activating Cs Context Configuration

    SmartWare Software Configuration Guide 31 • CS context overview Activating CS context configuration After configuring the CS context and its components, the configuration must be activated. This includes bind- ing the physical ports to the CS interfaces and enabling the gateways, ports, and the CS context. In order to become functional, each interface must be bound from one port from which it receives incoming calls, and to which it forwards outgoing calls.
  • Page 348 SmartWare Software Configuration Guide 31 • CS context overview Mode: Context CS Step Command Purpose node(ctx-cs)[switch]#show call-router config detail Show the CS context configuration. level Level could be 1..5. Level 1 shows less, level 5 shows all information. node (ctx-cs)[switch]#debug call-router detail level Enable the call-router debug monitor.
  • Page 349: Smartnode In An Enterprise Network

    SmartWare Software Configuration Guide 31 • CS context overview 02:14:30 > Updating tables in 3 seconds... 02:14:33 > [switch] Reloading tables now 02:14:33 > [switch] Flushing all tables 02:14:33 > [switch] Loading table 'TAB-ISDN-SERVICE' 02:14:33 > [switch] Loading table 'TAB-DEST-A' 02:14:33 >...
  • Page 350: Planning The Cs Context

    SmartWare Software Configuration Guide 31 • CS context overview • Calls from office A or B with number 5xx to office C • All other calls from office A or B to the PSTN (local breakout) Gateway H.323 H.323 interface: IF-COMPOFF-A H.323 interface: IF-COMPOFF-B Session Router...
  • Page 351: Configuring General Cs Settings

    SmartWare Software Configuration Guide 31 • CS context overview • We enable DTMF relay and specify codec G.723. (Refer to section “Configuring voice over IP parameters” on page 345). • We define H.323 direct call signaling. (Refer to section “Configuring an H.323 VoIP connection” page 346).
  • Page 352 SmartWare Software Configuration Guide 31 • CS context overview Finally, we configure the call router. Here we create a routing table that examines the called party number of a call and routes numbers starting with a 1 and containing at least 3 digits to the hunt group that tries to reach company office A over VoIP and falls back to the PSTN.
  • Page 353: Configuring Voip Settings

    SmartWare Software Configuration Guide 31 • CS context overview node(rt-tab)[HUNT-PU~]#cyclic node(rt-tab)[HUNT-PU~]#route call 1 dest-interface IF-PUBLIC-PSTN1 node(rt-tab)[HUNT-PU~]#route call 2 dest-interface IF-PUBLIC-PSTN2 node(rt-tab)[HUNT-PU~]#exit node(ctx-cs)[switch]#exit node(cfg)# Configuring VoIP settings Because we need G.723 as codec we enable DTMF relay: node(cfg)#profile voip H323-VOIP-PROFILE node(pf-voip)[H323-VO~]#codec 1 g723-6k3 node(pf-voip)[H323-VO~]#dtmf-relay node(pf-voip)[H323-VO~]#exit node(cfg)#...
  • Page 354: Configuring An H.323 Voip Connection

    SmartWare Software Configuration Guide 31 • CS context overview node(q931)[2/2]#uni-side user node(q931)[2/2]#encapsulation cc-isdn node(q931)[2/2]#bind interface IF-PBX1 node(q931)[2/2]#exit node(q921)[2/2]#exit node(prt-bri)[2/2]#no shutdown node(cfg)#port bri 2 1 node(prt-bri)[2/3]#q921 node(q921)[2/3]#q931 node(q921)[2/3]#protocol pp node(q931)[2/3]#uni-side user node(q931)[2/3]#encapsulation cc-isdn node(q931)[2/3]#bind interface IF-PBX1 node(q931)[2/3]#exit node(q921)[2/3]#exit node(prt-bri)[2/3]#no shutdown Configuring an H.323 VoIP connection Next we configure call signaling: node(cfg)#gateway h323 h323 node(gw-h323)[h323]#no ras...
  • Page 355 SmartWare Software Configuration Guide 31 • CS context overview Table switch/IF-COMPOFF-A-precall-service: Value Function Dest-Type Dest-Name ------------------------------------------------------------------------------- dest-table TAB-CALLED-NUMBER Table switch/IF-COMPOFF-B-precall-service: Value Function Dest-Type Dest-Name ------------------------------------------------------------------------------- dest-table TAB-CALLED-NUMBER Table switch/TAB-CALLED-NUMBER: Value Function Dest-Type Dest-Name called-e164 ------------------------------------------------------------------------------- dest-service HUNT-COMPOFF-A dest-service HUNT-COMPOFF-B dest-service HUNT-PBX default dest-service...
  • Page 356: Showing The Running Configuration

    SmartWare Software Configuration Guide 31 • CS context overview 02:30:28 > [switch] Loading table 'IF-PUBLIC-PSTN2-precall-service' 02:30:28 > [switch] Loading table 'IF-COMPOFF-A-precall-service' 02:30:28 > [switch] Loading table 'IF-COMPOFF-B-precall-service' 02:30:28 > [switch] Loading table 'TAB-CALLED-NUMBER' node(ctx-cs)[switch]# Showing the running configuration The configuration script for our application looks as follows: cli version 3.00 system clock-source 2 3...
  • Page 357 SmartWare Software Configuration Guide 31 • CS context overview interface isdn IF-PUBLIC-PSTN1 route call dest-table TAB-CALLED-NUMBER interface isdn IF-PUBLIC-PSTN2 route call dest-table TAB-CALLED-NUMBER service hunt-group HUNT-COMPOFF-A timeout 5 drop-cause normal-unspecified drop-cause no-circuit-channel-available drop-cause network-out-of-order drop-cause temporary-failure drop-cause switching-equipment-congestion drop-cause access-info-discarded drop-cause circuit-channel-not-available drop-cause resources-unavailable route call 1 dest-interface IF-COMPOFF-A...
  • Page 358 SmartWare Software Configuration Guide 31 • CS context overview route call 1 dest-interface IF-PUBLIC-PSTN1 route call 2 dest-interface IF-PUBLIC-PSTN2 context cs switch no shutdown gateway h323 h323 faststart bind interface eth0 router no shutdown port ethernet 0 0 medium 10 half encapsulation ip bind interface eth0 router no shutdown...
  • Page 359 SmartWare Software Configuration Guide 31 • CS context overview port bri 2 1 no shutdown port bri 2 2 clock auto encapsulation q921 q921 protocol pp uni-side auto encapsulation q931 q931 protocol dss1 uni-side user encapsulation cc-isdn bind interface IF-PUBLIC-PSTN1 port bri 2 2 no shutdown port bri 2 3...
  • Page 360: Vpn Configuration

    Chapter 32 VPN configuration Chapter contents Introduction ................................361 Authentication ..............................361 Encryption ..............................361 Transport and tunnel modes .........................362 Permanent IKE Tunnels ..........................362 Key management ............................362 VPN configuration task list ..........................363 Creating an IPsec transformation profile .......................363 Creating an IPsec policy profile ........................363 Creating/modifying an outgoing ACL profile for IPsec .................365...
  • Page 361: Introduction

    SmartWare Software Configuration Guide 32 • VPN configuration Introduction This chapter describes how to configure the VPN connections between two SmartNodes or between a SmartNode and a third-party device. A virtual private network (VPN) is a private data network that uses the public telecommunications infrastruc- ture, maintaining privacy through the use of a tunneling protocol and security procedures.
  • Page 362: Transport And Tunnel Modes

    SmartWare Software Configuration Guide 32 • VPN configuration Transport and tunnel modes The mode determines the payload of the ESP packet and hence the application: • Transport mode: Encapsulates only the payload of the original IP packet, but not its header, so the IPsec peers must be at the endpoints of the communications link.
  • Page 363: Vpn Configuration Task List

    SmartWare Software Configuration Guide 32 • VPN configuration VPN configuration task list To configure a VPN connection, perform the following tasks: • Creating an IPsec transformation profile • Creating an IPsec policy profile • Creating/modifying an outgoing ACL profile for IPsec •...
  • Page 364 SmartWare Software Configuration Guide 32 • VPN configuration Procedure: To create an IPsec policy profile Mode: Configure Step Command Purpose node(cfg)#profile ipsec-policy-man- Creates the IPsec policy profile name ual name node(pf-ipstr)[name]#use profile Selects the IPsec transformation profile to be ipsec-transform name applied node(pf-ipstr)[name]#session-key Sets a key for encryption or an authenticator for...
  • Page 365: Creating/Modifying An Outgoing Acl Profile For Ipsec

    SmartWare Software Configuration Guide 32 • VPN configuration Use no in front of the above commands to delete a profile or a configuration entry. Example: Create an IPsec policy profile The following example defines a profile for AES-encryption at a key length of 128. node(cfg)#profile ipsec-policy-manual ToBerne node(pf-ipsma)[ToBerne]#use profile ipsec-transform AES_128 node(pf-ipsma)[ToBerne]#session-key inbound esp-encryption...
  • Page 366: Configuration Of An Ip Interface And The Ip Router For Ipsec

    SmartWare Software Configuration Guide 32 • VPN configuration Configuration of an IP interface and the IP router for IPsec The IP interface that provides connectivity to the IPsec peer, must now activate the outgoing ACL profile con- figured in the previous section. Furthermore, the IP router must have a route for the remote network that points to the respective IP interface.
  • Page 367: Debugging Ipsec

    SmartWare Software Configuration Guide 32 • VPN configuration Example: Display IPsec transformation profiles node(cfg)#show profile ipsec-transform IPSEC transform profiles: Name: AES_128 ESP Encryption: AES-CBC, Key length: 128 Example: Display IPsec policy profiles node(cfg)#show profile ipsec-policy-manual Manually keyed IPsec policy profiles: Name: ToBerne, Peer: 200.200.200.1, Mode: tunnel, transform-profile: AES_128 ESP SPI Inbound: 1111, Outbound: 2222 ESP Encryption Key Inbound: 1234567890ABCDEF1234567890ABCDEF...
  • Page 368: Key Management (Ike)

    SmartWare Software Configuration Guide 32 • VPN configuration MANUAL ToBerne Tunnel 200.200.200.1 1111 AES-CBC 128 3622/unlimited 19047/unlimited OUT MANUAL ToBerne Tunnel 200.200.200.1 2222 AES-CBC 128 2857/unlimited 19047/unlimited Key management (IKE) In addition to manual keyed IPSEC connections, support for automatically keyed IPSEC connections using the Internet Key Exchange (IKE / RFC2409) protocol has been integrated, which is based on Internet Security Association and Key Management Protocol (ISAKMP / RFC2408).
  • Page 369: Creating An Isakmp Transform Profile

    SmartWare Software Configuration Guide 32 • VPN configuration can optionally also specify a security association lifetime for IKE security associations. If the lifetime of the security association expires, IKE will automatically negotiate a new security association. The default lifetime for ISPEC security associations is one hour without any limit on the transmitted data volume. The parameters defined in this profile are used for the negotiation of IPSEC security associations in quick mode.
  • Page 370: Creating An Isakmp Ipsec Policy Profile

    SmartWare Software Configuration Guide 32 • VPN configuration Creating an ISAKMP IPSEC policy profile To define all the settings and profiles needed to establish an IPSEC security association, you need to create an ISAKMP IPSEC policy profile There you can specify the ISAKMP and IPSEC transforms you created above, which should be used and other necessary parameters.
  • Page 371: Creating/Modifying An Outgoing Acl Profile For Ipsec

    SmartWare Software Configuration Guide 32 • VPN configuration Step Command Purpose node(pf- ipsik)[<name>]# protected- Optionally if the remote system requires pro- network {host <local-host-ip>}|{sub- tected networks to be specified in the identity (optional) net <local-subnet-address> <local- payload of the quick mode, you can define one subnet-mask>}|{range <local-range- or more protected networks using this command.
  • Page 372: Troubleshooting

    SmartWare Software Configuration Guide 32 • VPN configuration permit 4 ip any 10.0.0.0 0.255.255.255 ipsec-policy VPN permit 5 ip any any profile ipsec-transform IPSEC_3DES_192 esp-encryption 3des-cbc 192 profile isakmp-transform ISAKMP_3DES_192 encryption 3des-cbc 192 authentication-algorithm sha1 profile ipsec-policy-isakmp VPN authentication-method pre-shared-key sdfkl@hgdslkfs/iuçkfld$gus+ghf mode tunnel peer 1.2.3.4 diffie-hellman-group group2...
  • Page 373: Encrypted Voice - Performance Considerations

    SmartWare Software Configuration Guide 32 • VPN configuration In addition to the monitors there are also show commands, which display current information about IKE and IPSEC. show ike policy <policy-name> • Displays information about the configuration options of specific policy as well as an indication, if the policy is valid or not.
  • Page 374: Using An Alternate Source Ip Address For Specific Destinations

    SmartWare Software Configuration Guide 32 • VPN configuration Mode: Context ip /interface <if-name> Step Command Purpose node(if-ip)[if-name]# [no] rtp-encryp- Enable or disable RTP encryption support on an tion IP interface. Using an alternate source IP address for specific destinations Normally, locally originated IP packets use the IP address of the outbound IP interface as their source address. However, when using VPN tunnels there are situations, where locally originated IP packets must be sent using the source IP address of an alternate interface.
  • Page 375: Sample Configurations

    SmartWare Software Configuration Guide 32 • VPN configuration Sample configurations The following sample configurations establish IPsec connections between a SmartNode and a Cisco router. To interconnect two SmartNodes instead, derive the configuration for the second SmartNode by doing the follow- ing modifications: •...
  • Page 376: Cisco Router Configuration

    SmartWare Software Configuration Guide 32 • VPN configuration Cisco router configuration crypto ipsec transform-set DES esp-des crypto map VPN_DES local-address FastEthernet0/1 crypto map VPN_DES 10 ipsec-manual set peer 200.200.200.2 set session-key inbound esp 2222 cipher FEDCBA0987654321 set session-key outbound esp 1111 cipher 1234567890ABCDEF set transform-set DES match address 110 access-list 110 permit ip 172.16.0.0 0.0.255.255 192.168.1.0 0.0.0.255...
  • Page 377: Ipsec Tunnel, 3Des Encryption At 192 Bit Key Length, Esp Authentication With Hmac-Md5-96

    SmartWare Software Configuration Guide 32 • VPN configuration set session-key inbound esp 6666 cipher FEDCBA0987654321FEDCBA0987654321FEDCBA0987654321FEDCBA0987654321 set session-key outbound esp 5555 cipher 1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF set session-key inbound ah 4444 FEDCBA0987654321FEDCBA0987654321FEDCBA09 set session-key outbound ah 3333 1234567890ABCDEF1234567890ABCDEF12345678 set transform-set AES_SHA1 match address 110 For the remainder of the configuration (see above), just change the name of the IPsec policy profile in the ACL profile VPN_Out IPsec tunnel, 3DES encryption at 192 bit key length, ESP authentication with...
  • Page 378 SmartWare Software Configuration Guide 32 • VPN configuration For the remainder of the configuration (see above), just change the name of the IPsec policy profile in the ACL profile VPN_Out. Sample configurations...
  • Page 379: Cs Interface Configuration

    Chapter 33 CS interface configuration Chapter contents Introduction ................................380 CS interface configuration task list ........................380 Creating and configuring CS interfaces........................381 Configuring call routing ............................382 Configuring the interface mapping tables ......................383 Configuring the precall service tables ........................386...
  • Page 380: Introduction

    SmartWare Software Configuration Guide 33 • CS interface configuration Introduction This chapter provides an overview of interfaces in the CS context and describes the tasks involved in their con- figuration. Within the CS context, an interface is a logical entity providing call signaling for incoming and out- going calls to and from telephony ports and voice over IP gateways.
  • Page 381: Creating And Configuring Cs Interfaces

    SmartWare Software Configuration Guide 33 • CS interface configuration page 524 and chapter 47, “VoIP profile configuration” on page 568. To create and configure CS interfaces you have to perform the configuration tasks listed below. • Creating and configuring CS interfaces •...
  • Page 382: Configuring Call Routing

    SmartWare Software Configuration Guide 33 • CS interface configuration The following example shows how to create and configure an interface, how to display it, and how to delete another. node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface isdn IF-PBX1 node(if-pstn)[IF-PBX1]#route call dest-interface TAB-CALLED-NUMBER node(if-pstn)[IF-PBX1]#show call-control provider Provider: IF-PBX1 =================...
  • Page 383: Configuring The Interface Mapping Tables

    SmartWare Software Configuration Guide 33 • CS interface configuration In the environment of the CS interfaces, it is necessary to specify whether the call will be routed directly to another CS interface (basic interface routing) or to a first lookup table from the call router (advanced call rout- ing).
  • Page 384 SmartWare Software Configuration Guide 33 • CS interface configuration to another user agent having a different URI than the called one. This new URI as well as the derived E.164 number cannot be manipulated using the call router before presenting it to the other party. To circumvent this limitation, you can use mapping tables directly on an interface.
  • Page 385: Incoming Call Passing An Interface Mapping Table

    SmartWare Software Configuration Guide 33 • CS interface configuration Mapping-Table: PRIV-TO-GLOB use (input) input property output property Context CS switch E.164 E.164 interface isdn IF-PHONES (..) 00419988825\1 Incoming Call #1 Incoming Call #1 Calling Calling E.164 E.164 0041998882520 Called Called 0041998882521 E.164 E.164...
  • Page 386: Configuring The Precall Service Tables

    SmartWare Software Configuration Guide 33 • CS interface configuration Mapping-Table: PRIV-TO-GLOB use (input) input property output property Context CS switch E.164 E.164 interface isdn IF-PHONES (..) 00419988825\1 Incoming Call Incoming Call Calling Calling E.164 E.164 0041998882520 Called Called E.164 E.164 0041998882521 Routing-Table: TAB-CALLED-NUMBER Outgoing Call...
  • Page 387 SmartWare Software Configuration Guide 33 • CS interface configuration • interrogate-cw—Detects whether or not the call-waiting supplementary service is active on the interface that uses the precall service table. Note Currently you can only use precall service tables on FXS interfaces. Procedure: To create precall service table and use it on an FXS interface Mode: Context CS Step...
  • Page 388: Isdn Interface Configuration

    Chapter 34 ISDN interface configuration Chapter contents Introduction ................................389 ISDN interface configuration task list........................389 Configuring DTMF dialing (optional) ......................390 Configuring an alternate PSTN profile (optional) ..................390 Configuring ringback tone on ISDN user-side interfaces ................391 Configuring call waiting (optional) .......................391 Disabling call-waiting on ISDN DSS1 network interfaces ................391 Configuring Call-Hold on ISDN interfaces ....................392...
  • Page 389: Introduction

    SmartWare Software Configuration Guide 34 • ISDN interface configuration Introduction This chapter provides an overview of ISDN interfaces, and the tasks involved in their configuration. This chap- ter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface configuration can be found in the general chapter about CS interface configuration (see chapter 33, “CS inter- face configuration”...
  • Page 390: Configuring Dtmf Dialing (Optional)

    SmartWare Software Configuration Guide 34 • ISDN interface configuration Configuring DTMF dialing (optional) Most ISDN terminals support two modes of call setup: En-bloc dialing and overlap dialing. En-bloc dialing transports the full called party information in the first SETUP message from the terminal. This means that the user must dial the number before going off-hook.
  • Page 391: Configuring Ringback Tone On Isdn User-Side Interfaces

    SmartWare Software Configuration Guide 34 • ISDN interface configuration Example: Configure an alternate PSTN profile The following example shows how to replace the PSTN profile default of the ISDN interface with the PSTN profile myprofile. node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface isdn myIsdnIf node(if-isdn)[myIsdnIf]#use profile pstn myprofile Configuring ringback tone on ISDN user-side interfaces If a ring-back tone needs to be played towards the PSTN from an ISDN user-side interface, this can be forced...
  • Page 392: Configuring Call-Hold On Isdn Interfaces

    SmartWare Software Configuration Guide 34 • ISDN interface configuration Configuring Call-Hold on ISDN interfaces Normally, the call-hold feature is disabled on ISDN point-to-point links and enabled on ISDN point-to-mul- tipoint links. However, you can manually enable or disable the Call-Hold feature using the following com- mand: The default setting can be achieved using the ‘auto’...
  • Page 393: Enabling Sending The Connected Party Number (Colp) (Optional)

    SmartWare Software Configuration Guide 34 • ISDN interface configuration Enabling sending the connected party number (COLP) (optional) Sending the connected party number (COLP) can be suppressed by the command send-connected- party-num- ber. Mode: context cs/interface isdn Step Command Purpose node(if-isdn)[if-name]#[no] send-con- Enables/Disables sending the connected-party- nected-party-number number.
  • Page 394 SmartWare Software Configuration Guide 34 • ISDN interface configuration Home Office Central Office te w u te v ic d ia ic e te w g ra n so n so P or ic e P or ic e E ne E ne E ne te w...
  • Page 395: Isdn Advice Of Charge Support

    SmartWare Software Configuration Guide 34 • ISDN interface configuration The push-back mechanism can be configured on each interface separately. Per default push-back is enabled for ISDN and SIP interfaces. You only have to change the configuration if you don’t want internally looped calls to be pushed back to the network.
  • Page 396 SmartWare Software Configuration Guide 34 • ISDN interface configuration The following procedure disables the reception of AOC messages from the network on an ISDN user interface. Step Command Purpose node(ctx-ip)[ctx-name]# interface isdn Go to the ISDN interface, for which you want to <if-name>...
  • Page 397 SmartWare Software Configuration Guide 34 • ISDN interface configuration there is no AOC information from the network. In that case a message containing the value noChargeAvailable is sent. Step Command Purpose node(ctx-ip)[ctx-name]# interface isdn Go to the ISDN network interface, for which you <if-name>...
  • Page 398 SmartWare Software Configuration Guide 34 • ISDN interface configuration The following table shows an overview of the AOC variants: aoc-x no aoc-x aoc-x automatic aoc-x explicit transparent Default option ISDN User Interface (connected to a PBX switch etc.) No message from No information for- No information for- No information for-...
  • Page 399: Isdn Divertingleginformation2 Facility

    SmartWare Software Configuration Guide 34 • ISDN interface configuration ISDN DivertingLegInformation2 Facility SmartWare is now able to extract the redirecting information from the DiverstingLegInformation2 Facility and to provide them to the call control. In the other direction, the redirecting information can be sent as DiverstingLegInformation2 Facility in addition to the Redirecting Number Information Element.
  • Page 400 SmartWare Software Configuration Guide 34 • ISDN interface configuration • caller-name early-alerting <timeout>: This configuration command specifies the behaviour for incoming ISDN calls. Some networks only deliver the name after an alerting indication. These networks simulate the mid-ring name delivery feature of analog lines. If early alerting is enabled, we send back a faked ALERT- ING message after a configurable timeout when we receive a NameInformationFollowing indication.
  • Page 401 SmartWare Software Configuration Guide 34 • ISDN interface configuration Step Command Purpose node(if-isdn)#caller-name ignore- (optional) If no name is present in an incoming absence 1000 ISDN call and if the incoming SETUP message con- tains the NameInformationFollowing indication, we forward the call to the routing destination any- way after 1000ms (500ms after faking the ALERT- ING message in this example).
  • Page 402: Fxs Interface Configuration

    Chapter 35 FXS interface configuration Chapter contents Introduction ................................403 FXS interface configuration task list ........................403 Configuring a subscriber number (recommended) ..................403 Configuring an alternate PSTN profile (optional) ..................404 Configuring caller-ID presentation (optional) ....................404 Configuring flash hook processing (optional) ....................404 FXS supplementary services description.......................405 Call hold ...............................406...
  • Page 403: Introduction

    SmartWare Software Configuration Guide 35 • FXS interface configuration Introduction This chapter provides an overview of FXS interfaces, and the tasks involved in their configuration. This chapter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface con- figuration can be found in the general chapter about CS interface configuration (see chapter 33, “CS interface configuration”...
  • Page 404: Configuring Caller-Id Presentation (Optional)

    SmartWare Software Configuration Guide 35 • FXS interface configuration Mode: Interface FXS Step Command Purpose [name](if-fxs)[name]#[no] subscriber- Applies a subscriber number for the fxs interface. number <number> The no form of the command clears an existing one. Default: none Configuring an alternate PSTN profile (optional) The PSTN profile contains the configuration for data/voice transmission on circuit-switched channels (See chapter 48, “PSTN profile configuration”...
  • Page 405: Fxs Supplementary Services Description

    SmartWare Software Configuration Guide 35 • FXS interface configuration FXS supplementary services description FXS interfaces offer a set of supplementary services. Some of these services are locally terminated. Others, like conferencing, push the involved subscribers to an external service. These supplementary services are: •...
  • Page 406: Call Hold

    SmartWare Software Configuration Guide 35 • FXS interface configuration The command to change the key patterns is available in the interface fxs configuration mode. If the patterns start with the same key sequence, they should also have the same length. The key parser is of type best match- ing so it executes the service of the first pattern that represents a full match.
  • Page 407: Call Waiting Reminder Ring

    SmartWare Software Configuration Guide 35 • FXS interface configuration Call waiting reminder ring If a remote subscriber disconnects the call, the local subscriber will hear the release tone and go on-hook. But, if there is still a pending remote subscriber that has been previously set on hold, the phone rings right after on- hook.
  • Page 408: Conferencing

    SmartWare Software Configuration Guide 35 • FXS interface configuration Conferencing When executing a conference, all involved calls will be handed to a given call-router conference service. It is then the responsibility of this service to initiate the conference. Conference services are configured in the Con- text CS and are protocol specific.
  • Page 409: Fxo Interface Configuration

    Chapter 36 FXO interface configuration Chapter contents Introduction ................................410 FXO services description .............................411 Creating an FXO interface...........................411 Deleting an FXO interface...........................412 FXO interface configuration task list ........................413 FXO off-hook on caller ID ...........................413 Configuring an alternate PSTN profile (optional) ..................413 Configuring when the digits are dialed (optional) ..................414 Configuring the number of rings to wait before answering the call (optional)
  • Page 410: Introduction

    SmartWare Software Configuration Guide 36 • FXO interface configuration Introduction This chapter provides an overview of FXO interfaces and the tasks involved in configuring them. This chapter does not explain the basic configuration steps common to all Context Switch (CS) interfaces. Information about basic interface configuration can be found in chapter 33, “CS interface configuration”...
  • Page 411: Fxo Services Description

    SmartWare Software Configuration Guide 36 • FXO interface configuration FXO services description The wide variety of applications and services are supported through a rich feature set. The major characteristics and features are • 2-wire loop-start • Off-hook and ring detection supervision •...
  • Page 412: Deleting An Fxo Interface

    SmartWare Software Configuration Guide 36 • FXO interface configuration Once you are in the Context CS mode, you can enter the FXO configuration mode with the next steps. Step Prompt & command Purpose node(ctx-cs)[switch]#interface fxo name The “interface fxo” command creates the new interface name, which represents an FXO inter- face.
  • Page 413: Fxo Interface Configuration Task List

    SmartWare Software Configuration Guide 36 • FXO interface configuration FXO interface configuration task list There are numerous configurable parameters that apply to the FXO interface. The basic commands are listed with a short description of their function. • Determines if the FXO interface will go off-hook upon reception of a speci- ring-number on-caller-id—...
  • Page 414: Configuring When The Digits Are Dialed (Optional)

    SmartWare Software Configuration Guide 36 • FXO interface configuration Mode: Interface FXO Step Prompt, command & response Purpose node> Basic prompt in Operator Exec mode node>enable Enters Administration execution mode node# Response: The prompt in administration execu- tion mode is the # node#configure Enters the Configure configuration mode node(cfg)#...
  • Page 415 SmartWare Software Configuration Guide 36 • FXO interface configuration Mode: Interface FXO Step Prompt, command & response Purpose node> Basic prompt in Operator Exec mode node>enable Enters Administration execu- tion mode node# Response: The prompt in administration execution mode is the # node#configure Enters the Configure configu- ration mode...
  • Page 416: Configuring The Number Of Rings To Wait Before Answering The Call (Optional)

    SmartWare Software Configuration Guide 36 • FXO interface configuration Note Verify that you have configured the dial-tone for the country in which the SmartNode is installed. (see chapter 42, “Tone configuration” on page 524). If the dial-tone is not configured for the proper country, the FXO interface will not detect when the remote FXS switch is sending dial-tone.
  • Page 417: Configuring How To Detect A Call Has Disconnected (Optional)

    SmartWare Software Configuration Guide 36 • FXO interface configuration Configuring how to detect a call has disconnected (optional) When a call has disconnected, the FXO interface may detect and verify the termination of the phone call by three different methods. •...
  • Page 418: Configuring How To Detect An Outgoing Call Is Connected (Optional)

    SmartWare Software Configuration Guide 36 • FXO interface configuration Note Use the battery-reversal disconnect signal with caution, and use only if the battery-reversal connect signal is also enabled. Configuring how to detect an outgoing call is connected (optional) An FXO interface has the following methods for verifying the connection of an outgoing call after the dialing has been completed: •...
  • Page 419: Configuring The Destination Of The Call

    SmartWare Software Configuration Guide 36 • FXO interface configuration Configuring the destination of the call The last command in configuring the FXO Interface is the route command. This command configures the call router. You can configure the routing-destination for call setup and for service activation. For complete details, see chapter 40, “Call router configuration”...
  • Page 420: Fxo Interface Examples

    SmartWare Software Configuration Guide 36 • FXO interface configuration FXO interface examples Example 1: Configuring an FXO interface which is to be connected to a PSTN network for analog line exten- sion over IP. The FXS switch provides caller-id between the first and second ring and uses battery reversal to indicate a connected call.
  • Page 421: Rbs Interface Configuration

    Chapter 37 RBS interface configuration Chapter contents Introduction ................................422 RBS interface configuration task list ........................422 Creating/Deleting a RBS interface ........................422 Configuring an alternate PSTN profile ......................422 Configuring an alternate Tone-Set profile .....................423 Configuring B-Channel allocation strategy ....................423 Configuring additional disconnect signals .....................423 Configuring number of Rings before Off-Hook ....................424...
  • Page 422: Introduction

    SmartWare Software Configuration Guide 37 • RBS interface configuration Introduction This chapter provides an overview of RBS interfaces, and the tasks involved in their configuration. This chap- ter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface configuration can be found in the general chapter about CS interface configuration (see Chapter 33, “CS inter- face configuration”...
  • Page 423: Configuring An Alternate Tone-Set Profile

    SmartWare Software Configuration Guide 37 • RBS interface configuration Mode: Interface RBS Step Command Purpose node(if-rbs)[if-name]#use profile pstn pro- Defines an alternate PSTN profile to be used for file-name this RBS interface/Reverts the setting to its default (use profile PSTN default) Configuring an alternate Tone-Set profile The Tone-Set profile contains the mapping of the different Call Progress Tones like Dial-Tone, Ringback-Tone or Release-Tone to programmed tone sequences.
  • Page 424: Configuring Number Of Rings Before Off-Hook

    SmartWare Software Configuration Guide 37 • RBS interface configuration Mode: Interface RBS Step Command Purpose node(if-rbs)[if-name]#[no] disconnect-sig- Enables/Disables the busy/release-tone as addi- nal {busy-tone} tional disconnect signal. Default: Enabled Configuring number of Rings before Off-Hook The Loop Start and the Ground Start protocol on the subscriber side identifying an incoming call by detecting the Ring-Signal sent by the exchange side.
  • Page 425 SmartWare Software Configuration Guide 37 • RBS interface configuration Mode: Operator execution Step Command Purpose node#show ccrbs call if-name [detail level] Prints information about ongoing calls on the selected interface. node#show ccrbs interface if-name [detail Prints information about the configuration of the level] selected interface and about the states of the belonging protocol endpoints.
  • Page 426: Interface Configuration

    Chapter 38 H.323 interface configuration Chapter contents Introduction ................................427 H.323 interface configuration task list .........................427 Binding the interface to an H.323 gateway ....................428 Configuring an alternate VoIP profile (optional) ...................429 Configuring CLIP/CLIR support (optional) ....................430 Enabling ‘early-proceeding’ on H.323 interfaces ...................431 Enabling the early call connect (optional) .....................431...
  • Page 427: Introduction

    SmartWare Software Configuration Guide 38 • H.323 interface configuration Introduction This chapter provides an overview of H.323 interfaces used by H.323 gateways and describes the specific tasks involved in their configuration. This chapter does not explain the basic configuration steps required for all CS interfaces.
  • Page 428: H.323 Interface Configuration Task List

    SmartWare Software Configuration Guide 38 • H.323 interface configuration • Configuring information transfer capability handling (optional) • Configuring CLIP/CLIR support (optional) • Enabling the early-proceeding feature for call setup • Enabling the early call disconnect (optional) • Enabling the via address support (optional) •...
  • Page 429: Configuring An Alternate Voip Profile (Optional)

    SmartWare Software Configuration Guide 38 • H.323 interface configuration The following example shows how to associate an H.323 interface named MyH323If with a remote H.323 entity, which has the IP address 1.2.3.4 node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface h323 MyH323If node(if-h323)[myh323if]#remoteip 1.2.3.4 Configuring an alternate VoIP profile (optional) Normally, the VoIP profile defined in the H.323 gateway is used for all the calls over that gateway.
  • Page 430: Configuring Clip/Clir Support (Optional)

    SmartWare Software Configuration Guide 38 • H.323 interface configuration Mode: Interface H.323 Step Command Purpose node(if- h323)[if-name]#itc rx {3k1- Specifies the information transfer capability to audio | 7k-audio | restricted-digital | be used for calls from the H.323 gateway to unrestricted-digital | speech | video | another gateway of the system (incoming transparent }...
  • Page 431: Enabling 'Early-Proceeding' On H.323 Interfaces

    SmartWare Software Configuration Guide 38 • H.323 interface configuration Mode: Interface H.323 Step Command Purpose node(if- h323)[if-name]#clip-clir-support Enables CLIP/CLIR support on the H.323 interface Example: Enable CLIP/CLIR support The following example shows how to enable CLIP/CLIR support on the H.323 interface MyH323If. node>enable node#configure node(cfg)#context cs...
  • Page 432: Enabling The Early Call Disconnect (Optional)

    SmartWare Software Configuration Guide 38 • H.323 interface configuration Enabling the early call disconnect (optional) Early call disconnect suppresses busy tones (e.g. disturbing a telephone conference) and post-call announce- ments by sending an H.323 Release message to the remote peer when the connected terminal hangs up (ISDN: when Disconnect message is received;...
  • Page 433: Configuring Status Inquiry Settings (Optional)

    SmartWare Software Configuration Guide 38 • H.323 interface configuration Note The call-signaling port specified here has no effect, if a gatekeeper is used. In that case the gatekeeper will provide the portnumber to use for establishing the call signaling connection Procedure: To configure an alternate destination TCP call-signaling port Mode: Interface H.323 Step...
  • Page 434: Enabling Or Disabling Overlapped Sending Support In H.323

    SmartWare Software Configuration Guide 38 • H.323 interface configuration node(cfg)#context cs node(ctx-cs)[switch]#interface h323 MyH323If node(if-h323)[MyH323If]#no status-inquiry Procedure: To change the default status inquiry interval Mode: Interface H.323 Step Command Purpose node(if-h323)[if-name]#status-inquiry Changes the status inquiry interval on the timeout seconds interface to the specified number of seconds Example: Disable status inquiries The following example...
  • Page 435 SmartWare Software Configuration Guide 38 • H.323 interface configuration The following commands can be used to change the AOC-D over H.323 tunneling behavior on an H.323 interface: Mode: context cs/interfce h.323 <interface-name. Step Command Purpose node(if-h323)[if-name]# [no] aoc-d Enables or disables reception of AOC-D infor- accept mation in FACILITY messages received in calls over the current interface.
  • Page 436: Sip Interface Configuration

    Chapter 39 SIP interface configuration Chapter contents Introduction ................................437 SIP interface configuration task list........................437 Binding the interface to a SIP gateway ......................438 Configure a remote host ..........................438 Configuring a local host (Optional) ......................439 Using an alternate VoIP profile (Optional) ....................439 Using an alternate SIP profile (Optional) ......................440 Using an alternate Tone-Set profile (Optional)
  • Page 437: Introduction

    SmartWare Software Configuration Guide 39 • SIP interface configuration Introduction This chapter provides an overview of SIP interfaces used by context SIP gateways and describes the specific tasks involved in their configuration. This chapter does not explain the basic configuration steps required for all CS interfaces.
  • Page 438: Binding The Interface To A Sip Gateway

    SmartWare Software Configuration Guide 39 • SIP interface configuration • Binding the interface to a context SIP gateway (see page 438) • Configure a remote host (see page 438) • Configure a local host (Optional) (see page 439) • Using an alternate VoIP profile (Optional) (see page 439) •...
  • Page 439: Configuring A Local Host (Optional)

    SmartWare Software Configuration Guide 39 • SIP interface configuration Mode: Interface SIP Step Command Purpose [node](if-sip)[if-name]# [no] remote <host- Specifies the remote host name and port. The name> [port] no form of the command removes a config- ured host name. Default Hostname: none Default Port: 5060 Configuring a local host (Optional)
  • Page 440: Using An Alternate Sip Profile (Optional)

    SmartWare Software Configuration Guide 39 • SIP interface configuration Mode: Interface SIP Step Command Purpose [node](if-sip)[if-name]#use profile voip Defines an alternate VoIP profile to be used profile-name for this SIP interface. Default: default Using an alternate SIP profile (Optional) The SIP profile contains a cause and reason mapping from SIP notation to the call control notation and vice versa.
  • Page 441: Configuring Early Call Connect / Disconnect (Optional)

    SmartWare Software Configuration Guide 39 • SIP interface configuration Mode: Interface SIP Step Command Purpose [node](if-sip)[if-name]#use profile tone- Defines an alternate Tone-Set profile to be set profile-name used for this SIP interface. Default: default Configuring early call connect / disconnect (Optional) Normally, SIP calls are fully connected by sending a 200 OK response to the INVITE request, if the called party answers the call.
  • Page 442: Mapping Sip Headers To Call-Control Properties

    SmartWare Software Configuration Guide 39 • SIP interface configuration Mapping SIP headers to call-control properties This functionality specifies rules that describe which SIP header should take place as a specific call-control property like the called-e164 or the calling-e164 number. Mode: Interface SIP Step Command Purpose...
  • Page 443: Enabling Sip Rfc Privacy, Asserted-Identity, & Preferred-Identity Headers (Rfc 3323/3325)

    SmartWare Software Configuration Guide 39 • SIP interface configuration Mode: Interface SIP Step Command Purpose [node](if-sip)[if-name]# address-transla- Enables Redirecting Party Number Tunneling tion outgoing-call request-uri target- ISDN ‡ SIP: Enables transmission of the target param call redir and cause parameters in the Request-URI for outgoing SIP calls.
  • Page 444: Sip Diversion Header

    SmartWare Software Configuration Guide 39 • SIP interface configuration It is possible to configure the sip interface to wait for the caller-name, caller-number or both parameters before routing the call. If the caller-address parameters are sent with sip update and the call will be forwarded to a net- work where these parameters must be present at call setup time (ISDN), this wait-service must be enabled.
  • Page 445: Transmit Direction

    SmartWare Software Configuration Guide 39 • SIP interface configuration Transmit Direction. For enabling sending of the Diversion Header, an outgoing address translation expres- sion must be configured on the sip interface. This expression specifies how to create the Diversion URI of the header.
  • Page 446: Sip Refer Transmission (& Isdn Explicit Call Transfer Support)

    SmartWare Software Configuration Guide 39 • SIP interface configuration SIP REFER Transmission (& ISDN Explicit Call Transfer support) Additional call transfer support, a push-back mechanism, is enabled by default for SIP interfaces by sending REFER messages. SmartWare detects calls that are looped internally, i.e. calls that leave the device over the same SIP interface over which they enter the device.
  • Page 447 SmartWare Software Configuration Guide 39 • SIP interface configuration Home Office Central Office te w u te v ic d ia ic e te w g ra n so n so P or ic e P or ic e E ne E ne E ne te w...
  • Page 448: Aoc Over Sip (Optional)

    SmartWare Software Configuration Guide 39 • SIP interface configuration The push-back mechanism can be configured on each interface separately. Per default push-back is enabled for ISDN and SIP interfaces. You only have to change the configuration if you don't want internally looped calls to be pushed back to the network.
  • Page 449: Enabling The Session Timer (Optional)

    SmartWare Software Configuration Guide 39 • SIP interface configuration Enabling the session timer (Optional) The gateway implements the SIP session timer feature, which is currently only defined in SIP draft standards. The session timer feature allows a gateway to check periodically during a call, if the remote gateway is still alive and if the call is still connected on the remote gateway.
  • Page 450: Configure The Sip Hold Method (Optional)

    SmartWare Software Configuration Guide 39 • SIP interface configuration Configure the SIP hold method (Optional) There are different ways to set a remote SIP subscriber On Hold. This command specifies which method the SmartNode uses to indicate this call state. In receive direction, all of them will be accepted. Mode: Interface SIP Step Command...
  • Page 451: Call Router Configuration

    Chapter 40 Call router configuration Chapter contents Introduction ................................453 Call router configuration task list.........................455 Map out the goals for the call router ......................455 Enable advanced call routing on circuit interfaces ..................456 Configure general call router behavior ......................456 Configure address completion timeout ....................456 Configure default digit collection timeout and terminating character ............457...
  • Page 452 SmartWare Software Configuration Guide 40 • Call router configuration Egress Interface ............................490 Creating call services .............................492 Creating a hunt group service ........................492 Creating a distribution group service ......................501 Distribution-Group Min-Concurrent setting ....................503 Call-router ‘limiter’ service ..........................503 Priority service ..............................504 CS Bridge service—‘VoIP Leased Line’ ......................506 Configuring the service second-dialtone ......................508...
  • Page 453: Introduction

    SmartWare Software Configuration Guide 40 • Call router configuration Introduction This chapter provides an overview of call router tables, mapping tables and call services and describes the tasks involved in configuring the call router in SmartWare. This chapter includes the following sections: •...
  • Page 454: Direct Call Routing Vs. Advanced Call Routing

    SmartWare Software Configuration Guide 40 • Call router configuration service is an example for a call service. Figure 62 illustrates direct call and advanced call routing. In this chapter, advanced call routing is explained. For configuring direct call routing refer to chapter 40, “Call router configu- ration”...
  • Page 455: Call Router Configuration Task List

    SmartWare Software Configuration Guide 40 • Call router configuration • Time of day; hour:minute:second • Date; day.month.year The call router allows you to solve practically any call routing and call property manipulation requirement that you may have. The call router is very flexible in allowing the construction of IMPORTANT decision trees based on linked routing tables.
  • Page 456: Enable Advanced Call Routing On Circuit Interfaces

    SmartWare Software Configuration Guide 40 • Call router configuration The call router is able to accommodate almost every combination of these requirements through a customized configuration. In order to keep this configuration compact we recommend that you first define the routing requirements and restrictions that apply to your installation.
  • Page 457: Configure Default Digit Collection Timeout And Terminating Character

    SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose node(ctx-cs)[switch]# Configures the address completion timeout by specifying the timeout in seconds. If not config- address-completion timeout timeout ured, the default address completion timeout is 12 seconds.
  • Page 458: Configure Number Prefix For Isdn Number Types

    SmartWare Software Configuration Guide 40 • Call router configuration Example: Configure address completion timeout node[switch]#digit-collection timeout 3 node[switch]#digit-collection terminating-char * Configures the digit collection timeout to 3s. The digit-collection timeout can be stopped by the user entering the asterisk (*) character. Configure number prefix for ISDN number types The called and calling party numbers in an ISDN signaling message are of a defined number type;...
  • Page 459: Configure Call Routing Tables

    SmartWare Software Configuration Guide 40 • Call router configuration Configure call routing tables Routing tables are identified by names that can be any arbitrary string. For ease of identification the table type is typically used as part of the name. Call router tables are created by entering the routing-table command, which also brings you into the routing...
  • Page 460 SmartWare Software Configuration Guide 40 • Call router configuration Table 17. Routing table types (Continued) Type Description calling-e164 Route calls based on the calling party E.164 number. Entries of calling-e164 tables can use wildcards to summarize routes. called-type-of-number Route calls based on the called party number type. ISDN distinguishes different type of numbers.
  • Page 461: Called Party Number Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose node(ctx-cs)[switch]#routing-table Create a routing table table-name of the specified table-type. table-type table-name This enters the table mode where entries can be added or removed. To enter a previously created table from the context CS mode, you may leave away the table-type.
  • Page 462: Wildcard Symbols Used As Keys In E.164 Tables (Calling-E164, Called-E164)

    SmartWare Software Configuration Guide 40 • Call router configuration The following table shows the wildcard characters that are supported: Table 18. Wildcard symbols used as keys in E.164 tables (calling-e164, called-e164) Symbol Description Indicates a single-digit placeholder. For example, 888 ..matches any dialed number beginning with 888, plus at least four additional digits.
  • Page 463: Digit Collection

    SmartWare Software Configuration Guide 40 • Call router configuration The next table shows some examples of how these wildcard symbols are applied to the key of a table entry: Table 19. Wildcard symbols used as keys in E.164 tables (calling-e164, called-e164) Expression Description 88825.+...
  • Page 464: Digit Collection Variants

    SmartWare Software Configuration Guide 40 • Call router configuration The default value for the interdigit timeout is 5 seconds and can be configured using the digit-collection command in the context CS configuration mode. You may want to override this default timeout for a timeout specific entry.
  • Page 465 SmartWare Software Configuration Guide 40 • Call router configuration digits, the address completion timeout elapses and the call is dropped. The digit collection timeout is active when a route is complete but a T-indicator is specified on the selected route, e.g. when the dialed number of 0991 is tried to match the entry 099T.
  • Page 466 SmartWare Software Configuration Guide 40 • Call router configuration route default dest-interface IF5entry #5 Note The numbers that are normally dialed are longer than the prefixes listed in the table test. For example, if the numbering plan is defined using five digits, a user normally dials a number like 12345 to reach a destination.
  • Page 467: Calling Party Number Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration Dialed Selected Description Number Entry Entry #1 and #2 match the dialed number of 121, but entry #2 matches better. The call is immediately placed to IF2. Only entry #1 matches the dialed number of 191. Thus the call is routed immediately to interface IF1.
  • Page 468: Numbering Plan Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration Note When you specified a national or international prefix using the commands national-prefix or international-prefix respectively. in the context CS config- uration mode, the calling or called party number is extended with the speci- fied prefix and the type-of-number is set to unknown in the incoming interface.
  • Page 469: Name Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration The call router can route calls according to the following numbering plans. These values beside default can be used for the key parameter to create a routing table entry: • unknown—Unknown numbering plan. This is the default value for calls that arrive through an interface that does not support the numbering plan property.
  • Page 470: Uri Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration You may specify a whole subnet with the key parameter of the routing table entry. The format of the key parameter is ipaddress[/mask-size]; the mask size may be omitted. Note Incoming SIP and H.323 calls use the calling party IP address property to store the IP address of the remote SIP user agent or H.323 terminal, respec- tively.
  • Page 471: Screening Indicator Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration Note Incoming ISDN calls set the presentation indicator according to the received ISDN Setup message. Incoming H.323 calls only set the presentation indi- cator transparently when Octet3a handling is enabled. Other interfaces set the presentation indicator to allowed.
  • Page 472: Information Transfer Capability Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration The call router can route calls according to the following screening indicators. These values beside default can be used for the key parameter to create a routing table entry: • user-not-screened—The calling party number is provided by the user but not screened by the network. Thus the calling party possibly send a number that is not owned by the calling party.
  • Page 473: Call-Router Support For Redirecting Number And Redirect Reason

    SmartWare Software Configuration Guide 40 • Call router configuration The call router can route calls according to the following information transfer capabilities. These values beside default can be used for the key parameter to create a routing table entry: • speech—Voice terminals (Telephones) •...
  • Page 474: Time Of Day Routing Table

    SmartWare Software Configuration Guide 40 • Call router configuration • default: Any other unhandled case Mode: context cs Step Command Purpose Creates a redirect reason routing table. [name] (ctx-cs)[router]# routing-table calling-redir-reason <table-name> Both the redirecting-number and the redirect-reason can also be used in any call-router mapping tables. Time of day routing table The time table is used to route calls based upon the current system time during one day, i.e.
  • Page 475: Deleting Routing Tables

    SmartWare Software Configuration Guide 40 • Call router configuration node(rt-tab)[HOLIDAY~]#route default dest-interface IF-VOIP Deleting routing tables To remove individual routing tables you can use the form of the command. Alternatively routing table you can remove specific entries of a routing table by entering the routing table configuration mode and use the form of the command.
  • Page 476: Configure Mapping Tables

    SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose node(ctx-cs)[switch]#no routing-table Delete the routing table table-name. table-name You do not have to enter the type of the table when Note: just deleting it. The type must only be specified when creating a table.
  • Page 477: Mapping Table Types

    SmartWare Software Configuration Guide 40 • Call router configuration You can create a mapping table that examines and modifies a specific kind of property, e.g. the called party number. In this case you have to specify an input-type of called-e164 and an output-type of called-164. If you want to replace both, the called and the calling party property with the same mapping table, you can create a mapping table with input-type e164 and output-type e164, i.e.
  • Page 478 SmartWare Software Configuration Guide 40 • Call router configuration Table 20. Mapping table types (Continued) Type Description Input-Type Description Output-Type called-name Selects an entry based on the display name Sets the display name of the called of the called party. party.
  • Page 479: Mapping Table Examples

    SmartWare Software Configuration Guide 40 • Call router configuration Let’s examine the mechanism of mapping tables in more detail. Figure 65 shows three mapping tables and a call that is routed through this mapping table. The call contains various call properties that are examined and modified by the mapping tables: Example #1 Mapping-Table...
  • Page 480: E.164 To E.164 Mapping Tables

    SmartWare Software Configuration Guide 40 • Call router configuration Example #4: This example shows the same input call properties as in example #3. The mapping table is also almost the same, but unlike in the previous example, here we don’t look for a specific number type (e.g. called party number, calling party number), but for any E.164 number property of the call.
  • Page 481 SmartWare Software Configuration Guide 40 • Call router configuration Detailed Example: You have an internal dial plan that uses three digit numbers starting with a 2 (e.g. 200, 201, etc.). So when an internal subscriber makes a call, its calling party number contains three digits. 1.
  • Page 482 SmartWare Software Configuration Guide 40 • Call router configuration The input *50998882525 matches the expression *5(.%) – the prefix *5 followed by any character repeated zero or more times. The first bracket encloses the number after the prefix: *5(.%) == *5(0998882525) -> \1 = 0998882525 The output is built from the first bracket \1.
  • Page 483: Custom Sip Uris From Called-/Calling-E164 Properties

    SmartWare Software Configuration Guide 40 • Call router configuration The input called party number 0778881111 matches the expression (.%) – any character repeated zero or more times. The first bracket encloses the last whole called party number: (.%) == (0778881111) -> \1 = 0778881111 The output (calling party number) is built from the first bracket \1.
  • Page 484: Deleting Mapping Tables

    SmartWare Software Configuration Guide 40 • Call router configuration node(cfg)#context cs node(ctx-cs)[switch]#mapping-table called-type-of-number to called-type-of-number SET-INT node(rt-tab)[SET-INT]#map default to international Any called party number type matches the default entry. Note that the input-type of the table does not matter when the mapping table contains only the default entry. Anyway an input-type must be specified when creat- ing the mapping table.
  • Page 485: Creating Complex Functions

    SmartWare Software Configuration Guide 40 • Call router configuration Example: Remove entries from a mapping table The running-config shows the following table: mapping-table called-e164 to called-e164 MY-TABLE map 10 to 20 map 11 to 21 map 12 to 22 map 13 to 23 To remove the first two entries from the table enter the following commands: node(cfg)#context cs node(ctx-cs)[switch]#mapping-table MY-TABLE...
  • Page 486: Deleting Complex Functions

    SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose node(ctx-cs)[switch]#complex- Create a complex function function-name. function function-name node(func)[function-name]#execute Add or inserts an entry to the complex function. function can function be another complex function or a mapping table that shall be executed.
  • Page 487: Digit Collection & Sending-Complete Behavior

    SmartWare Software Configuration Guide 40 • Call router configuration To remove the first two entries from the complex function enter the following commands. Pay attention on the index. When removing the first entry, the MAP2 function becomes entry with index 1. Thus you have to spec- ify index 1 twice to remove the first two entries: node(cfg)#context cs node(ctx-cs)[switch]#complext-function MY-FUNC...
  • Page 488: Call-Router

    SmartWare Software Configuration Guide 40 • Call router configuration The possible values for the type argument are: • transparent: Transparently passes an address-complete indication (e.g. ISDN Sending Complete Informa- tion Element) to the call-control. • set: Always sets the address-complete indication flag towards the call-control even when no such indication is received from the calling party.
  • Page 489 SmartWare Software Configuration Guide 40 • Call router configuration The following table shows the different digit-collection timeout configurations and their effect on a T-termi- nated route when the digit-collection timeout elapses. Important settings are marked bold. Digit Collection Timeout Egress Properties (Result Ingress Properties Configuration of call-routing)
  • Page 490: Egress Interface

    SmartWare Software Configuration Guide 40 • Call router configuration not the egress interface propagates the address-complete indication depends on the interface configuration (see below). The next table shows the different digit-collection terminating-character configurations and their effect on a T- terminated route when the terminating-character is received. Digit Collection Terminating-Char Egress Properties Ingress Properties...
  • Page 491 SmartWare Software Configuration Guide 40 • Call router configuration The possible values for the type argument are: • transparent: Transparently passes an address-complete indication to the signaling-protocol (e.g. ISDN by sending a Sending Complete Information Element). • set: Always sends a Sending Complete Information Element with the SETUP message. This configuration can be used to disable overlap-sending on an interface.
  • Page 492: Creating Call Services

    SmartWare Software Configuration Guide 40 • Call router configuration Step Command Purpose node(rt-tab)[tab-name]#exit Leaves the routing table configuration mode and returns to the context cs configuration mode Configures the digit-collection timeout to 5 seconds and sets node(cts-cs)[ctx-name]#digit-col- the address-complete indication if the timeout elapses lection timeout 5 set-address- complete-indication Configures the terminating-character that can stop the digit-...
  • Page 493: Hunt Group Service

    SmartWare Software Configuration Guide 40 • Call router configuration interfaces IF-BRI0 up to IF-BRI3. All four ISDN interfaces lead to the same provider. Since the call router does not know the load on the BRIs, it has to be able to try BRI0 and, if BRI0 already serves two calls, use BRI1, and so on.
  • Page 494 SmartWare Software Configuration Guide 40 • Call router configuration Note Unlike previous versions of SmartWare, now you can hunt a call over differ- ent interface types, not only over ISDN interfaces. You can, e.g. create a hunt group to try to call over a H.323 interface and, if this call fails, do a fallback to an ISDN interface.
  • Page 495: Hunt Group Drop Causes

    SmartWare Software Configuration Guide 40 • Call router configuration The following table lists all drop causes and specifies whether the cause is used for hunting the next destination or dropping the original call. The behavior can be configured for each hunt group individually for each cause using the command in the hunt group service mode.
  • Page 496 SmartWare Software Configuration Guide 40 • Call router configuration Table 21. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The connection fails because the destina- Normal Event no-user-responding tion does not respond to the call. This (Cont.) cause is used when a user does not respond to a call establishment message...
  • Page 497 SmartWare Software Configuration Guide 40 • Call router configuration Table 21. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The status message is generated in direct Normal Event response-to-status- response to receiving a status inquiry mes- (Cont.) enquiry sage.
  • Page 498 SmartWare Software Configuration Guide 40 • Call router configuration Table 21. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The network normally provides the Service or bearer-capability-not- requested bearer capability, but it is Option Not available unavailable at the present time.
  • Page 499 SmartWare Software Configuration Guide 40 • Call router configuration Table 21. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call This cause indicates that the network has Invalid Message call-identity-in-use received a call suspends request. The call (Cont.) suspend request contained a call identity which is already in use for a suspended...
  • Page 500 SmartWare Software Configuration Guide 40 • Call router configuration Table 21. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The remote equipment receives a message Protocol Error ie-does-not-exist that includes information elements or call (Cont.) properties that are not recognized.
  • Page 501: Creating A Distribution Group Service

    SmartWare Software Configuration Guide 40 • Call router configuration Creating a distribution group service A distribution group service distributes a call to multiple destinations interfaces. Figure 67 shows an example scenario where a call from a SIP interface is first processed by several tables. The second table decides that the call must be forwarded to phones that are connected to various FXS interfaces.
  • Page 502: Distribution Group Service Examples

    SmartWare Software Configuration Guide 40 • Call router configuration - 4 call destinations - No max. concurrent 4 picks up - 4 call destinations - max. concurrent = 2 after 5s after 10s 4 picks up - timeout = 5 Figure 68.
  • Page 503: Distribution-Group Min-Concurrent Setting

    SmartWare Software Configuration Guide 40 • Call router configuration Note It does not make sense to configure the maximum number of concurrent destinations but no timeout, though the software does not prevent this con- figuration. Distribution-Group Min-Concurrent setting A new command in the call-control’s distribution-group service lets the user specify how many of the config- ured call destinations should be tried first: .
  • Page 504: Priority Service

    SmartWare Software Configuration Guide 40 • Call router configuration Figure 69. ‘Limiter’ service diagram context cs switch interface isdn localexchange route call dest-service mylimiter.inbound interface isdn voicemail interface sip sip bind gateway sip route call dest-service mylimiter.outbound service limiter mylimiter max-calls 20 port inbound route call dest-interface sip...
  • Page 505: Priority Service Diagram

    SmartWare Software Configuration Guide 40 • Call router configuration service hunt-group services priority (prio) routing table priority: 2 route 911 dest-service prio.high high FXO If1 route default dest-service prio.low1 priority: 0 low1 FXO If2 priority: 0 low2 Figure 70. Priority service diagram By default, the service drops any lower priority calls if a higher priority call fails.
  • Page 506: Cs Bridge Service-'Voip Leased Line

    SmartWare Software Configuration Guide 40 • Call router configuration CS Bridge service—‘VoIP Leased Line’ The circuit switch (CS) bridge service provides the functional ability to create a leased line between two FXS ports, with the FXS ports on different SmartNodes. The call is point-to-point in an always connected state, also known as nailed up.
  • Page 507: Bridge Services Diagram

    SmartWare Software Configuration Guide 40 • Call router configuration port (see figure 72). Each of these interfaces is responsible for one of the two independent calls. The listener port terminates the “FXS call” and the dialer port terminates the “RTP call.” Listener Port –...
  • Page 508: Configuring The Service Second-Dialtone

    SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose [name] (ctx-cs)[switch]#[no] ser- Enters the bridge service configuration mode / deletes a vice bridge BRIDGE1 bridge service. [name] (svc-bridg)[BRIDGE1]#port Creates a port on the service that can accept or spawn calls DIALER (the max number of ports is currently limited to two) [name] (port)[DIALER]# dial persis-...
  • Page 509: Deleting Call Services

    SmartWare Software Configuration Guide 40 • Call router configuration Caveat: For calls from the IP side, the service only works if the G711.alaw codec is chosen. On the SmartNode 4960 the service is available for all configurable codecs. Mode: Context CS Step Command Purpose...
  • Page 510: Test The Call Router Configuration

    SmartWare Software Configuration Guide 40 • Call router configuration Procedure: To show and activate the call router configuration Mode: Context CS Step Command Purpose node(ctx-cs)[switch]#show call-router Show the actual call router configuration. This displays all routing and mapping tables in the current context CS. When config you are inside a routing or mapping table configuration mode, only the current table is displayed.
  • Page 511 SmartWare Software Configuration Guide 40 • Call router configuration node(rt-tab)[TEST]#route default dest-interface IF5 node(rt-tab)[TEST]#exit node(ctx-cs)[switch]#no shutdown node(ctx-cs)[switch]#debug call-router detail 5 node(ctx-cs)[switch]#test call-router TEST called-e164 123 Parameters ========== Time: 2004-03-02T16:55:33<-- Time of the lookup Result: route-found-place-call<-- Lookup result Destination: IF2<-- Dest. Interface Timeout: 0<-- Digit-Coll.
  • Page 512: Call Routing Example Network

    SmartWare Software Configuration Guide 40 • Call router configuration Example: Enterprise network with local breakout and IP carrier access Consider the following Enterprise Network. Carrier Carrier Apple Orange Site A Site B ISDN Node A Node B Node C Carrier Melon Figure 73.
  • Page 513 SmartWare Software Configuration Guide 40 • Call router configuration • When calling through carrier Melon the CLI (calling party number) must not use the public number blocks of Site A and B • Carrier Orange is to be used for national calls •...
  • Page 514: Cs Context And Call Router Elements

    SmartWare Software Configuration Guide 40 • Call router configuration Figure 74 shows the corresponding CS Context and call router elements in node A: Context interface isdn IF-PBX-A interface isdn IF-LOCAL-BREAKOUT Call Router MAP- CAC- APPLE SVC- FALL MAP- BACK CAC- ORANGE interface h323 IF-NODE-B TAB-...
  • Page 515 SmartWare Software Configuration Guide 40 • Call router configuration # Bearer capability routing table “TAB-ISDN-SERVICE” routing-table itc TAB-ISDN-SERVICE route unrestricted-digital dest-interface IF-LOCAL-BREAKOUT route default dest-table TAB-DEST-A # Called party number routing table “TAB-DEST-A” routing-table called-e164 TAB-DEST-A route 0 dest-interface IF-LOCAL-BREAKOUT MAP-CAC-ORANGE route 00 dest-interface IF-NODE-C MAP-CLI-MELON route 07[4-6] dest-interface IF-LOCAL-BREAKOUT MAP-CAC-APPLE route 0336652...
  • Page 516: Configure Partial Rerouting

    SmartWare Software Configuration Guide 40 • Call router configuration node(if-isdn)[IF-LOCA~]#exit node(ctx-cs)[switch]#interface h323 IF-NODE-B node(if-h323)[IF-NODE-B]#route dest-interface IF-PBX-A node(if-h323)[IF-NODE-B]#exit node(ctx-cs)[switch]#interface sip IF-NODE-C node(IF-NODE-C)[IF-NODE-C]#route dest-interface IF-PBX-A node(IF-NODE-C)[IF-NODE-C]#exit The configuration is now complete. Prior to activating the configuration enable the call router debug monitor to check the loading of the call router elements.
  • Page 517: Call Reroute

    SmartWare Software Configuration Guide 40 • Call router configuration Call reroute The call-reroute commands enable acceptation and emission of rerouting requests. Enable acceptation of rerouting requests on ISDN. If a reroute is accepted, the participant who sends the reroute request is disconnected and the call is established from the SmartNode to the new destination. Mode: context cs/interface isdn Step Command...
  • Page 518: Enable Push-Back - Bridge Service

    SmartWare Software Configuration Guide 40 • Call router configuration Enable push-back – bridge service. Mode: context cs/service bridge Step Command Purpose Enables push-back of a call of this service. [name](svc-brdg)[service]#[no] Default is disabled. allows-push-back Enable push-back – distribution-group service. Mode: context cs/service distribution-group Step Command Purpose...
  • Page 519: Sip Call-Router Services

    Chapter 41 SIP call-router services Chapter contents Introduction ................................520 SIP conference-service ............................520 SIP conference-service configuration task list ....................520 Entering conference-service configuration mode ..................520 Configuring the call routing destination ....................520 Configuring the conference server ......................521 location-service..............................521 SIP location-service configuration task list ....................522 Entering SIP location-service configuration mode ...................522...
  • Page 520: Introduction

    SmartWare Software Configuration Guide 41 • SIP call-router services Introduction This chapter contains the description of all SIP specific call router services, which are only available if the soft- ware includes the SIP component. SIP conference-service RFC4240 describes how to address different services on a media server without additional SIP headers or header parameters.
  • Page 521: Configuring The Conference Server

    SmartWare Software Configuration Guide 41 • SIP call-router services Mode: Service SIP conference Step Command Purpose [name] (svc-sip-conf)[name]#[no] route Specifies the next call routing destination for call dest-interface <name> an incoming call. The no form of the com- mand deletes the current routing entry. dest-table <name>...
  • Page 522: Sip Location-Service Configuration Task List

    SmartWare Software Configuration Guide 41 • SIP call-router services Lookup Domain: biloxy.com Identity: john.doe Context CS Contact: 192.168.10.1:5060 Service Location - Service Location Service Domain: biloxy.com Create address binding: sip2 sip1 Identity: john.doe Contact: 192.168.10.1:5060 Interface: sip1 REGISTER biloxy.com From: john.doe@biloxy.com To: john.doe@biloxy.com INVITE sip:john.doe@biloxy.com Contact: 192.168.10.1:5060...
  • Page 523: Binding A Location Service

    SmartWare Software Configuration Guide 41 • SIP call-router services Binding a location service If a call is route to the location-service it performs a lookup with the requested URI to the bound location ser- vice to find the address bindings. This command is optional because if no location service is bound, all existing location services will be considered to find the right contact information.
  • Page 524: Tone Configuration

    Chapter 42 Tone configuration Chapter contents Introduction ................................525 Tone-set profiles..............................525 Tone configuration task list ..........................526 Configuring call-progress-tone profiles ......................526 Configure tone-set profiles ..........................527 Enable tone-set profile ..........................528 Show call-progress-tone and tone-set profiles ....................529...
  • Page 525: Introduction

    SmartWare Software Configuration Guide 42 • Tone configuration Introduction This chapter gives an overview of call-progress-tone profiles and tone-set profiles, and describes the tasks involved in their configuration. In-band tones keep the user informed about the state of his call or additional services such as call-waiting, hold etc.
  • Page 526: Tone Configuration Task List

    SmartWare Software Configuration Guide 42 • Tone configuration call-progress-tone profiles Call Setup A Dial-A Ring-A Busy-A tone-set Tone Play-Out Ring -A Profile ISDN ISDN Interface 10 H323 Interface MyH323 Call Setup A Context CS Switch Call Setup B SIP Interface MySIP ISDN Interface 11 call-progress-tone profiles tone-set...
  • Page 527: Configure Tone-Set Profiles

    SmartWare Software Configuration Guide 42 • Tone configuration Procedure: To configure a tone-set profile Mode: Configure Step Command Purpose Creates a call-progress-tone profile with name node(cfg)#profile call-progress-tone name and enters call-progress-tone configura- name tion mode. Defines a tone with duration duration, fre- node(pf-callp)[name]#play duration quency frequency1 and volume level1.
  • Page 528: Enable Tone-Set Profile

    SmartWare Software Configuration Guide 42 • Tone configuration Step Command Purpose Map a call-progress-tone profile to an internal node(pf-tones)[name]#map tone. An internal tone represents the call event call_progress_tone for which a tone indication can be provided. Use the CLI help to get a list of all available busy-tone | events.
  • Page 529: Show Call-Progress-Tone And Tone-Set Profiles

    SmartWare Software Configuration Guide 42 • Tone configuration Mode: Interface Step Command Purpose Enter interface configuration mode. node(ctx-cs)[switch]#interface if-type if- name Assign a user defined tone-set profile to an node(if-type)[if-name]#use profile tone- interface. set name Example: Assign tone-set profiles to an ISDN interface The example shows how to use the SWISS tone-set for the CS context, and use the USA tone-set for an indi- vidual interface.
  • Page 530 SmartWare Software Configuration Guide 42 • Tone configuration The following example shows how to display the tone-set profile. node#show profile tone-set test Tone Profile: test ================== Used: by 0 module(s) DTMF Duration: 80ms DTMF Interspace: 80ms Tones ----- dial-tone: belgianSpec ringback-tone: defaultAlertingtone hold-tone:...
  • Page 531 SmartWare Software Configuration Guide 42 • Tone configuration node(ctx-cs)[switch]#interface isdn bri0 node(if-isdn)[bri0]#use profile tone-set UK Tone configuration task list...
  • Page 532: Fxs Port Configuration

    Chapter 43 FXS port configuration Chapter contents Introduction ................................533 Shutdown and enable FXS ports..........................533 Bind FXS ports to higher layer applications ......................534 Configure country-specific FXS port parameters....................534 Other FXS port parameters..........................535 Example ................................535...
  • Page 533: Fxs Port Configuration

    SmartWare Software Configuration Guide 43 • FXS port configuration Introduction This chapter provides an overview of POTS signaling and SmartNode FXS ports and describes the tasks involved in configuring FXS ports in SmartWare. This chapter includes the following sections: • Shutdown and enable FXS ports (see page 533)
  • Page 534: Bind Fxs Ports To Higher Layer Applications

    SmartWare Software Configuration Guide 43 • FXS port configuration Bind FXS ports to higher layer applications An FXS port needs to be associated to an fxs interface in a CS context. The same mechanism of encapsulation and binding is used as known for e.g. Ethernet ports (see “Interfaces, Ports, and Bindings”...
  • Page 535: Other Fxs Port Parameters

    SmartWare Software Configuration Guide 43 • FXS port configuration Other FXS port parameters This section describes the commands available for the configuration of an FXS port. Procedure: Configure the FXS port parameters Mode: Configure Step Command Purpose node(config)#port fxs slot port Enter FXS port configuration mode node(prt-fxs) [slot/port]#[no] battery- Reverses the line polarity at connect/disconnect of...
  • Page 536 SmartWare Software Configuration Guide 43 • FXS port configuration 172.16.40.71#configure 172.16.40.71(cfg)#port fxs 0 0 172.16.40.71(prt-fxs)[0/0]#use profile fxs us 172.16.40.71(prt-fxs)[0/0]#caller-id format bell 172.16.40.71(prt-fxs)[0/0]#flash-hook-duration 350 172.16.40.71(prt-fxs)[0/0]#encapsulation cc-fxs 172.16.40.71(prt-fxs)[0/0]#bind interface fxs00 switch 172.16.40.71(prt-fxs)[0/0]#exit 172.16.40.71(cfg)#system Example...
  • Page 537: Fxo Port Configuration

    Chapter 44 FXO port configuration Chapter contents Introduction ................................538 Shutdown and enable FXO ports.........................538 Bind FXO ports to higher layer applications......................538 Configure country specific FXO port parameters....................539 Other FXO port parameters ..........................539...
  • Page 538: Fxo Port Configuration

    SmartWare Software Configuration Guide 44 • FXO port configuration Introduction This chapter provides an overview of POTS signaling and SmartNode FXO ports and describes the tasks involved in configuring FXO ports in SmartWare. This chapter includes the following sections: • Shutdown and enable FXO ports (see page 538)
  • Page 539: Configure Country Specific Fxo Port Parameters

    SmartWare Software Configuration Guide 44 • FXO port configuration Configure country specific FXO port parameters Unlike ISDN, POTS is heavily country specific even though there is a good chance that a setting for one coun- try works reasonably good in another country. Country specific settings are contained in a so-called fxo profile which is integrated in the firmware of the SmartNode.
  • Page 540 SmartWare Software Configuration Guide 44 • FXO port configuration Mode: Configure Step Command Purpose node(config)#port fxo slot port Enter FXO port configuration mode node(prt-fxo)[slot/port]#caller-id for- Specifies which line protocol is used for caller-id optional mat { bell | etsi } transmission.
  • Page 541: 323 Gateway Configuration

    Chapter 45 H.323 gateway configuration Chapter contents \Introduction...............................542 Gateway configuration task list ..........................543 Binding the gateway to an IP interface ......................543 Enable the gateway ............................543 Configure registration authentication service (RAS) (Optional) ..............544 Configure H.235 Security (optional) ......................545 H.235 configuration .............................546 Advanced configuration options (optional) ....................549 Enabling H.245 Tunneling...
  • Page 542: H.323 Gateway Configuration

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Introduction This chapter provides an overview of the H.323 gateway and describes the tasks involved in its configuration. A gateway is always needed when communication is required between different networks. A gateway provides: •...
  • Page 543: Gateway Configuration Task List

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Gateway configuration task list This chapter describes the configuration of the H.323 gateway. Some parameters can be configured in the gate- way configuration mode and may be overwritten in another configuration mode, For example, in the H.323 CS interface.
  • Page 544: Configure Registration Authentication Service (Ras) (Optional)

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration The following example shows how to enable an already defined H.323 Gateway. node(cfg)#gateway h323 h323 node(gw-h323)[h323]#no shutdown Configure registration authentication service (RAS) (Optional) The H.323 gateway can either work in combination with a gatekeeper, which uses the RAS protocol for com- munication with the gateways or it can be used for direct calls between gateways without a gatekeeper.
  • Page 545: Configure H.235 Security (Optional)

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Mode: Gateway H.323 Step Command Purpose Specify that gatekeeper discovery has to be node(gw-h323)[h323]#gatekeeper-discov- done automatically ery auto [gkid] node(gw-h323)[h323]#gatekeeper-discov- Specify the gatekeeper explicitly. You can ery manual ip-address ip-port [gkid] repeat this command to add multiple gate- keepers.
  • Page 546: Configuration

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration H.235v2 Annex D provides H.323 RAS and H.225 message authentication and integrity check thus thwarting any replay and spoofing attacks on H.323 calls. If H.235 is switched on, the following security attacks are thwarted: •...
  • Page 547 SmartWare Software Configuration Guide 45 • H.323 gateway configuration Mode: Gateway H.323 Step Command Purpose node(gw-h323)[h323]#h235security master- Sets the master password (32 hex digits, 0–9, password master-password A–F) with which the H.235 password is decrypted. Note Configure the master password only over secure links (e.g.
  • Page 548 SmartWare Software Configuration Guide 45 • H.323 gateway configuration Step Command Purpose node(gw-h323)[h323]#h235-security ras- Enables or disables H.235 security for trans- mitted RAS packets. msg is the message type. auth-int-tx [<msg>] node(gw-h323)[h323]#no h235-security ras-auth-int-tx [<msg>] node(gw-h323)[h323]#h235-security q931- Enables or disables H.235 security for call- signaling.
  • Page 549: Advanced Configuration Options (Optional)

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Example: Switch on H.235 security The following example shows how to use the password encryption tool and how to enable H.235 security. Additionally the H.235 security debug monitor is enabled. Generate the encrypted H.235 password from ‘myh235pwd’: C:\>getcryptopassword myh235pwd 12d3f4e76a83c6dd1067a6d34fe5cb21 H.235 Password : myh235pwd...
  • Page 550: Enabling The Fastconnect Procedure

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Mode: Gateway H.323 Step Command Purpose Enables H.245 tunneling. node(gw-h323)[h323]#h245-tunneling Example: Enabling H.245 tunneling The following example shows how to enable H.245 tunneling on an already defined H.323 Gateway. node(cfg)#gateway h323 h323 node(gw-h323)[h323]#h245-tunneling] Enabling the fastconnect procedure If the fastconnect procedure is enabled, no separate H.245 connection is opened and all media channel specific...
  • Page 551: Changing The Tcp Port For Inbound Call-Signaling Connections

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Changing the TCP port for inbound call-signaling connections The default TCP listening port for inbound call-signaling connections is per default 1720 as defined in the H.323 standard. The following procedure describes how to change the port number. Mode: Gateway H.323 Step Command...
  • Page 552: Setting The Connect Timeout

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Setting the connect timeout Per default the H.323 gateway waits for 60s when the call is in the alerting phase for the call to be answered. If the call is not answered within that time, the call is dropped. The value of this timer can be changed using the following procedure: Mode: Gateway H.323 Step...
  • Page 553: Troubleshooting

    SmartWare Software Configuration Guide 45 • H.323 gateway configuration Troubleshooting You can display basic status information of the H.323 gateway using the following command: Mode: Configure Step Command Purpose node(gw-h323)[h323]# show gateway Displays H.323 gateway status information. h323 status [detail level] The detail level parameter is a number in the range 0 to 5 and indicates how much detail should be displayed.
  • Page 554: Context Sip Gateway Overview

    Chapter 46 Context SIP gateway overview Chapter contents Introduction ................................555 Context SIP Gateway configuration task list......................556 Creating a context SIP gateway ........................556 Creating a transport interface ........................557 Configuring the IP binding ...........................557 Configuring a priority ...........................557 Configuring a spoofed contact address ......................558 Binding location services ..........................558...
  • Page 555: Introduction

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview Introduction This chapter provides an overview of the context SIP gateway. The main purpose of a context SIP gateway is forwarding and reception of SIP packets according to a RFC 3261 User Agent. In SmartWare, the context SIP gateway represents the interface between the Call-Router (Context CS) and the IP Router (Context IP).
  • Page 556: Context Sip Gateway Configuration Task List

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview 1. From-URI-Host equal Remote Request-URI-Host equal Local 2. From-URI-Host equal Remote 3. Request-URI-Host equal Local 4. No match, the first configured will be taken For detailed information about call control SIP interface configuration, see Chapter 39, “SIP interface config- uration”...
  • Page 557: Creating A Transport Interface

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview Creating a transport interface The interface command enters the configuration mode of a transport interface. If the requested interface does not exist, a new one will be created. The no form of the command removes an existing transport interface. Mode: Context SIP Gateway Step Command...
  • Page 558: Configuring A Spoofed Contact Address

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview Configuring a spoofed contact address If the device is located behind a NAT, this command can be used to provide the Contact (SIP/SDP) and VIA headers of outgoing requests with the public ip address. Mode: Transport Interface Step Command...
  • Page 559: Troubleshooting

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview Troubleshooting Show status information Mode: Administrator Execution Step Command Purpose [node]#show context sip-gateway [gw- Displays status and configuration information name] [detail <level>] about a context sip-gateway and its bound resources like the call-control sip interfaces. Debug commands Mode: Administrator Execution Step...
  • Page 560: Configuration Examples

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview Configuration Examples Example 1 This is the minimal configuration of a working context sip-gateway. It has one transport interface that is bound to the ip address 0.0.0.0 and to the port 5060. With this configuration, the context sip-gateway processes all SIP requests addressed to port 5060 independent on which ip interface they arrive.
  • Page 561: Applications

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview Applications Outbound Authentication The back-to-back user agent can provide credentials for authentication on another sip user agent or proxy. The username and password used for authentication must be configured in an authentication-service. If one or more realms are configured in the authentication-service, the credentials are only provided to challenges con- taining one of these realms.
  • Page 562: Inbound Authentication

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview 2. Determine the identity which provides credentials. The name or the alias of the identity must match the user part of the from-uri. If there is no identity that matches and an identity-group with the name “default”...
  • Page 563: Outbound Registration

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview authenticate 1 authentication-service AUTH_PATTON username boss If the gateway receives an incoming request without credentials, the following procedure takes place: 1. Determine the location-service which challenges credentials. The domain of the location service must match the host part of the request-uri and the location-service is bound to the context sip-gateway which handles the request.
  • Page 564 SmartWare Software Configuration Guide 46 • Context SIP gateway overview location-service INALP domain inalp.com identity-group register registration outbound register auto identity 400 registration outbound registrar sip.inalp.com register auto identity 555 inherits register context sip-gateway GW_SIP sip-interface SIP_WAN bind interface IF_WAN port 5060 context sip-gateway GW_SIP bind location-service INALP If an identity is added to a location-service which is bound to a context sip-gateway, the following procedure...
  • Page 565: Inbound Registration

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview Inbound Registration With the according license, the back-to-back user agent can allow registrations from other user agents. There- fore, identities must be configured with a registration inbound face. Contacts to forward requests for this iden- tity can be configured or added dynamically with REGISTER requests.
  • Page 566: B2B User Agent With Registered Clients

    SmartWare Software Configuration Guide 46 • Context SIP gateway overview 9. Return 200 OK with all contacts registered or configured from the requested identity If one of these steps fails the registration fails and an according message is sent. A registered contact is removed out of the location-service after the expiration time has passed and the registration was not refreshed.
  • Page 567 SmartWare Software Configuration Guide 46 • Context SIP gateway overview If the sip-location-service receives a call, the following procedure takes place: 1. Determine the requested domain. If none of these three possibilities matches the call is dropped. a. If the call has a destination-uri set the host part of that uri is taken as requested domain. b.
  • Page 568: Voip Profile Configuration

    Chapter 47 VoIP profile configuration Chapter contents Introduction ................................569 VoIP profile configuration task list ........................570 Creating a VoIP profile ..........................570 Configure codecs ............................571 Configuring the transparent-clearmode codec ....................573 Configuring the Cisco versions of the G.726 codecs ..................573 Configuring DTMF relay ..........................574 Configuring RTP payload types ........................574...
  • Page 569: Introduction

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Introduction This chapter gives an overview of VoIP profiles, and describes how they are used and the tasks involved in VoIP profile configuration. A VoIP profile is a container for all datapath-related settings on VoIP connections. The profile settings apply to all calls going through the interface.
  • Page 570: Voip Profile Configuration Task List

    SmartWare Software Configuration Guide 47 • VoIP profile configuration VoIP profile configuration task list The following tasks describe components that can be configured through the VoIP profile: • Creating a VoIP profile • Configuring codecs • Enabling DTMF relay (see page 571) •...
  • Page 571: Configure Codecs

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Configure codecs The VoIP profile contains a list of codecs the forms the set of allowed codecs that can be used to set up a VoIP connection. The list is assembled in order of priority (i.e. the first entered codec is the most preferred one). For each codec in the list, a set of parameters can be configured.
  • Page 572 SmartWare Software Configuration Guide 47 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node(pf-voip)[name]#codec g729 tx- Appends codec g729 to the list of codecs. Speci- length 30 rx-length 30 silence- fies the payload duration for transmitted RTP pack- suppression ets of this codec, and the maximum supported payload duration for received RTP packets of this...
  • Page 573: Configuring The Transparent-Clearmode Codec

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node(pf-voip)[name]#codec 1 g729 tx- Inserts codec g729 at the first position of the list length 30 rx-length 30 silence- (most preferred codec). The parameters are the suppression same previously described.
  • Page 574: Configuring Dtmf Relay

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Configuring DTMF relay Dual tone multi-frequency (DTMF) tones are usually transported accurately in band when using high bit-rate voice codecs such as G.711. Low bit-rate codecs such as G.729 and G.723.1 are highly optimized for voice pat- terns and tend to distort DTMF tones.
  • Page 575: Configuring Rtp Payload Type For Transparent-Clearmode

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Configuring RTP payload type for transparent-clearmode The following command configures the RTP payload type used for the transparent-clearmode codec. Mode: configure/profile voip Step Command Purpose [name](pf-voip)[profile]#[no] crtp payload- Specifies the rtp payload type used for type transparent-clearmode <payload- transparent clearmode.
  • Page 576: Configuring The Dejitter Buffer (Advanced)

    SmartWare Software Configuration Guide 47 • VoIP profile configuration ‘v150-vbd’ is selected, a re-invite will be sent even if the current voice coder is configured the same as the modem bypass coder. Furthermore the re-invite contains a gpmd-attribute line with the value ‘vbd=yes;ecan=off ’...
  • Page 577: Adaptive Versus Static Dejitter Buffer

    SmartWare Software Configuration Guide 47 • VoIP profile configuration The operating modes for the dejitter buffer are illustrated in figure • Adaptive—The adaptive buffer automatically adapts to variations in the network’s delay characteristics and in general yields the best results for voice conversations. In the adaptive dejitter buffer there are parameters that can be configured (such as shrink-speed, grow-step, etc.) that should not be changed unless it is necessary to do so.
  • Page 578: Enabling/Disabling Filters (Advanced)

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node(pf-voip)[name]#dejitter-mode mode Specify the dejitter buffer as adaptive, static or static-data. node(pf-voip)[name]#dejitter-max-delay Specify the maximum delay in milliseconds that the max-delay dejitter buffer is allowed to introduce. This setting is valid for all modes.
  • Page 579: Configuring Fax Transmission

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Configuring Fax transmission Fax is a protocol for electronically transmitting written material in-band over a voice channel. In public switched telephone networks (PSTN), a fax is handled the same way as a voice conversation. A G3 Fax device transforms (modulates) a scanned page into audible tones that are transmitted in-band.
  • Page 580: Fax Relay And Fax Bypass

    SmartWare Software Configuration Guide 47 • VoIP profile configuration FAX Bypass generated tones transported in RTP payload Node Node Node Node RTP Stream Modulated data Modulated data Modulated data FAX Relay reference data transported over T.38 Terminate fax protocol Terminate fax protocol Node Node Node...
  • Page 581 SmartWare Software Configuration Guide 47 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node(pf-voip)[name]#fax transmis- Adds fax bypass transmission with codec G.711 sion bypass g711alaw64k to the list of fax transmission modes.Alternative codecs available are: G.711uLaw • • G.726 32kbps G.726 24kbps.
  • Page 582: T.38 Ced Retransmission

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Step Command Purpose node(pf-voip)[name]#fax volume Adjusts the volume of the fax signals re-generated (optional) volume on the receiver side. The volume is in dB, in the range -18.5 ... -3.5 (Default: -9.5dB). node(pf-voip)[name]# fax max-bit- Sets maximum allowed bit-rate for fax relay (optional)
  • Page 583: T.38 No-Signal Retransmission

    SmartWare Software Configuration Guide 47 • VoIP profile configuration T.38 No-Signal Retransmission Some SIP gateways change their port number when switching from audio to T.38. This behavior causes prob- lems if the SmartNode is located on the A-Side behind a NAT. Due to T.30 is a unidirectional. protocol and the B-Side is normally the initiator of the T.30 handshaking, the SmartNode never receives the initial packets of the B-Side because the NAT ports are not yet opened.
  • Page 584: Configuring Modem Transmission

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Step Command Purpose Define G.711 A-Law as the second fax transmis- [name] (pf-voip)[pf-name]# fax sion method to try, if T.38 is not supported by the transmission 2 bypass remote gateway. g711alaw64k Note The first codec must always be T.38, while the second one must be a high- rate codec such as G.711, which supports fax transmission.
  • Page 585: Configuring The Traffic Class For Voice And Fax Data

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Configuring the traffic class for Voice and Fax data The traffic class for voice data and fax data is configurable. The configured traffic class is used as additional routing criterion in the IP routing table. Mode: Profile VoIP Step Command...
  • Page 586: Examples

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Examples Different applications require different VoIP profiles. This section includes a variety of applications and show how the VoIP profile for these applications would be configured. Home office in an enterprise network Figure 7 is an example of a home office in an enterprise network.
  • Page 587 SmartWare Software Configuration Guide 47 • VoIP profile configuration G.723 6k3: rxlen=30;txlen=30;ss Fax Transmission Modem Transmission Dejitter -------- Mode: Adaptive Max. Delay: 100ms Max. Packet Loss: 4/1000 Shrink Speed: Grow Step: Grow Attenuation: High Pass Filter: enabled Post Filter: enabled Detection: CED Tone T.38 High Speed Redundant Packets:...
  • Page 588: Home Office With Fax

    SmartWare Software Configuration Guide 47 • VoIP profile configuration 8. Show the configured profile. Home office with fax Preconditions are those used in section “Home office in an enterprise network” on page 586: low bandwidth and high jitter. In this example, bandwidth is 256 kbps, what enables us to use the G.729 codec. But since the fax protocol must also be supported, the configuration is extended: 1 node>enable 2 node#configure...
  • Page 589: Soft Phone Client Gateway

    SmartWare Software Configuration Guide 47 • VoIP profile configuration Error Correction: enabled HDLC: enabled Dejitter Max Delay: 200ms Modem ----- Max. Bit Rate: 14400 Volume: -9.500dB HDLC: enabled DTMF ---- Relay: enabled Mute Encoder: enabled Payload Type NTE: Description: 3. Create VoIP profile and give it a name. All settings have default values 4., 5.
  • Page 590 SmartWare Software Configuration Guide 47 • VoIP profile configuration G.711 u-law: rxlen=20;txlen=20 G.723 6k3: rxlen=30;txlen=30 Fax Transmission Modem Transmission Dejitter -------- Mode: Adaptive Max. Delay: 60ms Max. Packet Loss: 4/1000 Shrink Speed: Grow Step: Grow Attenuation: High Pass Filter: enabled Post Filter: enabled Detection:...
  • Page 591 SmartWare Software Configuration Guide 47 • VoIP profile configuration 6. Disable DTMF relay. 7. Show the configured profile. Examples...
  • Page 592: Pstn Profile Configuration

    Chapter 48 PSTN profile configuration Chapter contents Introduction ................................593 PSTN profile configuration task list ........................593 Creating a PSTN profile ..........................593 Configuring the echo canceller ........................594 Configuring output gain ..........................594...
  • Page 593: Introduction

    SmartWare Software Configuration Guide 48 • PSTN profile configuration Introduction This chapter gives an overview of PSTN profiles, and describes how they are used and the tasks involved in PSTN profile configuration. A PSTN profile is a container for all datapath-related settings on PSTN connections. It can be assigned to PSTN interfaces in context CS.
  • Page 594: Configuring The Echo Canceller

    SmartWare Software Configuration Guide 48 • PSTN profile configuration Procedure: Create a PSTN Profile and enter the PSTN profile configuration mode Mode: Configure Step Command Purpose node(cfg)#profile pstn name Create a PSTN profile with name name and enter PSTN profile configuration mode.
  • Page 595 SmartWare Software Configuration Guide 48 • PSTN profile configuration Mode: Profile PSTN Step Command Purpose node(pf-pstn)[name]#output-gain gain Set the output gain to value in dB PSTN profile configuration task list...
  • Page 596: Sip Profile Configuration

    Chapter 49 SIP profile configuration Chapter contents Introduction ................................597 SIP profile configuration task list.........................597 Entering the configuration mode for a SIP profile ..................597 Mapping from a SIP disconnect cause ......................597 Mapping to a SIP cause ..........................598 Mapping from a SIP redirection reason ......................598 Mapping to a SIP redirection code ........................598...
  • Page 597: Introduction

    SmartWare Software Configuration Guide 49 • SIP profile configuration Introduction The SIP profile specifies disconnect cause mappings from SIP codes to Q.931 causes, and vice versa. As for all profiles, there is a default profile at system startup that can be modified. Only those causes that differ from the default mapping have to be configured.
  • Page 598: Mapping To A Sip Cause

    SmartWare Software Configuration Guide 49 • SIP profile configuration Mapping to a SIP cause The map cause to-sip command can be used to map a call control Q.931 cause to a SIP cause. All causes are pre-defined in the system and are provided by the command. Mode: Profile SIP Step Command...
  • Page 599: Authentication Service

    Chapter 50 Authentication Service Chapter contents Introduction ................................600 Authentication Service configuration task list ......................600 Creating an Authentication Service .......................600 Configuring a Realm .............................601 Configuring the authentication protocol .......................601 Creating credentials ............................601 Configuration Examples ............................601...
  • Page 600: Introduction

    SmartWare Software Configuration Guide 50 • Authentication Service Introduction This chapter describes how to configure authentication services in SmartWare. The Authentication Service is a data base that manages Authentication Credentials of one or more Realm. A Realm is an Authentication Zone or Authentication Domain that defines the authentication responsibility in a network.
  • Page 601: Configuring A Realm

    SmartWare Software Configuration Guide 50 • Authentication Service Configuring a Realm The following commands add a new Realm to the authentication service. If more than one Realm has to be entered, the order of the list can be modified by using the index and/or before and after keywords. The no form of the command removes an existing Realm from the list.
  • Page 602: Location Service

    Chapter 51 Location Service Chapter contents Introduction ................................603 Location Service configuration task list ........................603 Creating a Location Service ...........................603 Adding a domain ............................603 Creating an identity ............................604 Authentication outbound face .........................605 Authentication inbound face ........................606 Registration outbound face ........................608 Registration inbound face ........................610 Call outbound face ..........................611...
  • Page 603: Introduction

    SmartWare Software Configuration Guide 51 • Location Service Introduction This chapter describes how to configure location services in SmartWare. Location Service configuration task list The following section describes how to create a new location service and how to enter the configuration mode of an existing service.
  • Page 604: Creating An Identity

    SmartWare Software Configuration Guide 51 • Location Service and the Context SIP Gateway has more than one transport binding, it is recommended to add the local host addresses as Domain to the appropriated location services. Mode: Location Service Step Command Purpose [node](ls)[name]# [no] domain <name>...
  • Page 605: Authentication Outbound Face

    SmartWare Software Configuration Guide 51 • Location Service An alias is an alternative way to express the user-part of an identity. An alias is never used to build a sip-uri and will never be used in communication with another device. The alias is used for comparing or matching the identity with a sip-uri received from an external device.
  • Page 606: Authentication Inbound Face

    SmartWare Software Configuration Guide 51 • Location Service Mode: Authentication outbound Step Command Purpose [node](authout)#authenticate authentica- Adds a new authentication entry to the authentica- tion-service <authentication-service> [user- tion outbound face. If more than one authentica- name <username>] tion entry has to be entered, the order of the list can be modified by using the index and/or the [node](authout)#authenticate <index>...
  • Page 607 SmartWare Software Configuration Guide 51 • Location Service Mode: Authentication inbound Step Command Purpose [node](authin)#authenticate authentica- Adds a new authentication entry to the authentica- tion-service <authentication-service> [user- tion inbound face. If more than one authentication name <username>] entry has to be entered, the order of the list can be modified by using the index and/or the insert key- [node](authin)#authenticate <index>...
  • Page 608: Registration Outbound Face

    SmartWare Software Configuration Guide 51 • Location Service Registration outbound face The registration outbound face is used to register an identity on an external registrar. Then, the registrar for- wards calls from the registered identity to your identity. Mode: Identity Step Command Purpose...
  • Page 609 SmartWare Software Configuration Guide 51 • Location Service Mode: Registration outbound Step Command Purpose [node](regout)#proxy <host> [<port>] Adds a new proxy entry to the registration out- [strict-route] bound face. For each proxy configured there is a route-header added. If more than one proxy entry [node](regout)#proxy <index>...
  • Page 610: Registration Inbound Face

    SmartWare Software Configuration Guide 51 • Location Service Registration inbound face The registration inbound face is used when you want to allow external user agents to register, so that you can route calls to the registered contacts. Mode: Identity Step Command Purpose [node](identity)[name]# [no] registration...
  • Page 611: Call Outbound Face

    SmartWare Software Configuration Guide 51 • Location Service Call outbound face The call outbound face is used to configure call properties for outgoing calls. Mode: Identity Step Command Purpose [node](identity)[name]# [no] call out- Adds a new face to the identity. The no form of the bound command removes an existing face with all content in it.
  • Page 612: Call Inbound Face

    SmartWare Software Configuration Guide 51 • Location Service Mode: Call outbound Step Command Purpose [node](callout)#proxy <index> down <posi- If multiple proxies are configured the entry at the tions> index can be moved in the proxy list up or down the number of positions given in the command. [node](callout)#proxy <index>...
  • Page 613: Creating An Identity Group

    SmartWare Software Configuration Guide 51 • Location Service Creating an identity group Multiple identities with the same properties can be grouped in an identity-group. The identity-group can be configured exactly in the same way and with the same parameters as an identity. An identity-group can only inherit configurations to identities, but they never play an active role.
  • Page 614: Configuration Examples

    SmartWare Software Configuration Guide 51 • Location Service Configuration Examples In this configuration example, inheritance is used. Example: location-service INALP domain inalp.com identity-group REGISTER authentication outbound authenticate 1 authentication-service AUTH_INALP username john registration outbound registrar sip.inalp.com lifetime 600 register auto identity 300 inherits REGISTER identity identity 400 inherits REGISTER...
  • Page 615: Voip Debugging

    Chapter 52 VoIP debugging Chapter contents Introduction ................................616 Debugging strategy..............................616 Filtering debug monitor output ...........................617 Verifying IP connectivity .............................617 Debugging call signaling............................618 Debugging ISDN signaling ...........................618 Verify an incoming call ...........................619 Verify an outgoing call ..........................620 Verify ISDN layer 2 and 3 status ......................622 Debugging FXS Signaling ..........................623...
  • Page 616: Introduction

    SmartWare Software Configuration Guide 52 • VoIP debugging Introduction This chapter describes how to debug VoIP sessions, including the signaling part and the voice data path part (speech, fax, and modem connectivity). It provides debugging strategies to help locate the source of a problem, and describes the show and debug commands used to verify correct system operation and to troubleshoot problems.
  • Page 617: Filtering Debug Monitor Output

    SmartWare Software Configuration Guide 52 • VoIP debugging Filtering debug monitor output The output of the debug monitors can be filtered using the following command to let the terminal only print important information. The specified expression is a regular expression, which is used by the filter to select important lines.
  • Page 618: Debugging Call Signaling

    SmartWare Software Configuration Guide 52 • VoIP debugging route to host” response) and a successful connection to host 172.16.40.122 (which received and sent packets with no loss). node#ping 192.195.23.1 10 timeout 5 Sending 10 ICMP echo requests to 192.195.23.10, timeout is 5 seconds: % No route to host node# node#ping 172.16.40.122...
  • Page 619: Verify An Incoming Call

    SmartWare Software Configuration Guide 52 • VoIP debugging Command Purpose unit#debug ccisdn error Prints all errors occurring in ISDN call control and ISDN datapath control. Always switch this monitor on when debugging ISDN. unit#debug ccisdn datapath Prints operations on the ISDN part of the voice data path.
  • Page 620: Verify An Outgoing Call

    SmartWare Software Configuration Guide 52 • VoIP debugging 18:34:10 > [TERMINAL-00b73348] >> SETUP ACKNOWLEDGEMENT (DSS1 Ntwk) 18:34:10 > [TERMINAL-00b73348] State: OVERLAP SENDING, Event: PEER TRYING 18:34:10 > [TERMINAL-00b73348] State: OVERLAP SENDING, Event: PEER ALERTING 18:34:10 > [TERMINAL-00b73348] Set state to CALL DELIVERED 18:34:10 >...
  • Page 621 SmartWare Software Configuration Guide 52 • VoIP debugging 22:03:06 > [PSTN] NEW CALL. Allocated Endpoint PSTN-00b70a20 22:03:06 > [PSTN-00b70a20] >> SETUP (DSS1 User) Bearer capability : speech - CCITT circuit mode - 64kBit/s - G.711 A-law Calling party number : 123456 unknown number - unknown numbering plan presentation allowed - user provided not screened Called party number : 987654321...
  • Page 622: Verify Isdn Layer 2 And 3 Status

    SmartWare Software Configuration Guide 52 • VoIP debugging ISDN port status using the command, and the commands (see show port isdn debug isdn events below). • Because the ALERTING is indication enough that the signaling is working, we drop the call from the com- mand line: unit(cfg)#call 123456 drop •...
  • Page 623: Debugging Fxs Signaling

    SmartWare Software Configuration Guide 52 • VoIP debugging Debugging FXS Signaling Overview: FXS debug monitors Command Purpose unit#debug ccfxs Prints all operations on the FXS interfaces (high- level). unit#debug fxs Prints all operations on the FXS ports (low-level). unit#debug media-gateway control Prints the dialed digits.
  • Page 624: Verify An Outgoing Call

    SmartWare Software Configuration Guide 52 • VoIP debugging • : The called-party is ringing, alerting-tone is 09:00:43 CFXS > [EP PHONE] Play tone: ringback-tone played to the phone. This means that the call arrived correctly in context CS, and has reached its destina- tion.
  • Page 625: Debugging H.323 Signaling

    SmartWare Software Configuration Guide 52 • VoIP debugging • : The phone went off-hook and thus accepted 09:14:02 CFXS > [EP PHONE] Change state to CONNECTED. the call. The state of the CS interface goes to CONNECTED. The call is now established. Debugging H.323 Signaling Overview: H.323 debug monitors Command...
  • Page 626 SmartWare Software Configuration Guide 52 • VoIP debugging ---------- State: REGISTERED Gatekeeper: 172.16.32.51/1719 Allocated Endpoints: Allocated RAS Engines: Allocated Control Channels: Allocated Outgoing Logical Slowstart Channels: 0 Allocated Outgoing Logical Faststart Channels: 0 Allocated Incoming Logical Channels: unit# unit#00:29:03 H323 > [EP h323-00c13dc0] Stack: Allocated new call: 0x00be56b0 00:29:03 H323 >...
  • Page 627: Verify An Outgoing Call

    SmartWare Software Configuration Guide 52 • VoIP debugging Explanation: • First the state of the gateway is checked. The state is “UP”, and the RAS engine is “REGISTERED”, which is OK. • The line tells that there 00:29:03 H323 > [EP h323-00c13dc0] Stack: Allocated new call: 0x00be56b is a new call incoming from H.323.
  • Page 628 SmartWare Software Configuration Guide 52 • VoIP debugging 01:00:10 H323 > [EP h323-00c07230] Display: 01:00:10 H323 > [EP h323-00c07230] User-User: 01:00:10 H323 > [EP h323-00c07230] Set state to TERMINAL TRYING 01:00:10 H323 > [EP h323-00c07230] State: TERMINAL TRYING, Call Event: PEER CON- NECTED 01:00:10 H323 >...
  • Page 629: Debugging Sip Signaling

    SmartWare Software Configuration Guide 52 • VoIP debugging Debugging SIP signaling Mode: Administrator Execution Step Command Purpose [node]#debug context sip-gateway data- Logs information related to the media chan- path [detail <level>] nels. [node]#debug context sip-gateway error Logs all errors detected within the Context SIP [detail <level>] Gateway.
  • Page 630: Using Smartware's Internal Call Generator

    SmartWare Software Configuration Guide 52 • VoIP debugging Explanation: • The line indicates that the INVITE was 18:59:07 SIP_TR> Sent INVITE sip:60@172.16.32.33 SIP/2.0 sent. Thus, call routing worked in context CS and the message left to the SIP network. • indicate that responses are received from the SIP net- 18:59:07 SIP_TR >...
  • Page 631: Debugging Voice Data

    SmartWare Software Configuration Guide 52 • VoIP debugging presentation allowed - user provided not screened 19:17:44 > [TERMINAL-00df2760] State: CALL RECEIVED, Event: TERMINAL CONNECT 19:17:44 > [TERMINAL-00df2760] Set state to ACTIVE 19:17:44 > [TERMINAL-00df2760] >> CONNECT ACKNOWLEDGEMENT (DSS1 Ntwk) unit(cfg)# unit(cfg)#call 55 drop unit(cfg)#19:19:29 >...
  • Page 632 SmartWare Software Configuration Guide 52 • VoIP debugging [no] debug media-gate- Displays RTP related call parameters at call setup: local/remote IP way rtp address and port, SSRC. During operation, displays periodically updated statistics containing the number of sent and received packets, the number of lost packets.
  • Page 633: Check System Logs

    SmartWare Software Configuration Guide 52 • VoIP debugging Prerequisite: Fax transmission is configured for T.38 relay in the voip profile. The call is established from a sig- naling point of view (see section “Debugging voice data” on page 631). Attention: Special signaling procedures are used for the transition between voice and fax data transmission. It may be that the initial call setup is correct, but that the signaling to T.38 over H.323 is faulty.
  • Page 634 SmartWare Software Configuration Guide 52 • VoIP debugging can do this either in the same Telnet session, or using different Telnet ses- sions. • Network traffic traces—In certain cases it may be helpful to have a trace of the traffic on the IP network in order to inspect packet contents.
  • Page 635: A Terms And Definitions

    Appendix A Terms and definitions Chapter contents Introduction ................................636 SmartWare architecture terms and definitions .....................636...
  • Page 636: Introduction

    SmartWare Software Configuration Guide A • Terms and definitions Introduction This chapter contains the terms and their definitions that are used throughout this SmartWare Software Config- uration Guide. This guide contains many terms that are related to specific networking technologies areas such as LAN protocols, WAN technologies, routing, Ethernet, and Frame Relay.
  • Page 637 SmartWare Software Configuration Guide A • Terms and definitions Term or Definition Meaning Comfort Noise Comfort noise is generated at the remote end of the silent direction to avoid the impression that the connection is dead. See also Silence Com- pression.
  • Page 638 SmartWare Software Configuration Guide A • Terms and definitions Term or Definition Meaning flash: A region in the persistent memory of a SmartNode. See also flash mem- ory. Gatekeeper Gatekeepers manage H.323 zones, which are logical collections of devices such as all H.323 devices within an IP subnet. For example, gate- keepers provide address translation (routing) for the devices in their zone.
  • Page 639 SmartWare Software Configuration Guide A • Terms and definitions Term or Definition Meaning Network Management System System responsible for managing at least part of a network. An NMS is generally a reasonably powerful and well-equipped computer, such as an engineering workstation. NMSs communicate with agents to help keep track of network statistics and resources.
  • Page 640 SmartWare Software Configuration Guide A • Terms and definitions Term or Definition Meaning Startup Configuration The startup configuration is stored in the persistent memory (nvram:) and is always copied for execution to the running configuration in the volatile memory (system:) after a system start-up. Switching Engine Part of the SmartNode hardware which allows software controlled circuit switching of circuit ports.
  • Page 641: Mode Summary

    Appendix B Mode summary Chapter contents Introduction ................................642...
  • Page 642: Mode Overview, 1 Of 3

    SmartWare Software Configuration Guide B • Mode summary Introduction Figure 11 on page 642, figure 12 on page 643, and figure 13 on page 644 show the configuration mode hierar- chy. Each box contains the mode name, the command to enter in this mode and the mode prompt printed in a Telnet or console session.
  • Page 643: Mode Overview, 2 Of 3

    SmartWare Software Configuration Guide B • Mode summary Gateways Gateway H323 Gateway H323 gateway h323 <name> gateway h323 <name> <host>(gw-h323)[<name>]# <host>(gw-h323)[<name>]# Gateway SIP gateway sip <name> <host>(gw-sip)[<name>]# Ports Port Ethernet PPPoE PPPoE Session port ethernet <slot> <port> session <session> <host>(prt-eth)[<slot>/<port>]# <host>(pppoe)[<slot>/<port>]# <host>(session)[<session>]# Port E1T1 or BRI...
  • Page 644: Mode Overview, 3 Of 3

    SmartWare Software Configuration Guide B • Mode summary Profiles Profile ACL port ethernet <slot> <port> profile acl <profile_name> Profile Authentication Gateway H323 profile authentication <name> gateway h323 <name> <host>(pf-auth)[<name>]# Profile Call-Progress-Tone Gateway H323 profile call-progress-tone <name> gateway h323 <name> <host>(pf-callp)[<name>]# Profile DHCP Server Gateway H323 profile dhcp-server <name>...
  • Page 645: Command Summary

    Appendix C Command summary Chapter contents Introduction ................................646 New Configuration Commands ..........................647 Other...................................647 Show help ..............................647 Show command history ..........................647 Restart system ...............................647...
  • Page 646: Introduction

    SmartWare Software Configuration Guide C • Command summary Introduction This chapter provides an overview of all CLI commands and modes available. It is organized as follows: Mode Name Enter Command Command 1 … Exit Mode Name … Several commands contain a lot of parameters and arguments. The command syntax is described as follows: •...
  • Page 647: New Configuration Commands

    SmartWare Software Configuration Guide C • Command summary New Configuration Commands The commands documented in the Release Note only cover new additions which are not yet included in the current revision of the Software Configuration Guide. You may download the release notes at www.pat- ton.com/support.
  • Page 648: Internetworking Terms & Acronyms

    Appendix D Internetworking terms & acronyms Chapter contents Abbreviations...............................649...
  • Page 649: Abbreviations

    SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviations Abbreviation Meaning Numeric 10BaseT Ethernet Physical Medium ATM Adaptive Layer Available Bit Rate Alternating Current Advice of Charge Asynchronous Transfer Mode audio 3.1 ISDN Audio Service up to 3.1 kHz audio 7.2 ISDN Audio Service up to 7.2 kHz Basic Rate Access...
  • Page 650 SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning E-DSS1 ETSI Euro ISDN Standard Embedded File System Exchange Termination Ethernet Frequently Asked Questions Federal Communication Commission Frame Relay G.711 ITU-T Voice encoding standard G.723 ITU-T Voice compression standard Graphic User Interface Gateway H.323...
  • Page 651 SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning Modem Modulator – Demodulator Multiple Subscriber Number NAPT Network Address Port Translation Network Address Translation Network Interface Card Network Termination Network Termination 1 Network Termination 2 NT2ab Network Termination with 2a/b Connections Original Equipment Manufacturer Open Software Foundation OSPF...
  • Page 652 SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning node-connection for Subscriber Line Segmentation and Reassembly S-Bus Subscriber Line (Connection) Bus Switched Circuit Network SCTP Stream Control Transmission Protocol SDSL Symmetric Digital Subscriber Line SGCP Simple Gateway Control Protocol Session Initiation Protocol.
  • Page 653: Used Ip Ports & Available Voice Codecs

    Appendix E Used IP ports & available voice codecs Chapter contents Used IP ports ..............................654 Available voice codecs ............................655...
  • Page 654: Used Ip Ports

    SmartWare Software Configuration Guide E • Used IP ports & available voice codecs Used IP ports Component Port Description H.323 UDP 1719 RAS for gatekeeper connection TCP 1720 Call signaling port for H.323 (adjustable) UDP 4864…5118 (even numbers) Voice data (RTP) UDP 4865…5119 (odd numbers) Voice statistics (RTCP) UDP 5060...
  • Page 655: Available Voice Codecs

    SmartWare Software Configuration Guide E • Used IP ports & available voice codecs Available voice codecs Used Band- Net Band- Min. width per Protocol Codec width per Compression Call (kbps, Usage Call (kbps) Delay (ms) incl. IP header) H.323 G.711 A-law Uncompressed, best voice qual- &...

This manual is also suitable for:

Smartware release 5.1

Table of Contents