Table of Contents Summary Table of Contents ........................... 3 Table of Contents ............................5 List of Figures ............................... 26 List of Tables ..............................28 About this guide ............................29 Audience................................29 How to read this guide ............................29 Structure................................30 Precautions ................................
Page 6
SmartWare Software Configuration Guide Table of Contents Command line interface (CLI) ........................47 Introduction ................................48 Command modes ..............................48 CLI prompt ..............................48 Navigating the CLI ............................49 Initial mode ..............................49 System changes ............................49 Configuration ............................49 Changing Modes ............................49 Command editing ..............................49 Command help ...............................49 The No form ..............................49...
Page 7
SmartWare Software Configuration Guide Table of Contents Auto provisioning of firmware and configuration ....................69 Boot procedure..............................71 Factory configuration ............................72 Default Startup Configuration ........................72 IP Addresses in the Factory Configuration ......................72 Configuration file handling........................... 73 Introduction ................................74 Understanding configuration files ........................74 Factory configuration ............................76 Configuration file handling task...
Page 8
SmartWare Software Configuration Guide Table of Contents Configuring RADIUS clients ........................103 Configuring RADIUS accounting .........................104 Configuring the RADIUS server ........................106 Attributes in the RADIUS request message .....................106 Attributes in the RADIUS accept message ....................107 Configuring the local database accounts ......................107 IP context overview .............................
Page 9
SmartWare Software Configuration Guide Table of Contents NAT/NAPT configuration........................... 127 Introduction ................................128 Dynamic NAPT ............................128 Static NAPT ..............................129 Dynamic NAT ..............................129 Static NAT ..............................130 NAPT traversal .............................130 NAT/NAPT configuration task list ........................131 Creating a NAPT profile ..........................131 Configuring a NAPT DMZ host ......................132 Defining NAPT port ranges ........................132...
Page 10
SmartWare Software Configuration Guide Table of Contents Link scheduler configuration task list........................151 Defining the access control list profile ......................152 Packet classification ..........................152 Creating an access control list ........................153 Creating a service policy profile ........................154 Specifying the handling of traffic-classes ......................156 Defining fair queuing weight ........................156 Defining the bit-rate...
Page 11
SmartWare Software Configuration Guide Table of Contents Displaying Frame Relay information ......................181 Integrated service access ..........................182 Example 1: Frame Relay on e1t1 without a channel-group ................184 PRI port configuration..........................186 Introduction ................................187 PRI port configuration task list..........................187 Enable/Disable PRI port ..........................188 Configuring PRI port-type ..........................188...
Page 12
SmartWare Software Configuration Guide Table of Contents Configuring HDLC encapsulation ........................203 BRI Debugging .............................204 BRI Configuration Examples ........................205 Example 1: ISDN with auto clock/uni-side settings ................205 Example 2: ISDN with manual clock/uni-side settings ................205 Example 3: Multi-Link PPP over two B-Channels ..................206 ISDN Overview ............................
Page 13
SmartWare Software Configuration Guide Table of Contents Basic IP routing configuration ........................230 Introduction ................................231 Routing tables ...............................231 Static routing ..............................231 Policy routing ...............................231 Basic IP routing configuration task list ........................231 Configuring static IP routes ..........................232 Deleting static IP routes ..........................233 Displaying IP route information ........................233...
Page 14
SmartWare Software Configuration Guide Table of Contents Adding a TCP, UDP or SCTP filter rule to the current access control list profile .........255 Binding and unbinding an access control list profile to an IP interface ............257 Displaying an access control list profile ......................258 Debugging an access control list profile ......................258...
Page 15
SmartWare Software Configuration Guide Table of Contents Introduction ................................287 DHCP-client configuration tasks.........................288 Enable DHCP-client on an IP interface ......................288 Release or renew a DHCP lease manually (advanced) ...................290 Get debug output from DHCP-client ......................290 DHCP-server configuration tasks ........................291 Configure DHCP-server profiles ........................291 Use DHCP-server profiles and enable the DHCP-server ................293...
Page 16
SmartWare Software Configuration Guide Table of Contents Without authentication, encapsulation multi, with NAPT ..............321 With authentication, encapsulation PPPoE .....................321 PPP over a HDLC Link (Serial Port) ......................322 Without authentication, numbered interface ...................322 With authentication, unnumbered interface ....................322 PPP over a HDLC Link (E1T1 Port) ......................322 Without authentication, numbered interface ...................322...
Page 17
SmartWare Software Configuration Guide Table of Contents Configuring an H.323 VoIP connection .......................348 Activating the CS context configuration ......................348 Showing the running configuration .......................350 VPN configuration ............................354 Introduction ................................355 Authentication ..............................355 Encryption ..............................355 Transport and tunnel modes .........................356 Permanent IKE Tunnels ..........................356 Key management ............................356...
Page 18
SmartWare Software Configuration Guide Table of Contents Creating and configuring CS interfaces........................375 Configuring call routing ............................376 Configuring the interface mapping tables ......................377 Configuring the precall service tables ........................380 ISDN interface configuration........................382 Introduction ................................383 ISDN interface configuration task list........................383 Configuring DTMF dialing (optional) ......................384 Configuring an alternate PSTN profile (optional) ..................384...
Page 19
SmartWare Software Configuration Guide Table of Contents Configuring an alternate PSTN profile (optional) ..................407 Configuring when the digits are dialed (optional) ..................408 Configuring the number of rings to wait before answering the call (optional) ..........410 Configuring how to detect a call has disconnected (optional) ................411 Configuring how to detect an outgoing call is connected (optional) ..............412...
Page 20
SmartWare Software Configuration Guide Table of Contents Enabling SIP RFC Privacy, Asserted-Identity, & Preferred-Identity headers (RFC 3323/3325) ....438 Updating caller address parameters .......................439 SIP REFER Transmission (& ISDN Explicit Call Transfer support) ............440 SIP Diversion Header ...........................442 Transmit Direction ..........................442 Receive Direction ............................443 AOC Over SIP...
Page 21
SmartWare Software Configuration Guide Table of Contents Digit collection & sending-complete behavior ....................481 Sending-Complete ..........................481 Ingress interface ............................481 Call-Router .............................482 Egress Interface ............................484 Creating call services .............................486 Creating a hunt group service ........................486 Creating a distribution group service ......................495 Distribution-Group Min-Concurrent setting ....................497 Call-router ‘limiter’...
Page 22
SmartWare Software Configuration Guide Table of Contents Introduction ................................526 Shutdown and enable FXO ports.........................526 Bind FXO ports to higher layer applications......................526 Configure country specific FXO port parameters....................527 Other FXO port parameters ..........................527 H.323 gateway configuration ........................529 Introduction ................................530 Gateway configuration task list ..........................531 Binding the gateway to an IP interface ......................531...
Page 23
SmartWare Software Configuration Guide Table of Contents Manually configuring the SIP contact IP address ..................554 Initiating a new SIP session for redirected SIP calls .................554 Enabling the SIP penalty-box feature ......................554 Disabling SIP transport protocols ......................554 Changing the SIP transaction timeout .....................555 Re-registering timeout in case of general errors ..................555...
Page 24
SmartWare Software Configuration Guide Table of Contents Creating a PSTN profile ..........................584 Configuring the echo canceller ........................585 Configuring output gain ..........................585 VoIP debugging............................587 Introduction ................................588 Debugging strategy..............................588 Filtering debug monitor output ...........................589 Verifying IP connectivity .............................589 Debugging call signaling............................590 Debugging ISDN signaling ...........................590 Verify an incoming call...
Page 25
SmartWare Software Configuration Guide Table of Contents Available voice codecs ............................627...
List of Figures Basic system (abstract) model ............. . 38 Typical carrier network application with a SmartNode.
Page 27
SmartWare Software Configuration Guide Remote office in an Enterprise network ........... . . 334 Direct call routing from one SmartNode to another .
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: •...
SmartWare Software Configuration Guide About this guide Structure This guide contains the following chapters and appendices: • Chapter 1, "System overview" on page 36 provides an overview of the main elements of a SmartWare system. • Chapter 2, "Configuration concepts" on page 42 introduces basic SmartWare configuration concepts.
Page 31
SmartWare Software Configuration Guide About this guide • Chapter 19, "ISDN configuration" on page 212 describes the configuration of the Q.921 and Q.931 proto- col and how to bind the ISDN protocol to an application. • Chapter 20, "RBS configuration" on page 220 describes the configuration of the Robbed Bit Signaling (RBS) protocol and how to bind it to the Call Control application.
Page 32
SmartWare Software Configuration Guide About this guide • Chapter 36, "FXO interface configuration" on page 403 provides an overview of FXO interfaces and the tasks involved in configuring them. • Chapter 38, "H.323 interface configuration" on page 420 provides an overview of H.323 interfaces used by H.323 gateways and describes the specific tasks involved in their configuration.
SmartWare Software Configuration Guide About this guide Precautions The following are used in this guide to help you become aware of potential problems: Note A note presents additional information or interesting sidelights. The alert symbol and IMPORTANT heading calls attention to important information.
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).
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.
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 39, is typically composed of the following main elements plus a third-party network infra- structure: •...
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.
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. •...
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.
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 42
Chapter 2 Configuration concepts Chapter contents Introduction ................................43 Contexts and Gateways............................44 Context ................................44 Gateway ................................44 Interfaces, Ports, and Bindings..........................45 Interfaces ................................45 Ports and circuits ............................45 Bindings ................................45 Profiles and Use commands...........................46 Profiles ................................46 Use Commands ..............................46...
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.
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 43 and describe the concepts and elements in more detail.
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.
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.
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.
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.
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...
Chapter 4 Accessing the CLI Chapter contents Introduction ................................52 Accessing the SmartWare CLI task list........................52 Accessing via the console port .........................53 Console port procedure ..........................53 Telnet Procedure ............................54 Using an alternate TCP listening port for the Telnet server ................54 Disabling the Telnet server ..........................54 Logging on ..............................54...
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.
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.
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.
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.
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.
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.
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...
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 60
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...
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...
Chapter 5 System image handling Chapter contents Introduction ................................63 Memory regions in SmartWare..........................64 System image handling task list ..........................65 Displaying system image information ......................66 Copying system images from a network server to Flash memory ..............66 Upgrading the software directly ........................68 Auto provisioning of firmware and configuration ....................69 Boot...
SmartWare Software Configuration Guide 5 • System image handling Introduction This chapter describes how to load, maintain, and update the various software images in the SmartNode. The SmartWare system software consists of the application image and the driver images. The images are stored in persistent (non-volatile) memory.
SmartWare Software Configuration Guide 5 • System image handling Memory regions in SmartWare The SmartNode’s memory contains several logical regions and several physical regions as shown in figure 8 page 65, each separate from the other. Note You will use a remote TFTP server for uploading and downloading the application image, the driver images, and the various configuration files to the SmartNode.
SmartWare Software Configuration Guide 5 • System image handling Operating configurations cannot be executed from the persistent memory, so the configuration used for oper- ating the SmartNode is copied into the volatile memory of the SmartNode prior to normal operation. This procedure takes place after the system bootstrap, where the application image (i.e.
SmartWare Software Configuration Guide 5 • System image handling Displaying system image information This procedure displays information about system images and driver software Mode: Administrator execution Step Command Purpose Lists the system software release version, information about optional interface show version cards mounted in slots and other information that is the currently running system software.
Page 67
SmartWare Software Configuration Guide 5 • System image handling Comment lines must have a hash character # in column one and can appear anywhere in the script file. Com- ment lines contain information for administrators or operators who maintain or use the script file. The following example shows a script file used to download a system image and command line syntax defini- tion file from a TFTP server.
SmartWare Software Configuration Guide 5 • System image handling After the successful download, either issue the reload command (in order to start the IPNode with the new software) or restart the H.323 gateway, thus enabling calls again (with the current software): node(gw-h323)[h323]#no shutdown Upgrading the software directly It is possible to upgrade the software directly by passing the name of the delivered zip-file to the CLI command...
SmartWare Software Configuration Guide 5 • System image handling Auto provisioning of firmware and configuration The new auto provisioning capability enables you to automatically distribute up-to-date configurations and firmware to a large number of units using TFTP. It works as follows: The unit downloads a specific file from a TFTP server.
Page 70
SmartWare Software Configuration Guide 5 • System image handling Step Command Purpose Specifies the location of the file to check [name] (pf-prov)[CONFIG]#location 1 for changes. $(system.mac) is a place- tftp://tftp1.provider.net /configs/ holder for the unit’s MAC address of $(system.mac).cfg ETH 0/0. Using host names instead of IP addresses works only if DNS resolver is enabled and configured.
SmartWare Software Configuration Guide 5 • System image handling Boot procedure During a normal boot procedure of a SmartNode, the bootstrap application checks for an application image in the persistent memory of the logical region nvram:. The application image is then executed, i.e. the SmartWare is started module by module.
SmartWare Software Configuration Guide 5 • System image handling The bootloader ensures that basic operations, network access, and downloads are possible in case of interrupted or corrupted application image downloads. After downloading an application image (that is, new system software/software upgrade), the bootloader ensures that basic operations, network access, and downloads are possible in case of interrupted or corrupted application image downloads.
Chapter 6 Configuration file handling Chapter contents Introduction ................................74 Understanding configuration files ........................74 Factory configuration ............................76 Configuration file handling task list........................76 Copying configurations within the local memory ....................77 Replacing the startup configuration with a configuration from Flash memory ..........78 Copying configurations to and from a remote storage location ................79 Replacing the startup configuration with a configuration downloaded from TFTP server .......80...
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 75
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.
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...
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 •...
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.
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.
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...
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.
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...
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.
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.
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 86
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.
Chapter 7 Basic system management Chapter contents Introduction ................................88 Basic system management configuration task list ....................88 Managing feature license keys .........................89 Setting system information ..........................90 Setting the system banner ..........................91 Setting time and date ............................92 Display clock information ..........................92 Display time since last restart ..........................93 Configuring the Web server ..........................93...
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: •...
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.
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 •...
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...
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#"...
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.
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...
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.
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...
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.
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.
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 101
SmartWare Software Configuration Guide 8 • RADIUS Client Configuration 3. Query the local database (see “Configuring the local database accounts” on page 107 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.
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.
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 105
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.
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.
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 108
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...
Chapter 9 IP context overview Chapter contents Introduction ................................110 IP context overview configuration task list......................111 Planning your IP configuration ...........................112 IP interface related information ........................112 QoS related information ..........................112 Configuring physical ports...........................112 Creating and configuring IP interfaces.........................112 Configuring NAPT .............................113 Configuring static IP routing..........................113 Configuring...
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.
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.
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.
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.
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.
Chapter 10 IP interface configuration Chapter contents Introduction ................................116 IP interface configuration task list........................116 Creating an IP interface ..........................116 Deleting an IP interface ..........................117 Setting the IP address and netmask .......................118 Configuring a NAPT DMZ interface ......................118 ICMP message processing ..........................119 ICMP redirect messages ..........................119...
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.
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]#...
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 •...
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.
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.
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...
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.
SmartWare Software Configuration Guide 10 • IP interface configuration mal traffic and the IP router removes all routes pointing to that interface. Now, traffic previously flowing over that interface is routed through the interface with IP routes of a higher metric. However the interface contin- ues to send ICMP echo requests.
SmartWare Software Configuration Guide 10 • IP interface configuration Mode: Either operator or administrator execution Step Command Purpose Enables or disables the ARP debug monitor. node (cfg)# [no] debug arp Summarizes the ARP information for each of the Ethernet ports. node (cfg)# show arp Traceroute This procedure describes how to print the route (list of hops) packets take to the network host.
SmartWare Software Configuration Guide 10 • IP interface configuration Example: Display the ARP information. node(cfg)#show arp IP Interface eth0: ----------------------------------------------------------------------------- Remote IP Remote MAC State TxReq RxRep Usage ----------------------------------------------------------------------------- 69.138.216.1 00:01:5C:22:46:C2 reachable 342s ----------------------------------------------------------------------------- IP Interface eth1: ----------------------------------------------------------------------------- Remote IP Remote MAC State TxReq...
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.
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 130. (Local Interface Address) 192.168.1.1 131.1.1.1 (Global Interface Address) 131.1.1.20 (Global NAT Address) Source Address modified...
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.
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)
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.
Chapter 12 Ethernet port configuration Chapter contents Introduction ................................137 Ethernet port configuration task list ........................137 Entering the Ethernet port configuration mode ....................137 Configuring medium for an Ethernet port ....................137 Configuring Ethernet encapsulation type for an Ethernet port ..............138 Binding an Ethernet port to an IP interface ....................138 Multiple IP addresses on Ethernet ports ......................139...
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.
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...
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...
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>...
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: •...
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.
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.
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 145
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.
SmartWare Software Configuration Guide 13 • Link scheduler configuration Introduction This chapter describes how to use and configure the Quality of Service (QoS) features. Refer to chapter 24, “Access control list configuration” on page 247 more information on the use of access control lists. This chapter includes the following sections: •...
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.
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”...
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.
SmartWare Software Configuration Guide 13 • Link scheduler configuration • Enable statistics gathering (see page 163) 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.
SmartWare Software Configuration Guide 13 • Link scheduler configuration • local-default—All other packets that originate from the SmartNode itself. • default—All traffic that has not otherwise been labeled. Creating an access control list The procedure to create an access control list is described in detail in chapter 24, “Access control list configura- tion”...
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 155
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.
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.
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.
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).
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.
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 161
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>...
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...
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 164
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-...
Chapter 14 Serial port configuration Chapter contents Introduction ................................166 Serial port configuration task list .........................166 Disabling an interface ...........................166 Enabling an interface ............................167 Configuring the serial encapsulation type ......................168 Configuring the hardware port protocol ......................168 Configuring the active clock edge ........................169 Configuring the baudrate ..........................170...
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 •...
SmartWare Software Configuration Guide 14 • Serial port configuration Example: Disabling an interface The example shows how to disable the built-in serial interface on slot 0 and port 0 of a SmartNode. Check that State is set to CLOSED in the command output of show port serial node(cfg)#port serial 0 0 node(prt-ser)[0/0]#shutdown...
SmartWare Software Configuration Guide 14 • Serial port configuration Hardware Port : V.35 Transmit Edge : normal Port Type : DTE CRC Type : CRC-16 Max Frame Length: 2048 Recv Threshold Encapsulation Configuring the serial encapsulation type The synchronous serial interface supports the Frame Relay and PPP serial encapsulation method. For more information how to configure Frame Relay and PPP, please see Chapter15, “Frame Relay configuration”...
SmartWare Software Configuration Guide 14 • Serial port configuration Before using the serial interface the hardware port protocol has to be specified. There are two command options available to select the suitable hardware port protocol: • v35 for V.35 protocol to be used •...
SmartWare Software Configuration Guide 14 • Serial port configuration Example: Configuring the active clock edge The following example enables to send data on the negative edge on slot 0 and port 0. Check that Transmit Clock is set to inverted in the command output of show port serial node(cfg)#port serial 0 0 node(prt-ser)[0/0]#transmit-data-on-edge negative...
Page 171
SmartWare Software Configuration Guide 14 • Serial port configuration State: OPENED Configuration Hardware Port: X.21 Port Type: CRC: CRC-16 Transmit Edge: Normal Max Frame Length: 1920 Baudrate: 64000 bps Recv Threshold: Statistics Received frames: 116101 Rx good frames: 116099 Rx CD lost: Rx Overrun: Rx CRC errors: Rx abort sequence:...
SmartWare Software Configuration Guide 15 • Frame Relay configuration Introduction This chapter provides an overview of the Frame Relay protocol and describes the tasks involved in its configu- ration includes the following sections: • Frame Relay configuration task list • Configuration tasks •...
SmartWare Software Configuration Guide 15 • Frame Relay configuration Configuring the LMI type For a Frame Relay network, the line protocol is the periodic exchange of local management interface (LMI) packets between the SmartNode and the Frame Relay provider equipment. If the SmartNode is attached to a public data network (PDN), the LMI type must match the type used on the public network.
SmartWare Software Configuration Guide 15 • Frame Relay configuration Enabling fragmentation FRF.12 interface and end-to-end fragmentation of large IP packets is supported to reduce the delay imposed on voice packets on slow links (less than 512 kbps). As opposed to IP fragmentation, Frame Relay fragmenta- tion is transparent to the IP layer.
SmartWare Software Configuration Guide 15 • Frame Relay configuration End-to-end FRF.12 fragmentation is recommended for use on permanent virtual circuits (PVCs) that share links with other PVCs transporting voice and on PVCs transporting Voice over IP (VoIP). The fragmentation size depends on the available bandwidth, the chosen codec, and its packet length: •...
SmartWare Software Configuration Guide 15 • Frame Relay configuration Example: Entering Frame Relay PVC configuration mode The following example enters the configuration mode for PVC with the assigned DLCI of 1 for Frame Relay over the serial interface on slot 0 and port 0. node(cfg)#port serial 0 0 node(prt-ser)[0/0]#framerelay node(frm-rel)[0/0]#pvc 1...
Page 178
SmartWare Software Configuration Guide 15 • Frame Relay configuration Frame Relay PVC. If serial Frame Relay PVC shall be used as WAN access, a suitable name for the logical IP interface could be wan as in figure 28 below. Context “router”...
SmartWare Software Configuration Guide 15 • Frame Relay configuration Enabling a Frame Relay PVC After binding Framerelay PVC to an ip interface it must be enabled for packet processing. This procedure acti- vates the PVC by opening the bound ip interface. This procedure describes how to enable Framerelay PVC for packet processing Mode: PVC Step...
SmartWare Software Configuration Guide 15 • Frame Relay configuration node(pvc)[1]#shutdown Check the PVC 1 status by using and verify that the entry shutdown occurs in the con- show running-config figuration part responsible for this PVC. node(pvc)[1]#show running-config Running configuration: #----------------------------------------------------------------# # 2500 …...
SmartWare Software Configuration Guide 15 • Frame Relay configuration Displaying Frame Relay information Since Frame Relay configuration for the serial interface is complex and requires many commands, it is helpful to list the frame relay configuration on screen. This procedure describes how to display the Frame Relay configuration settings for the serial interface. Mode: Port serial Step Command...
SmartWare Software Configuration Guide 15 • Frame Relay configuration PSTN Internet Multi Multi Service Service Provider PVC 1 Provider Node Leased Line Node Modem Modem 2300 Network X.21 PVC 2 Provider Provider Figure 29. Typical Integrated Service Access Scenario with dedicated PVCs Integrated service access The example in figure 29...
Page 183
SmartWare Software Configuration Guide 15 • Frame Relay configuration Figure 30. IP Context with logical IP interfaces bound to Ethernet port, serial port PVC 1 and PVC 2 The related IP, serial interface and Frame Relay configuration procedure is listed below. Where necessary, com- ments are added to the configuration for better understanding.
SmartWare Software Configuration Guide 15 • Frame Relay configuration 4. Configure the serial interface settings. node(cfg)#port serial 0 0 node(prt-ser)[0/0]#shutdown node(prt-ser)[0/0]#encapsulation framerelay node(prt-ser)[0/0]#hardware-port x21 node(prt-ser)[0/0]#port-type dte … 5. Configure the Frame Relay. You must thus change to the Frame Relay configuration mode. Use the ser- vice-policy profile defined above to give voice priority over data.
Page 185
SmartWare Software Configuration Guide 15 • Frame Relay configuration hdlc encapsulation framerelay framerelay pvc 100 encapsulation rfc1490 bind interface pvc100 router no shutdown port e1t1 0 0 no shutdown Example 2: Frame Relay on e1t1 with a channel-group port e1t1 0 0 port-type e1 clock master framing crc4...
Chapter 16 PRI port configuration Chapter contents Introduction ................................187 PRI port configuration task list..........................187 Enable/Disable PRI port ..........................188 Configuring PRI port-type ..........................188 Configuring PRI clock-mode ........................188 Configuring PRI line-code ..........................188 Configuring PRI framing ..........................189 Configuring PRI line-build-out (E1T1 in T1 mode only) ................190 Configuring PRI used-connector (E1T1 in E1 mode only) ................190...
SmartWare Software Configuration Guide 16 • PRI port configuration Introduction This chapter provides an overview of the PRI (Primary Rate Interface) ports, their characteristics and the tasks involved in the configuration. The SmartNode devices know three different kinds of PRI ports, E1, T1 and E1T1 whereas an E1T1 port can either work as E1 or T1.
SmartWare Software Configuration Guide 16 • PRI port configuration • PRI Debugging Enable/Disable PRI port By default, the PRI port is disabled. The following command is used for enabling or disabling it. Mode: port <hw-type> <slot> <port> Step Command Purpose [ name ] (hw-type)[slot/port]# [no] Enable/Disable the PRI port.
SmartWare Software Configuration Guide 16 • PRI port configuration Mode: port <hw-type> <slot> <port> Step Command Purpose [ name ] (prt-e1t1)[slot/port]# linecode Configures the line-code of the port. Default for e1: hdb3 {ami | b8zs | hdb3} Default for t1: b8zs Configuring PRI framing Four framing formats are available for selection on the E1T1 port.
SmartWare Software Configuration Guide 16 • PRI port configuration Configuring PRI line-build-out (E1T1 in T1 mode only) The line build out configuration is used in long haul applications to prevent cross talk in the far end device. Mode: port e1t1 <slot> <port> Step Command Purpose...
SmartWare Software Configuration Guide 16 • PRI port configuration Configuring PRI LOS threshold (E1T1 only) This command takes effect only if the PRI port is configured for long-haul applications. It specifies the sensi- tivity for Loss Of Signal threshold. A signal suffers more attenuation over long distances than over short dis- tances.
SmartWare Software Configuration Guide 16 • PRI port configuration The command has three other options that allow you to manually switch on/off different loops. All these addi- tional options are applicable in T1 and E1 mode. The ‘line-interface’ loop sends back the whole link bandwidth (2048kBit/s or 1544kBit/s). In ‘payload’...
SmartWare Software Configuration Guide 16 • PRI port configuration Create a Channel-Group If the desired encapsulated channel uses only selected time slots (not the entire PRI), then it is necessary to set up a channel-group. To create a channel-group, set the PRI port’s encapsulation to channelized. (See section “Configuring PRI encapsulation”.) On creating a new channel-group the channel-group configuration mode is immediately entered.
SmartWare Software Configuration Guide 16 • PRI port configuration RBS protocol. Enter the RBS configuration mode for RBS specific configurations (see Chapter 20, “RBS configuration” on page 220). Mode: channel-group group-name Step Command Purpose Specifies the encapsulation type of the channel- [name] (ch-grp)[group-name]#[no] encap- group.
SmartWare Software Configuration Guide 16 • PRI port configuration Configuring HDLC Encapsulation The hdlc encapsulation command specifies what kinds of upper layer data are contained in the hdlc frames. Two encapsulation types are available, framerelay and ppp. For more details see Chapter 15, “Frame Relay con- figuration”...
SmartWare Software Configuration Guide 16 • PRI port configuration • Example 4: Frame Relay without a channel-group • Example 5: Frame Relay with a channel-group • Example 6: PPP without a channel-group • Example 7: PPP with a channel-group Example 1: ISDN port e1t1 0 0 port-type t1 clock auto...
SmartWare Software Configuration Guide 17 • BRI port configuration Introduction This chapter provides an overview of the BRI (Basic Rate Interface) ports, their characteristics and the tasks involved in the configuration. A BRI port supports two 64kbit/s B-channels for switched voice or data connec- tions, one 16kbit/s D-channel for signaling and always-on data transfer.
SmartWare Software Configuration Guide 17 • BRI port configuration Configuring BRI Power-Feed Enables the application of power on the BRI port to provide power to ISDN terminals. This command applies only if the port is clock master (network side). It is only available on products with an internal, configurable ISDN power supply.
SmartWare Software Configuration Guide 17 • BRI port configuration Configuring channel-group timeslots The ‘timeslots’ command configures the timeslot for use in data transmission. On a BRI port, only the B- Channels can be selected (0 or 1). Mode: channel-group <group-name> Step Command Purpose...
SmartWare Software Configuration Guide 17 • BRI port configuration BRI Debugging For the investigation of possible problems in link establishment, data transmission or synchronization, there exists a debug command with the options ‘event’ and ‘error’. The command has a hierarchical characteristic and can be applied to all ports on the whole device, or to all ports of slot or just to one specific port.
SmartWare Software Configuration Guide 17 • BRI port configuration BRI Configuration Examples • Example 1: ISDN with auto clock/uni-side settings • Example 2: ISDN with manual clock/uni-side settings • Example 3: Multi-Link PPP over two B-Channels Example 1: ISDN with auto clock/uni-side settings port bri 0 4 power-feed encapsulation q921...
SmartWare Software Configuration Guide 18 • ISDN Overview Introduction This chapter provides an overview of ISDN ports and describes the tasks involved in configuring ISDN ports in SmartWare. ISDN ports are the physical ISDN connections on the SmartNode devices. There are two types of ISDN ports: •...
SmartWare Software Configuration Guide 18 • ISDN Overview The S reference point is on the subscriber interface. This is the typical 4-wire connection between an ISDN phone and an ISDN PBX. Be aware that many ISDN PBX vendors use non-standard proprietary 2-wire inter- faces to connect the Terminals to the PBX.
SmartWare Software Configuration Guide 18 • ISDN Overview Connector pin-out and short circuits—Some of the Smart- Node ISDN BRI ports are configurable to operate as network or terminal ports. The pin-out of the sockets is switched according to IMPORTANT this configuration. Wrong port configurations, wrong cabling or wrong connections to neighboring equipment can lead to short circuits in the BRI line powering.
SmartWare Software Configuration Guide 19 • ISDN configuration Introduction This chapter describes the configuration of the Q.921 and Q.931 protocol and how to bind the ISDN proto- col to an application like the Call Control. To get an overview of the ISDN protocol and the layered configura- tion model of SmartWare, please see Chapter 18, “ISDN Overview”...
SmartWare Software Configuration Guide 19 • ISDN configuration command description below refers to the configuration mode in which Q.931 can be enabled by setting the encapsulation to ‘q931’. This configuration mode is called here ‘base-mode’ but it is only an alias for the real mode.
Page 216
SmartWare Software Configuration Guide 19 • ISDN configuration Step Command Purpose Specify channel numbering (Default: etsi) node (q931)[slot/port]#signalling-rule etsi Some older Q-SIG variants make use of a channel numbering scheme that differs from the standard ETSI method. In most cases the node (q931)[slot/port]#signalling-rule ETSI numbering applies.
SmartWare Software Configuration Guide 19 • ISDN configuration Step Command Purpose Specify B-channel allocation strategy (Default: node (q931)[slot/port]# bchan-number- ascending) order ascending The numbering mode defines how the avail- able time slots are filled. The cyclic modes use node (q931)[slot/port]#bchan-number- a “round-robin”...
SmartWare Software Configuration Guide 19 • ISDN configuration Mode: Operator execution Step Command Purpose node #show port isdn [ slot port ] [detail <- Show the status of one or more ISDN ports. level> ] If the optional arguments slot/port are omitted the status of all ISDN ports is displayed.
Page 219
SmartWare Software Configuration Guide 19 • ISDN configuration Example: QSIG Assume the scenario as illustrated in figure Node Node ISDN Port 1/0 Figure 35. PBX connected to ISDN port 1/0 Configure the ISDN port 1/0 to work as a Q-SIG master port but clock-slave and allow a maximum of eight parallel B-channel connections.
SmartWare Software Configuration Guide 20 • RBS configuration Introduction This chapter describes the configuration of the Robbed Bit Signaling (RBS) protocol and how to bind it to the Call Control application. RBS is used on T1 links to provide per-channel circuit signaling information. In this application no common signaling channel is used like in ISDN, each channel (Time Slot) is carrying its signal- ing information by itself.
SmartWare Software Configuration Guide 20 • RBS configuration • Ground Start: This protocol is commonly used for local loop PBX services. The protocol is asymmetric what means, the exchange and the subscriber side are different. Always an Exchange/Subscriber pair must be connected together.
SmartWare Software Configuration Guide 21 • DSL Port Configuration Introduction This chapter provides an overview of the DSL ports (ADSL and G.SHDSL), their characteristics and the tasks involved in the configuration. port dsl 0 0 vpi 8 vci 35 pppoe Profile session MyISP Subscriber PPP...
SmartWare Software Configuration Guide 21 • DSL Port Configuration Next, you will need to create a WAN profile, create a WAN interface, and create a subscriber. Then, you can configure the DSL port (port dsl 0 0) for PPPoE. Follow this example: profile napt WAN context ip router interface WAN...
SmartWare Software Configuration Guide 21 • DSL Port Configuration Setting up permanent virtual circuits (PVC) The modems currently available are using ATM to multiplex traffic over the DSL framing connection. ATM allows you to have separate logical connections running in parallel. Those connections are called permanent virtual circuits (PVC).
SmartWare Software Configuration Guide 21 • DSL Port Configuration Diagnostics Table 11. Diagnostics commans Command Purpose Step 1 node> show dsl type Displays the type of modem installed. Step 2 node> show dsl line-state Displays information about the state of the DSL link.
SmartWare Software Configuration Guide 22 • Basic IP routing configuration Introduction This chapter provides an overview of IP routing and describes the tasks involved in configuring static IP rout- ing. IP routing moves information across an internetwork from a source to a destination, typically passing through one or more intermediate nodes along the way.
SmartWare Software Configuration Guide 22 • Basic IP routing configuration • Displaying IP route information (see page 233) 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.
SmartWare Software Configuration Guide 22 • Basic IP routing configuration Deleting static IP routes form of the command deletes a static IP route from the routing table. route This procedure describes how to delete one or more static IP routes from the routing table Mode: Administrator execution Step Command...
SmartWare Software Configuration Guide 22 • Basic IP routing configuration In this routing table two default routes (0.0.0.0/0) are defined. The first default route is valid for packets of the class local-voice only. The second default route is valid for all packets. Thus voice packets generated locally (traffic-class local-voice) will travel via the gateway (Nexthop) 172.16.32.1.
SmartWare Software Configuration Guide 22 • Basic IP routing configuration The necessary routing-table entries for the scenario described are listed below. node>enable node#configure node(cfg)#context ip router node(ctx-ip)[router]# route 10.1.5.10 255.255.255.255 172.16.40.2 node(ctx-ip)[router]# route 10.2.0.0 255.255.0.0 172.17.100.2 node>show ip route Routes of IP context 'router': Status codes: * valid, U up, H host, G Gateway, L local, D default Destination Nexthop...
SmartWare Software Configuration Guide 23 • RIP configuration Introduction This chapter provides an overview of the Routing Information Protocol (RIP) and describes the tasks involved in configuring RIP features includes the following sections: • Routing protocol • RIP configuration task list (see page 239) RIP is a relatively old but still commonly used interior gateway protocol created for use in small, homogeneous...
SmartWare Software Configuration Guide 23 • RIP configuration RIP 2 is more useful in a variety of environments and allows the use of variable subnet masks on your network. It is also necessary for implementation of classless addressing as accomplished with CIDR (classless inter- domain routing).
SmartWare Software Configuration Guide 23 • RIP configuration Example: Enabling send RIP The following example shows how to enable send RIP on IP interface wan. node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip supply Enabling an interface to receive RIP By default an interface does not listen to routing information. This procedure describes how to enable interface to receive RIP information Mode: Interface Step...
SmartWare Software Configuration Guide 23 • RIP configuration Specifying the receive RIP version By default, RIP version 1 and version 2 packets are received. Alternatively, you can explicitly configure the RIP version to be received with the last command argument as following: •...
SmartWare Software Configuration Guide 23 • RIP configuration The following example shows how to enable RIP learn host and default on IP interface wan. node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip learn host node(if-ip)[wan]#rip learn default Enabling an interface to receive RIP This procedure describes how to enable receive RIP on an IP interface Mode: Interface Step...
SmartWare Software Configuration Guide 23 • RIP configuration node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip announce default node(if-ip)[wan]#rip announce host Enabling RIP auto summarization Summarizing routes in RIP Version 2 improves scalability and efficiency in large networks. Auto-summarization attempts to automatically summarize groups of adjacent routes into single entries, the goal being to reduce the total number of entries in the RIP routing table, reducing the size of the table and allowing the router to handle more routes.
SmartWare Software Configuration Guide 23 • RIP configuration Mode: Interface Step Command Purpose node (if-ip)[ name ]#rip default-route-value value Sets the routing metric to value indicating the distance to the destination on interface name Example: Specifying the default route metric The following example shows how to set the routing metric to 4 on IP interface wan.
SmartWare Software Configuration Guide 23 • RIP configuration Mode: Interface Step Command Purpose node (if-ip)[ name ]#rip poison-reverse Enables the poison reverse algorithm on interface name Example: Enabling the poison reverse algorithm The following example shows how to enable the poison reverse algorithm on IP interface wan. node(cfg)#context ip router node(ctx-ip)[router]#interface wan node(if-ip)[wan]#rip poison-reverse...
Chapter 24 Access control list configuration Chapter contents Introduction ................................248 About access control lists .............................248 What access lists do ............................248 Why you should configure access lists ......................248 When to configure access lists ........................249 Features of access control lists ........................249 Access control list configuration task list......................250 Mapping out the goals of the access control list .....................250...
SmartWare Software Configuration Guide 24 • Access control list configuration Introduction This chapter provides an overview of IP Access Control Lists and describes the tasks involved in configuring them. This chapter includes the following sections: • About access control lists •...
SmartWare Software Configuration Guide 24 • Access control list configuration For example, access lists can allow one host to access a part of your network, and prevent another host from accessing the same area. In figure 38 host A is allowed to access the Human Resources network and host B is prevented from accessing the Human Resources network.
SmartWare Software Configuration Guide 24 • Access control list configuration • All access control lists have an implicit deny ip any any at the end. A packet that does not match the criteria of the first statement is subjected to the criteria of the second statement and so on until the end of the access control list is reached, at which point the packet is dropped.
SmartWare Software Configuration Guide 24 • Access control list configuration Before you begin to enter the commands that create and configure the IP access control list, be sure that you are clear about what you want to achieve with the list. Consider whether it is better to deny specific accesses and permit all others or to permit specific accesses and deny all others.
Page 252
SmartWare Software Configuration Guide 24 • Access control list configuration Mode: Profile access control list Step Command Purpose node (pf-acl)[ name ]#deny ip { src src-wildcard | any | host Creates an IP access of control list src } { dest dest-wildcard | any | host dest } [cos group ] entry that denies access defined according to the command options...
SmartWare Software Configuration Guide 24 • Access control list configuration Adding an ICMP filter rule to the current access control list profile The command permit or deny are used to define an ICMP filter rule. Each ICMP filter rule represents an ICMP access of control list entry.
Page 254
SmartWare Software Configuration Guide 24 • Access control list configuration Where the syntax is as following: Keyword Meaning The source address to be included in the rule. An IP address in dotted-decimal-format, e.g. 64.231.1.10. A wildcard for the source address. Expressed in dotted-decimal format this value specifies src-wildcard which bits are significant for matching.
SmartWare Software Configuration Guide 24 • Access control list configuration The same effect can also be obtained by using the simpler message name option. See the following example. node(cfg)#profile acl WanRx node(pf-acl)[WanRX]#deny icmp any any msg echo node(pf-acl)[WanRX]#exit node(cfg)# Adding a TCP, UDP or SCTP filter rule to the current access control list profile The commands permit or deny are used to define a TCP, UDP or SCTP filter rule.
Page 256
SmartWare Software Configuration Guide 24 • Access control list configuration Where the syntax is: Keyword Meaning The source address to be included in the rule. An IP address in dotted-decimal-format, e.g. 64.231.1.10. A wildcard for the source address. Expressed in dotted-decimal format this value specifies src-wildcard which bits are significant for matching.
SmartWare Software Configuration Guide 24 • Access control list configuration Binding and unbinding an access control list profile to an IP interface The command use is used to bind an access control list profile to an IP interface. This procedure describes how to bind an access control list profile to incoming packets on an IP interface Mode: Profile access control list Step...
SmartWare Software Configuration Guide 24 • Access control list configuration Unbind an access control list profile from an interface. node(cfg)#context ip router node(cfg-ip)[router]#interface wan node(cfg-if)[wan]#no use profile acl in Note When unbinding an access control list profile the name argument is not required, since only one incoming and outgoing access control list can be active at the same time on a certain IP interface.
Page 259
SmartWare Software Configuration Guide 24 • 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...
SmartWare Software Configuration Guide 24 • Access control list configuration Examples Denying a specific subnet Figure 39 shows an example in which a server attached to network 172.16.1.0 shall not be accessible from outside networks connected to IP interface lan. To prevent access, an incoming filter rule named Jamming is defined, which blocks any IP traffic from network 172.16.2.0 and has to be bound to IP interface lan.
SmartWare Software Configuration Guide 25 • SNMP configuration Introduction This chapter provides overview information about Simple Network Management Protocol (SNMP) and describes the tasks used to configure those of its features supported. This chapter includes the following sections: • Simple Network Management Protocol (SNMP) •...
SmartWare Software Configuration Guide 25 • SNMP configuration • Traversal operations are used by the NMS to determine which variables a managed device supports and to sequentially gather information in variable tables, such as a routing table. SNMP management information base (MIB) A Management Information Base (MIB) is a collection of information that is organized hierarchically.
SmartWare Software Configuration Guide 25 • SNMP configuration The SNMP agent running in SmartWare is SNMP version 1 (SNMPv1) compliant. SNMP version 2 (SNMPv2) and SNMP version 3 (SNMPv3) are not currently supported. IMPORTANT SNMP tools Patton recommends the AdventNet MibBrowser, TrapViewer and other SNMP tools. Check the AdventNet Web server at http://www.adventnet.com for latest releases.
Page 265
SmartWare Software Configuration Guide 25 • SNMP configuration Mode: Administrator execution Step Command Purpose node (cfg)#system contact name Sets the contact persons name node (cfg)#system location location Sets the system location node (cfg)#system hostname hostname Sets the system hostname and command line prompt If any of the command options name, location, or hostname has to be formed out of more than one word, the information is put in “double quotes”.
SmartWare Software Configuration Guide 25 • SNMP configuration Figure 40. AdventNet MibBrowser displaying some of the System Group objects Example: Setting the system group objects In the following example the system information is set for later access via SNMP. See figure 40 for a typical MIB browser application accessing these MIB-II system group objects representing the system information.
Page 267
SmartWare Software Configuration Guide 25 • SNMP configuration Community strings also provide a weak form of access control in earlier versions of SNMP version 1 and 2. SNMP version 3 provides much improved access control using strong authentication and should be preferred over SNMP version 1 and 2 wherever it is supported.
SmartWare Software Configuration Guide 25 • SNMP configuration Setting allowed host information If a host has to access SNMP MIB objects on a certain node, it explicitly needs the right to access the SNMP agent. Therefore a host needs an entry, which allows accessing the device. The host is identified by its IP address and has to use a certain community string for security precautions.
SmartWare Software Configuration Guide 25 • SNMP configuration In the following example the NMS running on host with IP address 172.16.224.44 shall be defined as SNMP trap target. Since the NMS requires that SNMP message headers have a community of Not4evEryOne the secu- rity-name argument is set accordingly.
SmartWare Software Configuration Guide 25 • SNMP configuration The TrapViewer is a graphical tool to view the Traps received from one or more SNMP agents. The Trap viewer can listen to one or more port at a time and the traps can be sent from any host. Moreover the TrapViewer con- tains a Trap parser editor, which is a tool to create a trap parser file.
SmartWare Software Configuration Guide 25 • SNMP configuration Using the TrapViewer TrapViewer is a graphical tool to view the traps received from one or more SNMP agents. The TrapViewer can listen to one or more port at a time and the traps can be sent from any host. Invoke the TrapViewer through the usage of the MibBrowser.
SmartWare Software Configuration Guide 25 • SNMP configuration Message that by default has the object identifier format (sequence of numeric or textual labels on the SNs along a path from the root to the object) of the trap if any, or it is blank. •...
SmartWare Software Configuration Guide 25 • SNMP configuration Table 12. 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.
SmartWare Software Configuration Guide 25 • SNMP configuration linkUp TRAP-TYPE ENTERPRISE snmp VARIABLES { ifIndex } DESCRIPTION "A linkUp trap signifies that the sending protocol entity recognizes that one of the communication links represented in the agent's configuration has come up." ::= 3 Note The linkUp trap is not sent if any of the ISDN ports has come up.
Page 275
SmartWare Software Configuration Guide 25 • SNMP configuration 2002-09-06T14:54:39 : LOGINFO : Link up on interface eth00. 2002-09-06T14:54:39 : LOGINFO : Link up on interface eth01. 2002-09-06T14:56:02 : LOGINFO : Link up on interface SLOT2:00 ISDN D 2002-09-10T14:21:20 : LOGINFO : Link down on interface SLOT2:00 ISDN SNMP interface traps...
SmartWare Software Configuration Guide 26 • SNTP client configuration Introduction This chapter describes how to configure Simple Network Time Protocol (SNTP) client, it includes the follow- ing sections: • SNTP client configuration task list • Recommended Public SNTP Time Servers (see page 284) The Simple Network Time Protocol (SNTP) is an adaptation of the Network Time Protocol (NTP) that is...
SmartWare Software Configuration Guide 26 • SNTP client configuration Selecting SNTP time servers This procedure describes how to select a primary and secondary SNTP time server Mode: Configure Step Command Purpose node (cfg)#sntp-client server primary host Enter the SNTP primary server IP address or hostname node (cfg)#sntp-client server secondary host Enter the SNTP secondary server IP...
SmartWare Software Configuration Guide 26 • SNTP client configuration Example: Configuring SNTP client operating mode Configures the SNTP client operating mode to unicast operation node(cfg)#sntp-client operating-mode unicast Configures the SNTP client operating mode to anycast operation node(cfg)#sntp-client operating-mode anycast Configures the SNTP client operating mode to multicast operation node(cfg)#sntp-client operating-mode multicast Defining SNTP local UDP port The communication between an SNTP client and its the primary or secondary SNTP time server uses UDP.
SmartWare Software Configuration Guide 26 • SNTP client configuration Enabling and disabling the SNTP client The SNTP client is disabled by default and has to be enabled if clock synchronization shall be used. This pro- cedure describes how to enable or disable the SNTP client Mode: Configure Step Command...
SmartWare Software Configuration Guide 26 • SNTP client configuration Defining SNTP client constant offset to GMT Setting the offset of the device local time zone from Greenwich Mean Time is required if the local time shall be used for time dependent routing decisions or other reasons. Greenwich Mean Time (GMT) is also known as Zulu Time and Universal Time Coordinated (UTC), refer to http://greenwichmeantime.com/ for more details and information about your time zone and offset to GMT.
SmartWare Software Configuration Guide 26 • SNTP client configuration Mode: Configure Step Command Purpose node (cfg)#sntp-client anycast-address ip- Set the anycast-address to ip-address a designated address {port | port-number } local broadcast or multicast group address to which a request is sent. In addition an explicit SNTP server port-number in the range from 1 to 65535 can be defined or the argument port is selected, which sets the value for port to 123.
SmartWare Software Configuration Guide 26 • SNTP client configuration Example: Disabling the SNTP client root delay compensation node(cfg)#no sntp-client root-delay-compensation Showing SNTP client related information During set-up and operation of the SNTP client, displaying the information and status of the SNTP client is very useful.
SmartWare Software Configuration Guide 26 • SNTP client configuration Example: Enable the SNTP debug monitor The following example shows how to enable the SNTP debug monitor and some typical debug information. node(cfg)#debug sntp client node(cfg)#14:44:21 SNTP > SNTP message sent with Timestamp: 2001-10-26T14:44:21 14:44:21 SNTP >...
SmartWare Software Configuration Guide 26 • SNTP client configuration For more information about NIST Internet Time Service (ITS) check their web server at http://www.boulder.nist.gov/timefreq/service/its.htm Additional information on NTP and a list of other NTP servers The site http://ntp.isc.org contains a maintained list of available NTP/SNTP servers. Please only use the ones with an open access policy! Recommended public SNTP time servers...
Chapter 27 DHCP configuration Chapter contents Introduction ................................287 DHCP-client configuration tasks.........................288 Enable DHCP-client on an IP interface ......................288 Release or renew a DHCP lease manually (advanced) ...................290 Get debug output from DHCP-client ......................290 DHCP-server configuration tasks ........................291 Configure DHCP-server profiles ........................291 Use DHCP-server profiles and enable the DHCP-server ................293...
SmartWare Software Configuration Guide 27 • DHCP configuration Introduction This chapter provides an overview of the Dynamic Host Configuration Control Protocol (DHCP) and describes the tasks involved in their configuration. This chapter includes the following sections: • DHCP-client configuration tasks (see page 288) •...
SmartWare Software Configuration Guide 27 • DHCP configuration DHCP-server and DHCP-client are illustrated in figure Node Node DHCP Server Node Node DHCP Clients DHCP Clients Node Node DHCP Server Figure 44. DHCP-client and DHCP-server DHCP-client configuration tasks To configure the SmartNode as DHCP-client perform the steps mentioned below. •...
Page 289
SmartWare Software Configuration Guide 27 • DHCP configuration interface, e.g. the default gateway, DNS server IP addresses, etc. To enable the DHCP-client on an IP interface perform the steps described below. Mode: context IP Step Command Purpose node (ctx-ip)[router]#interface name Creates an IP interface with name name and enters ‘configure’...
SmartWare Software Configuration Guide 27 • DHCP configuration Release or renew a DHCP lease manually (advanced) After enabling the DHCP-client, the interface receives a DHCP lease from the DHCP-server. To manually release and/or renew this DHCP lease use the command described below. This procedure describes how to release and renew the DHCP lease Mode: interface Step...
Page 292
SmartWare Software Configuration Guide 27 • DHCP configuration Mode: Configure Step Command Purpose node (cfg)#profile dhcp-server name Enter DHCP-server profile mode node (pf-dhcps)[name]#network ip- Defines the IP address range for which this pro- address ip-mask file is responsible IP address: basic DHCP information (‘your (cli- ent) IP address’) IP mask: DHCP Option 1 node (pf-dhcps)[name]#[no] include ip-...
SmartWare Software Configuration Guide 27 • DHCP configuration Step Command Purpose node (pf-dhcps)[name]#[no] bootfile boot- Defines the bootfile the client shall use when 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)
SmartWare Software Configuration Guide 27 • DHCP configuration Define the bootfile (Option 67) for the DHCP-server The DHCP server can define bootfile (DHCP option 67). In contrast to the existing options bootfile and next-server, these options do not use BOOTP fields but DHCP options. Mode: profile dhcp-server Step Command...
SmartWare Software Configuration Guide 27 • DHCP configuration Get debug output from the DHCP-server This procedure describes how to enable/disable the DHCP-server debug monitor Mode: Any Step Command Purpose node (cfg) #[no] debug dhcp-server Enables/disables the debug monitor of the DHCP-server Example: Enable DHCP debug monitor This example shows how to enable the DHCP-server debug monitor.
Chapter 28 configuration Chapter contents Introduction ................................297 DNS configuration task list ..........................297 Enabling the DNS resolver ..........................297 Enabling the DNS relay ..........................298...
SmartWare Software Configuration Guide 28 • DNS configuration Introduction The domain name system (DNS) enables users to contact a remote host by using easily remembered text labels (www.patton.com, for example) instead of having to use the host’s numeric address (209.45.110.15, for exam- ple).
SmartWare Software Configuration Guide 28 • 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 299
SmartWare Software Configuration Guide 28 • DNS configuration address. DNS Relay agents maintain a cache of host names and IP addresses, much smaller than a DNS Server. It acts as a liaison between the DNS Server and the DNS client Advantages in configuring a DNS Relay in the SmartNode are: •...
Chapter 29 DynDNS configuration Chapter contents Introduction ................................301 DynDNS configuration task list ..........................301 Creating a DynDNS account ........................301 Configuring the DNS resolver ........................301 Configuring basic DynDNS settings ......................302 Configuring the DynDNS server ........................302 Configuring advanced DynDNS settings (optional) ..................303 Defining a mail exchanger for your hostname ..................303 Troubleshooting ............................303...
SmartWare Software Configuration Guide 29 • DynDNS configuration Introduction SmartNodes are often used in applications where the addresses of their IP interfaces are not assigned statically (i.e. permanently) but instead are configured dynamically. In these applications, the IP address is assigned dynamically using protocols like DHCP or PPP.
SmartWare Software Configuration Guide 29 • DynDNS configuration Configuring basic DynDNS settings The following procedure describes the steps necessary to enable the DynDNS feature. Mode: DynDNS Step Command Purpose node(dyndns)#authentication user pass- Defines the authentication credentials of your word DynDNS account Defines the DynDNS service to use node(dyndns)#service {dynamic|static|custom}...
SmartWare Software Configuration Guide 29 • DynDNS configuration Configuring advanced DynDNS settings (optional) Defining a mail exchanger for your hostname If required, you can define a mail exchanger or a backup mail exchanger for your hostname on the DynDNS server. Mode: DynDNS Step Command...
Page 304
SmartWare Software Configuration Guide 29 • DynDNS configuration Example: Displaying DynDNS status information The following example shows how to enable the debug monitor and the output of the monitor when the IP address on the DynDNS server can be updated successfully. node(dyndns)#debug dyndns 16:20:43 DYNDNS>...
Chapter 30 PPP configuration Chapter contents Introduction ................................306 PPP configuration task list...........................307 Creating an IP interface for PPP ........................307 Disable interface IP address auto-configuration from PPP ................309 Creating a PPP subscriber ..........................309 Trigger forced reconnect of PPP sessions using a timer .................311 Disable interface IP address auto-configuration from PPP ................311...
SmartWare Software Configuration Guide 30 • PPP configuration Introduction This chapter describes how to configure the point-to-point protocol over different link layers. The point-to-point protocol (PPP) provides a standard method for transporting multi-protocol datagrams over point-to-point links as defined by the RFC1661 etc. SmartWare offers PPP over the following link layers: •...
SmartWare Software Configuration Guide 30 • PPP configuration its own IP interface. In addition to these PPPoE sessions, pure IP traffic can run concurrently over the same Ethernet port. This is achieved by binding the Ethernet port directly to an IP interface. PPP configuration task list To configure PPP, perform the following tasks: •...
Page 308
SmartWare Software Configuration Guide 30 • 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.
SmartWare Software Configuration Guide 30 • PPP configuration Step Command Purpose node (if-ip)[name]#use profile napt name Assigns the NAPT profile name to applied to (optional) this IP interface. See 11, “NAT/NAPT configu- on page 127 to learn how to create a ration”...
Page 310
SmartWare Software Configuration Guide 30 • 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’...
SmartWare Software Configuration Guide 30 • PPP configuration Trigger forced reconnect of PPP sessions using a timer In some situations, it is useful to disconnect and reconnect a PPP session at a clearly defined time. The follow- ing procedure shows how PPP can be configured to reconnect the connection every time a timer expires. A common application for this feature: some ISPs disconnect the PPP session after a fixed period of time, for example, 16 hours.
Page 312
SmartWare Software Configuration Guide 30 • PPP configuration Mode: Configure Step Command Purpose node (cfg) #port ethernet slot port Enters Ethernet port configuration mode for the interface on slot and port Defines the payload type(s) to be used on the node (prt-eth)[slot/port]# encapsulation Ethernet: {ip|pppoe|multi}...
SmartWare Software Configuration Guide 30 • PPP configuration Example: Configure a PPPoE session The procedure below configures a PPPoE session for the connection to a DSL provider using the credentials specified in the subscriber profile above. node(cfg)#port ethernet 0 0 node(prt-eth)[0/0]#encapsulation pppoe node(prt-eth)[0/0]#no shutdown node(prt-eth)[0/0]#pppoe...
Page 314
SmartWare Software Configuration Guide 30 • PPP configuration Mode: Configure Step Command Purpose Creates the new PPP profile name and enters node (cfg) #[no] profile ppp { name | the PPP profile configuration. The profile default } ‘default’ already exists. node (pf-ppp)[name]#mtu min min max Defines the minimum and maximum size of IP (optional)
SmartWare Software Configuration Guide 30 • PPP configuration Configuring the local and remote PPP MRRU The PPP Maximum Receive Reconstructed Unit (MRRU) denotes the maximum reassembled MRU we are able to receive above the multi-link PPP protocol, i.e. this is the MRU after reassembling frames from individ- ual links inside a multi-link bundle.
SmartWare Software Configuration Guide 30 • PPP configuration Displaying PPP configuration information This section shows how to display and verify the PPP configuration information. Mode: Configure Step Command Purpose Gives the best overview of all PPP related configura- node (cfg) #show running-config tion information.
SmartWare Software Configuration Guide 30 • PPP configuration Example: Display a PPP profile node(pf-ppp)[PPPoE]#show profile ppp PPPoE Profiles: --------- Name: default LCP Configure-Request: interval 3000 ms, max 10 LCP Configure-Nak: max 5 LCP Terminate-Request: interval 3000 ms, max 2 LCP Echo-Request: interval 10000 ms, max 3 MTU: 68 - 1920...
Page 318
SmartWare Software Configuration Guide 30 • PPP configuration Mode: Configure Step Command Purpose node (cfg) #show ppp links [ level ] Displays status and configuration information of the Link Control Protocol (LCP) and the authentica- tion protocol(s) (PAP and/or CHAP). Check whether the states of the two protocols are ‘Opened’.
Page 319
SmartWare Software Configuration Guide 30 • PPP configuration Example: Display PPP link information node(cfg)#show ppp links 4 PPP Link Information: ===================== Link: Name: ethernet 0 0 0/pppoe/ppp_green Protocols: LCP, PAP LCP: Name: ethernet 0 0 0/pppoe/ppp_green State: Opened Conf-Req send rate: 3000ms Max.
SmartWare Software Configuration Guide 30 • PPP configuration port e1t1 0 0 port-type e1 framing crc4 encapsulation hdlc hdlc encapsulation ppp bind interface myPPP router port e1t1 0 0 no shutdown PPP Dial-up over ISDN The following modules in this section must be configured in order to use the PPP dial-up over ISDN feature: •...
SmartWare Software Configuration Guide 30 • PPP configuration • Retry List: A list of up to 8 retry timeouts that define if and when a retry is started for the same destination after a failed dial attempt. • Binding: By binding a dialer destination to a PPP subscriber configuration entity, you define the PPP pro- tocol parameters (e.g.
SmartWare Software Configuration Guide 30 • PPP configuration Step Command Purpose [ name ] (outbound)[ provider ]#[no] retry Specifies how many times and after which timeouts the dialer shall redial the same pro- <timeout1> [<timeout2> [timeout3>...]] vider if the previous dial-attempt failed. Up to 8 retry timeouts can be specified.
SmartWare Software Configuration Guide 30 • PPP configuration • If an additional link (when using multi-link PPP) was up and is accidentally disconnected, we retry to establish it after 5 seconds. • If an additional link (when using multi-link PPP) could not be established because of call-signaling prob- lems (e.g.
Page 327
SmartWare Software Configuration Guide 30 • PPP configuration The local and remote E.164 number configuration on inbound destinations have different meanings than for outbound destinations. On inbound destinations these numbers are used to dispatch incoming calls to one of the configured inbound destinations. Follow the steps below to create an inbound destination instance.
SmartWare Software Configuration Guide 30 • PPP configuration Debug dialer functionality The following commands show how to display information and events of a PPP dialer. Mode: enable Step Command Purpose [ name ] #show call-control provider Shows configuration and state information about a certain dialer instance.
SmartWare Software Configuration Guide 30 • PPP configuration Dial-up on monitor Dial when a monitored interface is reported down and drop when that interface is reported up again. A delay time prevents to dial or drop if the monitored interface changes the state only for a short time. Mode: context ip/interface Step Command...
SmartWare Software Configuration Guide 31 • CS context overview Introduction This chapter gives an overview of the circuit-switching (CS) context and associated components, and describes the tasks involved in its configuration. It describes the steps needed configure voice connectivity, and refers to other chapters where a configuration topic is explained in more detail.
SmartWare Software Configuration Guide 31 • CS context overview The CS context and its associated components route and establish voice calls. For example, the signaling for dial-up circuits is routed and the corresponding voice call circuits are switched between PSTN interfaces and via VoIP interfaces to the VoIP gateways and the IP context (see section “Configuring call routing”...
Page 334
SmartWare Software Configuration Guide 31 • CS context overview Figure 48 shows a typical application with a remote office in an enterprise network. The example focuses on the SmartNode in the remote office. There is an ISDN phone, a personal computer, a connection to the public ISDN network, and a connection to the IP backbone.
SmartWare Software Configuration Guide 31 • CS context overview Note Be careful when choosing where you get your clock source, if the clock used for packaging the ISDN voice frames is not synchronized with the remote ISDN clock, bit errors may result (such synchronization problems would probably cause a fax transmission to fail).
SmartWare Software Configuration Guide 31 • CS context overview Mode: System Step Command Purpose node (sys)#clock-source hw-type slot port Add an entry to the end of the list node (sys)#clock-source index hw-type slot port Overwrite and entry at position ‘index’ node (sys)#clock-source before index hw-type slot port Insert an entry before position ‘index’...
SmartWare Software Configuration Guide 31 • CS context overview Selecting PCM law compression The PCM law-select specifies the voice characteristic compression curve. Two values are possible: a-Law (used in Europe) and µ-Law (used in the USA). Procedure: To set the general CS parameters Mode: System Step Command...
SmartWare Software Configuration Guide 31 • CS context overview Basic interface routing allows you to forward all incoming calls on a CS interface directly to a destination CS interface. The call router allows you to route calls to all available CS interfaces, based on a call property such as calling number, destination number and ISDN bearer capability and many more.
SmartWare Software Configuration Guide 31 • CS context overview Configuring ISDN ports BRI and E1/T1 ports represent physical ports on the SmartNode. The configuration of the ISDN ports depends on the port type (BRI, E1 or T1), and on the connected voice device. To configure the ISDN ports, refer to chapter 34, “ISDN interface configuration”...
SmartWare Software Configuration Guide 31 • CS context overview Activating CS context configuration After configuring the CS context and its components, the configuration must be activated. This includes bind- ing the physical ports to the CS interfaces and enabling the gateways, ports, and the CS context. In order to become functional, each interface must be bound from one port from which it receives incoming calls, and to which it forwards outgoing calls.
Page 342
SmartWare Software Configuration Guide 31 • 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.
SmartWare Software Configuration Guide 31 • CS context overview • Calls from office A or B with number 5xx to office C • All other calls from office A or B to the PSTN (local breakout) Gateway H.323 H.323 interface: IF-COMPOFF-A H.323 interface: IF-COMPOFF-B Session Router...
SmartWare Software Configuration Guide 31 • CS context overview • We enable DTMF relay and specify codec G.723. (Refer to section “Configuring voice over IP parameters” on page 339). • We define H.323 direct call signaling. (Refer to section “Configuring an H.323 VoIP connection” page 340).
Page 346
SmartWare Software Configuration Guide 31 • CS context overview Finally, we configure the call router. Here we create a routing table that examines the called party number of a call and routes numbers starting with a 1 and containing at least 3 digits to the hunt group that tries to reach company office A over VoIP and falls back to the PSTN.
SmartWare Software Configuration Guide 32 • VPN configuration Introduction This chapter describes how to configure the VPN connections between two SmartNodes or between a SmartNode and a third-party device. A virtual private network (VPN) is a private data network that uses the public telecommunications infrastruc- ture, maintaining privacy through the use of a tunneling protocol and security procedures.
SmartWare Software Configuration Guide 32 • VPN configuration Transport and tunnel modes The mode determines the payload of the ESP packet and hence the application: • Transport mode: Encapsulates only the payload of the original IP packet, but not its header, so the IPsec peers must be at the endpoints of the communications link.
SmartWare Software Configuration Guide 32 • VPN configuration VPN configuration task list To configure a VPN connection, perform the following tasks: • Creating an IPsec transformation profile • Creating an IPsec policy profile • Creating/modifying an outgoing ACL profile for IPsec •...
Page 358
SmartWare Software Configuration Guide 32 • VPN configuration Procedure: To create an IPsec policy profile 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...
SmartWare Software Configuration Guide 32 • VPN configuration Use no in front of the above commands to delete a profile or a configuration entry. Example: Create an IPsec policy profile The following example defines a profile for AES-encryption at a key length of 128. node(cfg)#profile ipsec-policy-manual ToBerne node(pf-ipsma)[ToBerne]#use profile ipsec-transform AES_128 node(pf-ipsma)[ToBerne]#session-key inbound esp-encryption...
SmartWare Software Configuration Guide 32 • VPN configuration Configuration of an IP interface and the IP router for IPsec The IP interface that provides connectivity to the IPsec peer, must now activate the outgoing ACL profile con- figured in the previous section. Furthermore, the IP router must have a route for the remote network that points to the respective IP interface.
SmartWare Software Configuration Guide 32 • VPN configuration MANUAL ToBerne Tunnel 200.200.200.1 1111 AES-CBC 128 3622/unlimited 19047/unlimited OUT MANUAL ToBerne Tunnel 200.200.200.1 2222 AES-CBC 128 2857/unlimited 19047/unlimited Key management (IKE) In addition to manual keyed IPSEC connections, support for automatically keyed IPSEC connections using the Internet Key Exchange (IKE / RFC2409) protocol has been integrated, which is based on Internet Security Association and Key Management Protocol (ISAKMP / RFC2408).
SmartWare Software Configuration Guide 32 • VPN configuration can optionally also specify a security association lifetime for IKE security associations. If the lifetime of the security association expires, IKE will automatically negotiate a new security association. The default lifetime for ISPEC security associations is one hour without any limit on the transmitted data volume. The parameters defined in this profile are used for the negotiation of IPSEC security associations in quick mode.
SmartWare Software Configuration Guide 32 • VPN configuration Creating an ISAKMP IPSEC policy profile To define all the settings and profiles needed to establish an IPSEC security association, you need to create an ISAKMP IPSEC policy profile There you can specify the ISAKMP and IPSEC transforms you created above, which should be used and other necessary parameters.
SmartWare Software Configuration Guide 32 • 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>...
SmartWare Software Configuration Guide 32 • VPN configuration In addition to the monitors there are also show commands, which display current information about IKE and IPSEC. show ike policy <policy-name> • Displays information about the configuration options of specific policy as well as an indication, if the policy is valid or not.
SmartWare Software Configuration Guide 32 • 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.
SmartWare Software Configuration Guide 32 • VPN configuration Sample configurations The following sample configurations establish IPsec connections between a SmartNode and a Cisco router. To interconnect two SmartNodes instead, derive the configuration for the second SmartNode by doing the follow- ing modifications: •...
SmartWare Software Configuration Guide 32 • VPN configuration set session-key inbound esp 6666 cipher FEDCBA0987654321FEDCBA0987654321FEDCBA0987654321FEDCBA0987654321 set session-key outbound esp 5555 cipher 1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF set session-key inbound ah 4444 FEDCBA0987654321FEDCBA0987654321FEDCBA09 set session-key outbound ah 3333 1234567890ABCDEF1234567890ABCDEF12345678 set transform-set AES_SHA1 match address 110 For the remainder of the configuration (see above), just change the name of the IPsec policy profile in the ACL profile VPN_Out IPsec tunnel, 3DES encryption at 192 bit key length, ESP authentication with...
Page 372
SmartWare Software Configuration Guide 32 • VPN configuration For the remainder of the configuration (see above), just change the name of the IPsec policy profile in the ACL profile VPN_Out. Sample configurations...
SmartWare Software Configuration Guide 33 • CS interface configuration Introduction This chapter provides an overview of interfaces in the CS context and describes the tasks involved in their con- figuration. Within the CS context, an interface is a logical entity providing call signaling for incoming and out- going calls to and from telephony ports and voice over IP gateways.
SmartWare Software Configuration Guide 33 • CS interface configuration page 512 and chapter 46, “VoIP profile configuration” on page 559. To create and configure CS interfaces you have to perform the configuration tasks listed below. • Creating and configuring CS interfaces •...
SmartWare Software Configuration Guide 33 • CS interface configuration The following example shows how to create and configure an interface, how to display it, and how to delete another. node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface isdn IF-PBX1 node(if-pstn)[IF-PBX1]#route call dest-interface TAB-CALLED-NUMBER node(if-pstn)[IF-PBX1]#show call-control provider Provider: IF-PBX1 =================...
SmartWare Software Configuration Guide 33 • CS interface configuration In the environment of the CS interfaces, it is necessary to specify whether the call will be routed directly to another CS interface (basic interface routing) or to a first lookup table from the call router (advanced call rout- ing).
Page 378
SmartWare Software Configuration Guide 33 • CS interface configuration to another user agent having a different URI than the called one. This new URI as well as the derived E.164 number cannot be manipulated using the call router before presenting it to the other party. To circumvent this limitation, you can use mapping tables directly on an interface.
Page 381
SmartWare Software Configuration Guide 33 • CS interface configuration • interrogate-cw—Detects whether or not the call-waiting supplementary service is active on the interface that uses the precall service table. Note Currently you can only use precall service tables on FXS interfaces. Procedure: To create precall service table and use it on an FXS interface Mode: Context CS Step...
SmartWare Software Configuration Guide 34 • ISDN interface configuration Introduction This chapter provides an overview of ISDN interfaces, and the tasks involved in their configuration. This chap- ter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface configuration can be found in the general chapter about CS interface configuration (see chapter 33, “CS inter- face configuration”...
SmartWare Software Configuration Guide 34 • ISDN interface configuration Configuring DTMF dialing (optional) Most ISDN terminals support two modes of call setup: En-bloc dialing and overlap dialing. En-bloc dialing transports the full called party information in the first SETUP message from the terminal. This means that the user must dial the number before going off-hook.
SmartWare Software Configuration Guide 34 • ISDN interface configuration Example: Configure an alternate PSTN profile The following example shows how to replace the PSTN profile default of the ISDN interface with the PSTN profile myprofile. node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface isdn myIsdnIf node(if-isdn)[myIsdnIf]#use profile pstn myprofile Configuring ringback tone on ISDN user-side interfaces If a ring-back tone needs to be played towards the PSTN from an ISDN user-side interface, this can be forced...
SmartWare Software Configuration Guide 34 • ISDN interface configuration Configuring Call-Hold on ISDN interfaces Normally, the call-hold feature is disabled on ISDN point-to-point links and enabled on ISDN point-to-mul- tipoint links. However, you can manually enable or disable the Call-Hold feature using the following com- mand: The default setting can be achieved using the ‘auto’...
SmartWare Software Configuration Guide 34 • ISDN interface configuration Enable sending of date and time on ISDN DSS1 network interfaces This procedure enables sending of date and time information on an ISDN network side interface. Mode: interface isdn <if-name> Step Command Purpose [ name ] (if-isdn)[ if-name ]# isdn-date-time...
Page 388
SmartWare Software Configuration Guide 34 • ISDN interface configuration Home Office Central Office te w u te v ic d ia ic e te w g ra n so n so P or ic e P or ic e E ne E ne E ne te w...
SmartWare Software Configuration Guide 34 • ISDN interface configuration The push-back mechanism can be configured on each interface separately. Per default push-back is enabled for ISDN and SIP interfaces. You only have to change the configuration if you don’t want internally looped calls to be pushed back to the network.
Page 390
SmartWare Software Configuration Guide 34 • ISDN interface configuration The following procedure disables the reception of AOC messages from the network on an ISDN user interface. Step Command Purpose Go to the ISDN interface, for which you want to node (ctx-ip)[ctx- name ]# interface isdn disable AOC <if-name>...
Page 391
SmartWare Software Configuration Guide 34 • ISDN interface configuration there is no AOC information from the network. In that case a message containing the value noChargeAvailable is sent. Step Command Purpose 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 392
SmartWare Software Configuration Guide 34 • ISDN interface configuration The following table shows an overview of the AOC variants: aoc- x no aoc- x aoc- x automatic aoc- x explicit transparent Default option ISDN User Interface (connected to a PBX switch etc.) No message from No information for- No information for-...
SmartWare Software Configuration Guide 34 • ISDN interface configuration ISDN DivertingLegInformation2 Facility SmartWare is now able to extract the redirecting information from the DiverstingLegInformation2 Facility and to provide them to the call control. In the other direction, the redirecting information can be sent as DiverstingLegInformation2 Facility in addition to the Redirecting Number Information Element.
Page 394
SmartWare Software Configuration Guide 34 • ISDN interface configuration • caller-name early-alerting <timeout>: This configuration command specifies the behaviour for incoming ISDN calls. Some networks only deliver the name after an alerting indication. These networks simulate the mid-ring name delivery feature of analog lines. If early alerting is enabled, we send back a faked ALERT- ING message after a configurable timeout when we receive a NameInformationFollowing indication.
Page 395
SmartWare Software Configuration Guide 34 • ISDN interface configuration Step Command Purpose (optional) If no name is present in an incoming node( if-isdn)#caller-name ignore- ISDN call and if the incoming SETUP message con- absence 1000 tains the NameInformationFollowing indication, we forward the call to the routing destination any- way after 1000ms (500ms after faking the ALERT- ING message in this example).
SmartWare Software Configuration Guide 35 • FXS interface configuration Introduction This chapter provides an overview of FXS interfaces, and the tasks involved in their configuration. This chapter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface con- figuration can be found in the general chapter about CS interface configuration (see chapter 33, “CS interface configuration”...
SmartWare Software Configuration Guide 35 • 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: •...
SmartWare Software Configuration Guide 35 • 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: •...
SmartWare Software Configuration Guide 35 • 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...
Chapter 36 FXO interface configuration Chapter contents Introduction ................................404 FXO services description .............................405 Creating an FXO interface...........................405 Deleting an FXO interface...........................406 FXO interface configuration task list ........................407 FXO off-hook on caller ID ...........................407 Configuring an alternate PSTN profile (optional) ..................407 Configuring when the digits are dialed (optional) ..................408 Configuring the number of rings to wait before answering the call (optional)
SmartWare Software Configuration Guide 36 • FXO interface configuration Introduction This chapter provides an overview of FXO interfaces and the tasks involved in configuring them. This chapter does not explain the basic configuration steps common to all Context Switch (CS) interfaces. Information about basic interface configuration can be found in chapter 33, “CS interface configuration”...
SmartWare Software Configuration Guide 36 • FXO interface configuration FXO services description The wide variety of applications and services are supported through a rich feature set. The major characteristics and features are • 2-wire loop-start • Off-hook and ring detection supervision •...
SmartWare Software Configuration Guide 36 • FXO interface configuration Once you are in the Context CS mode, you can enter the FXO configuration mode with the next steps. Step Prompt & command Purpose node(ctx-cs)[switch]#interface fxo name The “interface fxo” command creates the new interface name, which represents an FXO inter- face.
SmartWare Software Configuration Guide 36 • FXO interface configuration FXO interface configuration task list There are numerous configurable parameters that apply to the FXO interface. The basic commands are listed with a short description of their function. • ring-number on-caller-id— Determines if the FXO interface will go off-hook upon reception of a speci- fied caller-ID.
SmartWare Software Configuration Guide 36 • FXO interface configuration Note Verify that you have configured the dial-tone for the country in which the SmartNode is installed. (see chapter 41, “Tone configuration” on page 512). 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.
SmartWare Software Configuration Guide 36 • FXO interface configuration Configuring how to detect a call has disconnected (optional) When a call has disconnected, the FXO interface may detect and verify the termination of the phone call by three different methods. •...
SmartWare Software Configuration Guide 36 • FXO interface configuration Note Use the battery-reversal disconnect signal with caution, and use only if the battery-reversal connect signal is also enabled. Configuring how to detect an outgoing call is connected (optional) An FXO interface has the following methods for verifying the connection of an outgoing call after the dialing has been completed: •...
SmartWare Software Configuration Guide 36 • FXO interface configuration Configuring the destination of the call The last command in configuring the FXO Interface is the route command. This command configures the call router. You can configure the routing-destination for call setup and for service activation. For complete details, see chapter 40, “Call router configuration”...
SmartWare Software Configuration Guide 36 • FXO interface configuration FXO interface examples Example 1: Configuring an FXO interface which is to be connected to a PSTN network for analog line exten- sion over IP. The FXS switch provides caller-id between the first and second ring and uses battery reversal to indicate a connected call.
SmartWare Software Configuration Guide 37 • RBS interface configuration Introduction This chapter provides an overview of RBS interfaces, and the tasks involved in their configuration. This chap- ter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface configuration can be found in the general chapter about CS interface configuration (see Chapter 33, “CS inter- face configuration”...
SmartWare Software Configuration Guide 37 • RBS interface configuration Mode: Interface RBS Step Command Purpose node (if-rbs)[ if-name ]#use profile pstn pro- Defines an alternate PSTN profile to be used for file-name this RBS interface/Reverts the setting to its default (use profile PSTN default ) Configuring an alternate Tone-Set profile The Tone-Set profile contains the mapping of the different Call Progress Tones like Dial-Tone, Ringback-Tone...
SmartWare Software Configuration Guide 37 • RBS interface configuration Mode: Interface RBS Step Command Purpose node (if-rbs)[ if-name ]#[no] disconnect-sig- Enables/Disables the busy/release-tone as addi- tional disconnect signal. nal {busy-tone} Default: Enabled Configuring number of Rings before Off-Hook The Loop Start and the Ground Start protocol on the subscriber side identifying an incoming call by detecting the Ring-Signal sent by the exchange side.
Page 419
SmartWare Software Configuration Guide 37 • RBS interface configuration Mode: Operator execution Step Command Purpose node #show ccrbs call if-name [detail level ] Prints information about ongoing calls on the selected interface. node #show ccrbs interface if-name [detail Prints information about the configuration of the level ] selected interface and about the states of the belonging protocol endpoints.
Chapter 38 H.323 interface configuration Chapter contents Introduction ................................421 H.323 interface configuration task list .........................421 Binding the interface to an H.323 gateway ....................422 Configuring an alternate VoIP profile (optional) ...................423 Configuring CLIP/CLIR support (optional) ....................424 Enabling ‘early-proceeding’ on H.323 interfaces ...................425 Enabling the early call disconnect (optional) ....................425...
SmartWare Software Configuration Guide 38 • H.323 interface configuration Introduction This chapter provides an overview of H.323 interfaces used by H.323 gateways and describes the specific tasks involved in their configuration. This chapter does not explain the basic configuration steps required for all CS interfaces.
SmartWare Software Configuration Guide 38 • H.323 interface configuration • Configuring information transfer capability handling (optional) • Configuring CLIP/CLIR support (optional) • Enabling the early-proceeding feature for call setup • Enabling the early call disconnect (optional) • Enabling the via address support (optional) •...
SmartWare Software Configuration Guide 38 • H.323 interface configuration The following example shows how to associate an H.323 interface named MyH323If with a remote H.323 entity, which has the IP address 1.2.3.4 node>enable node#configure node(cfg)#context cs node(ctx-cs)[switch]#interface h323 MyH323If node(if-h323)[myh323if]#remoteip 1.2.3.4 Configuring an alternate VoIP profile (optional) Normally, the VoIP profile defined in the H.323 gateway is used for all the calls over that gateway.
SmartWare Software Configuration Guide 38 • 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).
SmartWare Software Configuration Guide 38 • H.323 interface configuration Mode: Interface H.323 Step Command Purpose node ( if- h323 )[ if-name ]#clip-clir-support Enables CLIP/CLIR support on the H.323 interface Example: Enable CLIP/CLIR support The following example shows how to enable CLIP/CLIR support on the H.323 interface MyH323If. node>enable node#configure node(cfg)#context cs...
SmartWare Software Configuration Guide 38 • 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.
SmartWare Software Configuration Guide 38 • 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.
SmartWare Software Configuration Guide 38 • 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 429
SmartWare Software Configuration Guide 38 • 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.
SmartWare Software Configuration Guide 39 • 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.
SmartWare Software Configuration Guide 39 • 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...
SmartWare Software Configuration Guide 39 • 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.
SmartWare Software Configuration Guide 39 • 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.
SmartWare Software Configuration Guide 39 • 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.
SmartWare Software Configuration Guide 39 • 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.
SmartWare Software Configuration Guide 39 • SIP interface configuration Enabling SIP RFC Privacy, Asserted-Identity, & Preferred-Identity headers (RFC 3323/3325) The following command sequence enables support for the SIP Privacy and Asserted-Identity headers, sending and receiving of the Privacy as well as the Asserted-Identity headers of RFCs 3323 & 3325. This allows to pro- vide the asserted identity to SIP entities, which require it.
SmartWare Software Configuration Guide 39 • SIP interface configuration Updating caller address parameters A SIP User Agent Client (UAC) can use the sip update method for modifying caller-name and caller-number. These parameters must be included in the P-Asserted-Identity header of the sip update message. This feature is often required if sip has to interwork with an analog telephony network where the CallerId cannot be delivered together with the call offering.
SmartWare Software Configuration Guide 39 • SIP interface configuration SIP REFER Transmission (& ISDN Explicit Call Transfer support) Additional call transfer support, a push-back mechanism, is enabled by default for SIP interfaces by sending REFER messages. SmartWare detects calls that are looped internally, i.e. calls that leave the device over the same SIP interface over which they enter the device.
Page 441
SmartWare Software Configuration Guide 39 • SIP interface configuration Home Office Central Office te w u te v ic d ia ic e te w g ra n so n so P or ic e P or ic e E ne E ne E ne te w...
SmartWare Software Configuration Guide 39 • SIP interface configuration The push-back mechanism can be configured on each interface separately. Per default push-back is enabled for ISDN and SIP interfaces. You only have to change the configuration if you don’t want internally looped calls to be pushed back to the network.
SmartWare Software Configuration Guide 39 • SIP interface configuration Mode: interface sip <interface> Step Command Purpose [ name ] (if-sip)[ interface ]#address-transla- Enables or disables sending of the Diversion Header and specifies the Host Part of the URI. tion outgoing-call diversion-header call: If available, the Host Part of the calling host-part {call | default-server | domain from-header will be taken else the local ip...
SmartWare Software Configuration Guide 39 • SIP interface configuration AOC Over SIP This enhancement allows sending AOC information transparently from ISDN (or H.323) to SIP and vice- versa. AOC-D elements are hex-encoded and sent as application/QSIG content in SIP INFO messages during a session.
SmartWare Software Configuration Guide 40 • Call router configuration Introduction This chapter provides an overview of call router tables, mapping tables and call services and describes the tasks involved in configuring the call router in SmartWare. This chapter includes the following sections: •...
SmartWare Software Configuration Guide 40 • Call router configuration service is an example for a call service. Figure 63 illustrates direct call and advanced call routing. In this chapter, advanced call routing is explained. For configuring direct call routing refer to chapter 40, “Call router configu- ration”...
SmartWare Software Configuration Guide 40 • Call router configuration • Time of day; hour:minute:second • Date; day.month.year The call router allows you to solve practically any call routing and call property manipulation requirement that you may have. The call router is very flexible in allowing the construction of IMPORTANT decision trees based on linked routing tables.
SmartWare Software Configuration Guide 40 • Call router configuration The call router is able to accommodate almost every combination of these requirements through a customized configuration. In order to keep this configuration compact we recommend that you first define the routing requirements and restrictions that apply to your installation.
SmartWare Software Configuration Guide 40 • Call router configuration Example: Configure address completion timeout node[switch]#digit-collection timeout 3 node[switch]#digit-collection terminating-char * Configures the digit collection timeout to 3s. The digit-collection timeout can be stopped by the user entering the asterisk (*) character. Configure number prefix for ISDN number types The called and calling party numbers in an ISDN signaling message are of a defined number type;...
SmartWare Software Configuration Guide 40 • Call router configuration Configure call routing tables Routing tables are identified by names that can be any arbitrary string. For ease of identification the table type is typically used as part of the name. Call router tables are created by entering the routing-table command, which also brings you into the routing...
Page 454
SmartWare Software Configuration Guide 40 • Call router configuration Table 16. 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.
SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose node(ctx-cs)[switch]#routing-table Create a routing table table-name of the specified table-type . table-type table-name This enters the table mode where entries can be added or removed. To enter a previously created table from the context CS mode, you may leave away the table-type .
Page 456
SmartWare Software Configuration Guide 40 • Call router configuration The following table shows the wildcard characters that are supported: Table 17. 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.
SmartWare Software Configuration Guide 40 • Call router configuration The next table shows some examples of how these wildcard symbols are applied to the key of a table entry: Table 18. Wildcard symbols used as keys in E.164 tables (calling-e164, called-e164) Expression Description 88825.+...
SmartWare Software Configuration Guide 40 • Call router configuration The default value for the interdigit timeout is 5 seconds and can be configured using the digit-collection command in the context CS configuration mode. You may want to override this default timeout for a timeout specific entry.
Page 459
SmartWare Software Configuration Guide 40 • Call router configuration digits, the address completion timeout elapses and the call is dropped. The digit collection timeout is active when a route is complete but a T-indicator is specified on the selected route, e.g. when the dialed number of 0991 is tried to match the entry 099T.
Page 460
SmartWare Software Configuration Guide 40 • Call router configuration route default dest-interface IF5entry #5 Note The numbers that are normally dialed are longer than the prefixes listed in the table test. For example, if the numbering plan is defined using five digits, a user normally dials a number like 12345 to reach a destination.
SmartWare Software Configuration Guide 40 • Call router configuration Dialed Selected Description Number Entry Entry #1 and #2 match the dialed number of 121, but entry #2 matches better. The call is immediately placed to IF2. Only entry #1 matches the dialed number of 191. Thus the call is routed immediately to interface IF1.
SmartWare Software Configuration Guide 40 • Call router configuration Note When you specified a national or international prefix using the commands national-prefix or international-prefix respectively. in the context CS config- uration mode, the calling or called party number is extended with the speci- fied prefix and the type-of-number is set to unknown in the incoming interface.
SmartWare Software Configuration Guide 40 • Call router configuration The call router can route calls according to the following numbering plans. These values beside default can be used for the key parameter to create a routing table entry: • unknown—Unknown numbering plan. This is the default value for calls that arrive through an interface that does not support the numbering plan property.
SmartWare Software Configuration Guide 40 • Call router configuration You may specify a whole subnet with the key parameter of the routing table entry. The format of the key parameter is ipaddress[/mask-size]; the mask size may be omitted. Note Incoming SIP and H.323 calls use the calling party IP address property to store the IP address of the remote SIP user agent or H.323 terminal, respec- tively.
SmartWare Software Configuration Guide 40 • Call router configuration Note Incoming ISDN calls set the presentation indicator according to the received ISDN Setup message. Incoming H.323 calls only set the presentation indi- cator transparently when Octet3a handling is enabled. Other interfaces set the presentation indicator to allowed.
SmartWare Software Configuration Guide 40 • Call router configuration The call router can route calls according to the following screening indicators. These values beside default can be used for the key parameter to create a routing table entry: • user-not-screened—The calling party number is provided by the user but not screened by the network. Thus the calling party possibly send a number that is not owned by the calling party.
SmartWare Software Configuration Guide 40 • Call router configuration The call router can route calls according to the following information transfer capabilities. These values beside default can be used for the key parameter to create a routing table entry: • speech—Voice terminals (Telephones) •...
SmartWare Software Configuration Guide 40 • 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.
SmartWare Software Configuration Guide 40 • Call router configuration node(rt-tab)[HOLIDAY~]#route default dest-interface IF-VOIP Deleting routing tables To remove individual routing tables you can use the form of the command. Alternatively routing table you can remove specific entries of a routing table by entering the routing table configuration mode and use the form of the command.
SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]#no routing-table Delete the routing table table-name . table-name Note: You do not have to enter the type of the table when just deleting it.
SmartWare Software Configuration Guide 40 • Call router configuration You can create a mapping table that examines and modifies a specific kind of property, e.g. the called party number. In this case you have to specify an input-type of called-e164 and an output-type of called-164. If you want to replace both, the called and the calling party property with the same mapping table, you can create a mapping table with input-type e164 and output-type e164, i.e.
Page 472
SmartWare Software Configuration Guide 40 • Call router configuration Table 19. 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.
SmartWare Software Configuration Guide 40 • Call router configuration Let’s examine the mechanism of mapping tables in more detail. Figure 66 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...
SmartWare Software Configuration Guide 40 • Call router configuration Example #4: This example shows the same input call properties as in example #3. The mapping table is also almost the same, but unlike in the previous example, here we don’t look for a specific number type (e.g. called party number, calling party number), but for any E.164 number property of the call.
Page 475
SmartWare Software Configuration Guide 40 • Call router configuration Detailed Example: You have an internal dial plan that uses three digit numbers starting with a 2 (e.g. 200, 201, etc.). So when an internal subscriber makes a call, its calling party number contains three digits. 1.
Page 476
SmartWare Software Configuration Guide 40 • Call router configuration The input *50998882525 matches the expression *5(.%) – the prefix *5 followed by any character repeated zero or more times. The first bracket encloses the number after the prefix: *5(.%) == *5(0998882525) -> \1 = 0998882525 The output is built from the first bracket \1.
SmartWare Software Configuration Guide 40 • Call router configuration The input called party number 0778881111 matches the expression (.%) – any character repeated zero or more times. The first bracket encloses the last whole called party number: (.%) == (0778881111) -> \1 = 0778881111 The output (calling party number) is built from the first bracket \1.
SmartWare Software Configuration Guide 40 • Call router configuration node(cfg)#context cs node(ctx-cs)[switch]#mapping-table called-type-of-number to called-type-of-number SET-INT node(rt-tab)[SET-INT]#map default to international Any called party number type matches the default entry. Note that the input-type of the table does not matter when the mapping table contains only the default entry. Anyway an input-type must be specified when creat- ing the mapping table.
SmartWare Software Configuration Guide 40 • Call router configuration Example: Remove entries from a mapping table The running-config shows the following table: mapping-table called-e164 to called-e164 MY-TABLE map 10 to 20 map 11 to 21 map 12 to 22 map 13 to 23 To remove the first two entries from the table enter the following commands: node(cfg)#context cs node(ctx-cs)[switch]#mapping-table MY-TABLE...
SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]#complex- Create a complex function function-name . function function-name node(func)[function-name]#execute Add or inserts an entry to the complex function. function can function be another complex function or a mapping table that shall be executed.
SmartWare Software Configuration Guide 40 • Call router configuration To remove the first two entries from the complex function enter the following commands. Pay attention on the index. When removing the first entry, the MAP2 function becomes entry with index 1. Thus you have to spec- ify index 1 twice to remove the first two entries: node(cfg)#context cs node(ctx-cs)[switch]#complext-function MY-FUNC...
SmartWare Software Configuration Guide 40 • Call router configuration The possible values for the type argument are: • transparent: Transparently passes an address-complete indication (e.g. ISDN Sending Complete Informa- tion Element) to the call-control. • set: Always sets the address-complete indication flag towards the call-control even when no such indication is received from the calling party.
Page 483
SmartWare Software Configuration Guide 40 • Call router configuration The following table shows the different digit-collection timeout configurations and their effect on a T-termi- nated route when the digit-collection timeout elapses. Important settings are marked bold. Digit Collection Timeout Egress Properties (Result Ingress Properties Configuration of call-routing)
SmartWare Software Configuration Guide 40 • Call router configuration not the egress interface propagates the address-complete indication depends on the interface configuration (see below). The next table shows the different digit-collection terminating-character configurations and their effect on a T- terminated route when the terminating-character is received. Digit Collection Terminating-Char Egress Properties Ingress Properties...
Page 485
SmartWare Software Configuration Guide 40 • Call router configuration The possible values for the type argument are: • transparent: Transparently passes an address-complete indication to the signaling-protocol (e.g. ISDN by sending a Sending Complete Information Element). • set: Always sends a Sending Complete Information Element with the SETUP message. This configuration can be used to disable overlap-sending on an interface.
SmartWare Software Configuration Guide 40 • Call router configuration Step Command Purpose node (rt-tab)[tab- name ]#exit Leaves the routing table configuration mode and returns to the context cs configuration mode 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...
SmartWare Software Configuration Guide 40 • Call router configuration interfaces IF-BRI0 up to IF-BRI3. All four ISDN interfaces lead to the same provider. Since the call router does not know the load on the BRIs, it has to be able to try BRI0 and, if BRI0 already serves two calls, use BRI1, and so on.
Page 488
SmartWare Software Configuration Guide 40 • Call router configuration Note Unlike previous versions of SmartWare, now you can hunt a call over differ- ent interface types, not only over ISDN interfaces. You can, e.g. create a hunt group to try to call over a H.323 interface and, if this call fails, do a fallback to an ISDN interface.
SmartWare Software Configuration Guide 40 • Call router configuration The following table lists all drop causes and specifies whether the cause is used for hunting the next destination or dropping the original call. The behavior can be configured for each hunt group individually for each cause using the command in the hunt group service mode.
Page 490
SmartWare Software Configuration Guide 40 • Call router configuration Table 20. 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 491
SmartWare Software Configuration Guide 40 • Call router configuration Table 20. 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 492
SmartWare Software Configuration Guide 40 • Call router configuration Table 20. 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 493
SmartWare Software Configuration Guide 40 • Call router configuration Table 20. 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 494
SmartWare Software Configuration Guide 40 • Call router configuration Table 20. 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.
SmartWare Software Configuration Guide 40 • Call router configuration Creating a distribution group service A distribution group service distributes a call to multiple destinations interfaces. Figure 68 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.
SmartWare Software Configuration Guide 40 • Call router configuration Note It does not make sense to configure the maximum number of concurrent destinations but no timeout, though the software does not prevent this con- figuration. Distribution-Group Min-Concurrent setting A new command in the call-control’s distribution-group service lets the user specify how many of the config- ured call destinations should be tried first: .
SmartWare Software Configuration Guide 40 • Call router configuration CS Bridge service—‘VoIP Leased Line’ The circuit switch (CS) bridge service provides the functional ability to create a leased line between two FXS ports, with the FXS ports on different SmartNodes. The call is point-to-point in an always connected state, also known as nailed up.
SmartWare Software Configuration Guide 40 • Call router configuration port (see figure 73). 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 –...
SmartWare Software Configuration Guide 40 • Call router configuration Mode: Context CS Step Command Purpose [ name ] (ctx-cs)[switch]#[no] ser- Enters the bridge service configuration mode / deletes a vice bridge BRIDGE1 bridge service. [ name ] (svc-bridg)[BRIDGE1]#port Creates a port on the service that can accept or spawn calls DIALER (the max number of ports is currently limited to two) [ name ] (port)[DIALER]# dial persis-...
SmartWare Software Configuration Guide 40 • 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.
SmartWare Software Configuration Guide 40 • 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.
SmartWare Software Configuration Guide 40 • 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 506
SmartWare Software Configuration Guide 40 • 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 •...
SmartWare Software Configuration Guide 40 • Call router configuration node(if-isdn)[IF-LOCA~]#exit node(ctx-cs)[switch]#interface h323 IF-NODE-B node(if-h323)[IF-NODE-B]#route dest-interface IF-PBX-A node(if-h323)[IF-NODE-B]#exit node(ctx-cs)[switch]#interface sip IF-NODE-C node(IF-NODE-C)[IF-NODE-C]#route dest-interface IF-PBX-A node(IF-NODE-C)[IF-NODE-C]#exit The configuration is now complete. Prior to activating the configuration enable the call router debug monitor to check the loading of the call router elements.
SmartWare Software Configuration Guide 40 • Call router configuration Call reroute The call-reroute commands enable acceptation and emission of rerouting requests. Enable acceptation of rerouting requests on ISDN. If a reroute is accepted, the participant who sends the reroute request is disconnected and the call is established from the SmartNode to the new destination. Mode: context cs/interface isdn Step Command...
SmartWare Software Configuration Guide 41 • 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.
SmartWare Software Configuration Guide 41 • Tone configuration Procedure: To configure a tone-set profile Mode: Configure Step Command Purpose Creates a call-progress-tone profile with name node (cfg)#profile call-progress-tone name and enters call-progress-tone configura- name tion mode. Defines a tone with duration duration , fre- node (pf-callp)[ name ]#play duration quency frequency1 and volume level1 .
SmartWare Software Configuration Guide 41 • Tone configuration Step Command Purpose Map a call-progress-tone profile to an internal node (pf-tones)[ name ]#map tone. An internal tone represents the call event call_progress_tone for which a tone indication can be provided. Use the CLI help to get a list of all available busy-tone | events.
SmartWare Software Configuration Guide 41 • 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 518
SmartWare Software Configuration Guide 41 • 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 519
SmartWare Software Configuration Guide 41 • Tone configuration node(ctx-cs)[switch]#interface isdn bri0 node(if-isdn)[bri0]#use profile tone-set UK Tone configuration task list...
Chapter 42 FXS port configuration Chapter contents Introduction ................................521 Shutdown and enable FXS ports..........................521 Bind FXS ports to higher layer applications ......................522 Configure country-specific FXS port parameters....................522 Other FXS port parameters..........................523 Example ................................523...
SmartWare Software Configuration Guide 42 • 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 521)
SmartWare Software Configuration Guide 42 • 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”...
SmartWare Software Configuration Guide 42 • 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 524
SmartWare Software Configuration Guide 42 • 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...
Chapter 43 FXO port configuration Chapter contents Introduction ................................526 Shutdown and enable FXO ports.........................526 Bind FXO ports to higher layer applications......................526 Configure country specific FXO port parameters....................527 Other FXO port parameters ..........................527...
SmartWare Software Configuration Guide 43 • 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 526)
SmartWare Software Configuration Guide 43 • 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 528
SmartWare Software Configuration Guide 43 • 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 529
Chapter 44 H.323 gateway configuration Chapter contents \Introduction...............................530 Gateway configuration task list ..........................531 Binding the gateway to an IP interface ......................531 Enable the gateway ............................531 Configure registration authentication service (RAS) (Optional) ..............532 Configure H.235 Security (optional) ......................533 H.235 configuration .............................534 Advanced configuration options (optional) ....................537 Enabling H.245 Tunneling...
SmartWare Software Configuration Guide 44 • 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: •...
SmartWare Software Configuration Guide 44 • 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.
SmartWare Software Configuration Guide 44 • 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.
SmartWare Software Configuration Guide 44 • 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.
SmartWare Software Configuration Guide 44 • 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 535
SmartWare Software Configuration Guide 44 • 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 536
SmartWare Software Configuration Guide 44 • 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.
SmartWare Software Configuration Guide 44 • 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...
SmartWare Software Configuration Guide 44 • 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...
SmartWare Software Configuration Guide 44 • H.323 gateway configuration Changing the TCP port for inbound call-signaling connections The default TCP listening port for inbound call-signaling connections is per default 1720 as defined in the H.323 standard. The following procedure describes how to change the port number. Mode: Gateway H.323 Step Command...
SmartWare Software Configuration Guide 44 • H.323 gateway configuration Setting the connect timeout Per default the H.323 gateway waits for 60s when the call is in the alerting phase for the call to be answered. If the call is not answered within that time, the call is dropped. The value of this timer can be changed using the following procedure: Mode: Gateway H.323 Step...
SmartWare Software Configuration Guide 44 • H.323 gateway configuration Troubleshooting You can display basic status information of the H.323 gateway using the following command: Mode: Configure Step Command Purpose node (gw-h323)[h323]# show gateway Displays H.323 gateway status information. The detail level parameter is a number in the h323 status [detail level ] range 0 to 5 and indicates how much detail should be displayed.
Chapter 45 SIP gateway configuration Chapter contents Introduction ................................543 Gateway configuration task list ..........................543 Configure DNS resolver ..........................544 Binding the gateway to an IP interface ......................544 Enable the Gateway ............................545 Create a SIP service ............................545 Registering with a registrar (optional) ......................545 Configure a realm ............................547...
SmartWare Software Configuration Guide 45 • 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: •...
SmartWare Software Configuration Guide 45 • 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.
SmartWare Software Configuration Guide 45 • SIP gateway configuration 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 546
SmartWare Software Configuration Guide 45 • SIP gateway configuration Step Command Purpose Adds a user for SIP registration and the cre- [ name ] (svc-sip)[ service ]# user <user> [authen- dentials for authentication. ticate [name <login>] password <password> [default]] [register [display-name <display- name>][phone-context <phone-context>]] Repeat step 2 to add more than one user to be registered.
SmartWare Software Configuration Guide 45 • SIP gateway configuration Don’t use a registrar but use the following authentication credentials when the proxy requires client authentica- tion: user MY-DEFAULT-USER authenticate name my-name password my-password default Since the user is not registered, the user-name can directly be used as login-name. Thus the following com- mand configures the same: user my-name authenticate my-password default Example: Register three users to a SIP registrar all using the same authentication credentials:...
SmartWare Software Configuration Guide 45 • SIP gateway configuration Mode: Gateway SIP/service Step Command Purpose Define the name of your SIP domain node (svc-sip)[service]#domain domain-name Example: Defining the name of the SIP domain The following example shows how to define the SIP domain name. node(cfg)#gateway sip sip node(gw-sip)[sip]#service default node(svc-sip)[service]#domain mycompany.com...
SmartWare Software Configuration Guide 45 • SIP gateway configuration Example: Configuring a default server The following example shows how to configure a default server, which acts as a loose-router. node>enable node#configure node(cfg)#gateway sip sip node(gw-sip)[sip]#service default node(svc-sip)[service]#default server sipproxy.mycompany.com Automatic detection of the NAT IP address for SIP In some cases, it is possible to get SIP working through a NAT, if the user agent behind the NAT inserts the public IP address of the NAT into the SIP contact and SDP headers instead of the devices own IP address.
SmartWare Software Configuration Guide 45 • SIP gateway configuration 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.
SmartWare Software Configuration Guide 45 • SIP gateway configuration Define session timer version There is currently no final standard available for the implementation of the session timer feature in SIP. How- ever different versions of draft standard implementations are used in current SIP products. For compatibility with current SIP equipment, the gateway supports two different versions of the session-timer draft standard.
SmartWare Software Configuration Guide 45 • SIP gateway configuration Example: Defining the call transfer version The following example shows how to use the implementation of the call-transfer according to draft-ietf-sip-cc- transfer-02. node(cfg)#gateway sip sip node(gw-sip)[sip]#service default node(svc-sip)[service]#call-transfer-version 2 SIP Profile There is a new profile type, the SIP profile.
Page 553
SmartWare Software Configuration Guide 45 • SIP gateway configuration Mode: gateway sip/service Step Command Purpose Specifies the usage of a specific SIP profile [ name ] (svc-sip)[service]# use profile sip on this gateway. If no profile is configured, name profile “default” is used. Mode: interface sip Step Command...
SmartWare Software Configuration Guide 45 • SIP gateway configuration Manually configuring the SIP contact IP address Normally SIP cannot pass a router, which does NAPT. However, if the router only replaces the IP addresses but not the port numbers, it is possible to get SIP working through the NAT, by configuring the global IP address of the NAT router as the contact-address in the SIP gateway.
SmartWare Software Configuration Guide 45 • SIP gateway configuration Changing the SIP transaction timeout The following command changes the SIP transaction timeout from the default of 32 seconds to a user- selected value. Mode: gateway sip <sip> Step Command Purpose Sets the transaction timeout to the [ name ] (gw-sip)[ gw-name ]# transaction specified value.
SmartWare Software Configuration Guide 45 • SIP gateway configuration Configuring low resource reject-code SmartWare has a built-in resources (memory) observation mechanism for the SIP protocol. If the available resources are falling below a critical value, new incoming invites are rejected until the resources reach an uncrit- ical value.
SmartWare Software Configuration Guide 45 • SIP gateway configuration The SIP gateway also provides several debugging monitors to observe the dynamic behavior of the SIP gateway. These monitors allow efficient troubleshooting of SIP problems. The most often used monitors are listed in the following table.
SmartWare Software Configuration Guide 45 • SIP gateway configuration Default Server Additionally, the default server can be set to auto so that actual registrar is always taken as default server. When both are set to auto, the registration mechanism discovers the registrar and the address of the discovered regis- trar is also taken as default server.
SmartWare Software Configuration Guide 46 • 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.
SmartWare Software Configuration Guide 46 • 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 563
SmartWare Software Configuration Guide 46 • 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...
SmartWare Software Configuration Guide 46 • 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.
SmartWare Software Configuration Guide 46 • VoIP profile configuration Configuring DTMF relay Dual tone multi-frequency (DTMF) tones are usually transported accurately in band when using high bit-rate voice codecs such as G.711. Low bit-rate codecs such as G.729 and G.723.1 are highly optimized for voice pat- terns and tend to distort DTMF tones.
SmartWare Software Configuration Guide 46 • VoIP profile configuration Configuring RTP payload type for transparent-clearmode The following command configures the RTP payload type used for the transparent-clearmode codec. Mode: configure/profile voip Step Command Purpose [ name ](pf-voip)[ profile ]#[no] crtp payload- Specifies the rtp payload type used for transparent clearmode.
SmartWare Software Configuration Guide 46 • VoIP profile configuration ‘v150-vbd’ is selected, a re-invite will be sent even if the current voice coder is configured the same as the modem bypass coder. Furthermore the re-invite contains a gpmd-attribute line with the value ‘vbd=yes;ecan=off ’...
SmartWare Software Configuration Guide 46 • 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.
SmartWare Software Configuration Guide 46 • 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.
SmartWare Software Configuration Guide 46 • 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.
SmartWare Software Configuration Guide 46 • 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 572
SmartWare Software Configuration Guide 46 • 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 •...
SmartWare Software Configuration Guide 46 • 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).
SmartWare Software Configuration Guide 46 • 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.
SmartWare Software Configuration Guide 46 • 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.
SmartWare Software Configuration Guide 46 • VoIP profile configuration Configuring the traffic class for Voice and Fax data The traffic class for voice data and fax data is configurable. The configured traffic class is used as additional routing criterion in the IP routing table. Mode: Profile VoIP Step Command...
SmartWare Software Configuration Guide 46 • VoIP profile configuration Examples Different applications require different VoIP profiles. This section includes a variety of applications and show how the VoIP profile for these applications would be configured. Home office in an enterprise network Figure 85 is an example of a home office in an enterprise network.
Page 578
SmartWare Software Configuration Guide 46 • VoIP profile configuration G.723 6k3: rxlen=30;txlen=30;ss Fax Transmission Modem Transmission Dejitter -------- Mode: Adaptive Max. Delay: 100ms Max. Packet Loss: 4/1000 Shrink Speed: Grow Step: Grow Attenuation: High Pass Filter: enabled Post Filter: enabled Detection: CED Tone T.38 High Speed Redundant Packets:...
SmartWare Software Configuration Guide 46 • VoIP profile configuration 8. Show the configured profile. Home office with fax Preconditions are those used in section “Home office in an enterprise network” on page 577: low bandwidth and high jitter. In this example, bandwidth is 256 kbps, what enables us to use the G.729 codec. But since the fax protocol must also be supported, the configuration is extended: 1 node>enable 2 node#configure...
SmartWare Software Configuration Guide 46 • VoIP profile configuration Error Correction: enabled HDLC: enabled Dejitter Max Delay: 200ms Modem ----- Max. Bit Rate: 14400 Volume: -9.500dB HDLC: enabled DTMF ---- Relay: enabled Mute Encoder: enabled Payload Type NTE: Description: 3. Create VoIP profile and give it a name. All settings have default values 4., 5.
SmartWare Software Configuration Guide 47 • 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.
SmartWare Software Configuration Guide 47 • 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 586
SmartWare Software Configuration Guide 47 • 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...
SmartWare Software Configuration Guide 48 • 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.
SmartWare Software Configuration Guide 48 • 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.
SmartWare Software Configuration Guide 48 • 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...
SmartWare Software Configuration Guide 48 • 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.
SmartWare Software Configuration Guide 48 • VoIP debugging ISDN port status using the show port isdn command, and the debug isdn events commands (see below). • Because the ALERTING is indication enough that the signaling is working, we drop the call from the com- mand line: unit(cfg)#call 123456 drop •...
SmartWare Software Configuration Guide 48 • VoIP debugging Debugging FXS Signaling Overview: FXS debug monitors Command Purpose Prints all operations on the FXS interfaces (high- unit #debug ccfxs level). Prints all operations on the FXS ports (low-level). unit #debug fxs Prints the dialed digits.
SmartWare Software Configuration Guide 48 • VoIP debugging • : The called-party is ringing, alerting-tone is 09:00:43 CFXS > [EP PHONE] Play tone: ringback-tone played to the phone. This means that the call arrived correctly in context CS, and has reached its destina- tion.
SmartWare Software Configuration Guide 48 • VoIP debugging • : The phone went off-hook and thus accepted 09:14:02 CFXS > [EP PHONE] Change state to CONNECTED. the call. The state of the CS interface goes to CONNECTED. The call is now established. Debugging H.323 Signaling Overview: H.323 debug monitors Command...
SmartWare Software Configuration Guide 48 • VoIP debugging Explanation: • First the state of the gateway is checked. The state is “UP”, and the RAS engine is “REGISTERED”, which is OK. • The line tells that there 00:29:03 H323 > [EP h323-00c13dc0] Stack: Allocated new call: 0x00be56b is a new call incoming from H.323.
SmartWare Software Configuration Guide 48 • VoIP debugging 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- ging SIP.
SmartWare Software Configuration Guide 48 • VoIP debugging • indi- 18:53:40 SIP_TR > Sent SIP/2.0 100 Trying 18:53:40 SIP_TR> Sent SIP/2.0 180 Ringing cate that responses are sent back to the SIP network. This means that the call routing is working correctly, and the call has found its destination on the gateway that is debugged.
SmartWare Software Configuration Guide 48 • VoIP debugging 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 > [TERMINAL-00df2760] Set state to CALL PRESENT 19:17:38 >...
Page 604
SmartWare Software Configuration Guide 48 • VoIP debugging nection, and wrong tone or playback. Dependent on the SmartNode devices, the output of the different Media Gateway monitors can differ. An overview of all available Media Gateway debug monitors is given below. Some more specific examples for debugging cases follow after that.
SmartWare Software Configuration Guide 48 • VoIP debugging Prerequisite: The call is established from a signaling point of view (see chapters Debug H.323 Data and Debug Session Control Data). Use the following debug monitors: Step Command Purpose unit #debug media-gateway rtp Enable the RTP/RTCP debug moni- unit #debug media-gateway dejitter Enable the dejitter buffer monitor.
Page 606
SmartWare Software Configuration Guide 48 • VoIP debugging • Event logs—Add the system event logs, which you can display with the Command Line Interface com- mands . To ensure that the logs are useful, it is necessary to set upon show log show log supervisor start up the clock to actual date and time (by hand or by enabling SNTP client)
Appendix A Terms and definitions Chapter contents Introduction ................................608 SmartWare architecture terms and definitions .....................608...
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 609
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 610
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 611
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 612
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.
SmartWare Software Configuration Guide B • Mode summary Introduction Figure 89 on page 614, figure 90 on page 615, and figure 91 on page 616 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 615
SmartWare Software Configuration Guide B • Mode summary Gateways Gateway H323 Gateway H323 gateway h323 <name> gateway h323 <name> <host>(gw-h323)[<name>]# <host>(gw-h323)[<name>]# Gateway SIP gateway sip <name> <host>(gw-sip)[<name>]# Ports Port Ethernet PPPoE PPPoE Session port ethernet <slot> <port> session <session> <host>(prt-eth)[<slot>/<port>]# <host>(pppoe)[<slot>/<port>]# <host>(session)[<session>]# Port E1T1 or BRI...
Appendix C Command summary Chapter contents Introduction ................................618 New Configuration Commands ..........................619 Other...................................619 Show help ..............................619 Show command history ..........................619 Restart system ...............................619...
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: •...
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.
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 622
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 623
SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning Modem Modulator – Demodulator Multiple Subscriber Number NAPT Network Address Port Translation Network Address Translation Network Interface Card Network Termination Network Termination 1 Network Termination 2 NT2ab Network Termination with 2a/b Connections Original Equipment Manufacturer Open Software Foundation OSPF...
Page 624
SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning node-connection for Subscriber Line Segmentation and Reassembly S-Bus Subscriber Line (Connection) Bus Switched Circuit Network SCTP Stream Control Transmission Protocol SDSL Symmetric Digital Subscriber Line SGCP Simple Gateway Control Protocol Session Initiation Protocol.
Appendix E Used IP ports & available voice codecs Chapter contents Used IP ports ..............................626 Available voice codecs ............................627...
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...
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...
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?
Questions and answers