Patton electronics SmartWare R.3.20 Software Configuration Manual

Software for smartnode series
Table of Contents

Advertisement

Quick Links

SmartNode Series
SmartWare Release 3.20
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-001 Rev. E
Part Number: 07MSWR320_SCG
Revised: August 1, 2006

Advertisement

Table of Contents
loading

Summary of Contents for Patton electronics SmartWare R.3.20

  • Page 1 SmartNode Series SmartWare Release 3.20 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-001 Rev. E Part Number: 07MSWR320_SCG Revised: August 1, 2006...
  • Page 2: Supported Platforms

    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 © 2005–2006, Patton Electronics Company. All rights reserved. Trademark Statement The terms SmartWare, SmartView, SmartLink, and SmartNode are trademarks of Patton Electronics Com- pany.
  • Page 3: Table Of Contents

    Summary Table of Contents System overview ............................33 Configuration concepts ..........................39 Command line interface (CLI) ........................44 Accessing the CLI ............................48 System image handling..........................59 Configuration file handling........................... 69 Basic system management ..........................83 RADIUS Client Configuration........................94 IP context overview .............................
  • Page 4 SmartWare Software Configuration Guide SIP interface configuration ......................... 370 Call router configuration..........................381 Tone configuration............................446 ISDN port configuration..........................454 FXS port configuration ..........................469 FXO port configuration ..........................474 H.323 gateway configuration ........................478 SIP gateway configuration........................... 491 VoIP profile configuration ..........................
  • Page 5: Table Of Contents

    Table of Contents Summary Table of Contents ........................... 3 Table of Contents ............................5 List of Figures ............................... 23 List of Tables ..............................25 About this guide ............................26 Audience................................26 How to read this guide ............................26 Structure................................26 Precautions ................................
  • Page 6 SmartWare Software Configuration Guide Table of Contents Use Commands ..............................43 Command line interface (CLI) ........................44 Introduction ................................45 Command modes ..............................45 CLI prompt ..............................45 Navigating the CLI ............................46 Initial mode ..............................46 System changes ............................46 Configuration ............................46 Changing Modes ............................46 Command editing ..............................46 Command help ...............................46...
  • Page 7 SmartWare Software Configuration Guide Table of Contents Copying system images from a network server to Flash memory ..............63 Auto provisioning of firmware and configuration ....................64 Boot procedure..............................67 Configuration file handling........................... 69 Introduction ................................70 Understanding configuration files ........................70 Factory configuration ............................72 Configuration file handling task list........................72 Copying configurations within the local memory...
  • Page 8 SmartWare Software Configuration Guide Table of Contents Configuring the RADIUS server ........................102 Attributes in the RADIUS request message .....................102 Attributes in the RADIUS accept message ....................103 Configuring the local database accounts ......................103 IP context overview ............................. 105 Introduction ................................106 IP context overview configuration task list......................107 Planning your IP configuration ...........................108...
  • Page 9 SmartWare Software Configuration Guide Table of Contents NAT/NAPT configuration task list ........................126 Creating a NAPT profile ..........................126 Configuring a NAPT DMZ host ......................127 Defining NAPT port ranges ........................127 Preserving TCP/UDP port numbers in NAPT ..................128 Defining the UDP NAPT type .......................128 Activate NAT/NAPT ............................129...
  • Page 10 SmartWare Software Configuration Guide Table of Contents Defining the bit-rate ..........................152 Defining absolute priority ........................152 Defining the maximum queue length ......................152 Specifying the type-of-service (TOS) field ....................152 Specifying the precedence field ........................153 Specifying differentiated services codepoint (DSCP) marking ..............153 Specifying layer 2 marking ........................154 Defining random early detection ......................155...
  • Page 11 SmartWare Software Configuration Guide Table of Contents Configuring T1/E1 framing ..........................181 Configuring T1/E1 line-build-out (T1 only) ....................182 Configuring T1/E1 used-connector (E1 only) ....................182 Configuring T1/E1 application mode ......................182 Configuring T1/E1 LOS threshold .......................183 Configuring E1/T1 Loopback detection .......................183 Configuring T1/E1 encapsulation .........................184 Create a Channel-Group ..........................184...
  • Page 12 SmartWare Software Configuration Guide Table of Contents Specifying the default route metric ........................202 Enabling RIP split-horizon processing ......................203 Enabling the poison reverse algorithm ......................203 Enabling holding down aged routes ......................204 Displaying RIP configuration of an IP interface ....................204 Displaying global RIP information ........................205 Access control list configuration........................
  • Page 13 SmartWare Software Configuration Guide Table of Contents SNMP interface traps ............................233 SNTP client configuration .......................... 235 Introduction ................................236 SNTP client configuration task list ........................236 Selecting SNTP time servers .........................237 Defining SNTP client operating mode ......................237 Defining SNTP local UDP port ........................238 Enabling and disabling the SNTP client .......................239...
  • Page 14 SmartWare Software Configuration Guide Table of Contents configuration............................264 Introduction ................................265 PPP configuration task list...........................266 Creating an IP interface for PPP ........................266 Disable interface IP address auto-configuration from PPP ................268 Creating a PPP subscriber ..........................268 Trigger forced reconnect of PPP sessions using a timer .................270 Disable interface IP address auto-configuration from PPP ................270...
  • Page 15 SmartWare Software Configuration Guide Table of Contents Performance considerations ...........................294 Enabling RTP encryption support ........................294 Using an alternate source IP address for specific destinations ................295 Configuring Call-Hold on ISDN interfaces......................295 Enabling Display Information Elements on ISDN Ports ..................295 Sample configurations ............................296 IPsec tunnel, DES encryption ........................296...
  • Page 16 SmartWare Software Configuration Guide Table of Contents Configuring the interface mapping tables ......................326 Configuring the precall service tables ........................329 ISDN interface configuration........................331 Introduction ................................332 ISDN interface configuration task list........................332 Configuring DTMF dialing (optional) ......................333 Configuring an alternate PSTN profile (optional) ..................333 Configuring ringback tone on ISDN user-side interfaces ................334...
  • Page 17 SmartWare Software Configuration Guide Table of Contents H.323 interface configuration ........................360 Introduction ................................361 H.323 interface configuration task list .........................361 Binding the interface to an H.323 gateway ....................362 Configuring an alternate VoIP profile (optional) ...................363 Configuring CLIP/CLIR support (optional) ....................364 Enabling ‘early-proceeding’...
  • Page 18 SmartWare Software Configuration Guide Table of Contents Numbering plan routing table ........................398 Name routing table ............................399 IP address routing table ..........................399 URI routing table ............................400 Presentation Indicator Routing Table ......................400 Screening Indicator Routing Table .......................401 Information transfer capability routing table ....................402 Call-router support for redirecting number and redirect reason ..............403...
  • Page 19 SmartWare Software Configuration Guide Table of Contents ISDN port configuration..........................454 Introduction ................................455 ISDN reference points ..........................455 Possible SmartNode port configurations .......................456 ISDN UNI Signaling ............................456 ISDN Configuration Concept ..........................458 ISDN Layering .............................458 Configuration example ..........................459 Description .............................459 ISDN port configuration task list ........................460 Shutdown and enable ISDN ports ........................460...
  • Page 20 SmartWare Software Configuration Guide Table of Contents Changing the TCP port for inbound call-signaling connections ..............487 Setting the response timeout ........................488 Setting the connect timeout ........................488 Configuring the terminal type for registration with the gatekeeper ............489 Troubleshooting ............................489 SIP gateway configuration...........................
  • Page 21 SmartWare Software Configuration Guide Table of Contents T.38 CED retransmission ..........................520 Fax bypass method ............................521 Configuring fax failover ..........................521 Configuring modem transmission .........................522 Modem bypass method ..........................522 Examples ................................522 Home office in an enterprise network ......................522 Home office with fax ............................524 Soft phone client gateway ..........................526...
  • Page 22 SmartWare Software Configuration Guide Table of Contents Introduction ................................560 Command summary ........................... 563 Introduction ................................564 New Configuration Commands ..........................565 Other...................................565 Show help ..............................565 Show command history ..........................565 Restart system ...............................565 Internetworking terms & acronyms ......................566 Abbreviations...............................567 Used IP ports & available voice codecs ......................
  • Page 23: List Of Figures

    List of Figures Basic system (abstract) model ............. . 35 Typical carrier network application with a SmartNode.
  • Page 24 SmartWare Software Configuration Guide Call passing an input and an output mapping table ..........329 ISDN interfaces on the CS context .
  • Page 25: List Of Tables

    List of Tables General conventions ..............30 Mouse conventions .
  • Page 26: System Overview

    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 27: Command Line Interface (Cli)

    SmartWare Software Configuration Guide About this guide • Chapter 3, "Command line interface (CLI)" on page 44 gives an overview of the CLI and the basic features that allow you to navigate the CLI and edit commands effectively. • Chapter 4, "Accessing the CLI"...
  • Page 28: Cs Context Overview

    SmartWare Software Configuration Guide About this guide • Chapter 20, "SNTP client configuration" on page 235 describes how to configure a simple network time pro- tocol (SNTP) client. • Chapter 21, "DHCP configuration" on page 245 provides an overview of the dynamic host configuration control protocol (DHCP) and describes the tasks involved in its configuration.
  • Page 29: Pstn Profile Configuration

    SmartWare Software Configuration Guide About this guide • Chapter 39, "SIP gateway configuration" on page 491 provides an overview of the SIP gateway and describes the tasks involved in its configuration. • Chapter 40, "VoIP profile configuration" on page 506 gives an overview of SmartWare VoIP profiles, how they are used and describes the tasks involved in VoIP profile configuration.
  • Page 30: Typographical Conventions Used In This Document

    SmartWare Software Configuration Guide About this guide Typographical conventions used in this document This section describes the typographical conventions and terms used in this guide. General conventions In this guide we use certain typographical conventions to distinguish elements of commands and examples. In general, the conventions we use conform to those found in IEEE POSIX publications.
  • Page 31: 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 32: 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 33: System Overview

    Chapter 1 System overview Chapter contents Introduction ................................34 SmartWare embedded software ..........................35 Applications................................36 Carrier networks .............................36 Enterprise networks ............................37 LAN telephony ...............................38...
  • Page 34: 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 36, is typically composed of the following main elements plus a third-party network infra- structure: •...
  • Page 35: 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 36: 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 37: 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 38: 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 39 Chapter 2 Configuration concepts Chapter contents Introduction ................................40 Contexts and Gateways............................41 Context ................................41 Gateway ................................41 ....................................42 Interfaces, Ports, and Bindings..........................42 Interfaces ................................42 Ports and circuits ............................42 Bindings ................................42 Profiles and Use commands...........................43 Profiles ................................43 Use Commands ..............................43...
  • Page 40: 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 41: 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 40 and describe the concepts and elements in more detail.
  • Page 42: 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 43: 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 44: Command Line Interface (Cli)

    Chapter 3 Command line interface (CLI) Chapter contents Introduction ................................45 Command modes ..............................45 CLI prompt ..............................45 Navigating the CLI ............................46 Initial mode ..............................46 System changes ............................46 Configuration ............................46 Changing Modes ............................46 Command editing ..............................46 Command help ...............................46 The No form ..............................46 Command completion ............................46...
  • Page 45: 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 46: 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 47: 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 48: Accessing The Cli

    Chapter 4 Accessing the CLI Chapter contents Introduction ................................49 Accessing the SmartWare CLI task list........................49 Accessing via the console port .........................50 Console port procedure ..........................50 ..................................50 Telnet Procedure ............................51 Using an alternate TCP listening port for the Telnet server ................51 Disabling the Telnet server ..........................51 Logging on...
  • Page 49: 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 50: 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 51: 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 52: 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 53: 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 54: 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 55: Switching To Another Account

    SmartWare Software Configuration Guide 4 • Accessing the CLI Mode: Administrator execution Step Command Purpose Displays the currently-configured administrator and operator node# show accounts 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 56: 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 57 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 58: 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 59: System Image Handling

    Chapter 5 System image handling Chapter contents Introduction ................................60 Memory regions in SmartWare..........................60 System image handling task list ..........................62 Displaying system image information ......................62 Copying system images from a network server to Flash memory ..............63 Auto provisioning of firmware and configuration ....................64 Boot procedure..............................67...
  • Page 60: Introduction

    SmartWare Software Configuration Guide 5 • System image handling Introduction This chapter describes how to load, maintain, and update software images. The images are stored in persistent (non-volatile) memory. The application image is the software which actually operates the SmartNode. Driver images are used to operate optional PMC interface cards, if applicable.
  • Page 61 SmartWare Software Configuration Guide 5 • System image handling any configuration parameters, the changes are made to the running-config in the system: region of the Volatile memory. Unless these changes are copied into startup-config or another user-named configuration file, all con- figuration changes will be lost if the SmartNode is powered down.
  • Page 62: Configuration File

    SmartWare Software Configuration Guide 5 • System image handling Storing the current Running Configuration remotely Memory Regions in Embedded Software Storing the current Configuration locally Configuration File Upload Remote (TFTP Server) Local Persistent Volatile tftp: flash: nvram : system: • Configuration •...
  • Page 63: Copying System Images From A Network Server To Flash Memory

    SmartWare Software Configuration Guide 5 • System image handling Example: Display system image information The following example shows the output of the show version command: node#show version Productname : node4638/5BIS/UI Software Version : R3.20 2006-02-02 H323 SIP BRI Supplier Provider Subscriber Information for Slot 0: node4638/5BIS/UI (Admin State: Application Started, Real State: Application Started)
  • Page 64: Auto Provisioning Of Firmware And Configuration

    SmartWare Software Configuration Guide 5 • System image handling Example: Copy system images from a network server to the Flash memory The following example shows how to download the driver software image file from the TFTP server at IP address 172.16.36.80. node>enable node#configure node(cfg)#copy tftp://172.16.36.80/myfirmware/b flash:...
  • Page 65 SmartWare Software Configuration Guide 5 • System image handling Step Command Purpose Specifies the location of the file to check [name] (pf-prov)[FIRMWARE]#location 1 for changes. tftp://172.16.1.2/firmware/b Specifies alternate locations of the file. If [name] (pf-prov)[FIRMWARE]#location 2 the first could not be contacted, the sec- tftp://172.16.1.33/firmware/b ond is tried, and so on.
  • Page 66 SmartWare Software Configuration Guide 5 • System image handling Note the placeholder used in the file location. Placeholders can be used for each part of the location, be it server address, path or filename. The following place holders are available: •...
  • Page 67: Boot Procedure

    SmartWare Software Configuration Guide 5 • System image handling timer FIRMWARE_UPDATE now + 2 minutes every 10 minutes “provisioning execute FIRMWARE” timer CONFIG_UPDATE now + 2 minutes every 10 minutes “provisioning execute CONFIG” Boot procedure During a normal boot procedure of a SmartNode, the bootstrap application checks for an application image in the persistent memory and executes it.
  • Page 68 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. Note Refer to the getting started guide of your SmartNode to find out how to use the bootloader.
  • Page 69: Configuration File Handling

    Chapter 6 Configuration file handling Chapter contents Introduction ................................70 Understanding configuration files ........................70 Factory configuration ............................72 Configuration file handling task list........................72 Copying configurations within the local memory ....................73 Replacing the startup configuration with a configuration from Flash memory ..........74 Copying configurations to and from a remote storage location ................75 Replacing the startup configuration with a configuration downloaded from TFTP server .......76...
  • Page 70: 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 71 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 72: 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 73: 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 74: 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 75: 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 76: 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 77: 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 78: 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 79: 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 80: 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 81: 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 82 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 83: Basic System Management

    Chapter 7 Basic system management Chapter contents Introduction ................................84 Basic system management configuration task list ....................84 Managing feature license keys .........................85 Setting system information ..........................86 Setting the system banner ..........................87 Setting time and date ............................88 Display clock information ..........................88 Display time since last restart ..........................89 Configuring the Web server ..........................89...
  • Page 84: 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 85: 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 86: 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 87: 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 88: 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 89: 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 Display the time since last restart. node >show uptime Example: The following example shows how to display the uptime of your device, if you start from the configuration mode.
  • Page 90: 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 91: Controlling Command Execution

    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 92: Timed Execution Of Cli Command

    SmartWare Software Configuration Guide 7 • Basic system management % Suspended System prompt reappears and is ready to execute further commands node>show ip interface ------------------------------------------------------------ Context: router … Show the currently running commands node>jobs * [run ] jobs 0 [bg ] ping Bring job 0 to foreground node>fg...
  • Page 93: Configuration Of Terminal Sessions

    SmartWare Software Configuration Guide 7 • Basic system management Mode: Administrator execution Step Command Purpose node #show crc filename Displays checksum of a configuration Example: checksum of a configuration Displaying the The following example shows how to display the checksum of the configuration test of your device, if you start from the configuration mode.
  • Page 94: Radius Client Configuration

    Chapter 8 RADIUS Client Configuration Chapter contents Introduction ................................96 The AAA component ............................96 General AAA Configuration ..........................97 RADIUS configuration............................99 Configuring RADIUS clients ........................100 Configuring RADIUS accounting .........................101 Configuring the RADIUS server ........................103 Attributes in the RADIUS request message .....................103 Attributes in the RADIUS accept message ....................104 Configuring the local database accounts ......................104...
  • Page 95: 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 96: 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 97 SmartWare Software Configuration Guide 8 • RADIUS Client Configuration 3. Query the local database (see “Configuring the local database accounts” on page 103 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 98: 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 99: 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 100: 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 101 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 Create a new RADIUS client node (cfg)# radius-client <client-name> Define the RADIUS server to be used.
  • Page 102: Configuring The Radius Server

    SmartWare Software Configuration Guide 8 • RADIUS Client Configuration Step Command Purpose Define, if accounting shall be started at call-setup or call-con- node (svc-aaa)[svc-name]# (Optional) nect time. The default is at call-connect time. accounting-start-trigger [setup | connect] If setup is specified, an interim update will be Note sent at call-connect time.
  • Page 103: 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 104 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 105: Ip Context Overview

    Chapter 9 IP context overview Chapter contents Introduction ................................107 IP context overview configuration task list......................108 Planning your IP configuration ...........................109 IP interface related information ........................109 QoS related information ..........................109 Configuring physical ports...........................109 Creating and configuring IP interfaces.........................109 Configuring NAPT .............................110 Configuring static IP routing..........................110 Configuring...
  • Page 106: 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 107: 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 108: 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 109: 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 110: 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 111: Ip Interface Configuration

    Chapter 10 IP interface configuration Chapter contents Introduction ................................113 IP interface configuration task list........................113 Creating an IP interface ..........................113 Deleting an IP interface ..........................114 Setting the IP address and netmask .......................115 Configuring a NAPT DMZ interface ......................115 ICMP message processing ..........................116 ICMP redirect messages ..........................116...
  • Page 112: 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 113: 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 114: 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 115: 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 116: 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 117: 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 118: 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 119: Debug Arp

    SmartWare Software Configuration Guide 10 • IP interface configuration • [traffic-class <traffic-class>] which indicates the IP packets in a traffic class are routed via the defined Nexthop in the routing table entry for that traffic-class. Default: local-default. When using for fault isolation, you should first run it on the respective IP interface to verify that the local ping LAN or WAN interface is up and running.
  • Page 120: Configuring The Igmp Proxy

    SmartWare Software Configuration Guide 10 • IP interface configuration Example: Debug ARP output node(cfg)#debug arp node(cfg)#ping 10.9.10.11 Sending 5, 56 bytes, ICMP echo requests to 10.9.10.11: 17:25:40 > Entry 10.9.10.11: Sending first request 17:25:40 > Tx ARP Request: Who has 10.9.10.11 tell 10.9.10.1 at 00:A0:BA:00:92:4F 17:25:40 >...
  • Page 121: Configuring The Igmp Proxy

    SmartWare Software Configuration Guide 10 • IP interface configuration Mode: Context IP Step Command Purpose Go to the IP interface, which shall act as the IGMP proxy node (ctx-ip)[ctx- name ]# upstream interface interface <if-name> Define the interface as the IGMP proxy upstream interface node(if-ip)[if- name ]# igmp interface-type proxy- upstream...
  • Page 122: Nat/Napt Configuration

    Chapter 11 NAT/NAPT configuration Chapter contents Introduction ................................124 Dynamic NAPT ............................124 Static NAPT ..............................125 Dynamic NAT ..............................125 Static NAT ..............................126 NAPT traversal .............................126 NAT/NAPT configuration task list ........................127 Creating a NAPT profile ..........................127 Configuring a NAPT DMZ host ......................128 Defining NAPT port ranges ........................128 Preserving TCP/UDP port numbers in NAPT ..................129...
  • Page 123: 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 124: 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 125: 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 125. (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 126: 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 127: 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 ip global-ip global-ip . (optional) (max. 20 entries) node (pf-napt)[ name ]#static Creates a static NAT entry: traffic of the IP protocol { ah|esp|gre|ipv6 } local_ip AH, ESP, GRE, or IPv6 respectively directed to the (optional)
  • Page 128: 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- Define the TCP port range port-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>...
  • Page 129: 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 130: 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 131: Ethernet Port Configuration

    Chapter 12 Ethernet port configuration Chapter contents Introduction ................................133 Ethernet port configuration task list ........................133 Entering the Ethernet port configuration mode ....................133 Configuring medium for an Ethernet port ....................133 Configuring Ethernet encapsulation type for an Ethernet port ..............134 Binding an Ethernet port to an IP interface ....................134 Multiple IP addresses on Ethernet ports ......................135...
  • Page 132: 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 133: 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 134: 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 135: 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 136: 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 137: 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 138: 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 139: 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 140 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 capturing, if the capture buffer is full.
  • Page 141: Link Scheduler Configuration

    Chapter 13 Link scheduler configuration Chapter contents Introduction ................................143 Applying scheduling at the bottleneck ......................143 Using traffic classes ............................143 Introduction to Scheduling ...........................144 Priority ..............................144 Weighted fair queuing (WFQ) ........................144 Shaping ..............................144 Burst tolerant shaping or wfq ........................145 Hierarchy ..............................145 Quick references ..............................146 Setting the modem rate...
  • Page 142: 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 18, “Access control list configuration” on page 206 more information on the use of access control lists. This chapter includes the following sections: •...
  • Page 143: 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 144: 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 145: 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 146: 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 147: Defining The Access Control List Profile

    SmartWare Software Configuration Guide 13 • Link scheduler configuration • Enable statistics gathering (see page 158) 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 148: 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 18, “Access control list configura- tion”...
  • Page 149: 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...
  • Page 150 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 151: 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 152: 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.
  • Page 153: 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 154: 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 155: 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 156 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- fied range to a traffic-class. To name a spe- {routed-voice | routed-voice-encrypted | [<lower-size> <upper-size>] } traffic-class <traffic-class-name>...
  • Page 157: 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 158: 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 159 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 160: Serial Port Configuration

    Chapter 14 Serial port configuration Chapter contents Introduction ................................162 Serial port configuration task list .........................162 Disabling an interface ...........................163 Enabling an interface ............................163 Configuring the serial encapsulation type ......................164 Configuring the hardware port protocol ......................165 Configuring the active clock edge ........................166 Configuring the baudrate ..........................166...
  • Page 161: 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 162: Disabling An Interface

    SmartWare Software Configuration Guide 14 • Serial port configuration Disabling an interface Before you replace a compact serial cable or attach your SmartNode to other serial equipment, use the command to disable the serial interfaces. This prevents anomalies and hardware faults. When you shutdown shut down an interface, it has the state CLOSED in the command display.
  • Page 163: Configuring The Serial Encapsulation Type

    SmartWare Software Configuration Guide 14 • Serial port configuration Mode: Administrator execution Step Command Purpose node (cfg)#port serial slot port Selects the serial interface on slot and port node (prt-ser)[ slot/port ]#no shutdown Enables the interface node (prt-ser)[ slot/port ]#show port serial Displays the serial interface configuration. Example: Enabling an interface The example shows how to enable the built-in serial interface on slot 0 and port 0.
  • Page 164: Configuring The Hardware Port Protocol

    SmartWare Software Configuration Guide 14 • Serial port configuration node(prt-ser)[0/0]#encapsulation framerelay node(prt-ser)[0/0]#show port serial Serial Interface Configuration ------------------------------ Port : serial 0 0 0 State : CLOSED Hardware Port : V.35 Transmit Edge : normal Port Type : DTE CRC Type : CRC-16 Max Frame Length: 2048 Recv Threshold...
  • Page 165: Configuring The Active Clock Edge

    SmartWare Software Configuration Guide 14 • Serial port configuration Recv Threshold Encapsulation : framerelay Configuring the active clock edge Depending on the system configurations—i.e. when using long cables, with certain modem types or data rates—synchronization problems may occur on the serial port. In these cases, it may be necessary to configure the clock edge on which data is transmitted.
  • Page 166 SmartWare Software Configuration Guide 14 • Serial port configuration Mode: Port serial Step Command Purpose node (prt-ser)[ slot/port ]# baudrate Configures the baudrate for the serial interface. baudrate Example: Configuring baudrate to 64,000 bps The following example configures a baudrate of 64,000 bps on the serial interface. Verify that the command output displays the correct baudrate.
  • Page 167: Enter Frame Relay Mode

    SmartWare Software Configuration Guide 14 • Serial port configuration Rx abort sequence: Rx non octet: Rx frame len violation: Rx DPLL error: Sent frames: 116106 Tx good frames: 116106 Tx CTS lost: Tx underrun: Status Link: Control Line: enabled True Baudrate: 64000 bps Enter Frame Relay mode This section describes how to configure Frame Relay on the serial interface, after setting the basic serial inter-...
  • Page 168: Configuring The Keep-Alive Interval

    SmartWare Software Configuration Guide 14 • Serial port configuration Mode: Frame Relay Step Command Purpose node (frm-rel)[ slot/port ]#lmi-type {ansi | gof | itu} Sets the LMI type Example: Configuring the LMI type The following example sets the LMI type to ANSI T1.617 Annex D for Frame Relay over the serial interface on slot 0 and port 0.
  • Page 169 SmartWare Software Configuration Guide 14 • Serial port configuration This procedure describes how to enable Frame Relay fragmentation Mode: Frame Relay Step Command Purpose node (cfg)#port serial slot port Selects the serial interface on slot and port. node (prt-ser)[ 0/0 ]#framerelay Enters Frame Relay configuration mode.
  • Page 170: Entering Frame Relay Pvc Configuration Mode

    SmartWare Software Configuration Guide 14 • Serial port configuration The fragmentation size depends on the available bandwidth, the chosen codec, and its packet length: • The less bandwidth available per call, the smaller the fragment size has to be configured. •...
  • Page 171: Configuring The Pvc Encapsulation Type

    SmartWare Software Configuration Guide 14 • Serial port configuration 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 node(pvc)[1]#...
  • Page 172: Ip Interface Wan Is Bound To Pvc 1 On Port Serial 0 0

    SmartWare Software Configuration Guide 14 • Serial port 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 173: Enabling A Frame Relay Pvc

    SmartWare Software Configuration Guide 14 • Serial port 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 174: Debugging Frame Relay

    SmartWare Software Configuration Guide 14 • Serial port 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 175: Displaying Serial Port Information

    SmartWare Software Configuration Guide 14 • Serial port configuration Displaying serial port information The following example shows the commands used to display serial port configuration settings. HDLC Driver: 0x8496b8 ===================== Slot: Number of Ports: HDLC Driver: 0x8496b8 ===================== Slot: Number of Ports: Port: serial 0 0 0 ------------------ State:...
  • Page 176: Integrated Service Access

    SmartWare Software Configuration Guide 14 • Serial port configuration PVC Configuration: Port DLCI State Fragment Encaps Binding -------------------------------------------------------------- serial 0 0 0 open disabled rfc1490 wan@router PSTN Internet Multi Multi Service Service Provider PVC 1 Provider Node Leased Line Node Modem Modem Network...
  • Page 177: Ip Context With Logical Ip Interfaces Bound To Ethernet Port, Serial Port Pvc 1 And Pvc 2

    SmartWare Software Configuration Guide 14 • Serial port configuration Between the leased line modem and the SmartNode, ANSI T.617 type of LMI packets have to be exchanged. In addition, the keep-alive interval has to be set to 20 seconds. To guarantee voice quality, fragmentation is enabled on the PVC which carries voice (PVC 1) and a service profile is assigned which gives priority to voices packets.
  • Page 178 SmartWare Software Configuration Guide 14 • Serial port configuration node(src)[local-d~]#source class default … 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 179: T1/E1 Port Configuration

    Chapter 15 T1/E1 port configuration Chapter contents Introduction ................................181 T1/E1 port configuration task list........................181 Enable/Disable T1/E1 port ...........................181 Configuring T1/E1 port-type ........................182 Configuring T1/E1 clock-mode ........................182 Configuring T1/E1 line-code ........................182 Configuring T1/E1 framing ..........................182 Configuring T1/E1 line-build-out (T1 only) ....................183 Configuring T1/E1 used-connector (E1 only) ....................183 Configuring T1/E1 application mode...
  • Page 180: Introduction

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration Introduction This chapter provides an overview of the T1/E1 ports, their characteristics and the tasks involved in the configuration. The configurable parameters for the T1/E1 port are type (T1 or E1), clock mode (or source) (master or slave), line code (AMI, HDB3, or B8ZS), framing (CRC-4, ESF, or unframed), line-build-out (for T1 only) and encapsulation (channelized or HDLC).
  • Page 181: Configuring T1/E1 Port-Type

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration Configuring T1/E1 port-type The T1/E1 Port can either work in T1 or in E1 (G.704) mode. This mode can be changed dynamically as long as no encapsulation or encapsulation ‘hdlc’ is set. Be aware that changing the port-type also resets the framing and linecode parameters to the default values of the new port-type.
  • Page 182: Configuring T1/E1 Line-Build-Out (T1 Only)

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration The advantage of the unframed mode (obviously with hdlc encapsulation) is the utilization of the whole link speed for user data transmission, 2.048MBit/s for E1 and 1.544MBit/s for T1. However note that HDLC has its own overhead which decreases the actual data rate.
  • Page 183: Configuring T1/E1 Los Threshold

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration Configuring T1/E1 LOS threshold This command takes effect only if the T1/E1 port is configured for long-haul applications. It specifies the sen- sitivity for Loss Of Signal threshold. A signal suffers more attenuation over long distances than over short dis- tances.
  • Page 184: Configuring T1/E1 Encapsulation

    SmartWare Software Configuration Guide 15 • T1/E1 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 185: Configuring Channel-Group Timeslots

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration mode is immediately entered. To remove an existing channel-group the ‘no’ form of the command has to be used. Mode: port e1t1 <slot> <port> Step Command Purpose [ name ] (prt-e1t1)[slot/port]#[no] channel- Enters the channel-group configuration mode of group-name .
  • Page 186: Configuring Hdlc Crc-Type

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration tion mode the encapsulation must be set to ‘hdlc’ as well followed by configuring at least one timeslot per the ‘timeslots’ command. Mode: port e1t1 <slot> <port> Step Command Purpose [ name ] (prt-e1t1)[slot/port]# hdlc Entering the hdlc configuration mode Mode: channel-group <group>...
  • Page 187: Example 1: Frame Relay Without A Channel-Group

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration Example 1: Frame Relay without a channel-group port e1t1 0 0 port-type e1 framing crc4 encapsulation hdlc hdlc encapsulation framerelay framerelay lmi-type itu pvc 100 encapsulation rfc1490 bind interface pvc100 router no shutdown port e1t1 0 0 no shutdown...
  • Page 188: Example 2: Framerelay With A Channel-Group

    SmartWare Software Configuration Guide 15 • T1/E1 port configuration Example 2: 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 189: Basic Ip Routing Configuration

    Chapter 16 Basic IP routing configuration Chapter contents Introduction ................................191 Routing tables ...............................191 Static routing ..............................191 Policy routing ...............................191 Basic IP routing configuration task list ........................191 Configuring static IP routes ..........................192 Deleting static IP routes ..........................193 Displaying IP route information ........................193 Configuring policy routing ...........................194...
  • Page 190: Introduction

    SmartWare Software Configuration Guide 16 • 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 191: Configuring Static Ip Routes

    SmartWare Software Configuration Guide 16 • Basic IP routing configuration • Displaying IP route information (see page 192) 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 192: Deleting Static Ip Routes

    SmartWare Software Configuration Guide 16 • 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 193: Configuring Policy Routing

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

    SmartWare Software Configuration Guide 16 • 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 195: Changing The Default Udp Port Range For Rtp And Rtcp

    SmartWare Software Configuration Guide 16 • 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 196: Rip Configuration

    Chapter 17 RIP configuration Chapter contents Introduction ................................198 Routing protocol ..............................198 RIP configuration task list ...........................199 Enabling send RIP ............................199 Enabling an interface to receive RIP ......................200 Specifying the send RIP version ........................200 Specifying the receive RIP version .........................201 Enabling RIP learning ...........................201 Enabling an interface to receive RIP ......................202...
  • Page 197: Introduction

    SmartWare Software Configuration Guide 17 • 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 198) RIP is a relatively old but still commonly used interior gateway protocol created for use in small, homogeneous...
  • Page 198: Rip Configuration Task List

    SmartWare Software Configuration Guide 17 • 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 199: Enabling An Interface To Receive Rip

    SmartWare Software Configuration Guide 17 • 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 200: Specifying The Receive Rip Version

    SmartWare Software Configuration Guide 17 • 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 201: Enabling An Interface To Receive Rip

    SmartWare Software Configuration Guide 17 • 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 202: Enabling Rip Auto Summarization

    SmartWare Software Configuration Guide 17 • 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 203: Enabling Rip Split-Horizon Processing

    SmartWare Software Configuration Guide 17 • 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.
  • Page 204: Enabling Holding Down Aged Routes

    SmartWare Software Configuration Guide 17 • 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 205: Displaying Global Rip Information

    SmartWare Software Configuration Guide 17 • RIP configuration node(if-ip)[wan]#show rip interface wan Interface wan (IP context router): -------------------------------------------------- listen: disabled supply: enabled send version: 1compatible receive version: 1or2 learn host: disabled learn default: disabled announce host: disabled announce static: disabled announce default: disabled announce self-as-default: disabled route-holddown: enabled...
  • Page 206: Access Control List Configuration

    Chapter 18 Access control list configuration Chapter contents Introduction ................................208 About access control lists .............................208 What access lists do ............................208 Why you should configure access lists ......................208 When to configure access lists ........................209 Features of access control lists ........................209 Access control list configuration task list......................210 Mapping out the goals of the access control list .....................210...
  • Page 207: Introduction

    SmartWare Software Configuration Guide 18 • 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 208: When To Configure Access Lists

    SmartWare Software Configuration Guide 18 • 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 32 host A is allowed to access the Human Resources network and host B is prevented from accessing the Human Resources network.
  • Page 209: Access Control List Configuration Task List

    SmartWare Software Configuration Guide 18 • 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 210: Creating An Access Control List Profile And Enter Configuration Mode

    SmartWare Software Configuration Guide 18 • 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 211 SmartWare Software Configuration Guide 18 • 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 212: Adding An Icmp Filter Rule To The Current Access Control List Profile

    SmartWare Software Configuration Guide 18 • 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 213 SmartWare Software Configuration Guide 18 • 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. A wildcard for the source address. Expressed in dotted-decimal format this value specifies src-wildcard which bits are significant for matching.
  • Page 214: Adding A Tcp, Udp Or Sctp Filter Rule To The Current Access Control List Profile

    SmartWare Software Configuration Guide 18 • 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 215 SmartWare Software Configuration Guide 18 • 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. A wildcard for the source address. Expressed in dotted-decimal format this value specifies src-wildcard which bits are significant for matching.
  • Page 216: Binding And Unbinding An Access Control List Profile To An Ip Interface

    SmartWare Software Configuration Guide 18 • 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 217: Displaying An Access Control List Profile

    SmartWare Software Configuration Guide 18 • 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 218 SmartWare Software Configuration Guide 18 • Access control list configuration Mode: Interface Step Command Purpose Selects the IP router context node (cfg)#context ip router 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...
  • Page 219: Examples

    SmartWare Software Configuration Guide 18 • Access control list configuration Examples Denying a specific subnet Figure 33 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 220: Snmp Configuration

    Chapter 19 SNMP configuration Chapter contents Introduction ................................222 Simple Network Management Protocol (SNMP) ....................222 SNMP basic components ..........................222 SNMP basic commands ..........................222 SNMP management information base (MIB) ....................223 Network management framework .........................223 Identification of a SmartNode via SNMP......................223 SNMP tools.................................224 SNMP configuration task list ..........................224 Setting basic system...
  • Page 221: Introduction

    SmartWare Software Configuration Guide 19 • 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 222: Snmp Management Information Base (Mib)

    SmartWare Software Configuration Guide 19 • 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 223: Snmp Tools

    SmartWare Software Configuration Guide 19 • 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 224 SmartWare Software Configuration Guide 19 • 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 225: Setting Access Community Information

    SmartWare Software Configuration Guide 19 • SNMP configuration Figure 34. 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 34 for a typical MIB browser application accessing these MIB-II system group objects representing the system information.
  • Page 226 SmartWare Software Configuration Guide 19 • 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 227: Setting Allowed Host Information

    SmartWare Software Configuration Guide 19 • 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 228: Displaying Snmp Related Information

    SmartWare Software Configuration Guide 19 • 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 229: Using The Mibbrowser

    SmartWare Software Configuration Guide 19 • 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 230: Using The Trapviewer

    SmartWare Software Configuration Guide 19 • 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 231: Adventnet Trap Details Window Of Trapviewer

    SmartWare Software Configuration Guide 19 • 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 232: Standard Snmp Version 1 Traps

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

    SmartWare Software Configuration Guide 19 • 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 234 SmartWare Software Configuration Guide 19 • 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 235: Sntp Client Configuration

    Chapter 20 SNTP client configuration Chapter contents Introduction ................................237 SNTP client configuration task list ........................237 Selecting SNTP time servers .........................238 Defining SNTP client operating mode ......................238 Defining SNTP local UDP port ........................239 Enabling and disabling the SNTP client .......................240 Defining SNTP client poll interval .......................240 Defining SNTP client constant offset to GMT .....................240...
  • Page 236: Introduction

    SmartWare Software Configuration Guide 20 • 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 243) The Simple Network Time Protocol (SNTP) is an adaptation of the Network Time Protocol (NTP) that is...
  • Page 237: Selecting Sntp Time Servers

    SmartWare Software Configuration Guide 20 • 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 238: Defining Sntp Local Udp Port

    SmartWare Software Configuration Guide 20 • 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 239: Enabling And Disabling The Sntp Client

    SmartWare Software Configuration Guide 20 • 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 240: Defining The Sntp Client Anycast Address

    SmartWare Software Configuration Guide 20 • SNTP client configuration Mode: Configure Step Command Purpose node (cfg)#sntp-client gmt-offset offset Specifies the SNTP client constant offset from GMT, where offset is + or – followed by hh:mm:ss, with a range from –24:00:00 to +24:00:00 Example: Setting SNTP client local time zone offset from GMT In the following example the SNTP client local time zone offset is set to +2 hours ahead of GMT, e.g.
  • Page 241: Enabling And Disabling Local Clock Offset Compensation

    SmartWare Software Configuration Guide 20 • 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 242: Showing Sntp Client Related Information

    SmartWare Software Configuration Guide 20 • 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 243: Recommended Public Sntp Time Servers

    SmartWare Software Configuration Guide 20 • 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 244: Additional Information On Ntp And A List Of Other Ntp Servers

    SmartWare Software Configuration Guide 20 • 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 245: Dhcp Configuration

    Chapter 21 DHCP configuration Chapter contents Introduction ................................247 DHCP-client configuration tasks.........................248 Enable DHCP-client on an IP interface ......................248 Release or renew a DHCP lease manually (advanced) ...................250 Get debug output from DHCP-client ......................250 DHCP-server configuration tasks ........................251 Configure DHCP-server profiles ........................251 Use DHCP-server profiles and enable the DHCP-server ................253...
  • Page 246: Introduction

    SmartWare Software Configuration Guide 21 • 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 247) •...
  • Page 247: Dhcp-Client Configuration Tasks

    SmartWare Software Configuration Guide 21 • 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 38. DHCP-client and DHCP-server DHCP-client configuration tasks To configure the SmartNode as DHCP-client perform the steps mentioned below. •...
  • Page 248 SmartWare Software Configuration Guide 21 • 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 249: Release Or Renew A Dhcp Lease Manually (Advanced)

    SmartWare Software Configuration Guide 21 • 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 250: Dhcp-Server Configuration Tasks

    SmartWare Software Configuration Guide 21 • 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 251 SmartWare Software Configuration Guide 21 • 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 252: Use Dhcp-Server Profiles And Enable The Dhcp-Server

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

    SmartWare Software Configuration Guide 21 • DHCP configuration Check DHCP-server configuration and status This procedure describes how to check the configuration and current status of the DHCP-server Mode: Any Step Command Purpose node (cfg) #show dhcp-server Displays configuration and status information Example: node(ctx-ip)[router]#show dhcp-server The DHCP server is running...
  • Page 254 SmartWare Software Configuration Guide 21 • DHCP configuration Example: Enable DHCP debug monitor This example shows how to enable the DHCP-server debug monitor. The debug output shows an activation of the DHCP-server, a DHCP-client requesting a lease, and a DHCP-client releasing a lease. node(ctx-ip)[router]#debug dhcp-server 21:40:29 DHCPS >...
  • Page 255: Dns Configuration

    Chapter 22 configuration Chapter contents Introduction ................................257 DNS configuration task list ..........................257 Enabling the DNS resolver ..........................257 Enabling the DNS relay ..........................258...
  • Page 256: Introduction

    SmartWare Software Configuration Guide 22 • 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 257: Enabling The Dns Relay

    SmartWare Software Configuration Guide 22 • DNS configuration You can test the DNS server configuration using the dns-lookup command as follows: 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 258 SmartWare Software Configuration Guide 22 • 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 259: Dyndns Configuration

    Chapter 23 DynDNS configuration Chapter contents Introduction ................................261 DynDNS configuration task list ..........................261 Creating a DynDNS account ........................261 Configuring the DNS resolver ........................261 Configuring basic DynDNS settings ......................262 Configuring advanced DynDNS settings (optional) ..................262 Defining a mail exchanger for your hostname ..................262 Troubleshooting ............................263...
  • Page 260: Introduction

    SmartWare Software Configuration Guide 23 • 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 261: Configuring Basic Dyndns Settings

    SmartWare Software Configuration Guide 23 • 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 Defines the DynDNS service to use node(dyndns)#service {dynamic|static|custom}...
  • Page 262: Troubleshooting

    SmartWare Software Configuration Guide 23 • DynDNS configuration Example: Defining a mail exchanger The following example shows how to define a mail exchanger named mail.mycompany.com, which should be used as the primary mail-exchanger for the registered DynDNS hostname. node>enable node#configure node(cfg)#context ip node(ctx-ip)[router]#dyndns node(dyndns)#mail-exchanger mail.mycompany.com...
  • Page 263 SmartWare Software Configuration Guide 23 • DynDNS configuration 16:20:43 DYNDNS> Resolved 'update.dyndns.org'. 16:20:43 DYNDNS> Updating DNS... 16:20:43 DYNDNS> Sending request... 16:20:44 DYNDNS> DNS updated successfully 16:20:44 DYNDNS> Registered IP address is (57.32.59.64). If required, you can force the DynDNS component to re-register the current IP address on the DynDNS server—even if the dynamic IP address has not changed—using the following command (this command could also be useful for observing the update process in the debug monitor).
  • Page 264: Ppp Configuration

    Chapter 24 PPP configuration Chapter contents Introduction ................................266 PPP configuration task list...........................267 Creating an IP interface for PPP ........................267 Disable interface IP address auto-configuration from PPP ................269 Creating a PPP subscriber ..........................269 Trigger forced reconnect of PPP sessions using a timer .................271 Disable interface IP address auto-configuration from PPP ................271...
  • Page 265: Introduction

    SmartWare Software Configuration Guide 24 • 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 266: Ppp Configuration Task List

    SmartWare Software Configuration Guide 24 • PPP configuration PPP configuration task list To configure PPP, perform the following tasks: • Creating an IP interface for PPP • Configuring for IP address auto-configuration from PPP (see page 268) • Creating a PPP subscriber (for authentication) (see page 268) •...
  • Page 267 SmartWare Software Configuration Guide 24 • PPP configuration Step Command Purpose The PPP remote peer offers an IP address for the node (if-ip)[name]#ipaddress IP interface. The IP interface adopts this IP unnumbered address Once PPP has established an IP connection, the node (if-ip)[name]#ipaddress dhcp IP interface can use DHCP to acquire an IP address.
  • Page 268: Disable Interface Ip Address Auto-Configuration From Ppp

    SmartWare Software Configuration Guide 24 • 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- on page 122 to learn how to create a ration”...
  • Page 269 SmartWare Software Configuration Guide 24 • PPP configuration Step Command Purpose Defines the direction of the connection establish- node (subscr)[name]# dial {in|out} 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: PPP over Ethernet: ‘dial out’...
  • Page 270: Trigger Forced Reconnect Of Ppp Sessions Using A Timer

    SmartWare Software Configuration Guide 24 • 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 271 SmartWare Software Configuration Guide 24 • 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 Defines the payload type(s) to be used on the node (prt-eth)[slot/port]# encapsulation Ethernet: {ip|pppoe|multi}...
  • Page 272: Configuring A Serial Port For Ppp

    SmartWare Software Configuration Guide 24 • 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 273: Creating A Ppp Profile

    SmartWare Software Configuration Guide 24 • PPP configuration Creating a PPP profile A PPP profile allows to adjust additional PPP parameters like the maximum transmit unit (MTU) and maxi- mum receive unit (MRU). Only the most important parameters are listed here. The profile default is always present and supplies the parameters if no other profile has been created or no pro- file can be used with a certain type of PPP connection.
  • Page 274: Displaying Ppp Configuration Information

    SmartWare Software Configuration Guide 24 • PPP configuration node(pf-ppp)[PPPoE]#port ethernet 0 0 node(prt-eth)[0/0]#pppoe node(pppoe)[0/0]#session green node(session)[green]#use profile ppp PPPoE Displaying PPP configuration information This section shows how to display and verify the PPP configuration information. Mode: Configure Step Command Purpose Gives the best overview of all PPP related configura- node (cfg) #show running-config tion information.
  • Page 275: Debugging Ppp

    SmartWare Software Configuration Guide 24 • 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 276 SmartWare Software Configuration Guide 24 • 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 277 SmartWare Software Configuration Guide 24 • 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 278 SmartWare Software Configuration Guide 24 • 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 279: Sample Configurations

    SmartWare Software Configuration Guide 24 • 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 280: Ppp Over Serial Link

    SmartWare Software Configuration Guide 24 • 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 serial link Without authentication, numbered interface context ip router interface ppp_interface ipaddress 172.17.1.1 255.255.255.252...
  • Page 281: Vpn Configuration

    Chapter 25 VPN configuration Chapter contents Introduction ................................283 Authentication ..............................283 Encryption ..............................283 Transport and tunnel modes .........................284 Key management ............................284 VPN configuration task list ..........................284 Creating an IPsec transformation profile .......................284 Creating an IPsec policy profile ........................285 Creating/modifying an outgoing ACL profile for IPsec .................287 Configuration of an IP interface and the IP router for IPsec ................288...
  • Page 282: Introduction

    SmartWare Software Configuration Guide 25 • 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 283: Transport And Tunnel Modes

    SmartWare Software Configuration Guide 25 • 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 284: Creating An Ipsec Policy Profile

    SmartWare Software Configuration Guide 25 • VPN configuration Mode: Configure mac-sha1-96 }Enables authentication and defines the authentication protocol and the hash algorithm Step Command Purpose node (cfg)#profile ipsec-transform name Creates the IPsec transformation profile name node (pf-ipstr)[ name ]#esp-encryption { Enables encryption and defines the encryp- aes-cbc | des-cbc | 3des-cbc } [ key-length ] tion algorithm and the key length...
  • Page 285 SmartWare Software Configuration Guide 25 • VPN configuration Mode: Configure Step Command Purpose Creates the IPsec policy profile name node (cfg)#profile ipsec-policy-man- ual name Selects the IPsec transformation profile to be node (pf-ipstr)[name]#use profile ipsec-transform name applied node (pf-ipstr)[ name ]#session-key Sets a key for encryption or an authenticator for authentication, either for inbound or outbound optional...
  • Page 286: Creating/Modifying An Outgoing Acl Profile For Ipsec

    SmartWare Software Configuration Guide 25 • VPN configuration 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 1234567890ABCDEF1234567890ABCDEF node(pf-ipsma)[ToBerne]#session-key outbound esp-encryption FEDCBA0987654321FEDCBA0987654321 node(pf-ipsma)[ToBerne]#spi inbound esp 1111 node(pf-ipsma)[ToBerne]#spi outbound esp 2222...
  • Page 287: Configuration Of An Ip Interface And The Ip Router For Ipsec

    SmartWare Software Configuration Guide 25 • 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 288: Debugging Ipsec

    SmartWare Software Configuration Guide 25 • 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 289: Key Management (Ike)

    SmartWare Software Configuration Guide 25 • 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 290: Creating An Isakmp Transform Profile

    SmartWare Software Configuration Guide 25 • 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 291: Creating An Isakmp Ipsec Policy Profile

    SmartWare Software Configuration Guide 25 • 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 292: Creating/Modifying An Outgoing Acl Profile For Ipsec

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

    SmartWare Software Configuration Guide 25 • 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 294: Encrypted Voice - Performance Considerations

    SmartWare Software Configuration Guide 25 • 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 295: Using An Alternate Source Ip Address For Specific Destinations

    SmartWare Software Configuration Guide 25 • VPN configuration Mode: Context ip /interface <if-name> Step Command Purpose Enable or disable RTP encryption support on an node (if-ip)[if- name ]# [no] rtp-encryp- IP interface. tion 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.
  • Page 296: Sample Configurations

    SmartWare Software Configuration Guide 25 • VPN configuration Step Command Purpose Enable sending of the display information ele- node (if-isdn)[if- name ]# [no] display ment for an isdn interface. emit Default: disabled 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 297: Cisco Router Configuration

    SmartWare Software Configuration Guide 25 • VPN configuration ipaddress 200.200.200.2 255.255.255.252 use profile acl VPN_In in use profile acl VPN_Out out context ip router route 0.0.0.0 0.0.0.0 200.200.200.1 0 route 172.16.0.0 255.255.0.0 WAN 0 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...
  • Page 298: Cisco Router Configuration

    SmartWare Software Configuration Guide 25 • VPN configuration Rest of the configuration, see above, just change the name of the IPsec policy pro- file in the ACL profile ‘VPN_Out’ Cisco router configuration crypto ipsec transform-set AES_SHA1 ah-sha-hmac esp-aes 256 crypto map VPN_AES_SHA1 local-address FastEthernet0/1 crypto map VPN_AES_SHA1 10 ipsec-manual set peer 200.200.200.2 set session-key inbound esp 6666 cipher...
  • Page 299 SmartWare Software Configuration Guide 25 • VPN configuration set session-key inbound esp 8888 cipher FEDCBA0987654321FEDCBA0987654321FEDCBA0987654321 authenticator FEDCBA0987654321FEDCBA0987654321 set session-key outbound esp 7777 cipher 1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF authenticator 1234567890ABCDEF1234567890ABCDEF set transform-set 3DES_MD5 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.
  • Page 300: Cs Context Overview

    Chapter 26 CS context overview Chapter contents Introduction ................................302 CS context configuration task list ........................303 Planning the CS configuration ..........................303 Configuring general CS settings...........................305 Configuring call routing ............................306 Creating and configuring CS interfaces........................307 Specify call routing ............................307 Configuring dial tones ............................308 Configuring voice over IP parameters ........................308...
  • Page 301: Introduction

    SmartWare Software Configuration Guide 26 • 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 302: Cs Context Configuration Task List

    SmartWare Software Configuration Guide 26 • 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 303 SmartWare Software Configuration Guide 26 • CS context overview Figure 42 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 304: Configuring General Cs Settings

    SmartWare Software Configuration Guide 26 • 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 305: Configuring Call Routing

    SmartWare Software Configuration Guide 26 • CS context overview Mode: System Step Command Purpose node (sys)#clock-source internal Generates the reference clock internally or specifies a specific port to receive the node (sys)#clock-source slot-number port-number reference clock. node (sys)#ic voice slot-number Changes to ic_voice mode.
  • Page 306: Creating And Configuring Cs Interfaces

    SmartWare Software Configuration Guide 26 • 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 307: Configuring Dial Tones

    SmartWare Software Configuration Guide 26 • 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 308: Configuring Isdn Ports

    SmartWare Software Configuration Guide 26 • 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 35, “ISDN port configuration”...
  • Page 309: Activating Cs Context Configuration

    SmartWare Software Configuration Guide 26 • 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 310 SmartWare Software Configuration Guide 26 • CS context overview Mode: Context CS Step Command Purpose Show the CS context configuration. node (ctx-cs)[switch]#show call-router config detail 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 311: Smartnode In An Enterprise Network

    SmartWare Software Configuration Guide 26 • 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 312: Planning The Cs Context

    SmartWare Software Configuration Guide 26 • 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 313: Configuring General Cs Settings

    SmartWare Software Configuration Guide 26 • CS context overview • We enable DTMF relay and specify codec G.723. (Refer to section “Configuring voice over IP parameters” on page 307). • We define H.323 direct call signaling. (Refer to section “Configuring an H.323 VoIP connection” page 308).
  • Page 314 SmartWare Software Configuration Guide 26 • 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 315: Configuring Voip Settings

    SmartWare Software Configuration Guide 26 • 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 316: Configuring An H.323 Voip Connection

    SmartWare Software Configuration Guide 26 • 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 317 SmartWare Software Configuration Guide 26 • 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 318: Showing The Running Configuration

    SmartWare Software Configuration Guide 26 • 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 319 SmartWare Software Configuration Guide 26 • 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 320 SmartWare Software Configuration Guide 26 • 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 321 SmartWare Software Configuration Guide 26 • 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 322: Cs Interface Configuration

    Chapter 27 CS interface configuration Chapter contents Introduction ................................324 CS interface configuration task list ........................324 Creating and configuring CS interfaces........................325 Configuring call routing ............................326 Configuring the interface mapping tables ......................327 Configuring the precall service tables ........................330...
  • Page 323: Introduction

    SmartWare Software Configuration Guide 27 • 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 324: Creating And Configuring Cs Interfaces

    SmartWare Software Configuration Guide 27 • CS interface configuration page 446 and chapter 40, “VoIP profile configuration” on page 506. To create and configure CS interfaces you have to perform the configuration tasks listed below. • Creating and configuring CS interfaces •...
  • Page 325: Configuring Call Routing

    SmartWare Software Configuration Guide 27 • 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 326: Configuring The Interface Mapping Tables

    SmartWare Software Configuration Guide 27 • 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 327 SmartWare Software Configuration Guide 27 • 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 328: Incoming Call Passing An Interface Mapping Table

    SmartWare Software Configuration Guide 27 • 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 E.164 E.164 0041998882521...
  • Page 329: Configuring The Precall Service Tables

    SmartWare Software Configuration Guide 27 • 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 330 SmartWare Software Configuration Guide 27 • 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 331: Isdn Interface Configuration

    Chapter 28 ISDN interface configuration Chapter contents Introduction ................................333 ISDN interface configuration task list........................333 Configuring DTMF dialing (optional) ......................334 Configuring an alternate PSTN profile (optional) ..................334 Configuring ringback tone on ISDN user-side interfaces ................335 Configuring call waiting (optional) .......................335 Disabling call-waiting on ISDN DSS1 network interfaces ................335 Configuring date/time publishing to terminals (optional) ................336...
  • Page 332: Introduction

    SmartWare Software Configuration Guide 28 • 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 27, “CS inter- face configuration”...
  • Page 333: Configuring Dtmf Dialing (Optional)

    SmartWare Software Configuration Guide 28 • 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 334: Configuring Ringback Tone On Isdn User-Side Interfaces

    SmartWare Software Configuration Guide 28 • 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 335: Configuring Date/Time Publishing To Terminals (Optional)

    SmartWare Software Configuration Guide 28 • ISDN interface configuration Configuring date/time publishing to terminals (optional) ISDN allows to propagate current time and date information from a port configured as network to the con- nected terminals. You can configure each ISDN interface to propagate the current SmartNode system time and date to the connected terminals with the following command: Procedure: To configure date and time publishing Mode: Interface ISDN...
  • Page 336 SmartWare Software Configuration Guide 28 • ISDN interface configuration Figure 50 shows an example scenario where a SIP network connects two devices to give a home office (HO) access to a PBX in the central office (CO). Home Office Central Office te w u te v ic...
  • Page 337: Isdn Advice Of Charge Support

    SmartWare Software Configuration Guide 28 • ISDN interface configuration The push back mechanism over ISDN (using ECT) and SIP (using REFER) works independently of the pro- tocol that invoked the call-transfer. For example, the same scenario also works if the phone in the home office is connected to an FXS port.
  • Page 338 SmartWare Software Configuration Guide 28 • ISDN interface configuration The following procedure disables the reception of AOC messages from the network on an ISDN user interface. Step Command Purpose Go to the ISDN interface, for which you want to node (ctx-ip)[ctx- name ]# interface isdn disable AOC <if-name>...
  • Page 339 SmartWare Software Configuration Guide 28 • 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 Go to the ISDN network interface, for which you node (ctx-ip)[ctx- name ]# interface isdn want to enable AOC for all calls <if-name>...
  • Page 340 SmartWare Software Configuration Guide 28 • 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-...
  • Page 341: Fxs Interface Configuration

    Chapter 29 FXS interface configuration Chapter contents Introduction ................................343 FXS supplementary services description.......................343 Call holding ..............................343 Call waiting ..............................343 Making a second call while holding first call ....................344 FXS interface configuration task list ........................345 Configuring a subscriber number (recommended) ..................345 Configuring an alternate PSTN profile (optional) ..................345 Configuring caller-ID presentation (optional)
  • Page 342: Introduction

    SmartWare Software Configuration Guide 29 • 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 27, “CS interface configuration”...
  • Page 343: Making A Second Call While Holding First Call

    SmartWare Software Configuration Guide 29 • FXS interface configuration Note This feature is not used when the connected analog equipment is a fax, answering machine or similar device. Procedure: To reject a waiting call, when a waiting call is announced with a special tone signal, the user can either: •...
  • Page 344: Fxs Interface Configuration Task List

    SmartWare Software Configuration Guide 29 • FXS interface configuration FXS interface configuration task list This section describes the configuration tasks for FXS interfaces. There is no mandatory configuration for basic FXS operation—most configuration commands refer to the use of supplementary services. Next to the basic CS interface settings, the following configurations can be made: •...
  • Page 345: Configuring Caller-Id Presentation (Optional)

    SmartWare Software Configuration Guide 29 • FXS interface configuration There is a PSTN profile named default, which always exists in the system. If no different PSTN profile name is explicitly configured on the FXS interface, the profile named default is used. Procedure: To define an alternate PSTN profile for the FXS interface Mode: Interface FXS Step...
  • Page 346: Configuring Call Waiting Supplementary Service (Optional)

    SmartWare Software Configuration Guide 29 • FXS interface configuration Procedure: To configure call holding Mode: Interface FXS Step Command Purpose Enables/Disables call holding supplementary ser- node (if-fxs)[ if-name ]#[no] call-hold vice (Default: enabled) Example: Disable call holding The following example shows how to disable call holding node>enable node#configure node(cfg)#context cs...
  • Page 347 SmartWare Software Configuration Guide 29 • FXS interface configuration Mode: Interface FXS Step Command Purpose Enables/Disables additional call offering supple- node (if-fxs)[ if-name ]#[no] additional- mentary service (Default: enabled) call-offering Example: Disable additional call offering The following example shows how to disable call holding node>enable node#configure node(cfg)#context cs...
  • Page 348: Fxo Interface Configuration

    Chapter 30 FXO interface configuration Chapter contents Introduction ................................350 FXO services description .............................351 Creating an FXO interface...........................351 Deleting an FXO interface...........................352 FXO interface configuration task list ........................353 FXO off-hook on caller ID ...........................353 Configuring an alternate PSTN profile (optional) ..................353 Configuring when the digits are dialed (optional) ..................354 Configuring the number of rings to wait before answering the call (optional)
  • Page 349: Introduction

    SmartWare Software Configuration Guide 30 • 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 27, “CS interface configuration”...
  • Page 350: Fxo Services Description

    SmartWare Software Configuration Guide 30 • 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 351: Deleting An Fxo Interface

    SmartWare Software Configuration Guide 30 • 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 352: Fxo Interface Configuration Task List

    SmartWare Software Configuration Guide 30 • 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. • ring-number on-caller-id— Determines if the FXO interface will go off-hook upon reception of a speci- fied caller-ID.
  • Page 353: Configuring When The Digits Are Dialed (Optional)

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

    SmartWare Software Configuration Guide 30 • FXO interface configuration Note Verify that you have configured the dial-tone for the country in which the SmartNode is installed. (see chapter 34, “Tone configuration” on page 446). 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 356: Configuring How To Detect A Call Has Disconnected (Optional)

    SmartWare Software Configuration Guide 30 • 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 357: Configuring How To Detect An Outgoing Call Is Connected (Optional)

    SmartWare Software Configuration Guide 30 • FXO interface configuration 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 358: Configuring The Destination Of The Call

    SmartWare Software Configuration Guide 30 • 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 33, “Call router configuration”...
  • Page 359: Fxo Interface Examples

    SmartWare Software Configuration Guide 30 • 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 360: 323 Interface Configuration

    Chapter 31 H.323 interface configuration Chapter contents Introduction ................................362 H.323 interface configuration task list .........................362 Binding the interface to an H.323 gateway ....................363 Configuring an alternate VoIP profile (optional) ...................364 Configuring CLIP/CLIR support (optional) ....................365 Enabling ‘early-proceeding’ on H.323 interfaces ...................366 Enabling the early call disconnect (optional) ....................366...
  • Page 361: Introduction

    SmartWare Software Configuration Guide 31 • 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 362: Binding The Interface To An H.323 Gateway

    SmartWare Software Configuration Guide 31 • 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 363: Configuring An Alternate Voip Profile (Optional)

    SmartWare Software Configuration Guide 31 • 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 364: Configuring Clip/Clir Support (Optional)

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

    SmartWare Software Configuration Guide 31 • 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 366: Enabling The Via Address Support (Optional)

    SmartWare Software Configuration Guide 31 • H.323 interface configuration Example: Enable early call disconnect The following example shows how to enable early call disconnect on an H.323 interface named MyH323If. node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface h323 MyH323If node(if-h323)[MyH323If]#early-disconnect Enabling the via address support (optional) Some LAN Voice applications require the H.323 gateway to add the calling party number of the connected terminal as an H.323 E.164 Alias to the Facility message when transferring a call to another gateway.
  • Page 367: Configuring Status Inquiry Settings (Optional)

    SmartWare Software Configuration Guide 31 • H.323 interface configuration Example: Specifying an alternate destination call-signaling port The following example shows how to set the destination call-signaling port number for the H.323 interface MyH323If to 2300. node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface h323 MyH323If node(if-h323)[MyH323If]#remoteport 2300 Configuring status inquiry settings (optional) Normally, the H.323 gateway will send out status inquiries every minute on each connected H.323 call.
  • Page 368: Enabling Or Disabling Overlapped Sending Support In H.323

    SmartWare Software Configuration Guide 31 • H.323 interface configuration The following example the status inquiry interval for the H.323 interface MyH323If to 120 seconds. node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface h323 MyH323If node(if-h323)[MyH323If]#status-inquiry timeout 120 Enabling or disabling overlapped sending support in H.323 This procedure disables support for overlapped sending on an H.323 interface.
  • Page 369 SmartWare Software Configuration Guide 31 • H.323 interface configuration Step Command Purpose node(if-h323)[if-name]# [no] aoc-d emit Enables or disables transmission of AOC-D information in FACILITY messages received from the other side of the gateway. Default: Transmission is disabled. When enabled, the H.323 gateway sends FACILITY messages containing AOC-D PDUs whenever the charge of a call changes.
  • Page 370: Sip Interface Configuration

    Chapter 32 SIP interface configuration Chapter contents Introduction ................................372 SIP interface configuration task list........................372 Binding the interface to a SIP gateway ......................373 Configure a remote host ..........................373 Configuring an alternate VoIP profile (Optional) ..................374 Configuring early call connect / disconnect (optional) ..................375 Configuring a phone context (optional) ......................375...
  • Page 371: Introduction

    SmartWare Software Configuration Guide 32 • SIP interface configuration Introduction This chapter provides an overview of SIP interfaces used by 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 372: Binding The Interface To A Sip Gateway

    SmartWare Software Configuration Guide 32 • SIP interface configuration • Configure early call connect / disconnect (Optional) • Configure a phone context (Optional) • Mapping call-control properties to SIP headers • Enabling support for SIP remote-party-id headers • Configuring ISDN redirecting number tunneling over SIP (optional) •...
  • Page 373: Configuring An Alternate Voip Profile (Optional)

    SmartWare Software Configuration Guide 32 • SIP interface configuration Mode: Interface SIP Step Command Purpose node (if-sip)[ if-name ]#remoteip ip-address Defines the IP address or DNS hostname of the remote SIP entity, for which this interface shall be used. Examples: Define the remote SIP entity using an IP address The following example shows how to associate a SIP interface named MySipIf with a remote SIP entity, which has the IP address 1.2.3.4 node>enable...
  • Page 374: Configuring Early Call Connect / Disconnect (Optional)

    SmartWare Software Configuration Guide 32 • SIP interface configuration node(if-sip)[MySipIf]#use profile voip myprofile 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. Any call progress tones or announcements are transmitted in the early SIP dialog. There are however several SIP user agents, which do not support media to be transmitted or received in an early dia- log.
  • Page 375: Mapping Call-Control Properties To Sip Headers

    SmartWare Software Configuration Guide 32 • SIP interface configuration Procedure: To define a phone context for the SIP interface Mode: Interface SIP Step Command Purpose node (if-sip)[ if-name ]#phone-context Specify a phone context for the interface Example: Configure a phone-context The following example shows how to configure a phone-context named mycompany for the SIP interface MySipIf.
  • Page 376: Configuring Isdn Redirecting Number Tunneling Over Sip

    SmartWare Software Configuration Guide 32 • SIP interface configuration address-translation commands map as shown in the following two examples. Example 1: Address-translation incoming-call <call-control header> mapping <SIP-header> Example 2: Address-translation outgoing-call <SIP-header> mapping <call-control header> In two more examples, the first line maps the to-header contents of the inbound call to the called-e164 prop- erty of the call control, while the second line maps the request header contents to the called-name property of the call-control.
  • Page 377: Enabling Support For Sip Remote-Party-Id Headers

    SmartWare Software Configuration Guide 32 • SIP interface configuration Mode: interface sip Step Command Purpose Enables Redirecting Party Number Tunneling node (if-sip)[if- name ]# address-transla- ISDN ‡ SIP: Enables transmission of the target tion outgoing-call request-uri target- and cause parameters in the Request-URI for param call redir outgoing SIP calls.
  • Page 378: Sip Refer Transmission (& Isdn Explicit Call Transfer Support)

    SmartWare Software Configuration Guide 32 • SIP interface configuration The type of header sent depends on the screening-indicator property of the call-control. When receiving one of these privacy headers the screening-indicator is also set depending on the received header type. Mode: Context CS Step Command...
  • Page 379 SmartWare Software Configuration Guide 32 • SIP interface configuration Figure 56 shows an example scenario where a SIP network connects two devices to give a home office access to a PBX in the central office. Home Office Central Office te w u te v ic d ia...
  • Page 380 SmartWare Software Configuration Guide 32 • SIP interface configuration The push back mechanism over ISDN (using ECT) and SIP (using REFER) works independently of the pro- tocol that invoked the call-transfer. For example, the same scenario also works if the phone in the home office is connected to an FXS port.
  • Page 381: Call Router Configuration

    Chapter 33 Call router configuration Chapter contents Introduction ................................384 Call router configuration task list.........................386 Map out the goals for the call router ......................386 Enable advanced call routing on circuit interfaces ..................387 Configure general call router behavior ......................387 Configure address completion timeout ....................387 Configure default digit collection timeout and terminating character ............388...
  • Page 382 SmartWare Software Configuration Guide 33 • Call router configuration Egress Interface ............................421 Creating call services .............................423 Creating a hunt group service ........................423 Creating a distribution group service ......................432 Distribution-Group Min-Concurrent setting ....................434 Call-router ‘limiter’ service ..........................434 Priority service ..............................435 CS Bridge service—‘VoIP Leased Line’ ......................437 Deleting call services .............................439...
  • Page 383: Introduction

    SmartWare Software Configuration Guide 33 • 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 384: Direct Call Routing Vs. Advanced Call Routing

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

    SmartWare Software Configuration Guide 33 • 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 386: Enable Advanced Call Routing On Circuit Interfaces

    SmartWare Software Configuration Guide 33 • 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 387: Configure Default Digit Collection Timeout And Terminating Character

    SmartWare Software Configuration Guide 33 • 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 388: Configure Number Prefix For Isdn Number Types

    SmartWare Software Configuration Guide 33 • 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 389: Configure Call Routing Tables

    SmartWare Software Configuration Guide 33 • 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 390 SmartWare Software Configuration Guide 33 • Call router configuration Table 12. 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 391: Called Party Number Routing Table

    SmartWare Software Configuration Guide 33 • 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 392: Wildcard Symbols Used As Keys In E.164 Tables (Calling-E164, Called-E164)

    SmartWare Software Configuration Guide 33 • Call router configuration The following table shows the wildcard characters that are supported: Table 13. 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 393: Digit Collection

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

    SmartWare Software Configuration Guide 33 • 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 395 SmartWare Software Configuration Guide 33 • 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 396 SmartWare Software Configuration Guide 33 • 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 397: Calling Party Number Routing Table

    SmartWare Software Configuration Guide 33 • 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 398: Numbering Plan Routing Table

    SmartWare Software Configuration Guide 33 • 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 399: Name Routing Table

    SmartWare Software Configuration Guide 33 • 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 400: Uri Routing Table

    SmartWare Software Configuration Guide 33 • 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 401: Screening Indicator Routing Table

    SmartWare Software Configuration Guide 33 • 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 402: Information Transfer Capability Routing Table

    SmartWare Software Configuration Guide 33 • 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 403: Call-Router Support For Redirecting Number And Redirect Reason

    SmartWare Software Configuration Guide 33 • 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 404: Time Of Day Routing Table

    SmartWare Software Configuration Guide 33 • Call router configuration • default: Any other unhandled case Mode: context cs Step Command Purpose [ name ] (ctx-cs)[ router ]# routing-table Creates a redirect reason 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 405: Deleting Routing Tables

    SmartWare Software Configuration Guide 33 • 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 406: Configure Mapping Tables

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

    SmartWare Software Configuration Guide 33 • 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 408 SmartWare Software Configuration Guide 33 • Call router configuration Table 15. 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 409: Mapping Table Examples

    SmartWare Software Configuration Guide 33 • Call router configuration Let’s examine the mechanism of mapping tables in more detail. Figure 60 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 410: E.164 To E.164 Mapping Tables

    SmartWare Software Configuration Guide 33 • 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 411 SmartWare Software Configuration Guide 33 • 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 412 SmartWare Software Configuration Guide 33 • 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 413: Custom Sip Uris From Called-/Calling-E164 Properties

    SmartWare Software Configuration Guide 33 • 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 414: Deleting Mapping Tables

    SmartWare Software Configuration Guide 33 • 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 415: Creating Complex Functions

    SmartWare Software Configuration Guide 33 • 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 416: Deleting Complex Functions

    SmartWare Software Configuration Guide 33 • 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 417: Digit Collection & Sending-Complete Behavior

    SmartWare Software Configuration Guide 33 • 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 418: Call-Router

    SmartWare Software Configuration Guide 33 • 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 419 SmartWare Software Configuration Guide 33 • 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 420: Egress Interface

    SmartWare Software Configuration Guide 33 • 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 421 SmartWare Software Configuration Guide 33 • 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 422: Creating Call Services

    SmartWare Software Configuration Guide 33 • 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 node (cts-cs)[ ctx-name ]#digit-col- Configures the digit-collection timeout to 5 seconds and sets lection timeout 5 set-address- the address-complete indication if the timeout elapses complete-indication...
  • Page 423: Hunt Group Service

    SmartWare Software Configuration Guide 33 • 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 424 SmartWare Software Configuration Guide 33 • 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 425: Hunt Group Drop Causes

    SmartWare Software Configuration Guide 33 • 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 426 SmartWare Software Configuration Guide 33 • Call router configuration Table 16. 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 (Cont.) tion does not respond to the call. This cause is used when a user does not respond to a call establishment message with either an alerting or a connect indica-...
  • Page 427 SmartWare Software Configuration Guide 33 • Call router configuration Table 16. 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- (Cont.) response to receiving a status inquiry mes- enquiry sage.
  • Page 428 SmartWare Software Configuration Guide 33 • Call router configuration Table 16. 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 429 SmartWare Software Configuration Guide 33 • Call router configuration Table 16. 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 (Cont.) received a call suspends request.
  • Page 430 SmartWare Software Configuration Guide 33 • Call router configuration Table 16. 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 (Cont.) that includes information elements or call properties that are not recognized.
  • Page 431: Creating A Distribution Group Service

    SmartWare Software Configuration Guide 33 • Call router configuration Creating a distribution group service A distribution group service distributes a call to multiple destinations interfaces. Figure 62 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 432: Distribution Group Service Examples

    SmartWare Software Configuration Guide 33 • 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 63.
  • Page 433: Distribution-Group Min-Concurrent Setting

    SmartWare Software Configuration Guide 33 • 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 434: Priority Service

    SmartWare Software Configuration Guide 33 • Call router configuration Figure 64. ‘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 435: Priority Service Diagram

    SmartWare Software Configuration Guide 33 • 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 65. Priority service diagram By default, the service drops any lower priority calls if a higher priority call fails.
  • Page 436: Cs Bridge Service-'Voip Leased Line

    SmartWare Software Configuration Guide 33 • 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 437: Bridge Services Diagram

    SmartWare Software Configuration Guide 33 • Call router configuration port (see figure 67). 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 438: Deleting Call Services

    SmartWare Software Configuration Guide 33 • 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 439: Activate The Call Router Configuration

    SmartWare Software Configuration Guide 33 • Call router configuration Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]#no service service- Delete the service service-name . name Note: You do not have to enter the type of the service when just deleting it.
  • Page 440: Test The Call Router Configuration

    SmartWare Software Configuration Guide 33 • Call router configuration Test the call router configuration After activating the call router configuration you can test the call router by simulating a route lookup as if a call is routed to a table. You have to execute the test call-router command and specify all necessary call properties together with the routing table you want to test.
  • Page 441: Call Routing Example Network

    SmartWare Software Configuration Guide 33 • Call router configuration 16:55:33 > 02: Prefix Timeout Expression: E164-Number of 123 completely (no timeout) matches 1[0-4] 16:55:33 > 03: Prefix Timeout Expression: E164-Number of 123 does not match 11 16:55:33 > 04: Prefix Timeout Expression: E164-Number of 123 does not match 111 16:55:33 >...
  • Page 442 SmartWare Software Configuration Guide 33 • Call router configuration • The number block for site A is 022 782 55 00 to 99 • The number block for site B is 033 665 2 000 to 999 • The Carrier Access Code (CAC) for Apple is 1055 •...
  • Page 443: Cs Context And Call Router Elements

    SmartWare Software Configuration Guide 33 • Call router configuration Figure 69 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 444 SmartWare Software Configuration Guide 33 • 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 445 SmartWare Software Configuration Guide 33 • 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 446: Tone Configuration

    Chapter 34 Tone configuration Chapter contents Introduction ................................447 Tone-set profiles..............................447 MGCP-Events ..............................448 Tone configuration task list ..........................448 Configuring call-progress-tone profiles ......................449 Configure tone-set profiles ..........................449 Enable tone-set profile ..........................450 Show call-progress-tone and tone-set profiles ....................451...
  • Page 447: Introduction

    SmartWare Software Configuration Guide 34 • 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 448: Mgcp-Events

    SmartWare Software Configuration Guide 34 • Tone configuration its own tone-set profile. If no tone-set is assigned to a PSTN interface the default tone-set is taken. Figure 70 illustrates the relation ship between call-progress-tone profiles, tone-set profiles and PSTN interfaces. call-progress-tone profiles Call Setup A Dial-A...
  • Page 449: Configuring Call-Progress-Tone Profiles

    SmartWare Software Configuration Guide 34 • Tone configuration • Enabling the generation of local in-band tones • Showing call-progress-tone and tone-set profiles Configuring call-progress-tone profiles Each call-progress-tone consists of a sequence of different tones and pauses. Arbitrary tone cadences can be configured.
  • Page 450: Enable Tone-Set Profile

    SmartWare Software Configuration Guide 34 • Tone configuration Procedure: To configure a tone-set profile Mode: Configure Step Command Purpose Creates tone-set name and enters tone-set pro- node (cfg)#profile tone-set name file configuration mode. Map a call-progress-tone profile to an internal node (pf-tones)[ name ]#map tone.
  • Page 451: Show Call-Progress-Tone And Tone-Set Profiles

    SmartWare Software Configuration Guide 34 • Tone configuration Mode: Interface Step Command Purpose node (ctx-cs)[switch]#interface if-type if- Enter interface configuration mode. 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 452 SmartWare Software Configuration Guide 34 • 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 453 SmartWare Software Configuration Guide 34 • Tone configuration node(ctx-cs)[switch]#interface isdn bri0 node(if-isdn)[bri0]#use profile tone-set UK Tone configuration task list...
  • Page 454: Isdn Port Configuration

    Chapter 35 ISDN port configuration Chapter contents Introduction ................................455 ISDN reference points ..........................455 Possible SmartNode port configurations .......................456 ISDN UNI Signaling ............................456 ISDN Configuration Concept ..........................458 ISDN Layering .............................458 Configuration example ..........................459 Description .............................459 ISDN port configuration task list ........................460 Shutdown and enable ISDN ports ........................460 Configure BRI port parameters (Layer 1)
  • Page 455: Introduction

    SmartWare Software Configuration Guide 35 • ISDN port configuration 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 456: Possible Smartnode Port Configurations

    SmartWare Software Configuration Guide 35 • ISDN port configuration 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 457: Integration Of Isdn Access Lines

    SmartWare Software Configuration Guide 35 • ISDN port configuration 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 458: Isdn Configuration Concept

    SmartWare Software Configuration Guide 35 • ISDN port configuration 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.
  • Page 459: Configuration Example

    SmartWare Software Configuration Guide 35 • ISDN port configuration Configuration example Let’s have a look at the configuration of a BRI port, running the network side of the DSS1 protocol. To this ISDN port a phone can be attached. port bri 0 1 clock auto encapsulation q921 q921...
  • Page 460: Isdn Port Configuration Task List

    SmartWare Software Configuration Guide 35 • ISDN port configuration ISDN port configuration task list Configuring ISDN ports typically consists of the following tasks: • Shutdown and enable ISDN ports • Configure ISDN layer 1 parameters for BRI ports • Configure ISDN layer 1 parameters for PRI ports •...
  • Page 461: Configure Pri Port Parameters (Layer 1)

    SmartWare Software Configuration Guide 35 • ISDN port configuration Mode: Port bri Step Command Purpose Specify the clock mode (default: auto) node (prt-bri)[slot/port]#clock auto The BRI port can either generate the clocking for the line, or accept the clock from the line. node (prt-bri)[slot/port]#clock master The options ‘master’...
  • Page 462: Configure Isdn Layer 2 Parameters (Q921)

    SmartWare Software Configuration Guide 35 • ISDN port configuration Mode: Port {e1|t1} Step Command Purpose Specify the clock mode (Default: auto) node (prt-e1)[slot/port]#clock auto The PRI port can either generate the clocking for the line, or accept the clock from the line. node (prt-e1)[slot/port]#clock master The options ‘master’...
  • Page 463: Configure Isdn Layer 3 Parameters (Q931)

    SmartWare Software Configuration Guide 35 • ISDN port configuration Mode: q921 Step Command Purpose Specify ISDN layer 2 operating mode node (q921)[slot/port]#protocol pp (Default: BRI: pmp, PRI: pp). The ISDN layer 2 of BRI ports can operate in node (q921)[slot/port]#protocol pmp point-to-point (pp) or point-to-multipoint (pmp) mode.
  • Page 464: Enabling Pss1/Q.sig

    SmartWare Software Configuration Guide 35 • ISDN port configuration Enabling PSS1/Q.SIG This procedure configures an ISDN port for use with Q.SIG / PSS1 protocol. Mode: port bri <slot> <port> or port e1 <slot> <port> or port t1 <slot> <port> Step Command Purpose [ name ] (prt-bri)[slot/port]# q921...
  • Page 465 SmartWare Software Configuration Guide 35 • ISDN port configuration Step Command Purpose Limits the total number of concurrent calls node (q931)[slot/port]#max-calls number- on the port. of-calls The no form of the command restores the default settings. node (q931)[slot/port]#no max-calls if the channel-range and Note max-calls command are used simultaneously, the...
  • Page 466: Show Isdn Port Status

    SmartWare Software Configuration Guide 35 • ISDN port configuration Show ISDN port status Procedure: To display the current status of an ISDN port Mode: Exec Step Command Purpose Show the status of one or more ISDN node #show port isdn [ slot port ] [detail <- level>...
  • Page 467: Examples

    SmartWare Software Configuration Guide 35 • ISDN port configuration Layer 3 Protocol: Dss1 UniSide: MinChannel: MaxChannel: MaxCalls: AIS Blue Alarm: Hunt Mode: Ascending Signalling Mode: Etsi Examples Example: Configuring BRI port as Euro-ISDN interface The following example shows how to configure port 0/0 as a Euro ISDN interface with user side signaling. 172.16.40.71(cfg)#port bri 0 0 172.16.40.71(prt-bri)[0/0]#q921 172.16.40.71(q921)[0/0]#q931...
  • Page 468: Pbx Connected To Isdn Port 1/0

    SmartWare Software Configuration Guide 35 • ISDN port configuration Example: QSIG Assume the scenario as illustrated in figure Node Node ISDN Port 1/0 Figure 75. 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 469: Fxs Port Configuration

    Chapter 36 FXS port configuration Chapter contents Introduction ................................470 Shutdown and enable FXS ports..........................470 Bind FXS ports to higher layer applications ......................471 Configure country-specific FXS port parameters....................471 Other FXS port parameters..........................472 Example ................................472...
  • Page 470: Introduction

    SmartWare Software Configuration Guide 36 • 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 470)
  • Page 471: Bind Fxs Ports To Higher Layer Applications

    SmartWare Software Configuration Guide 36 • 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 472: Other Fxs Port Parameters

    SmartWare Software Configuration Guide 36 • 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 473 SmartWare Software Configuration Guide 36 • 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 474: Fxo Port Configuration

    Chapter 37 FXO port configuration Chapter contents Introduction ................................475 Shutdown and enable FXO ports.........................475 Bind FXO ports to higher layer applications......................475 Configure country specific FXO port parameters....................476 Other FXO port parameters ..........................476...
  • Page 475: Introduction

    SmartWare Software Configuration Guide 37 • 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 475)
  • Page 476: Configure Country Specific Fxo Port Parameters

    SmartWare Software Configuration Guide 37 • 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 477 SmartWare Software Configuration Guide 37 • 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 mat { bell | etsi } transmission.
  • Page 478: Gateway Configuration

    Chapter 38 H.323 gateway configuration Chapter contents \Introduction...............................479 Gateway configuration task list ..........................480 Binding the gateway to an IP interface ......................480 Enable the gateway ............................480 Configure registration authentication service (RAS) (Optional) ..............481 Configure H.235 Security (optional) ......................482 H.235 configuration .............................483 Advanced configuration options (optional) ....................486 Enabling H.245 Tunneling...
  • Page 479: Introduction

    SmartWare Software Configuration Guide 38 • 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 480: Gateway Configuration Task List

    SmartWare Software Configuration Guide 38 • 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 481: Configure Registration Authentication Service (Ras) (Optional)

    SmartWare Software Configuration Guide 38 • 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 482: Configure H.235 Security (Optional)

    SmartWare Software Configuration Guide 38 • H.323 gateway configuration Mode: Gateway H.323 Step Command Purpose node (gw-h323)[h323]#gatekeeper-discov- Specify that gatekeeper discovery has to be 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 483: Configuration

    SmartWare Software Configuration Guide 38 • 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 484 SmartWare Software Configuration Guide 38 • H.323 gateway configuration Mode: Gateway H.323 Step Command Purpose Sets the master password (32 hex digits, 0–9, node (gw-h323)[h323]#h235security master- A–F) with which the H.235 password is password master-password decrypted. Configure the master password only Note over secure links (e.g.
  • Page 485 SmartWare Software Configuration Guide 38 • H.323 gateway configuration Step Command Purpose node (gw-h323)[h323]#h235-security ras- Enables or disables H.235 security for trans- auth-int-tx [<msg>] mitted RAS packets. msg is the message type. 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- auth-int signaling.
  • Page 486: Advanced Configuration Options (Optional)

    SmartWare Software Configuration Guide 38 • 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 487: Enabling The Fastconnect Procedure

    SmartWare Software Configuration Guide 38 • H.323 gateway configuration Mode: Gateway H.323 Step Command Purpose node (gw-h323)[h323]#h245-tunneling Enables H.245 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 488: Setting The Response Timeout

    SmartWare Software Configuration Guide 38 • H.323 gateway configuration Mode: Gateway H.323 Step Command Purpose node (gw-h323)[h323]#call-signaling-port Define the TCP port to use for inbound call-sig- naling connections port Example: Defining an alternate call-signaling port The following example shows how to define an alternate call-signaling port on an already defined H.323 Gate- way.
  • Page 489: Configuring The Terminal Type For Registration With The Gatekeeper

    SmartWare Software Configuration Guide 38 • H.323 gateway configuration Configuring the terminal type for registration with the gatekeeper H.323 gatekeepers may differentiate between two terminal types (terminals and gateways) of the registrant. In some applications it is necessary for the gateway to register as a terminal, while in other applications it is neces- sary to register as a gateway.with the gatekeeper.
  • Page 490 SmartWare Software Configuration Guide 38 • H.323 gateway configuration The H.323 gateway also provides several debugging monitors to observe its dynamic behavior. These monitors allow efficient troubleshooting of H.323 problems. The most often used monitors are listed in the following table.
  • Page 491: Sip Gateway Configuration

    Chapter 39 SIP gateway configuration Chapter contents Introduction ................................492 Gateway configuration task list ..........................492 Configure DNS resolver ..........................493 Binding the gateway to an IP interface ......................493 Enable the Gateway ............................494 Registering with a registrar (optional) ......................494 Configure a domain name (optional) ......................495 Configure a default server (optional) ......................495...
  • Page 492: Introduction

    SmartWare Software Configuration Guide 39 • SIP gateway configuration Introduction This chapter provides an overview of the SIP gateway and describes the tasks involved in its configuration. When communication is required between different networks a gateway is always needed between them. A gateway provides: •...
  • Page 493: Configure Dns Resolver

    SmartWare Software Configuration Guide 39 • SIP gateway configuration possible configurations, which are involved in a specific configuration topic are described in the respective con- figuration task. You cannot have more than 8 SIP gateways. Even though more than 8 gateways can be configure, the system only supports 8.
  • Page 494: Enable The Gateway

    SmartWare Software Configuration Guide 39 • SIP gateway configuration node(gw-sip)[sip]#bind interface eth0 Enable the Gateway In order to become active the SIP gateway must be enabled. The following procedure enables the SIP gateway: Mode: Gateway SIP Step Command Purpose Enable the SIP gateway node (gw- sip )[ sip ]#no shutdown Example: Enabling an SIP Gateway Configuration The following example shows how to enable an already defined SIP Gateway.
  • Page 495: Configure A Domain Name (Optional)

    SmartWare Software Configuration Guide 39 • SIP gateway configuration Step Command Purpose If you want to change the lifetime of the reg- node (gw-sip)[sip]#registration-lifetime sec- istrations from the default of 3600 seconds onds to another value, you can use this command. Example: Configuring user registration The following example shows how to configure users to be registered on a SIP registrar.
  • Page 496: Configure Authentication Parameters (Optional)

    SmartWare Software Configuration Guide 39 • SIP gateway configuration Mode: Gateway SIP Step Command Purpose Specify the default server to be used for all node (gw-sip)[sip]#default-server address outbound INVITE messages. [port] {loose-router|strict-router} The address may be either an IP address or a name to be resolved by DNS.
  • Page 497: Automatic Detection Of The Nat Ip Address For Sip

    SmartWare Software Configuration Guide 39 • SIP gateway configuration Mode: Gateway SIP Step Command Purpose Add an authentication entry for a user. node (gw- sip )[ sip ]#authentication realm user- name password [default] Realm is the name of the authentication realm as defined on the SIP server, which requests authentication.
  • Page 498: Enable The Session Timer (Optional)

    SmartWare Software Configuration Guide 39 • SIP gateway configuration Mode: Interface SIP Step Command Purpose Enables or disables support for the SIP [ name ] (if-sip)# [no] remote-Party-ID Remote-Party-ID header Enable 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 499: Define Call Transfer Version

    SmartWare Software Configuration Guide 39 • SIP gateway configuration You can configure which version of the draft standard should be used. The following table shows the IETF draft standards in effect depending on the selected version. Version Draft standards draft-ietf-sip-session-timer-04 draft-ietf-sip-session-timer-08 Mode: Gateway SIP Step...
  • Page 500: Sip Profile

    SmartWare Software Configuration Guide 39 • SIP gateway configuration node(gw-sip)[sip]#call-transfer-version 2 SIP Profile There is a new profile type, the SIP profile. It allows to specify disconnect cause mappings from SIP cause codes to Q.931 cause codes, and vice versa. As for all profiles, at system startup a profile called default exists, which can also be modified.
  • Page 501: Initiating A New Sip Session For Redirected Sip Calls

    SmartWare Software Configuration Guide 39 • SIP gateway configuration Mode: gateway sip <gw-name> Step Command Purpose Configure the global IP address used by the [ name ] (gw-sip)[ gw-name ]# contact- NAT router address <ip-address> Initiating a new SIP session for redirected SIP calls Normally, if a SIP call is redirected to a different location by receiving a SIP 3xx response, only the request header is replaced in the original INVITE message and the INVITE is sent to the new destination.
  • Page 502: Troubleshooting

    SmartWare Software Configuration Guide 39 • SIP gateway configuration Mode: gateway sip <sip> Step Command Purpose Sets the transaction timeout to the [ name ] (gw-sip)[ gw-name ]# transaction specified value. timeout <seconds> Troubleshooting You can display basic status information of the SIP gateway and the registration state of its users using the fol- lowing command: Mode: Configure Step...
  • Page 503: Configuring Multiple Sip Services On A Sip Gateway

    SmartWare Software Configuration Guide 39 • SIP gateway configuration following table. The detail parameter is a number in the range 0 to 5 and indicates how much detail should be logged. Command to enable the monitor Output of the monitor Logs all errors detected within the SIP gateway node(cfg)# debug gateway sip error [detail] Logs all SIP messages sent or received over the IP net-...
  • Page 504 SmartWare Software Configuration Guide 39 • SIP gateway configuration Otherwise, it is not possible for the gateway to provide the correct credentials to the server, when challenged. The syntax of the new realm command is as follows: Mode: gateway sip/service Step Command Purpose...
  • Page 505 SmartWare Software Configuration Guide 39 • SIP gateway configuration Step Command Purpose Configure all necessary parameters for [ name ] (gw-svc)[<svc-name>]# your service using the service com- authentication • mands shown in the previous column. call-transfer-version • A detailed description of these com- contact-address •...
  • Page 506: Voip Profile Configuration

    Chapter 40 VoIP profile configuration Chapter contents Introduction ................................507 VoIP profile configuration task list ........................507 Creating a VoIP profile ..........................508 Configure codecs ............................509 Configuring the Cisco versions of the G.726 Codecs ..................511 Configuring DTMF relay ..........................511 Configuring RTP payload types ........................512 Configuring RTP payload type for Cisco NSE ....................512...
  • Page 507: Introduction

    SmartWare Software Configuration Guide 40 • 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 508: Creating A Voip Profile

    SmartWare Software Configuration Guide 40 • VoIP profile configuration • Enabling DTMF relay (see page 509) • Configuring RTP payload types (see page 512) • Configuring the dejitter buffer (advanced) (see page 512) • Enabling/disabling filters (advanced) (see page 516) •...
  • Page 509: Configure Codecs

    SmartWare Software Configuration Guide 40 • 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 510 SmartWare Software Configuration Guide 40 • 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- fies the payload duration for transmitted RTP pack- length 30 rx-length 30 silence- ets of this codec, and the maximum supported suppression payload duration for received RTP packets of this...
  • Page 511: Configuring The Cisco Versions Of The G.726 Codecs

    SmartWare Software Configuration Guide 40 • 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 (most preferred codec). The parameters are the length 30 rx-length 30 silence- same previously described.
  • Page 512: Configuring Rtp Payload Types

    SmartWare Software Configuration Guide 40 • VoIP profile configuration Signalling of dtmf tones payload encoder decoder Detects dtmf tones Generates dtmf tones Figure 79. DTMF Relay This procedure describes how to configure DTMF relay Mode: Profile VoIP Step Command Purpose node (pf-voip)[ pf-name ]#dtmf-relay Define how DTMF digits shall be transmitted.
  • Page 513: Configuring Cisco Nse For Fax

    SmartWare Software Configuration Guide 40 • VoIP profile configuration NSEs are normally sent with RTP payload type 100. The RTP packets have the same source and destination IP addresses and UDP ports as the other packets in the media stream, but differ in the RTP payload types so they can be distinguished from the stream’s audio packets.
  • Page 514: Jitter And Dejitter Buffer

    SmartWare Software Configuration Guide 40 • VoIP profile configuration Voice Packets Node Network Node Node Node x + dx Buffer Voice Decoder Figure 80. Jitter and dejitter buffer The dejitter buffer delays incoming packets so it can present them to the decompression algorithm at fixed intervals.
  • Page 515: Adaptive Versus Static Dejitter Buffer

    SmartWare Software Configuration Guide 40 • 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 516: Enabling/Disabling Filters (Advanced)

    SmartWare Software Configuration Guide 40 • 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.
  • Page 517: Configuring Fax Transmission

    SmartWare Software Configuration Guide 40 • 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 518: Fax Relay And Fax Bypass

    SmartWare Software Configuration Guide 40 • 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 519 SmartWare Software Configuration Guide 40 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#fax transmis- Adds fax bypass transmission with codec G.711 to the list of fax transmission modes.Alternative sion bypass g711alaw64k codecs available are: G.711uLaw •...
  • Page 520: T.38 Ced Retransmission

    SmartWare Software Configuration Guide 40 • VoIP profile configuration Step Command Purpose Adjusts the volume of the fax signals re-generated node (pf-voip)[ name ]#fax volume volume on the receiver side. The volume is in dB, in the (optional) range -18.5 ... -3.5 (Default: -9.5dB). Sets maximum allowed bit-rate for fax relay node (pf-voip)[ name ]# fax max-bit- (Default 14400 Bit/sec).
  • Page 521: Fax Bypass Method

    SmartWare Software Configuration Guide 40 • VoIP profile configuration Mode: profile voip profile-name Step Command Purpose Specifies the number of CED retransmissions. [ name ] (pf-voip)[name]#[no] fax ced- retransmission number Default: 2 Fax bypass method This command specifies the method for notifying the remote device that the RTP Stream has switched to a voice-band FAX transmission.
  • Page 522: Configuring Modem Transmission

    SmartWare Software Configuration Guide 40 • VoIP profile configuration Configuring modem transmission Modem transmission is similar to fax transmission, except that modem data is always transported in bypass mode. This means that an ordered list of bypass codecs can be defined for modem transmission. If no modem transmission codec is configured, no action is taken to change the codec when modem is detected.
  • Page 523 SmartWare Software Configuration Guide 40 • VoIP profile configuration Because of the low bit-rate codec, DTMF relay is also enabled. As 80 to 100 ms jitter is anticipated, the dejitter buffer is set to adaptive with a maximum delay of 100 ms. ISDN Phone 128 kbit/s Codec G.723_5k3 Node...
  • Page 524: Home Office With Fax

    SmartWare Software Configuration Guide 40 • VoIP profile configuration 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: T.38 Low Speed Redundant Packets: Max.
  • Page 525 SmartWare Software Configuration Guide 40 • VoIP profile configuration 2 node#configure 3 node(cfg)#profile voip g729_FaxRelay 4 node(pf-voip)[g729_Fa~]#no codec g711aLaw64k 5 node(pf-voip)[g729_Fa~]#no codec g711uLaw64k 6 node(pf-voip)[g729_Fa~]#codec g729 tx-length 20 rx-length 20 silence-suppression 7 node(pf-voip)[g729_Fa~]#dejitter-max-delay 100 8 node(pf-voip)[g729_Fa~]#fax transmission relay t38-udp 9 node(pf-voip)[g729_Fa~]#fax max-bit-rate 9600 10 node(pf-voip)[g729_Fa]]#show profile voip g729_FaxRelay VoIP Profile: g729_FaxRelay ===========================...
  • Page 526: Soft Phone Client Gateway

    SmartWare Software Configuration Guide 40 • VoIP profile configuration 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. Remove the default codecs G.711alaw and G.711uLaw 6.
  • Page 527 SmartWare Software Configuration Guide 40 • VoIP profile configuration -------- Mode: Adaptive Max. Delay: 60ms 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: T.38 Low Speed Redundant Packets: Max.
  • Page 528: Pstn Profile Configuration

    Chapter 41 PSTN profile configuration Chapter contents Introduction ................................529 PSTN profile configuration task list ........................529 Creating a PSTN profile ..........................529 Configuring the echo canceller ........................530 Configuring output gain ..........................530...
  • Page 529: Introduction

    SmartWare Software Configuration Guide 41 • 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 530: Configuring The Echo Canceller

    SmartWare Software Configuration Guide 41 • 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 531 SmartWare Software Configuration Guide 41 • 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 532: Voip Debugging

    Chapter 42 VoIP debugging Chapter contents Introduction ................................533 Debugging strategy..............................533 Filtering debug monitor output ...........................534 Verifying IP connectivity .............................534 Debugging call signaling............................535 Debugging ISDN signaling ...........................535 Verify an incoming call ...........................536 Verify an outgoing call ..........................537 Verify ISDN layer 1,2,3 status ........................539 Debugging FXS Signaling ..........................540...
  • Page 533: Introduction

    SmartWare Software Configuration Guide 42 • 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 534: Filtering Debug Monitor Output

    SmartWare Software Configuration Guide 42 • 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 535: Debugging Call Signaling

    SmartWare Software Configuration Guide 42 • 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 536: Verify An Incoming Call

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

    SmartWare Software Configuration Guide 42 • 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 538 SmartWare Software Configuration Guide 42 • VoIP debugging unit(cfg)#call 123456 dial 987654321 dest-interface PSTN unit(cfg)#22:03:06 > [PSTN] Added endpoint PSTN-00b70a20 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...
  • Page 539: Verify Isdn Layer 1,2,3 Status

    SmartWare Software Configuration Guide 42 • VoIP debugging • If there is a RELEASE or DISCONNECT message instead of the ALERTING, either ISDN connectivity is not working (i.e. the message cannot be sent to the ISDN line), or the PSTN has rejected the call. Verify ISDN port status using the command (see chapter 35, “ISDN port configuration”...
  • Page 540: Debugging Fxs Signaling

    SmartWare Software Configuration Guide 42 • VoIP debugging EOXGW01# The line “link state: up” tells you that layer 1 is up. To debug the layers 1-3 state machines, use the command debug isdn event slot port {all | layer1 | layer2 | layer3}. Debugging FXS Signaling Overview: FXS debug monitors Command...
  • Page 541: Verify An Outgoing Call

    SmartWare Software Configuration Guide 42 • VoIP debugging • : The dial-tone is played. 09:00:11 CFXS > [EP PHONE] Change state to DIAL-TONE. • : The first digit has been touched. Dial- 09:00:13 CFXS > [EP PHONE] Change state to DIALING. tone stops.
  • Page 542: Debugging H.323 Signaling

    SmartWare Software Configuration Guide 42 • VoIP debugging • : The port begins to ring on the analog line. This 09:13:55 FXS > [0 1] Set state to 'Ringing' means that the binding of the port to the context CS interface is correct, and your phone should now be ringing.
  • Page 543 SmartWare Software Configuration Guide 42 • VoIP debugging H.323 Gateway: h323 =================== State: Stack Handle: 0x193ce44 RAS Engine ---------- 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 >...
  • Page 544: Verify An Outgoing Call

    SmartWare Software Configuration Guide 42 • VoIP debugging 00:29:08 H323 > [EP h323-00c13dc0] Set channel state to OPENING 00:29:08 H323 > [EP h323-00c13dc0] State: CONNECTED, Call Event: PROGRESS 00:29:08 H323 > [EP h323-00c13dc0] Stack: State: CONNECTED (CALL) 00:29:08 H323 > [EP h323-00c13dc0] Stack: New Incoming Logical Channel: 00bcca48 00:29:08 H323 >...
  • Page 545 SmartWare Software Configuration Guide 42 • VoIP debugging 01:00:10 H323 > [EP h323-00c07230] Destination Address: TEL:60,60 01:00:10 H323 > [EP h323-00c07230] Source Address: TEL:50,50 01:00:10 H323 > [EP h323-00c07230] Presentation Indicator: Presentation allowed 01:00:10 H323 > [EP h323-00c07230] Screening Indicator: User provided, not screened 01:00:10 H323 >...
  • Page 546: Debugging Sip Signaling

    SmartWare Software Configuration Guide 42 • VoIP debugging the called gateway does not indicate any H.323 message received, use debug gateway h323 tpktchan verify that a packet is being sent. Debugging SIP signaling Overview: SIP debug monitors Command Purpose Prints all SIP messages that are sent / received. unit #debug gateway sip transport [detail detail ] This is a good monitor to start with when debug-...
  • Page 547: Verify An Outgoing Call

    SmartWare Software Configuration Guide 42 • VoIP debugging • The line indicates that the 18:53:40 SIP_TR> Received INVITE sip:50@172.16.32.32 SIP/2.0 INVITE message has been received. This means that the SIP network is functional • 18:53:40 SIP_TR > Sent SIP/2.0 100 Trying 18:53:40 SIP_TR>...
  • Page 548 SmartWare Software Configuration Guide 42 • VoIP debugging circuit mode - 64kBit/s - G.711 A-law Calling party number : 55 unknown number - unknown numbering plan presentation allowed - user provided not screened Called party number : 50 unknown number - unknown numbering plan High layer compatibility : telephony CCITT 19:17:38...
  • Page 549: Debugging Voice Data

    SmartWare Software Configuration Guide 42 • VoIP debugging Debugging voice data There are several debug monitors that can help identify problems in VoIP connections. The most common VoIP problems are: voice quality problems (dropouts), fax transmission errors, no establishment of voice con- nection, and wrong tone or playback.
  • Page 550 SmartWare Software Configuration Guide 42 • VoIP debugging Traces the flow of T.30 communication states between the fax machines debug dsp t30 (for T.38 Fax transmission only), and logs changes. Gives approx. 10lines of debug output per transmitted fax page. Usage: To debug all T.38 Fax related problems.
  • Page 551: Check System Logs

    SmartWare Software Configuration Guide 42 • VoIP debugging Use the following debug monitors to start with, if you assume that signaling is OK: Step Command Purpose Enable the voip events monitor. unit #debug voip events Enable the T.38 events monitor unit #debug voip t38 events Enable the T.38 dejitter monitor unit #debug voip t38 dejitter...
  • Page 552 SmartWare Software Configuration Guide 42 • VoIP debugging Note In order to correlate the output of different protocol monitors (e.g. ISDN signaling and gateway SIP signaling), run the monitors concurrently. You can do this either in the same Telnet session, or using different Telnet ses- sions.
  • Page 553: Terms And Definitions

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

    Model 3201 G.SHDSL Integrated Access Device User 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 555 Model 3201 G.SHDSL Integrated Access Device User 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 556 Model 3201 G.SHDSL Integrated Access Device User 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.
  • Page 557 Model 3201 G.SHDSL Integrated Access Device User 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.
  • Page 558 Model 3201 G.SHDSL Integrated Access Device User 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.
  • Page 559: Mode Summary

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

    SmartWare Software Configuration Guide B • Mode summary Introduction Figure 88 on page 560, figure 89 on page 561, and figure 90 on page 562 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 561: 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>]# Gateway H323...
  • Page 562: 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 563: Command Summary

    Appendix C Command summary Chapter contents Introduction ................................565 New Configuration Commands ..........................566 Other...................................566 Show help ..............................566 Show command history ..........................566 Restart system ...............................566...
  • Page 564: 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 565: 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 566: Internetworking Terms & Acronyms

    Appendix D Internetworking terms & acronyms Chapter contents Abbreviations...............................568...
  • Page 567: 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 568 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 569 SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning MIB II Management Information Base II 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...
  • Page 570 SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning node-connection for Trunk Line 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 571: Used Ip Ports & Available Voice Codecs

    Appendix E Used IP ports & available voice codecs Chapter contents Used IP ports ..............................573 Available voice codecs ............................574...
  • Page 572: Used Ip Ports

    SmartWare Software Configuration Guide E • Used IP ports & available voice codecs Used IP ports Component Port Description UDP 1719 RAS for gatekeeper connection H.323 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 573: 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) G.711 A-law Uncompressed, best voice qual- H.323 ity, European audio-digitizing...

This manual is also suitable for:

Smartware release 3.20

Table of Contents